don't click here

Sonic 1 Disassembly

Discussion in 'Engineering & Reverse Engineering' started by Mask of Destiny, Sep 22, 2005.

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

    Tweaker

    Banned
    12,387
    2
    0
    Bump, just saying that s1comb.asm is NOT automatcally generated -- you have to take a file and rename it to such. It's auto-update, not auto-spawn. I hope this will be fixed.
     
  2. stuntmaster

    stuntmaster

    Member
    75
    0
    0
    Southampton
    Learning the whole Sonic hacking thing, Im gettin there Slowly....
    I tried it, and it seemed to work...
    but all of my pallets are screwed up big time.

    any idea why?

    I have also applied the code for the alternate pallets for Acts 2 and 3, which I found from another thread.
     
  3. Jigen

    Jigen

    We are all one Member
    122
    0
    0
    Wish I new ASM better. Touched on it some a few years back, but not much. I do virually everything in C.
     
  4. ddrmaxromance

    ddrmaxromance

    Member
    477
    0
    0
    nvm
     
  5. Super Shadow

    Super Shadow

    Why is this here? Pending Member
    11
    0
    0
    I have a problem while building a rom. When the rom is ready, it says that the rom is only 128 bytes. Can anyone help me about that?
     
  6. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    I've discovered what's going on and have several things to report.

    Hivebrain's include program isn't intelligent enough to create the s2comb.asm file for itself; if the file doesn't already exist it quits silently after spewing its usual message about correct usage.

    Lightning's include program, on the other hand, apparently doesn't fully implement the syntax for the includes; this caused a bizarre bug when building Sonic 1 which caused one frame of the red and white block in the special stages to become corrupt.

    Therefore to make sure that your compile will go ahead:
    1) Download the Win32 port of touch (Google it) and save it to the s1 folder.
    2) Put the following lines before the include command in build.bat:
    Code (Text):
    1. del s1comb.asm
    2. del s1built.bin
    3. touch s1comb.asm
    That should solve the problem. Hivebrain, could you fix your include program so it creates a file when none exists rather than requiring one to make it oneself before it works?
     
  7. Hivebrain

    Hivebrain

    Administrator
    3,049
    161
    43
    53.4N, 1.5W
    Github
    I already know about this bug, and it'll be fixed in the next disassembly. I'll also add some more useful features to the include program, and change the syntax to something a bit more sensible, such as "include(filename.asm)" instead of "; include=filename.asm".
     
  8. Super Shadow

    Super Shadow

    Why is this here? Pending Member
    11
    0
    0
    Thanks :thumbsup: ! I'll test and see if this works ^^.
     
  9. Super Shadow

    Super Shadow

    Why is this here? Pending Member
    11
    0
    0
    Sorry about the double post — I can't access the edit button on my post — but Google.com didn't find anything related to "Win32 port of touch".

    What do I have to type in the search form to find something about?

    If you can help me, I'll thank in advance. :thumbsup:
     
  10. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    [​IMG]
     
  11. nineko

    nineko

    I am the Holy Cat Tech Member
    6,308
    486
    63
    italy
    Seriously, did you try to search for it with the quote marks?
    I lol'd
     
  12. Dark Sonic

    Dark Sonic

    Member
    14,631
    1,611
    93
    Working on my art!
    Release today o_0? If not... that's not a 2006 release now is it :P
     
  13. Hivebrain

    Hivebrain

    Administrator
    3,049
    161
    43
    53.4N, 1.5W
    Github
    It'll be ready when it's ready.
     
  14. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    In before Duke Nukem Forever.
     
  15. Dark Sonic

    Dark Sonic

    Member
    14,631
    1,611
    93
    Working on my art!
    Just hope that's soon. Figuring out how to work that broken built.bat file is slowly killing me inside.
     
  16. Andy

    Andy

    Pending Member
    I really need help :S. im new to hacking (so I don't really know how to do it lol!). I want to make a sprite edit on sonic 1. I 'split' it with the split batch file, and now I just have a load of binaries. am I supposed to edit them, and how do I if I am supposed to? am I doing completely the wrong thing?? sorry if im not posting this in the right place
     
  17. Hayate

    Hayate

    Tech Member
    1. download split disasm
    2. edit tiles in TLP
    3. edit mappings if required
    4. start->run->cmd, cd to your disasm's directory and then type build.bat
    5. open gens and load s1built.bin
    6. test

    Okay, okay, so it's not exactly newbie-friendly. Maybe someone should make a tutorial of it.
     
  18. Andy

    Andy

    Pending Member
    what is TLP and cmd?
     
  19. drx

    drx

    mfw Researcher
    2,254
    350
    63
    :rolleyes:
  20. Andy

    Andy

    Pending Member
    thanks very much :)
     
Thread Status:
Not open for further replies.