Author Topic: How are the level codes generated?  (Read 2924 times)

0 Members and 1 Guest are viewing this topic.

Offline DragonsLover

  • Posts: 1234
  • Do you want fire?
    • View Profile
How are the level codes generated?
« on: August 28, 2011, 08:14:09 AM »
Hey all! :)

I was wondering how do the level codes of Oh no! More Lemmings are generated. I remember a post where a guy found the level code for the non-existing level passed Mayhem 30 in the original Lemmings game so that you could get weird level ratings. Here, I'd like to do the same trick, but for ONML. Can you please help me?

Thanks!
I like dragons! They're the center of my life! I'll never forget them...

Offline geoo

  • Administrator
  • Posts: 1475
    • View Profile
Re: How do the level codes are generated?
« Reply #1 on: August 28, 2011, 08:34:08 AM »
Herman Perk managed to find out how the codes to Lemmings and ONML are generated, and documented it.

Below is the original archive:

Offline finlay

  • Posts: 543
    • View Profile
Re: How do the level codes are generated?
« Reply #2 on: August 28, 2011, 09:42:09 AM »
pro-EFL-tip: you don't insert "do" on a question with "to be". Sorry, I can't resist correcting. ;P

Offline DragonsLover

  • Posts: 1234
  • Do you want fire?
    • View Profile
Re: How are the level codes generated?
« Reply #3 on: August 28, 2011, 09:56:18 PM »
Thanks geoo!

Finlay: Oh yeah, you're right. Thehe... It's fixed now.
I like dragons! They're the center of my life! I'll never forget them...

Offline Clam

  • Posts: 2187
  • Smiley: :8():
    • View Profile
Re: How are the level codes generated?
« Reply #4 on: September 10, 2011, 07:05:47 AM »
This looks like the sort of thing that would be relevant to my interests. ;) I had a quick read through the file geoo posted, and I'm not sure how that helps you generate codes for non-existent levels and weird ratings. Can someone please explain, or at least provide an example of such a code?

Offline Simon

  • Administrator
  • Posts: 3879
    • View Profile
    • Lix
Re: How are the level codes generated?
« Reply #5 on: September 10, 2011, 11:37:19 AM »
Excerpt of LCP0S0.TXT from geoo's attachment, listing only crash codes:

Code: [Select]
Lemmings + demo (4+124); COVOX (8+1); Bonus (16+1); Xmas91 (4+1); Xmas92 (4+1)
FAJHMFIJJS
IJHMFIFKJL
NHMFIFALJY
HMFIFINMJR
MFIFAJLNJK
FIFIJLMOJT
IFANLMFPJQ
FINLMFIQJJ

Oh-no! more Lemmings; Oh-no! demo (5 levels + 1 crash code)
TDIFAHTFGE

1993 Holiday Lemmings + demo (4 levels + 1 crash code)
BAJHLDIBCG

1994 Holiday Lemmings + demo (4 levels + 1 crash code)
FAJPLDHBGF

Original Lemmings demo, old version (4 levels + 28 crash codes)
Level   Fun etc.    Crash code   Crash code   Crash code   Crash code
  1:   DGHPVMXHIY   DOLTVMXOIP   XDGLTWMVIP   OXDOHTVMJM   WOXDGHTTJM
  2:   OHPVMXDIIR   DGHPWMXPIR   DOLTWMXWIY   XDGLTVONJJ   OXDOHTWUJV
  3:   LPVMXDGJIO   OHPWMXDQIK   DGHPVOXHJL   DOLTVOXOJS   XDGLTWOVJS
  4:   PVMXDOLKIX   LPWMXDGRIX   OHPVOXDIJU   DGHPWOXPJU   DOLTWOXWJL
  5:   VMXDGHTLIQ   PWMXDOLSIQ   LPVOXDGJJR   OHPWOXDQJN
  6:   MXDOHTVMIJ   WMXDGHTTIJ   PVOXDOLKJK   LPWOXDGRJK
  7:   XDGLTVMNIW   MXDOHTWUIS   VOXDGHTLJT   PWOXDOLSJT

-- Simon