How to easily change the level order in your Sonic 1 hack

Discussion in 'Tutorials Archive' started by Ashuro, May 15, 2016.

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

    Ashuro Anti-Cosmic Metal Of Death Member

    Joined:
    Sep 27, 2014
    Messages:
    550
    Location:
    France
    Hi!
    First i'm sorry for my bad english.

    So, really first, this tutorial work with the Sonic 1 Hivebrain 2005 disassembly. (i don't test the github version and other).
    You need to have:
    _A clean Sonic 1 rom
    _A clean disassembly (hivebrain 2005 for exemple)
    _Your disassembly of your hack
    _Esrael Sonic Editor II


    You have to open the clean Sonic 1 rom with the Esrael Sonic Editor II.
    In "Tools", you have the level order editor.
    Edit the level order as you want, and then, save.
    Close the ESEII and copy/paste your clean Sonic 1 rom (edited on ESEII) into the clean disassembly folder.
    Rename the rom to "s1", and split.

    Make a copy/backup or delete your lvl_ord.bin in your misc folder, of your hack, and copy/paste the lvl_ord.bin of the clean disassembly to your hack.

    Build and test, and...
    YES, you have a custom level order!

    This is my first tutorial.
    I hope that it will help someone here. Thank you!
     
  2. TheStoneBanana

    TheStoneBanana banana Member

    Joined:
    Nov 27, 2013
    Messages:
    602
    Location:
    The Milky Way Galaxy
    This seems like a little bit of backwards thinking, doesn't it?
    You edit a clean ROM in ESEII (which is a tool that is frowned upon here, I think) and then you split it and make a disassembly.
    That doesn't really make sense to me. What's the point of using ESEII if you're just going to make a perfectly capable disassembly anyways?
     
  3. Joshwoakes

    Joshwoakes Active Sonic Hacker Member

    Joined:
    Jun 22, 2013
    Messages:
    131
    Location:
    UK, Birmingham, Moseley
    @TheStoneBanana
    Because it's a lot easier and causing less frustration for people who have trouble understanding hex editing or may not know how to use a hex editor. I have use this method before and it worked perfectly fine however sometimes it can corrupt or cause an error when disassembling the edited rom.

    anyway using this method is not the best option but since i have used it before it can be done. your better off doing it hex editing way or manually programming in the level order (which is a method you could use to if you have trouble with hex editing)
     
    Last edited: May 15, 2016
  4. ThomasThePencil

    ThomasThePencil resident psycho Member

    Joined:
    Jan 29, 2013
    Messages:
    910
    Location:
    the united states. where else?
    Hate to be "that guy," but you could make it 10x simpler and easier (should you know the zone and act IDs) by pulling a Sonic 2 and having the list dc.w'd...
     
    Clownacy likes this.
  5. Painto

    Painto Arthurus Paintus Erinaceus Member

    Joined:
    Mar 24, 2014
    Messages:
    321
    Location:
    Lublin, Poland
    Long time ago, I wrote this thing. It's 10x times better than this tutorial.

    On th tutorial, it's like searching in Google Images for certain color, PrintScreening it and eyedropping the color in MS Paint instead of just opening the colors editor and selecting desired color.
     
  6. Ashuro

    Ashuro Anti-Cosmic Metal Of Death Member

    Joined:
    Sep 27, 2014
    Messages:
    550
    Location:
    France
    I just want to laugh because i've try this way and first: i understand nothing, and two: it's no working (not like i want).

    No no no and... NO.
    Because i've try "this thing" and it's no working and "10x faster" and "easy" for me!
    I've ask some help but nobody help me, or for a rude way, so i've find another solution and THIS tutorial help me (and then other peoples like me that don't understand hex, or "this thing"! (and sorry again for my very bad english)
     
  7. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    Your English is not a problem, it's your rudeness. Kindly stop please.
     
  8. LazloPsylus

    LazloPsylus The Railgun Member

    Joined:
    Nov 25, 2009
    Messages:
    Location:
    Academy City
    Your behavior is quite steadfast against alternative solutions. In addition, the solution you provide is messy and doesn't work if you're already working off a different level structure than default.

    Then again, if you already have a different level structure, you probably aren't going to need this method...
     
  9. Ashuro

    Ashuro Anti-Cosmic Metal Of Death Member

    Joined:
    Sep 27, 2014
    Messages:
    550
    Location:
    France
    Yes it's true, but this is the only solution that work with me, because no solutions or explanations can help me, and i'm a noob in Hex :confused:


    I'm sorry it was not my intention :eek:
     
  10. TheInvisibleSun

    TheInvisibleSun Visible Member

    Joined:
    Jul 2, 2013
    Messages:
    424
    Location:
    Western New York, USA
    Doing this doesn't take much hex knowledge though; just open then file in a hex editor of your choice, follow the guide given here by painto:

    Enable debug mode, and test it through trial and error. This isn't very difficult if you take a second to understand what's going on.

    Though I should clarify something that may be a little unclear in the above guide. If you haven't noticed already, in Sonic 1, you get sent to GHZ Act 1 from the title screen's code, so this list is first used to send you to GHZ Act 2 after Act 1, which is why it starts with 00 01 (that being Zone 1 ($00) Act 2 ($01)).

    Though this isn't very complicated once you get the hang of it, if I were you, I'd try the given asm option again more carefully this time, if you're that afraid of messing with Hex. The option you gave is unfortunately, pointlessly roundabout and unhelpful beyond beginning stages, as it requires an hopelessly outdated (and seemingly glitchy) utility.

    Next time, rather than just saying something doesn't work, why not elaborate on the problem you're having so that people here can help you resolve it? Clearly the posted options worked for others, so why not learn and grow so they can work for you too?
     
    Pacca and MarkeyJester like this.
  11. Ashuro

    Ashuro Anti-Cosmic Metal Of Death Member

    Joined:
    Sep 27, 2014
    Messages:
    550
    Location:
    France
    Because i'm french, and first: English is already hard to translate sometimes... :confused:
    I've start the rom-hacking since end of 2014, and Today i'm barely able to write 2 lines of asm code :D (however i've reading many tutorials and guides).
    Also, my first steps in this rude world that the rom-hacking (of sonic yet) have been copy/paste of asm code in many tutorials, palette hacking and sprite... :rolleyes:

    Today i have a big hacking project and since one year i try to learn while developping... Sonic Retro and SSRG are my most visited pages since two years... and even with that i'm incapable to undertstand how ASM and Hex really work like MarkeyJester or other peoples... Maybe hacking is not my domain, finally... :(

    Sorry if my reply is too long.
     
  12. JoenickROS

    JoenickROS ROS (bug fixing in progress) Member

    Joined:
    Feb 5, 2012
    Messages:
    929
    Practice makes perfect man, if it's something you really want to do you can improve, but if it's something you are not entirely intrested in then it will be harder too. Why do something if you don't necessarily like it you know?
     
  13. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    This is getting nowhere.

    Ashuro; thank you for the guide, I do declare though, there's nothing more to say on the subject than what has already been said.

    *locked*
     
Thread Status:
Not open for further replies.