(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-07-24 01:12 AM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - I'm new at hacking New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
Cassef
Newcomer


 





Since: 01-02-06

Last post: 6697 days
Last view: 6697 days
Posted on 01-02-06 12:53 PM Link | Quote
In a gbc rom how would I go about finding where the data for the map's exist. My first idea was to reorder section of bytes and see if map changes are significant. However there are 2*10^6 bytes, if I go by 10^3 sections for reordering, I will have to attempt 2*10^3 maximum times. So how would anyone go about doing this?

Thank you!
Guy Perfect









Since: 11-18-05

Last post: 6289 days
Last view: 6287 days
Posted on 01-02-06 02:01 PM Link | Quote
Use a binary search by process of elimination. Take the entire second half of the ROM and set all the bytes to 0. Load it up in an emulator and see if you affected the desired data. Continue setting certain areas of the original ROM (use the original each time) until you home in on only the region of bytes that changes what you're looking for.

Every time you do it, you eliminate the possibility of one half of the remaining ROM being the location of the data. You'll eventually home in on just the bytes that matter. Then you'll know where they are.
Kyoufu Kawa
Intends to keep Rom Hacking in one piece until the end








Since: 11-18-05
From: Catgirl Central Station

Last post: 6287 days
Last view: 6287 days
Posted on 01-02-06 02:24 PM Link | Quote
... Wow.


I must remember that. Best corruption variant ever.
Guy Perfect









Since: 11-18-05

Last post: 6289 days
Last view: 6287 days
Posted on 01-02-06 02:27 PM Link | Quote
Why thank you. That's what I came up with when I was hacking F-Zero X.
Stifu









Since: 11-18-05
From: Your mom's bed

Last post: 6289 days
Last view: 6287 days
Posted on 01-02-06 02:34 PM Link | Quote
That's what I did a few years ago while translating a program to English... Seemed natural to me.
Cassef
Newcomer


 





Since: 01-02-06

Last post: 6697 days
Last view: 6697 days
Posted on 01-02-06 09:49 PM Link | Quote
what are the chances of a map being compressed for a gbc rom?
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - ROM Hacking - I'm new at hacking |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.014 seconds; used 366.13 kB (max 437.37 kB)