Server Help

Misc User Apps - Cross Platform Lvz Toolkit

Bak - Mon Jan 10, 2005 4:54 am
Post subject: Cross Platform Lvz Toolkit
Who made it: Me, Bak-
How to contact me: post here or email me: bak2007@gmail.com
Stage of Development: Release, 1.1
Programming Language: Java
Source included: Yes
Additional Dependencies: You'll need at least Java Runtime Environment 1.4.2 to run the executable .jar files. It is a free download from here.
How to use it: CreateLvz is the equivilent of BuildLevel and ExtractLvz is the equivilent of DeBuildLevel. Double click the executable jar file you want to use, select the .ini or .lvz file you want to compile or extract.

This is a cross platform lvz toolkit program. You can make and extract lvz files. I've included the standard example.ini file as well as a sample lvz you can make. It will compress using the maximum compression, which will save you space over the traditional BuildLevel program. It will also give you a progress bar so you can see the program working, rather than guessing when it finishes. If there is an error in your ini or lvz file, the program will try to explain it in more depth than "Parse error on line: C-12,D+12,IMAGE0,AfterTiles,ServerControlled,150,10". There is also an updated lvzformat.txt file with a small correction and further explanation of the ordering of the bits inside the ini data section. The program also checks ranges, and will warn you if you attempt to use a value in your ini file that can not be translated using the current lvz format (more than 255 IMAGE's, for example). It will also warn you if your .lvz is more than 4 megabytes in size.

Update 1.01: My range checking bit shifts were off by a bit (too restrictive). Fixed it.
Update 1.02: Fixed same directory extract bug found and fixed by Dr Brain.
Update 1.03: Added full comand line support (don't need any windowing system anymore), and now if the compressed size is more than the uncompressed size, it will no longer compress, saving you more space. This also fixes the bug where if the compressed size was equal to the uncompressed size, it would still compress but continuum wouldn't decompress when opening, causing the image to be encoded incorrectly.
Update 1.04: Fixed freeze in the case of an empty comment line.
Update 1.1: Fixed exception in case of extremely large numbers (over 2^31). You can also pass a filename on the command line and still get windowing support by passing an extra paramter.
Dr Brain - Mon Jan 10, 2005 8:06 am
Post subject:
Java. Hohoho. Wonderful.

I'll try it out later today, and see if I can't get you linux binarys.
Mine GO BOOM - Mon Jan 10, 2005 1:36 pm
Post subject:
I've been waiting for someone to make a Winzip like program, in which you can view the inside of a LVZ without extracting everything. You can double-click on a file to extract/view just that, drag-and-drop to extract, etc. And also allow easier importing of files or replacing a specific file.

If you extend these two programs out a bit, people won't need to keep a folder specificly for creating LVZs.
Dr Brain - Wed Jan 12, 2005 2:34 pm
Post subject:
Noticed a bug in ExtractLvz. If the lvz is in the current directory, it tries to extract the files to a bad location.

here's the fix:

Code: Show/Hide

   private static void makeDir(File f)
   {
      String name = getLvzName(f);

      if (f.getParent() != null)
         destDir = f.getParent() + File.separator;

      destDir += name + " Lvz Files" + File.separator;

      new File(destDir).mkdir();
   }

Bak - Wed Jan 12, 2005 3:51 pm
Post subject:
Interesting, I wonder if new File(f.getAbsolutePath()).getParent() would work... or does it automatically make any path it can realative? In either case it's now fixed, thanks.
Agurus - Tue Apr 05, 2005 11:20 am
Post subject:
Why java ugh i hate downloading that file 100mb!
CypherJF - Tue Apr 05, 2005 1:09 pm
Post subject:
Way bumpage; however, Java isn't that bad. You have to spend the same amount of time for the .NET runtime (I think, isn't it?).
myke - Tue Apr 05, 2005 5:01 pm
Post subject:
no .NET looks about 22-23mb

http://www.microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en
CypherJF - Tue Apr 05, 2005 6:10 pm
Post subject:
interesting i could have sworn it was a lot larger.. tongue.gif

