(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-16-24 10:07 AM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - Noob at SPC HEX stuff
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
creaothceann
Posts: 19/43
The SPC file format. (There's an error though - there're just two reserved bytes at offset 2Ch, and it doesn't include the extended tags 35h and 36h.)

You might find parts of the SPC's RAM in the ROM, but not the entire file.
Raccoon Sam
Posts: 175/1040
Originally posted by blackhole89 +
If you really marked ALL of the .spc file, you wouldn't have found anything in the ROM. SMAS doesn't save its whole SPC block, and the first 0x500 bytes are not in the ROM at all (temporary regs etc)

And even so, you need to invoke a reupload to the SPC. That, for instance, happens if you start a new game. (If you did everything "right", you'll crash )


Yea yea, I know.
I should've corrected it. But I'm too lazy to edit the post.
blackhole89
Posts: 67/427
If you really marked ALL of the .spc file, you wouldn't have found anything in the ROM. SMAS doesn't save its whole SPC block, and the first 0x500 bytes are not in the ROM at all (temporary regs etc)

And even so, you need to invoke a reupload to the SPC. That, for instance, happens if you start a new game. (If you did everything "right", you'll crash )
MathOnNapkins
Posts: 242/1106
Take it from me, trying to edit SPC files when you have no flipping clue what you're doing won't get you very far. I tried a few times, and only recently have I actually tried to take a real hard look at how the SPC/DSP works.
Raccoon Sam
Posts: 168/1040
Originally posted by Keitaro
Not only that....but you DO know the SPC contains ALL the music in the game by finding the entire SPC in the ROM (which I HIGHLY doubt you did, as theres no ID6 tags in the ROM, tables and other things will be in different physical locations in the rom, etc), you're not just finding one song, but the entire program for the SMB1 bank in MSAS. But like I said, I seriously doubt you get an exact match for the entire SPC.


Well, it wasn't the entire HEX bunch. Just most of it.
Keitaro
Posts: 188/373
Not only that....but you DO know the SPC contains ALL the music in the game by finding the entire SPC in the ROM (which I HIGHLY doubt you did, as theres no ID6 tags in the ROM, tables and other things will be in different physical locations in the rom, etc), you're not just finding one song, but the entire program for the SMB1 bank in MSAS. But like I said, I seriously doubt you get an exact match for the entire SPC.
Raccoon Sam
Posts: 167/1040
Originally posted by Kyoufu Kawa
Did you save?


=3
Kheehee.. Whoopsie.
Kyoufu Kawa
Posts: 510/1353
Did you save?

Did you make sure there's no auto-patching being done that might restore the data?
Raccoon Sam
Posts: 166/1040
So I opened this SPC file of Super Mario Bros. Overworld theme with a HEX editor.

I copied the whole file by "Select all" and "Copy".
Then I opened the SMAS Rom with a Hex editor, and pressed "Command - F" (Find). And pasted the whole shiz in the search string. It found it, yes; so I replaced it with 00 00 00 00 00 etc..
And opened the ROM in an Emulator.
But The music's still there. Why? I Replaced it with 0's, but it still plays loud 'n' clear..

Thanks in advance.
Acmlm's Board - I3 Archive - ROM Hacking - Noob at SPC HEX stuff


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.004 seconds; used 351.71 kB (max 400.85 kB)