+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  GBA Rom expansion (expanding rom for more space)
Pages: [1]
Author Topic: GBA Rom expansion (expanding rom for more space)  (Read 2 times)
Masterquestmq
Guest
« on: August 24, 2009, 03:34:45 am »

I knw its a very complicated procedure done only by the best hackers out there...any chance i can find them here...or redirect me to the right destination Smiley

I need to create more space on the gba rom, making a big hack some help wud be appreciated

P/s grateful if u've manage to expand rom space on pokemon roms (GBA)
KaioShin
Guest
« Reply #1 on: August 24, 2009, 04:06:54 am »

Eh... it's not complicated at all. You just take a random hex editor and double the file size (or however much you want) Tongue Technical maximum for GBA roms is 32MB I think.
Masterquestmq
Guest
« Reply #2 on: August 24, 2009, 05:19:50 am »

Quote from: KaioShin on August 24, 2009, 04:06:54 am
Eh... it's not complicated at all. You just take a random hex editor and double the file size (or however much you want) Tongue Technical maximum for GBA roms is 32MB I think.

Can i have some help in this maybe a small tutorial or i send u the rom?
KaioShin
Guest
« Reply #3 on: August 24, 2009, 05:32:16 am »

Get Windhex, open the ROM.


Masterquestmq
Guest
« Reply #4 on: August 24, 2009, 05:42:05 am »

thanks ill give it a try mind if i contact u if i run into some trouble...
thanks again

August 26, 2009, 10:10:45 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
sorry for the double post....but one last question....how do we utilize all the new free space?
« Last Edit: August 26, 2009, 10:10:45 pm by Masterquestmq »
Kernigh
Guest
« Reply #5 on: August 27, 2009, 06:21:39 pm »

Quote from: Masterquestmq on August 24, 2009, 05:42:05 am
how do we utilize all the new free space?

Put some graphics, level data, assembly code or whatever in the expanded area. Then change a pointer or reprogram the ROM such that the ROM finds the thing in the expanded area.
BRPXQZME
Guest
« Reply #6 on: August 27, 2009, 06:32:31 pm »

Use the extra space to program Shakespeare’s Titus Andronicus into the game engine.
tc
Guest
« Reply #7 on: August 27, 2009, 08:26:31 pm »

IIRC GBA games don't use mappers, bankswitching, or any of that jazz. Except maybe the few feature length movies (Shrek and such). But those haven't been dumped, so details are unclear there.
Masterquestmq
Guest
« Reply #8 on: August 27, 2009, 10:45:41 pm »

ok this is wat im trying to do.... Expanded the rom and now im Trying to figure out the difference between 6 digit and 7 digit pointers
 How the rom knows when to use the extra byte
 I.e. 800000 vs 3000000
 
any idea how?
Tauwasser
Guest
« Reply #9 on: August 27, 2009, 11:09:43 pm »

Dude, 0x800000 is the same as 0x0800000.

Rom is mapped from 0x08000000 onwards. That means, once you break the 16MB barrier, 0x01000000 in Rom will be mapped to 0x09000000, just as one would assume.
The other stuff is just RAM and info can be found in the pandocs on those areas.

cYa,

Tauwasser
Kajitani-Eizan
Guest
« Reply #10 on: August 28, 2009, 12:11:57 pm »

yeah, the hell? direct pointers are always four bytes on the GBA, or eight hexadecimal 'digits". the ROM addressing starts at 0x08000000, so just add that to your address in the ROM and that's your pointer value.

e.g. if a string starts at 0x1234, your pointer will be 0x08001234. which will be stored little endian, so it will look like 34 12 00 08 in the ROM.
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC