[Fire Red]: Extending The Number Of Safe Flags And Variables
View Single Post
June 7th, 2013 (03:32 PM).
Join Date: Jul 2012
Quote originally posted by
Don't waste your money on books, those will just make everything
confusing. It's not as hard as your'e making it out to be. Here's how I did it, which made it work fine.
Extract those files to your desktop.
Step 2: MAKE SURE you apply the patch in the first post to your ROM (this should be a clean, unmodified ROM) before doing this.
Step 3: Open Notepad and paste down whichever ASM code you're using (aka if you're expanding flags, using the flag-expanding ASM code)
Step 4: Click File -> Save As. On the Box labelled "File Name" type "[whatevernameyouwant].asm". Under "Save as type", change to All Files. Navigate to the Desktop and save it there.
Step 5: Open Command Prompt. Type "cd Desktop". You're now on your desktop. Type the following into Command Prompt:
thumb [whatevernameyouchose].asm [samename].bin
You should see "Assembled Successfully" right below it in the Command Prompt. You can close it now.
Step 6: Open the .bin file in a hex editor and copy ALL the data.
Step 7: Open Free Space Finder and find an offset that ends in a 0, 4, 8, or C (as stated above).
Step 8: Open a new sheet in Notepad. Write down your offset, and then write it in little endian + 1. Ex: If my offset was 0x800000, the correct format for this would be 01 00 80.
Step 9: Open your ROM in a hex editor and go to the offset that you chose. Click Edit -> Paste write.
Step 10: Open your ROM in the hex editor and go to the offset 0x6E5D6. Change it to:
01 48 00 47 00 00 XX XX XX 08
Where the XX's = the endian version of your offset that you were supposed to write down earlier. Hit save, and you're done.
It would be helpful to have a tutorial on
to do this, Jambo, since most people don't have the knowledge of how to do this stuff.
View original post
Well thank you very much for this. I am understanding now... I have both flag.bin and var.bin now and have already added the flag one to my rom as you made it easy by tossing in the 01 00 80 but my final question is when you revers hex and add one does that mean 800044 becomes 45 00 80 and so on???
PS. Again I thank bolt of you for answering my questions so fast as that is rare on here.. Thanks to you, Jambo51 and karatekid I am at more of an understanding to this ASM. And you where more than right, I was making it harder than it was for sure
View Public Profile
Send a private message to DarkPsychic
Find all posts by DarkPsychic
Find threads started by DarkPsychic
Ignore Posts by DarkPsychic