Lemmings Forums

Lemmings Boards => Tech & Research => Topic started by: okmot on October 31, 2004, 05:32:58 PM

Title: dat => lvl
Post by: okmot on October 31, 2004, 05:32:58 PM
Recently i was informed about the lemmings .dat levelpack decompression
algorithm by ccexplore, and i was wondering if anyone would find it useful if there was an application which could convert a .dat levelpack into a series of .lvl levels for use with the
Windows version of lemmings which uses .lvl files.  I got the impression
before that most players like the DOS version better.

Another option would be to load up a levelpack into CLONES to play, but the
differences in lemmings dimensions would render many maps unplayable.  At
the very least you could edit the .lvl levels in the CLONES mapeditor but
that would require you to play them in winlemm which might not be what you
want.

Please advise.

rt
www.tomkorp.com

Title: Re: dat => lvl
Post by: DragonsLover on November 01, 2004, 12:43:00 AM
You can save each level from a pack in .lvl files with LemEdit.
Title: Re: dat => lvl
Post by: okmot on November 01, 2004, 04:25:56 PM
I am awear of that, however LemEdit requires DOS and you need to manually convert from .dat to .lvl.  

I was thinking of a windows application in which you drag 'n drop the .dat levelpack and the app will spit out the .lvl levels automatically.  No keyboard required :)

The question is: Is this useful or not?  Does anyone want to convert hundreds of .dat into thousand of .lvl quickly?  Or  is everyone happy playing custlemm and the like?  Basically this allows for an all-windows editor which can create either lvl or .dat levelpacks.
Title: Re: dat => lvl
Post by: Adam on November 01, 2004, 07:59:40 PM
I'd like to see a program like this
(http://eng-forum.lemmingswelt.de/YaBBImages/smilies/agree.gif)
Title: Re: dat => lvl
Post by: DragonsLover on November 01, 2004, 08:38:39 PM
Of course, a program that could do this automatically could be appreciated. But, unfortunately, this program doesn't exist for now. Maybe a good programmor could try to make one! But for now, you don't have choice: You must save every level from a .dat file in .lvl using LemEdit. It's long, but there's no other solution. And if LemEdit doesn't work... that way, I really dunno how you could anymore!
Title: Re: dat => lvl
Post by: Anatol on November 01, 2004, 09:30:08 PM
I'd definitely like to see a program like this. Unfortunately, my programming skills are pretty limited, so I can't do it.
Title: Re: dat => lvl
Post by: finlay on November 07, 2004, 11:55:43 AM
That would be very useful, cos then the .lvl's can easily be converted to mac levels, that I use.
Title: Re: dat => lvl
Post by: okmot on November 08, 2004, 01:44:08 AM
The program does exist!

As i said before, i was given the decompression code for .dat levelpacks.  I have added the code to CLONES which allows you to select a .dat pack and have all the .lvl levels extracted automatically.

It seems that at least a few people would find that useful, but perhaps it would be better if i made a seperate stand-alone drag-n-drop app like i mentioned.

My real question is 'why do need to convert many .dat levelpacks into .lvl format'?  Doesn't custlemm use .dat as well?  And i've heard that most people like DOS lemmings better than Windows lemmings so what would be the point of such an application?

rt
www.tomkorp.com

Quote from: DragonsLover  link=1099243978/0#4 date=1099341519Of course, a program that could do this automatically could be appreciated. But, unfortunately, this program doesn't exist for now. Maybe a good programmor could try to make one! But for now, you don't have choice: You must save every level from a .dat file in .lvl using LemEdit. It's long, but there's no other solution. And if LemEdit doesn't work... that way, I really dunno how you could anymore!
Title: Re: dat => lvl
Post by: Isu on June 25, 2005, 07:44:22 PM
I can most definitely make use of such a program. I may be the only one to prefer Windows lemmings over DOS (Nothing, of course, can beat the Amiga version), but that doesn't bother me.

What you might be missing is the fact that winlemm has many more features than DOS. Fast-forward and Action Replay are just some of them.

The only downside at the moment is that some levels might not be passable on the windows version...
Title: Re: dat => lvl
Post by: Mindless on June 26, 2005, 02:18:37 AM
I will at some point make a program like this, but don't expect it any time soon, expect to wait months.  rt, on the other hand, could release it anytime he wants.
Title: Re: dat => lvl
Post by: Mindless on July 09, 2005, 01:44:12 AM
it may not be fool proof, but here it is...
http://it.travisbsd.org/lemmings/files/lemmingsdatdecompressor/lemmingsdatdecompressor_1_1_0.zip

Edit: new version released