THE SonED2 thread

Discussion in 'Engineering & Reverse Engineering' started by Stealth, Sep 2, 2006.

  1. Selbi

    Selbi

    Impaled with Extreme Prejudice Member
    1,482
    0
    0
    Northern Germany
    Sonic ERaZor
    <!--quoteo(post=556427:date=Feb 9 2011, 01:41 AM:name=Rika Chou)--><div class='quotetop'>QUOTE (Rika Chou @ Feb 9 2011, 01:41 AM) <a href="index.php?act=findpost&pid=556427"><img src="public/style_images/retro/snapback.png"></a></div><div class='quotemain'><!--quotec-->You shouldn't use object 25, just double right click to make rings.<!--QuoteEnd--></div><!--QuoteEEnd-->
    Quite annoying that this method doesn't set the remember sprite flag though. I mean, hitting the 0 button isn't a big deal, but still. :V
     
  2. FraGag

    FraGag

    Tech Members Tech Member
    659
    0
    0
    Québec, Canada
    an assembler
    <!--quoteo(post=556576:date=Feb 9 2011, 08:08 AM:name=Selbi)--><div class='quotetop'>QUOTE (Selbi @ Feb 9 2011, 08:08 AM) <a href="index.php?act=findpost&pid=556576"><img src="public/style_images/retro/snapback.png"></a></div><div class='quotemain'><!--quotec--><!--quoteo(post=556427:date=Feb 9 2011, 01:41 AM:name=Rika Chou)--><div class='quotetop'>QUOTE (Rika Chou @ Feb 9 2011, 01:41 AM) <a href="index.php?act=findpost&pid=556427"><img src="public/style_images/retro/snapback.png"></a></div><div class='quotemain'><!--quotec-->You shouldn't use object 25, just double right click to make rings.<!--QuoteEnd--></div><!--QuoteEEnd-->
    Quite annoying that this method doesn't set the remember sprite flag though. I mean, hitting the 0 button isn't a big deal, but still. :V
    <!--QuoteEnd--></div><!--QuoteEEnd-->
    That's not an issue with Sonic 2, because the ring layout is separate and the flag doesn't apply there. With Sonic 1, double-right-clicking is just a shortcut for object 25, but as you say, it doesn't set the remember sprite state flag, whereas selecting object 25 manually does set the flag.

    (In Sonic 2, object 25 is the object you get when you place a ring in placement mode.)
     
  3. Selbi

    Selbi

    Impaled with Extreme Prejudice Member
    1,482
    0
    0
    Northern Germany
    Sonic ERaZor
    So today I was converting the level layout file, I had converted into an .asm file some time ago, into a .bin again. Made a test build and everything was fine. But then I wanted to edit it with SonED2 (which is why I converted it back in the first place; this program reads stuff as bytes regardless of the format), and I all I saw was my level jumbled into various places. I was able to locate some pieces from it, but it was more than a big pile of shit than a level.

    So obviously, the program didn't read the level layout file correctly (by the way, when saving it's saving it as this jumbled format, so the only problem is reading). Is the reason maybe that my level layout has a horizontal size of $53 chunks (S1 format)? If so, anyone knowing how to make SonED2 read it the correct way?
     
  4. jman2050

    jman2050

    Teh Sonik Haker Tech Member
    633
    0
    0
    Are you sure that you have the width and height set properly for both the FG and BG layers? If it's missing those particular bytes it screws up the whole loading process.
     
  5. Selbi

    Selbi

    Impaled with Extreme Prejudice Member
    1,482
    0
    0
    Northern Germany
    Sonic ERaZor
    <!--quoteo(post=558558:date=Feb 14 2011, 05:43 PM:name=jman2050)--><div class='quotetop'>QUOTE (jman2050 @ Feb 14 2011, 05:43 PM) <a href="index.php?act=findpost&pid=558558"><img src="public/style_images/retro/snapback.png"></a></div><div class='quotemain'><!--quotec-->Are you sure that you have the width and height set properly for both the FG and BG layers? If it's missing those particular bytes it screws up the whole loading process.<!--QuoteEnd--></div><!--QuoteEEnd-->
    I'm pretty sure all that is correct. I mean, it's loading fine in the game itself. It's just SonED2 that doesn't want me to edit the file.
     
  6. jman2050

    jman2050

    Teh Sonik Haker Tech Member
    633
    0
    0
    Is the project file set to load Sonic 1 style layouts?
     
  7. Selbi

    Selbi

    Impaled with Extreme Prejudice Member
    1,482
    0
    0
    Northern Germany
    Sonic ERaZor
    <!--quoteo(post=558660:date=Feb 14 2011, 10:02 PM:name=jman2050)--><div class='quotetop'>QUOTE (jman2050 @ Feb 14 2011, 10:02 PM) <a href="index.php?act=findpost&pid=558660"><img src="public/style_images/retro/snapback.png"></a></div><div class='quotemain'><!--quotec-->Is the project file set to load Sonic 1 style layouts?<!--QuoteEnd--></div><!--QuoteEEnd-->
    Yes. I mean, if that would be Sonic 2 it wouldn't work at all, would it? And, as I said, I remember some level segments there. They just seem to be in a completely random order.
     
  8. Hanoch

    Hanoch

    Also known as TheKnock, Birashot Member
    491
    0
    0
    Israel
    everything
    I had this bug before. I think you need to have the length/width below $40, or else it wont load correctly.
    Also, if you save while the layout is messed up in SonEd2, the level layout comes out fine in the game.
    I guess there's a problem reading the first bytes of the file.
    Not to mention, editing sonic 2 is also quite impossible, if you have too many rings in the level the layout gets messed up.
     
  9. Selbi

    Selbi

    Impaled with Extreme Prejudice Member
    1,482
    0
    0
    Northern Germany
    Sonic ERaZor
    If the problem really is that it can't be over $40 chunks, is there ANY way to still use SonED2? I can't squeeze it $13 chunks down, it's just impossible.
     
  10. jman2050

    jman2050

    Teh Sonik Haker Tech Member
    633
    0
    0
    Crap, I misread your first post. Yeah $53 chunks is too high a width for stock Sonic 1 and the current version of SonED2 isn't designed for longer than that.

    I ran into this issue when making my Sonic 3 Proof-of-Concept hack, I just split the layout/object/ring lists in two and spliced them together myself after editing, but I don't know if that's feasible in your case.
     
  11. kram1024

    kram1024

    Researcher / Hacker Oldbie
    63
    0
    0
    at home, duh
    Part of the new Team Revamped; Kraminator Special Series disassemblies; Sonic 3 Sound Driver porting guides; KENS 1.5; smps studio; various non-sonic related things
    soned2 is now officially working in crossover linux professional v. 10.0.0

    Official instructions on how to set up soned2 on linux or mac on codeweavers app compatibility page for soned2.
     
  12. Selbi

    Selbi

    Impaled with Extreme Prejudice Member
    1,482
    0
    0
    Northern Germany
    Sonic ERaZor
    <!--quoteo(post=558944:date=Feb 15 2011, 06:40 PM:name=jman2050)--><div class='quotetop'>QUOTE (jman2050 @ Feb 15 2011, 06:40 PM) <a href="index.php?act=findpost&pid=558944"><img src="public/style_images/retro/snapback.png"></a></div><div class='quotemain'><!--quotec-->I ran into this issue when making my Sonic 3 Proof-of-Concept hack, I just split the layout/object/ring lists in two and spliced them together myself after editing, but I don't know if that's feasible in your case.<!--QuoteEnd--></div><!--QuoteEEnd-->
    It's a possibility I could think about, but all I wanted to do was to change a couple of chunks. And after realizing that, it's probably much easier to just use a hex editor and modify those values (which is what I did now btw).

    Thanks for helping though. =)
     
  13. Slingerland

    Slingerland

    Oldbie Oldbie
    668
    0
    0
    Hechoeg Frat
    Sonic Mania
    <a href="http://stealth.hapisan.com/Forum/viewtopic.php?f=2&t=61" target="_blank"><u>Major SonED2 update, suckas.</u></a>
     
  14. Dark Sonic

    Dark Sonic

    I'll find the old avatar eventually Member
    11,962
    1
    18
    Working on my art!
    Wow Sonic 3 and Knuckles support? Pretty awesome I must say, I hope to start seeing some hacks based off that game. Same goes for Sonic Cd
     
  15. Selbi

    Selbi

    Impaled with Extreme Prejudice Member
    1,482
    0
    0
    Northern Germany
    Sonic ERaZor
    I doubt that I will ever need S3K and SCD support, but having an editor for Crackers is damn awesome! (Totally not making advertisment for the Crackers disassembly. :V)

    But that is not the major reason I post. No, this version is SOOOO00000oooo.... much better than the 2004 in terms of working with it. As an example: In the old version you had arrows to select stuff. However, those arrows were smaller than my cursor, a fact that wasn't really helpful with my gigantic screen size either (I was FORCED to use this program in full screen). Those arrows have been replaced by just clicking on what you want; much better!
     
  16. Rika Chou

    Rika Chou

    Tech Members Tech Member
    5,210
    0
    16
    The Sonic 2 2P mode support is interesting. Very nice improvements all around. (also it seems not to crash when opening project files for me now :D)
     
  17. GT Koopa

    GT Koopa

    Member Member
    1,994
    0
    16
    Elgin, IL
    Flicky Turncoat DX, T.L.W.S. Vs M.G.W.
    <img src="http://i2.photobucket.com/albums/y39/galapagosturtle/alt/SonED2error.png" border="0" class="linked-image" />
    So is anyone else having trouble with these new Project files? I split a clean Sonic 2 with the 2007 disassembly just to test it out. The regular old project files do work though.
     
  18. amphobius

    amphobius

    where are the japanese shaman girls, lintahlo? Member
    It's a newer spec to handle the new thing SonED2 has now. Continue with the older project files for convenience.
     
  19. jman2050

    jman2050

    Teh Sonik Haker Tech Member
    633
    0
    0
    Yeah the included project files are specifically for use with ROMulan. The project files that come with your disassembly should still be used.
     
  20. FraGag

    FraGag

    Tech Members Tech Member
    659
    0
    0
    Québec, Canada
    an assembler
    I modified the project files for Sonic 1 to match the structure of the svn disassembly and uploaded them on the svn. <a href='index.php?act=findpost&pid=562504'>Details</a>

    I'll be doing project files for Sonic 2 tomorrow.