Sorry to dig up such an old post, but I added this code to my build and everything is quite loud. I know how to turn it down but I do not know how to remove the old code with the loud value and replace it with the newer, quieter code.
Any thoughts?
I have no idea if this would work. CORRECTION I tested this out as I was typing this, it works!
1. Open the .gct file you wanna fix using GCTEdit by ChiboSempai (links must be out there somewhere)
This program shows you dual windows at once, the GCT file and the .txt file versions of what you opened.
You should be able to locate the code
041CA05C 388000XX (the universal song code where the XX is the hexadecimal value that you placed) somewhere within both windows.
2. Anyways, after you've opened up the GCT file, (the window freezes for like two minutes let it load) press the "Save TXT"
* button displayed in the upper right corner of the window. This will let you export the GCT as a .txt file.
* MAKE SURE TO RENAME THE FILE EXTENSION OF THE FILE FROM .GCT to .TXT OR IT'LL REMAIN AS A .GCT AND OVERWRITE YOUR OLD .GCT! For Example, the GCT editor will display "RSBE01.gct" as your save name. Rename that to RSBE01.txt.
3. Open the newly made .txt file using anything that does such things. Notepad works fine.
4. Run a search for the Code (Ctrl+f) and put "041CA05C 388000XX" where XX is the decimal value you named it. If you cant remember the decimal value, you can chop the XX out for just "041CA05C 388000" to help locate the line, just make sure you delete those last two figures as well.
5. Delete the entire line if you don't want the universal song volume modifier at all. If you wanna keep it but change the volume, just change the value of the last two letters/numbers at the end of the 041CA05C 388000XX, where the XX is what you wanna change to the new volume.
6. Save the .txt file so you keep the changes you made.
7. Launch the GCT Editor, choose to open the .txt file you just modified and saved. (even for opening .txt files it takes awhile)
8. Once that loads up, you should see the .txt file stuff in the bottom left window, and the auto translated GCT version of that above it. Choose to "Save GCT" from the buttons on the top right again. Make sure the file extension says .gct when saving it! (this step is basically the opposite of step 2's renaming)
9.
Your done! You fixed your .gct file without having to start recompiling it from scratch! Just make sure you put it in the correct folder and that its named RSBE01 so that the game recognizes this and picks it up.
Obviously you can do this for any .gct file as long as you know the lines of code your looking for and want to erase or modify. You don't have to worry about deleting any lines that the .txt file contains either!
Example: This is what displays in the .txt file you make:
Unrestricted Pause Camera
040A7D60 4E800020
04109D88 38800001
You dont have to delete the "Unrestricted Pause Camera" line, as Chibo's GCT Editor automatically turns that into hexidecimal lines upon turning the .txt into a .gct without doing any harm whatsoever.
In fact, these lines are already included in many RSBE01 files. That line came straight out of PM 3.5's code.
I hope this helps guys!