[Question] Repacking Smash Bros 3ds/cia Difficulties

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by shinyquagsire23, Feb 8, 2015.

  1. shinyquagsire23
    OP

    shinyquagsire23 SALT/Sm4sh Leak Guy

    Member
    1,964
    3,238
    Nov 18, 2012
    United States
    Las Vegas
    So I managed to get Smash Bros decrypted after successfully decrypting and repacking Alpha Sapphire, however this time around I'm having difficulties getting it to boot properly. Basically it just gets stick in the 3DS loading red pulse screen.

    Is there anything I need to do to my RSF/makerom paramaters for games which reboot the 3ds?
     
  2. gudenau

    gudenau Largely ignored

    Member
    3,278
    1,250
    Jul 7, 2010
    United States
    /dev/random
    Did you try the exheader injector?
     
  3. shinyquagsire23
    OP

    shinyquagsire23 SALT/Sm4sh Leak Guy

    Member
    1,964
    3,238
    Nov 18, 2012
    United States
    Las Vegas
    Ah, I didn't even know this thing was needed for/worked on .cias. Although apparently my exheader was also decrypted wrong somehow, so that probably played a role somewhere. Either way, I compiled a version of Smash without the romFS just as a quick test to see if it even gets past the pulsing loading screen, actually worked. And it showed signs of the code working as well, like the system rebooting and the 3D turning off by itself. I'll go ahead and try it with the romFS now to see how that goes.

    EDIT: Nope, seems the romFS build also failed, even with injection. Used this to build:
    Code:
    makerom -f cxi -target t -desc ecapp:5 -rsf RSF-CIA.rsf -o smash.cxi -exheader exheader.bin -code exefs/code-decmp.bin -romfs romfs.bin -icon exefs/icon.icn -banner exefs/banner.bnr
    wine Exinjector.exe -rom smash.cxi -exheader exheader.bin -sd
    makerom -f cia -target t -content smash.cxi:0:0 -o smash.cia
    
    I think I'll keep trying to get the non-romFS version not crashing and telling me to turn off my 3DS. Not sure what it could be at this point though...

    EDIT: Tried it without exinjector (but with a valid exheader this time), just crashes before the reboot. So looks like that did something.

    EDIT: OK, I did a test and loaded up a code.bin which just did an infinite loop, doesn't crash now. Let me just do a reverse test to see if the RSF changes I did were the real culprits in the first place
     
  4. shinyquagsire23
    OP

    shinyquagsire23 SALT/Sm4sh Leak Guy

    Member
    1,964
    3,238
    Nov 18, 2012
    United States
    Las Vegas
    OK, tried doing it with the romFS in there, it seems to crash still for some reason. Code executes fine, but for some reason I guess it crashes and forces a hard shutdown if the romFS is read from. :/

    EDIT: Turns out my dump was missing a good 0.2 GB somehow. Redumped and did everything, works fine.