doesn't matter to me, i need it for school and hence i have it. biggrin.gif
Bak - Tue Apr 05, 2005 6:53 pm
Post subject:


15 megs and it's a one time download and install, not like you need to download it for every java program you use
Anonymous - Sun Apr 10, 2005 12:25 pm
Post subject:
Then bak post a direct link i can't find wht i need
Dr Brain - Sun Apr 10, 2005 1:01 pm
Post subject:
Download the Java 5 JRE (Java Runtime Environment).

It might also be called the Java 1.5 JRE. Look under J2SE if you're on the Sun website.
Anonymous - Sun Apr 10, 2005 3:28 pm
Post subject:
cant find direct link?
Bak - Sun Apr 10, 2005 7:54 pm
Post subject:
http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jre-1.5.0_02-oth-JPR&SiteId=JSC&TransactionId=noreg
Tweezy - Tue Apr 12, 2005 7:59 pm
Post subject: woot
so seksi...thank you
Bak - Sat Aug 13, 2005 8:46 am
Post subject:
Update 1.03: Added full comand line support (don't need any windowing system anymore), and now if the compressed size is more than the uncompressed size, it will no longer compress, saving you more space. This also fixes the bug where if the compressed size was equal to the uncompressed size, it would still compress but continuum wouldn't decompress when opening, causing the image to be encoded incorrectly.

Also your lvz file name won't be lowercased when using createlvz.
Anonymous - Fri Feb 10, 2006 4:58 am
Post subject:
Um what the hell am I supposed to do with this file I have no idea what format it is in
-Reaem
Cyan~Fire - Fri Feb 10, 2006 10:39 am
Post subject:
It's 7-Zip.
Bak - Fri Mar 17, 2006 5:41 am
Post subject:
Update 1.04: Fixed Freeze in the case of an empty comment line
Samapico - Wed Aug 16, 2006 2:26 pm
Post subject:
Mine GO BOOM wrote:
I've been waiting for someone to make a Winzip like program, in which you can view the inside of a LVZ without extracting everything. You can double-click on a file to extract/view just that, drag-and-drop to extract, etc. And also allow easier importing of files or replacing a specific file.

If you extend these two programs out a bit, people won't need to keep a folder specificly for creating LVZs.


That would be ownage... noone has done it yet? icon_sad.gif
Quan Chi2 - Sun Aug 20, 2006 6:47 pm
Post subject:


Yea. I imagine it would be cool.
Samapico - Sun Aug 20, 2006 10:19 pm
Post subject:
excellent...
Quan Chi2 - Sun Aug 20, 2006 10:41 pm
Post subject:
What?
Purge - Mon Aug 21, 2006 1:30 am
Post subject:
What the hell is that.
Cyan~Fire - Mon Aug 21, 2006 11:00 am
Post subject:
It's a form created in VB, duh!
Samapico - Mon Aug 21, 2006 3:43 pm
Post subject:
now it just needs functionality tongue.gif
Bak - Fri Jan 12, 2007 8:43 am
Post subject:
Update 1.1: Fixed exception in case of extremely large numbers (over 2^31). You can also pass a filename of the command line and still get windowing support by passing an extra paramter.
Cerium - Fri Jan 12, 2007 10:16 am
Post subject:
Every now and then java.exe remains running after creating the lvz. This was expirenced while using 1.04.
Bak - Fri Jan 12, 2007 11:32 am
Post subject:
hmm, the only thing I can think of that might cause that is an exception somewhere. Let me know if you can reproduce the problem.
fatrolls - Tue Feb 25, 2014 10:52 pm
Post subject:
Guys this shocked me a little bit icon_eek.gif
But it's probably intentional to bloat the file size or some easter egg but yeah.

Download the Java Lvz Builder/Extracter from Bak's attached topic.

Then download this tool.
https://thumbs-viewer.googlecode.com/files/thumbs_viewer.exe

And run it on the thumbs.db file in the n folder.

I thought I had a virus on my computer, but I confirmed my fears that it's part of the package.

Yes that thumbs.db file has a bunch of thumbnails of Bak's porno movie collection.

Not to look like a fool I've attached the same file, in case he removed it.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group