Server Help

Misc User Apps - CLC -> Smaller LVZ

k0zy - Sun Jan 12, 2003 3:31 pm
Post subject: CLC -> Smaller LVZ
I release my CLC [Continuum LVz Compiler]

It makes even smaller lvz than MakeLevel tongue.gif

Files are 100% working, but there might be bugs with objects/images.
That's y im releasing it, so that ppl can test it, and tell me the bug or even correct the bug themselfs with the source code. icon_smile.gif
I included the source code in the zip-file. (Delphi Code)

Size Example:
- LVZ out of military aircraft *with sound!* Shipset
(http://mods.subspace.net/downloads/planemod.zip)

Zip-Size: 3.666 KB
MakeLevel's LVZ: 4.155 KB
CLC's LVZ: 3.664 KB

Differenz: 451 KB smaller

Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
Mine GO BOOM - Sun Jan 12, 2003 6:49 pm
Post subject:
Oh, thanks for noticing, i wasn't using the compress2 in zlib, so it was using standard compression instead of highest level. Fix for me now..

lvztoolkit.zip

Or below for just makelevel.exe
k0zy - Mon Jan 13, 2003 1:06 am
Post subject:
hehe

Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
Smong - Sun Jul 01, 2007 9:33 am
Post subject:
I tried this program the other day since someone mentioned it. I was using it to build the lvz for my halo_hill module and noticed some strange results. After running it through debuildlevel I can see the display time and mode is messed up.

CLC (bad):
Code: Show/Hide
[screenobjects]
427,40,IMAGE16,AfterGauges,ShowAlways,50,3003
477,40,IMAGE17,AfterGauges,ShowAlways,50,3003
453,41,IMAGE6,AfterGauges,ShowAlways,50,3004
461,41,IMAGE6,AfterGauges,ShowAlways,50,3005
507,41,IMAGE6,AfterGauges,ShowAlways,50,3006
515,41,IMAGE6,AfterGauges,ShowAlways,50,3007

Buildlevel38 (ok):
Code: Show/Hide
[screenobjects]
427,40,IMAGE16,AfterGauges,ServerControlled,0,3003
477,40,IMAGE17,AfterGauges,ServerControlled,0,3003
453,41,IMAGE6,AfterGauges,ServerControlled,0,3004
461,41,IMAGE6,AfterGauges,ServerControlled,0,3005
507,41,IMAGE6,AfterGauges,ServerControlled,0,3006
515,41,IMAGE6,AfterGauges,ServerControlled,0,3007

k0zy - Tue Jul 03, 2007 8:05 am
Post subject:
I never understood why it didn't work. I had little experience with bit shifting and different sized integers when I wrote it.
And now I don't have Delphi anymore.

As you can see in this thread, MGB fixed makelevel to create just as small lvz right after I released CLC.

Thanks for the bug report but CLC is pretty much dead.

My old Delphi programs (with source code) can still be found on:
http://home.arcor.de/cozy3k/lvz/

Note: The versions found there might be older than the ones here on Server Help.

TE, TIA and LIE might still be usefull today, as I don't know what recent Map editors are capable of.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group