Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2012-09-13 14:18:44

Onju_Asakura
New member
Registered: 2012-09-13
Post 2/5

Some Beginner questions

Hey!

I'm rather new to ROM hacking, although I've been a lurker in ROM hacking forums for a long time now I was just wondering if someone could help me with some basic questions.

* What's the difference between 3byte data and 4byte data? Are they just calculated differently (I mean the Pointers/Offsets) and can they be edited the same way?
I mean like when a text is 3byte data or something like that and when it's 4byte data can they just be repointed and edited the same way?

* How do I find locations of sprites? For example how do I find Prof. Oak's starting sprite in the ROM, or how do I find Ho-Oh's Intro sprite in the ROM? (so I can edit them :D)

* How do I edit palettes? Where is the palette information located for sprites/tiles. At the pointer? And what are the color codes for Pokemon Gold/Silver games?

I'm really sorry if these questions sound stupid, it's just that I want to start ROM hacking and hex editing, but first I have to know the answers to these questions :)

Thanks.

EDIT: Does anyone have agiXP with all the missing files? All the links are broken.

Last edited by Onju_Asakura (2012-09-13 14:20:39)

Offline

#2 2012-09-14 06:02:48

Miksy91
Member
Registered: 2010-10-16
Post 1,101/2,311

Re: Some Beginner questions

Onju_Asakura wrote:

Hey!

I'm rather new to ROM hacking, although I've been a lurker in ROM hacking forums for a long time now I was just wondering if someone could help me with some basic questions.

* What's the difference between 3byte data and 4byte data? Are they just calculated differently (I mean the Pointers/Offsets) and can they be edited the same way?
I mean like when a text is 3byte data or something like that and when it's 4byte data can they just be repointed and edited the same way?

GBA roms use 4-byte pointers, not GB/C. In GB/C, you'll run into 2-byte (and 3-byte) pointers instead.
There are two threads about pointers in "Gameboy- / Cross Gen" section, one by me and other one by Sawakita.

Onju_Asakura wrote:

* How do I find locations of sprites? For example how do I find Prof. Oak's starting sprite in the ROM, or how do I find Ho-Oh's Intro sprite in the ROM? (so I can edit them :D)

That Oak's sprite there is actually his battle sprite and he belongs to trainer group 0A. Basically, there is a 3-byte pointer table to battle sprites of trainer groups somewhere (can't remember where exactly) and the pointer leading to Oak's sprite is the 10th ("0A"th) in the table.

Ho-Oh's intro sprite is determined by the assembly that also loads the image displayed on the background I think.

Onju_Asakura wrote:

* How do I edit palettes? Where is the palette information located for sprites/tiles. At the pointer? And what are the color codes for Pokemon Gold/Silver games?

I haven't been doing anything with palettes myself but here is possibly what you're looking for: http://datacrystal.romhacking.net/wiki/ … ank_2_8000

Onju_Asakura wrote:

Does anyone have agiXP with all the missing files? All the links are broken.

There is a thread related to AgiXp in Tools section. Ask there if there is no link available.

Last edited by Miksy91 (2012-09-14 06:03:56)

Offline

#3 2012-09-15 09:04:48

Onju_Asakura
New member
Registered: 2012-09-13
Post 3/5

Re: Some Beginner questions

Thank you very much! :D Pretty much answered all my questions, so i'll try doing these things now.
Again, Thank you.

Offline

Board footer

Powered by FluxBB