L3DEdit is a Lemmings 3D level and graphics editor.
Current limitations
- Only the full PC version of Lemmings 3D is officially supported (though you can use the graphics from Winterland, together with full L3D). I have no intention to officially support Winterland, the demos, or the console versions - if it works it works, if it doesn't it doesn't, unless someone else wants to contribute code to make it compatible with other versions.
- Some obscure level settings are not editable. Most of these are nonetheless preserved. I'm working on a feature to edit the obscure / unknown values, so this should change in the near future.
- Extraction of images with the RLE compression does not work (graphics without that compression, which is most graphic files, can be extracted without issue). This is a low priority issue for me at the moment.
- Performance is somewhat weak. This has greatly improved since the first release, but could still be better, especially in the Lazarus builds. Using the Delphi build and/or reducing the resolution (under the View) menu can improve performance - the Delphi build should work on Linux + WINE.
I highly recommend reading the attached manual. You're welcome to ask questions even if the manual might answer them, but reading the manual might get you your answer a bit quicker. The manual states V0.48, but the next two updates are just bugfix updates. However, it has not yet been updated for V0.51.
Yes, absolutely! Simply copy all files with a number as the extension - a quick way to find these is to sort the folder by "Type", then they'll all be at the start - EXCEPT for "BGRD.000" - from Winterland's "GFX" folder to Lemmings 3D's "GFX" folder. Some files will already exist; these files (except for BGRD.000, which is why I said don't copy that one) are byte-for-byte identical in both Winterland and regular L3D so it doesn't matter which copy you use.
L3DEdit V0.44 adds the relevant options to the presets menu. They will only appear if you have the corresponding graphic files (you will need to restart L3DEdit after copying them, if they weren't already there when L3DEdit started).
Unfortunately, the falling snowflakes effect from Winterland cannot be used in regular Lemmings 3D, nor is it controlled by the individual level file in any way (Winterland has a hardcoded "do this on every level except the 2nd one" effect - try swapping levels around and you'll see).
Yes, they're attached to a post later in this topic: https://www.lemmingsforums.net/index.php?topic=4274.msg75949#msg75949
As Lemmings 3D Winterland is a free game, I assume there's no issue with providing a copy of those graphic files in that fashion.
L3DEdit can edit almost everything in a level, but there's a few obscure details I didn't bother to add support for. If you have a specific need for a level feature it doesn't support yet, please request it and I'll see what I can do. You are also, of course, welcome to report bugs. You can make feature requests, but these are very low priority (unless they're easy to implement) at the moment.
As a reminder, L3DEdit is open-source, the source code is available on BitBucket (https://bitbucket.org/namida42/l3dedit/src/master/), under the MIT Licence.
L3DEdit is written in Lazarus. The only dependency is Graphics32; either the version from GitHub or the version from Lazarus's Online Package Manager will work.
There is also an alternative branch which compiles under Delphi XE6. This requires obtaining and compiling Graphics32 from GitHub specifically; but also has no dependencies other than Graphics32.
Please be warned: Any side branches may be history-rewritten, at any time, without warning. The release branches, as well as the "master" (formerly "delphi"), "lazarus" (formerly "master") and "linux" branches are safe from this, but any side branches eg. used for WIP new features, could disappear or be rebased at any time.
This is still an early version. Expect bugs, save often, back up your work, report bugs you do find, and expect updates to occur frequently. And again - back up your work. There has been a bug in the past that deletes level files - fortunately it would only trigger on the official levels unless one went out of their way to achieve it triggering on a custom one, but the risk is there that a future bug might not be so nice.
You can file bug reports or feature requests either on Bitbucket (https://bitbucket.org/namida42/l3dedit/issues) (no login required), or as a reply to this topic.
If you want to be able to share replay files for your custom levels, and/or would like a quicker way to launch L3D under DOSBox, check out L3DUtils (https://www.lemmingsforums.net/index.php?topic=4273.0).
Regarding the three different versions:
L3DEditD.exe is a Windows build, built using Delphi XE6. It's the recommended version wherever possible - including Linux (via WINE).
L3DEditL (with no extension) is a Linux build, built using Lazarus. This is not as stable, and is missing a few features; it should only be used when you specifically need a native Linux build.
There is currently no Mac OS build.
Which level components tab were you on (ie: land, blocks, etc) when this happened? Also, Lazarus version or Delphi version?
It only happens on the Blocks tab and I was using the Lazarus version
____________________________________________________________________________________________
Here you go Simon, this is the entire conversation on Discord last night which me and Nessy had (it was in a private conversation so it's not publicly viewable other than what is posted here). I hope this is helpful.
FlopsyYesterday at 1:09 AM
Well that is probably where I'll need the most help, I suck at anything MSDOS related
NessyYesterday at 1:09 AM
No problem I'll walk you through it.
Okay so when you first start it up type the following -> mount c c:\
This is because Dos Box saves the save file in a folder on the C drive.
Nice you do -> mount d d:[path to where your L3D folder is]
And of course the "d" can be changed to whatever drive you have the folder in (so "c" if it's there anyway. I have it on my D drive)
FlopsyYesterday at 1:11 AM
but my L3D folder is on the desktop
NessyYesterday at 1:12 AM
Okay that's no problem so you'll type -> mount c c:\ [path to your desktop]
FlopsyYesterday at 1:13 AM
I can't path it from the c drive
never mind
NessyYesterday at 1:15 AM
Okay so now type c:
That's it just c and the colon
FlopsyYesterday at 1:16 AM
ok
NessyYesterday at 1:16 AM
Now type L3D
Let me know what pops up
FlopsyYesterday at 1:16 AM
illegal command
NessyYesterday at 1:16 AM
Okay try L3D\L3D
FlopsyYesterday at 1:17 AM
nope
NessyYesterday at 1:17 AM
Alright so what is the name of the folder you have your L3D files in?
FlopsyYesterday at 1:17 AM
L3D
I had the wrong mount apparently
I now have L3D at the top Clockwork Games
MSCDEX driver not found
NessyYesterday at 1:20 AM
Oh that error -_- Yeah to fix that I have to give a file namida gave me to fix it on my side as well.
Stand by.
Back up your folder and in the working one replace the .exe with this one.
Attachment file type: unknown
L3D.EXE
148.83 KB
I don't know why this fixed it for me to be honest...
FlopsyYesterday at 1:23 AM
Ok the game is running but I have a NeoLemmix v1.43, it is a quarter of the screen
And there's no sound
For god sake, I really hate DOS Box, I tried really hard with it to get L2 Tribes working but I ended up LPing the Mega Drive version on an Emulator because DOS Box was a pile of crap
NessyYesterday at 1:26 AM
Yeah it's complicated :stuck_out_tongue:
Okay so time to fix that window size issue.
FlopsyYesterday at 1:26 AM
I have no sound either :frowning:
NessyYesterday at 1:27 AM
You have to find a file that is in this folder -> {system drive}:/Users/{username}/AppData/Local/DOSBox/
FlopsyYesterday at 1:28 AM
Ok in options, they are muted and I cannot increase the volume
NessyYesterday at 1:28 AM
Right the sound... how did I fix that. Let me see.
Did the editor ask to apply a sound patch?
FlopsyYesterday at 1:29 AM
yes
I clicked the custom level option
NessyYesterday at 1:30 AM
Try it again just to be sure under Utilities on top.
In the editor.
FlopsyYesterday at 1:32 AM
It says the patch has already been applied
Also don't understand this message
You have to find a file that is in this folder -> {system drive}:/Users/{username}/AppData/Local/DOSBox/
there's a config file in this folder but I don't have the application to open it
NessyYesterday at 1:34 AM
Oh not even in notepad?
FlopsyYesterday at 1:34 AM
well I didn't know notepad could open it
NessyYesterday at 1:35 AM
Oh sorry :S
I didn't explain this part very good sorry about that.
FlopsyYesterday at 1:35 AM
fullscreen=true?
NessyYesterday at 1:36 AM
Yes... and if you want just a window you can change the size where it says windowresolution = width x height
So the sound... I'm trying to remember how I fixed that.
The sound is always a pain in the butt -_-
FlopsyYesterday at 1:44 AM
No worries, it's a start
At least I've learned how to get the game running
NessyYesterday at 1:45 AM
The music patch should have fixed it so that's why I'm stumped.
Did the fullscreen work at least?
FlopsyYesterday at 1:46 AM
I opted for a bigger window
Don't worry about me, I'm just always that anomaly that somehow no one can help :frowning:
I just always end up with the PC that is not like other people's
NessyYesterday at 1:48 AM
Nah I'm going to help!
Okay weird question: is there music?
FlopsyYesterday at 1:51 AM
I have a sound folder
NessyYesterday at 1:51 AM
Is there a file inside that folder called "patched"?
FlopsyYesterday at 1:52 AM
yes
NessyYesterday at 1:53 AM
Alright we are going to try something else. Let's go back for a moment to DosBox and mount everything again but at the end instead of running the actual game type "setup"
FlopsyYesterday at 1:53 AM
Is there a command to skip the intro cut scene
NessyYesterday at 1:53 AM
The entire thing no... you can just click on the screen to skip each part though.
FlopsyYesterday at 1:54 AM
I just want to check if namida's demo is set up correctly but I have to sit through that Lemmings breaking out of the computer video all the time
NessyYesterday at 1:54 AM
You can't click on the screen to skip it?
FlopsyYesterday at 1:54 AM
no
NessyYesterday at 1:55 AM
Alright let's go back into Dos Box and run that "setup" I mentioned.
Let's start there.
FlopsyYesterday at 1:56 AM
brilliant, L3D has crashed now on loading Fun level 1
did you manage to load namida's demo?
NessyYesterday at 1:56 AM
Yeah I was able to.
FlopsyYesterday at 1:56 AM
I am just not meant to use Dos Box
NessyYesterday at 1:56 AM
I had this problem as well.
FlopsyYesterday at 1:56 AM
I suck at it
NessyYesterday at 1:56 AM
The crash I mean.
Okay new plan. Go to your C: drive. Just the actual thing no subdirectories.
FlopsyYesterday at 1:57 AM
ok
NessyYesterday at 1:57 AM
Do you see a folder called LM3D.CD
FlopsyYesterday at 1:58 AM
no
NessyYesterday at 1:58 AM
Is that folder in your actual L3D folder?
FlopsyYesterday at 1:59 AM
no
NessyYesterday at 2:01 AM
Okay okay so go to this thread -> https://www.lemmingsforums.net/index.php?topic=4257
Lemmings 3D Save with all levels unlocked
Lemmings 3D Save with all levels unlocked
Download that folder in the first post.
FlopsyYesterday at 2:01 AM
ok
NessyYesterday at 2:01 AM
And extract to C:\LM3D.CD\ like the post says.
FlopsyYesterday at 2:03 AM
ok
NessyYesterday at 2:03 AM
And then try to run the game again. If it still doesn't work let me know.
FlopsyYesterday at 2:04 AM
Ok waiting for the game to finish the intro cut scenes
Since I can't skip any of it for some reason
Really annoyed that there is no sound, I always have issues with DOS Box
If I could I would just avoid DOS Box at all costs, I'm only putting up with it to help namida debug
NessyYesterday at 2:07 AM
Yeah :frowning:
I still don't understand why you can't skip.
FlopsyYesterday at 2:07 AM
Game crashed again when trying to load Fun levels
just black screen and nothing
NessyYesterday at 2:08 AM
Okay Plan B... now move "LM3D.CD" into your actual "L3D" folder
Sorry if I'm a little bit all over the place :\
Trying to figure things out.
FlopsyYesterday at 2:09 AM
It's ok, I just wish I could skip the intros
I have sound now
And I can skip through the intro
NessyYesterday at 2:10 AM
Progress!
FlopsyYesterday at 2:11 AM
Ok new issue, another reason why I hate DOS Box
The game is playing at 1FPS
NessyYesterday at 2:12 AM
Okay that's an easy fix. Go back to the .config file real quick.
FlopsyYesterday at 2:12 AM
ok
Another side issue, I was only finding quadcore from namida's demo
the rest of the levels were the original names
I have config file open now
NessyYesterday at 2:15 AM
Okay scroll through the file until you find:
core=
cputype=
cycles=
Now replace with:
core=dynamic
cputype=auto
cycles=max
FlopsyYesterday at 2:15 AM
ok
rerun DOS Box now?
NessyYesterday at 2:16 AM
Yes. It's a pain to keep mounting stuff so before you close the .config file here's another tip :wink:
FlopsyYesterday at 2:17 AM
yeah I see it at the bottom
NessyYesterday at 2:17 AM
Sorry I forgot it was at the bottom and was looking for it.
So yeah you type the commands there and it will automatically run them whenever you run DosBox.
That way you don't have to type mount this and that every time XD
FlopsyYesterday at 2:19 AM
Thank you Nessy, you sorted it out for me :smiley: