Sonic and Sega Retro Message Board: Sonic 1 Disassembly - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
  • 5 Pages +
  • ◄ First
  • 3
  • 4
  • 5
    Locked
    Locked Forum

Sonic 1 Disassembly

#61 User is offline KingofHarts 

Posted 01 May 2013 - 11:42 PM

  • Call me back when people stop shitting in the punch bowl...
  • Posts: 1480
  • Joined: 07-August 10
  • Gender:Male
  • Wiki edits:1
Small thing to note here,,, has anyone (seriously, mind you) considered homogenizing the nomenclature of various things in the 3 MD disassemblies, such as the variables, constants, some of the routines, and the like?

I've taken up doing this for the Sonic 1 disassembly, renaming ALL constants to match Sonic 2 disassembly's naming scheme. Will do the same for Sonic 3K as well. It just makes it a lot easier for me to switch around and work on the different games.
Would there be any interest/desire for this to be the case? and if so... perhaps I could give the renamed disassembly to one with write access and they can make a small update?

#62 User is offline jbr 

Posted 02 May 2013 - 05:49 AM

  • Posts: 14
  • Joined: 08-February 12
Good idea, although may I recommend something: keep all the old labels right by their new names as a comment. Whenever I'm using some particular disassembly, I always seem to have a different one to the tutorial or How-To that I'm using, which means all the label names are different. The more fragmentation we get with labelling, the less useful the SCHG becomes!

#63 User is offline MainMemory 

Posted 02 May 2013 - 08:30 AM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3369
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339

View PostKingofHarts, on 01 May 2013 - 11:42 PM, said:

Small thing to note here,,, has anyone (seriously, mind you) considered homogenizing the nomenclature of various things in the 3 MD disassemblies, such as the variables, constants, some of the routines, and the like?

All the time.

Of course, to do that, you'd have to pick out the "best" labels from each disasm (I would pick Sonic 2's labels every time), and there's going to be someone who disagrees with your choices, if anybody still cares at all.
Then of course, you have to update all the tutorials, and possibly some tools (SonLVL is forced to refer to certain sprite mappings by label).

#64 User is offline Hivebrain 

Posted 02 May 2013 - 08:48 AM

  • Posts: 2508
  • Joined: 15-January 03
  • Gender:Male
  • Location:53.4N, 1.5W
  • Project:HivePal 2.0
  • Wiki edits:6,176
I'm biased in favour of the S1 labels because I wrote them. The problem I see with the S2 labels is that a lot of them are too generic ("id" and "anim" for example). This is likely to cause issues if you do a mass text replace on them. I used prefixes in S1 specifically to avoid this problem, by making sure every label is a unique string.

#65 User is offline Spanner 

Posted 02 May 2013 - 09:24 AM

  • Not much I can do on here nowadays...
  • Posts: 2873
  • Joined: 02-June 07
  • Gender:Male
  • Location:United Kingdom
  • Project:Sonic the Hedgehog Hacking Contest, Other Stuff
  • Wiki edits:2,193
It'd certainly make porting a lot easier, although that ruins the fun in a way. I will admit that I used the SVN (or Hg now) version to port objects to Sonic 2, when you've got macros rather than numbers you know what you need to change. Doesn't mean I like using these disassemblies, I prefer the 2005 and 2007 disassemblies and I really see no reason to change that.

#66 User is offline KingofHarts 

Posted 02 May 2013 - 10:31 PM

  • Call me back when people stop shitting in the punch bowl...
  • Posts: 1480
  • Joined: 07-August 10
  • Gender:Male
  • Wiki edits:1
Then maybe it's best to leave it as is... too much of a headache, especially when people are used to a different scheme for a different disassembly.
Me personally, I'll be using the Sonic 2 labels and such for my REV C disassembly hacks.

  • 5 Pages +
  • ◄ First
  • 3
  • 4
  • 5
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users