Author Topic: Making a MAIN.DAT  (Read 3079 times)

0 Members and 1 Guest are viewing this topic.

Offline The Mole UK

  • Posts: 31
    • View Profile
Making a MAIN.DAT
« on: June 19, 2023, 05:40:12 PM »
I am trying to make a new MAIN.DAT with Namida’s program LEMMAIN but on extracting it stops with Out of Memory.  Bit of a pity.  Want to fiddle with DOS.

Any ideas what to do?  Holding me up!!!

Thanks in advance,
Mole
« Last Edit: June 19, 2023, 08:05:15 PM by The Mole UK »

Offline The Mole UK

  • Posts: 31
    • View Profile
Re: Making a MAIN.DAT
« Reply #1 on: June 19, 2023, 05:41:16 PM »
P.S. Machine is an i7 with 16 GB RAM.
Quite like to know why.  Is it requiring something specific, like an old OS?
Really annoying…

Failed on 11, failed on 10 (and that has minimal sw).  So perhaps is looking for 7 64 bit something like that?  Seems buggy anyway.
« Last Edit: June 19, 2023, 11:14:09 PM by The Mole UK »

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
Re: Making a MAIN.DAT
« Reply #2 on: June 20, 2023, 12:36:16 AM »
LemMain doesn't require any particular OS as far as I know, but I can't make guarantees about whether the version still available retains proper support for DOS / Lemmix. Still, it's the only tool that ever served that purpose.

Once again, I encourage you to consider using a modern, supported engine instead.
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline The Mole UK

  • Posts: 31
    • View Profile
Re: Making a MAIN.DAT
« Reply #3 on: June 20, 2023, 12:41:17 AM »
LemMain doesn't require any particular OS as far as I know, but I can't make guarantees about whether the version still available retains proper support for DOS / Lemmix. Still, it's the only tool that ever served that purpose.

Once again, I encourage you to consider using a modern, supported engine instead.

Obviously there are modern ports, but that isn’t the plan.
Is there an archive of old versions of the tool?  All I wish to do is alter the main logo.

Offline The Mole UK

  • Posts: 31
    • View Profile
Re: Making a MAIN.DAT
« Reply #4 on: June 20, 2023, 01:16:38 AM »
From what I can tell, it appears the Out of Memory issue does not matter.  Ripping the demo MAIN.DAT works.
Think Holiday was ripped okay, Xmas not all correct.   But tired and not 100% checked there.
Recompiling as Xmas comes out as garbage, you get some graphics incorrect with Standard.

So might have to give the idea up.  Just have to say 1993 and 1994 for what I am doing.  Just I had hoped the tool would just tweak the logo.

As for NeoLemmix, I don't like it.  I want to play with the DOS stuff and it has the nostalga for me and NeoLemmix has features that are not part of the original game.  Some can be tweaked, it has a buggy splash, confusing retries and the exploders stay still.  The scrolling is faster too, not a bad thing, but it doesn't feel the same as DOS does.  So, I once again, encourage people writing some tools for DOS.

Quote
...Still, it's the only tool that ever served that purpose.
Not that I can tell.
« Last Edit: June 20, 2023, 02:06:11 AM by The Mole UK »

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
Re: Making a MAIN.DAT
« Reply #5 on: June 25, 2023, 11:15:28 PM »
Quote
Not that I can tell.

Well yes, we can presume DMA had their own tool for editing MAIN.DAT, and likely the developers of LemEdit had one too that they used to make CustLemm's one - but LemMain is the only publicly released tool that has ever been able to edit MAIN.DAT files. I know for sure at one point it was able to work with the files from every official DOS Lemmings game - now whether that support is fully retained in the last release and you're just using it wrong, or if it actually no longer supports old files, I can't tell you without digging into the matter deeper, which I really can't be bothered doing.
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline The Mole UK

  • Posts: 31
    • View Profile
Re: Making a MAIN.DAT
« Reply #6 on: June 26, 2023, 12:45:35 AM »
Oh well, my little project has a 1993 logo.  Is kind of a nod to the past, so does not matter too much.  Would have looked more pro had I been able to change the logo to not have '1993'.  Then future versions would just say "Holiday Lemmings".   Also being able to change the level numbers of would have been fun too.

The tool does seem to read the data and I have a suspicion it may work even, but I get a 'Out of Memory' error and then it stops.  So this might be part of the problem.   As I do not know what the cause of this error is, I cannot try something to fix it.  I wondered if it might be the Windows version, but expect x86 OS would have less memory than x64.

If you feel like working it out, must be possible, let me know.

Thanks...

----

Also converted levels for Lemmix v29 and NeoLemmix.  Although removed a bouncing snowman on one level as converted behind the background.  Think it has to be ideally against black and somewhere Lemmings do not walk ideally.

----
>and you're just using it wrong
It is possible...
« Last Edit: June 26, 2023, 12:51:04 AM by The Mole UK »

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
Re: Making a MAIN.DAT
« Reply #7 on: June 27, 2023, 09:40:58 PM »
Quote
Also being able to change the level numbers of would have been fun too.

Even LemMain can't do this, you'd have to hack the EXE itself which is well beyond my knowledge. This one is doable with a reasonable amount of effort in Lemmix (rather than only NeoLemmix), though.
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline The Mole UK

  • Posts: 31
    • View Profile
Re: Making a MAIN.DAT
« Reply #8 on: June 27, 2023, 11:10:10 PM »
LEMMAIN is more a Neo product than a DOS one and I think there is where I was confused.  I wonder how well it would work with DOS if the memory error did not occur.  Don't know why though, so cannot do what it requires.  Kind of given up on building a MAIN.DAT now.  2023 will say 1993 and nod to 1993 music and 2024 will nod to 1994 and 1994 music.   I am not a programmer.  Can do some lame skills, enough to get by, change German text to English, stuff like that.  Currently building a DOSBox archive, but so much work.  Started in 2020.

Attached my levels in your formats.  Are primarily done under LemEdit/DOS, so assuming will play the same.  Four levels.
I think a couple of these are well thought out, but maybe not to a Lemspert.
« Last Edit: June 27, 2023, 11:15:34 PM by The Mole UK »