don't click here

Recompiling shifted ROMs from compilations

Discussion in 'Technical Discussion' started by ICEknight, Nov 12, 2007.

  1. ICEknight

    ICEknight

    Researcher Researcher
    To everybody familiar with assemblers and that stuff:

    Is there any way to recompile this game so all the code and data will get shifted to the beginning, and the pointers changed according to it? It would help making this ROM a lot smaller.

    Yours sincerely,
    ~~ICEknight
     
  2. drx

    drx

    mfw Researcher
    2,254
    350
    63
    :rolleyes:
    It would help if the thing wasn't uploaded to Rapidshare =P

     
  3. Nemesis

    Nemesis

    Tech Member
    Yes, but it's quite a bit of work. You'd have to do a full, clean disassembly of the game, like the disassemblies which are around for Sonic 1/2. As part of this process, all those pointers are linked to labels, which means that when you recompile the game, all the pointers are adjusted. Doing the disassembly could take some time to complete though.
     
  4. Zenor

    Zenor

    flip the chessboard over Member
    297
    16
    18
    here's an alternate download link:
    download
    (but also, when I was downloading the file, this showed up:link.)
     
  5. Nemesis

    Nemesis

    Tech Member
    *chuckle*
     
  6. nineko

    nineko

    I am the Holy Cat Tech Member
    6,307
    483
    63
    italy
    <!--quoteo(post=173153:date=Nov 13 2007, 01:02 AM:name=Victor TH)--><div class='quotetop'>QUOTE (Victor TH @ Nov 13 2007, 01:02 AM) [​IMG]
     
  7. Techokami

    Techokami

    For use only on NTSC Genesis systems Researcher
    1,373
    81
    28
    HoleNet!
    Sonic Worlds Next
    Reminds me of the time MegaUpload's CAPTCHA read "DRX"
    Gotta love those random number generators
     
  8. drx

    drx

    mfw Researcher
    2,254
    350
    63
    :rolleyes:
    Theoritically one could hack Gens to dump all the read from and wrote to addresses from the ROM, play the game through touching everything etc (just as if you were beta testing), then write a program that would take all the ROM accesses between $200000 and $280000 and convert them to $00000 and $80000. =P
     
  9. Nemesis

    Nemesis

    Tech Member
    Doing a disassembly would be easier I'd wager, and more useful once it's complete.
     
  10. ICEknight

    ICEknight

    Researcher Researcher
    Oops, and I thought it would be as easy as setting all the FF padding as data and removing it... Shows what I know. =\

    Anyway, for those curious, that's the third Revenge of Shinobi version (only present in compilation carts), with everything else FF'ed and its own header pasted over the compilation one. The same version taken from other compilations changes the pointers and some other stuff, not sure if those could help locating anything, oh well.


    PS: I think there was another unreleased-as-standalone version of Streets of Rage 1 among the games I extracted. I can check it when I return from work, if anybody's interested.