don't click here

The LOst Library

Discussion in 'Engineering & Reverse Engineering' started by LOst, Aug 30, 2004.

Thread Status:
Not open for further replies.
  1. LOst

    LOst

    Tech Member
    4,891
    8
    18
    Taken from howto.txt

    To show the Helicopter blades in the EHZ boss:

    1. Copy bossheli.bmp and bossheli.smp into the same folder as LOSTLIB.EXE.

    2. Run these commands in the console:
    pattern bossheli.bmp
    load_mappings_s2 bossheli.smp


    3. Done.

    ---------------------------------

    Or if you want to load it from the ROM, you still have to load the patterns first. Either using BOSSHELI.BMP or you have to uncompress the real patterns with E.S.E and load it with IMPORT_PATTERN).
    Then you use the offset like this to load the mappings from the ROM:

    LOAD_MAPPINGS_S2 SONIC2.BIN 0x2F970
     
  2. LOst

    LOst

    Tech Member
    4,891
    8
    18
    This is the mappings location for almost... or every object in the whole Sonic 1 o.o

    Good job!


    -And for getting these to work, you have to uncompress patterns with either Nemesis' decompressor or E.S.E.

    -And then load palettes from the ROM.

    On Nemesis' hacking site, you'll find offsets for all the compressed art and all the palettes. You need to combine palettes by loading them over and over. Then the easiest way to save patterns and palettes is to simply type in the console:
    bmp_pattern_to_bitmap bitmap.bmp

    If you want to load Eggman patterns from Sonic 1, decompress them from offset 0x5E034 with E.S.E., take the decompressed file and load it with IMPORT_PATTERN. Then load the palettes with ROM_PALETTE Sonic1.bin 0x21D8. And then you can load the mappings with the command:

    LOAD_MAPPINGS_S1 Sonic1.bin 0x19A34

    When you are done editing the mappings, you save it with SAVE_MAPPINGS_S1 filename.smp. Put the new mappings at the end of the ROM and search for the mappings pointer like this with a hexeditor: 23 7C 00 01 7D 0C 00 04. It may appear more than once in the ROM, so you change all of them.
     
  3. Skaarg

    Skaarg

    Member
    3,683
    0
    16
    It's called pencil and paper. :P
     
  4. Rika Chou

    Rika Chou

    Tech Member
    5,276
    170
    43
    ALT+TAB minimizes the DOS screen so you can references the help files, fast and convenient.
     
  5. hyper sonique

    hyper sonique

    Pending Member
    5
    0
    0
    LOst, I assume that reprogramming from DOS to a Windows application is hard, so why not program a GUI instead?
     
  6. LOst

    LOst

    Tech Member
    4,891
    8
    18
  7. Syren

    Syren

    Member
    4,330
    0
    0
    Teesside, UK
    Reintergration
    Tank 'oo.

    LOst, this is a great program. Thanks :D
     
  8. Drakmyth

    Drakmyth

    Inspector Drakmyth Master at your service. Oldbie
    420
    0
    0
    In the void beneath the ancient maze...
    Sonic Eclipse 2, Return of the Hidden Palace, Unnamed Sonic 2 Hack
    Whenever I ALT+TAB the program it locks up. Doesn't do that with most other programs though.
     
  9. SonicMaster

    SonicMaster

    Member
    21
    0
    0
    It is better than what I expected. Great program!
     
  10. Kles

    Kles

    Member
    Stop bumping yadda yadda yadda...
     
  11. Skaarg

    Skaarg

    Member
    3,683
    0
    16
    Why continue telling the idiot, cuz when he wastes his 20 posts he won't get in. :)
     
  12. Kles

    Kles

    Member
    Because he seems smart, he just doesn't realize not to keep bumping threads up that are over a month or two old. That's all.
     
Thread Status:
Not open for further replies.