Press Start button in Sonic 1...

Discussion in 'Discussion and Q&A Archive' started by JustANewbie, Sep 13, 2010.

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

    JustANewbie Well-Known Member Member

    Joined:
    Sep 11, 2010
    Messages:
    59
    Location:
    Croatia
    I edited Sonic 1 ASM to contain the "Press Start Button text". How to put it into a ROM?(my hack)
     
  2. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
  3. Tongara

    Tongara Well-Known Member Exiled

    Joined:
    Feb 10, 2009
    Messages:
    353
    Location:
    Birmingham, UK
    You know, I'm so glad there is an actual guide for that now. About a year ago, someone had to track through an old post on retro to find out how to do it. For something that was SO easy to do in hex (changing a byte), it was baffling to see no mention of in in the 2005 disam. It's also interesting to read that it seems like it was just an error was the reason it wouldn't display, rather than them actually wanting to remove it.
     
    Last edited by a moderator: Sep 14, 2010
  4. JustANewbie

    JustANewbie Well-Known Member Member

    Joined:
    Sep 11, 2010
    Messages:
    59
    Location:
    Croatia
  5. DanielHall

    DanielHall Well-Known Member Member

    Joined:
    Jan 18, 2010
    Messages:
    860
    Location:
    North Wales
    By using a file called build.bat.


    double click it and if all goes well, it should work. if not, there's a problem
     
  6. Ravenfreak

    Ravenfreak Still hacking the 8-bit titles Member

    Joined:
    Feb 10, 2010
    Messages:
    410
    Location:
    O'Fallon, MO
    Do you mean how to add the code to the disassembly your using? Well first open the S1 disassembly in a text editor of your choice. Then press ctrl+F to make a search for "Title_ClrObjRam2", and follow the rest of the guide. Also to build the ROM, click on build.bat. Another alternative is to open command prompt, and build the ROM from there. It's better that way because it shows you any errors you may come across. Or you could add an extra line to build.bat, but I forget what you exactly have to add. :\
     
  7. DanielHall

    DanielHall Well-Known Member Member

    Joined:
    Jan 18, 2010
    Messages:
    860
    Location:
    North Wales
    pause
     
  8. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    Running "build.bat" will assemble your code changes into a single rom called "s1built.bin", if it does not work, it may be because:


    (1.) You have not yet split a rom of it's files, which you should do so.


    (2.) The changes you have made in your code are incorrect, and need correcting.


    (3.) You are using an oldish disassembly that needs a blank file called "s1comb.asm" in the same directory as "sonic1.asm", which can be downloaded here


    (4.) You are using an "Asm68k" version of the disassembly that needs a shorter directory, in which case you can replace the "asm68k.exe" file with this one, which will allow longer directory names.


    Check each of those and run "build.bat", once it's complete, it should create a rom called "s1built.bin", if so, run it in your emulator to see that it works.
     
  9. JustANewbie

    JustANewbie Well-Known Member Member

    Joined:
    Sep 11, 2010
    Messages:
    59
    Location:
    Croatia
    Trash this topic, please.
     
  10. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Not to sound mean or something, but uhh.... why? I don't see anything bad in the topic.
     
  11. JustANewbie

    JustANewbie Well-Known Member Member

    Joined:
    Sep 11, 2010
    Messages:
    59
    Location:
    Croatia
    OK, Selbi.
     
  12. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    I'll by all means trash if you wish, but I'm still curious to know why you want your topic trashed.
     
  13. JustANewbie

    JustANewbie Well-Known Member Member

    Joined:
    Sep 11, 2010
    Messages:
    59
    Location:
    Croatia
    Never mind. The file called build.bat and it maded a rom which has only got 8kilobits. it runs nothing.
     
  14. theocas

    theocas #! Member

    Joined:
    Apr 10, 2010
    Messages:
    375
    That means you have an error in your code. Open build.bat in Notepad or something, and add "pause" without the quotes on an empty line at the end of the file.
     
  15. JustANewbie

    JustANewbie Well-Known Member Member

    Joined:
    Sep 11, 2010
    Messages:
    59
    Location:
    Croatia
    Oh, i remember. i accidentally renamed sonic1.asm to sonic1old.asm. never mind.
     
  16. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    Good enough for me... and closed.
     
    Last edited by a moderator: Sep 18, 2010
Thread Status:
Not open for further replies.