11 March 2016 - Forum Rules
Started by DANGER X, April 06, 2017, 03:51:22 AM
Quote from: nesrocks on March 03, 2017, 04:02:54 PMFceux's debugging tools are way better than blindly trying to figure out where a song is. Here is how:1 - Open fceux, open the ROM on it.2 - Start level 1 (in case you want to find level 1 music)3 - Stand still in a spot where nothing happens and you can listen to the music. Now Open the Code/Data Logger, hit "Reset Log" and then hit "Start". Then you click "save stripped data" and save it to a file. Name it "file 1.nes" or something.4 - Now let the music play for a couple of seconds and click "save stripped data" again. Save the file to "file 2.nes".5 - Now get your favorite hex editting program that can compare files. I use Hex workshop. In it, you can open two files to compare them. You will choose file 1.nes and file 2.nes and it will tell you the difference between them. You skip to the next difference until you find a relatively very different spot.6 - Now go to fceux, open the debug - hex editor, select "view" - "rom file" and scroll to the same address where hex workshop indicated a difference. If it is lit as blue, this must be the song. Change it to all FF and reset the game and see if the music is now silent or has a silent channel.7 - If it has, then you can go to stage 1, stand still on a spot, reset the code data logger and start it. Let the game play the song for a while to make sure it has read all the notes in the song (it reads each one in real time). Then pause the emulator and go back to the hex editor and you will see exactly the whole song lit as blue (data). No need to guess where it is by ramdomly corrupting areas...Of course, depending on the ROM size (big ROMS are more boring to scroll) you can skip the hex workshop and simply skip to step 7, pause the emulator and then scroll the hex editor until you find an area with a big chunk of blue bytes. Big chances are this is the music.
Page created in 0.083 seconds with 20 queries.