• Welcome to SCdev.org. Please log in.

Welcome to the new SCdev forums!

firmware hacking

Started by n00b, January 19, 2008, 12:16:10 AM

Previous topic - Next topic

n00b

Anybody know how to hack SCSD firmware? I have a dump of it (512k is correct?). The dump can be run as a game. However, no matter how I modify it, changes don't show up. Ideas anybody?

Devil_Spawn

when you run the dump, i think it still loads files from the slot-2 card,meaning you are required to flash it to the firmware to view the changes

n00b

#2
Is it possible to patch the firmware? I think I need to patch the set mode stuff written to 0x9FFFFFE, but I don't quite understand the different modes. From the official io_scsd_asm.s:
.equ en_fireware,0
.equ en_sdram,1
.equ en_sdcard,2
.equ en_write,4
.equ en_rumble,8
.equ en_rumble_user_flash,1

However, I don't see any code writing 0 to 0x9FFFFFE. I see code writing 4 there. Also, how come parts of the firmware seems to be repeated twice? Is it a bad dump? 0x0-0x400 is repeated at 0x400-0x800 and 0x40000-0x40400 is repeated at 0x40400-0x40800

Devil_Spawn

i dont know enough about firmware hacking to say confidently anything, my experience is only from the supercard firmware skinning application, and with that, if you made changes you would have to flash the firmware. i also seem to remember that any firmware from  v1.70+ has some form of protection/encryption, so if you arent alrleady you might want to try with 1.63 instead