Zophar's Message Domain

Go Back   Zophar's Message Domain > Emulation Talk > Rom Hack

Reply
 
Thread Tools Display Modes
Old 07-10-2009, 02:09 AM   #1
chrono31
Junior Member
 
Join Date: Jul 2009
Posts: 8
Post I am a newb lookin for help and a homesite..

Hi all my my name is Brian and well Im a newb rom hacker.

I decided to start with text editing. Im using Windhex.

I just dont understand it. I try really hard to study hex and

learn the language but its so hard. And theres no tuts on it either.
Im not a quitter though.

Can anyone help me?

This is what im looking at:



So im trying to make heads or tails of this..I dont understand the left
column or the middle or the garble on the right..

Plus im lookin for friends and a friendly site because mine is failing..
http://azerothsfury.clan.su/ Maybe I should change the theme from
WoW to somethin else....

Thanks for any help
chrono31 is offline   Reply With Quote
Old 07-10-2009, 02:51 AM   #2
Maximum Potion
Staff (news - ROM hacking/translations)
 
Maximum Potion's Avatar
 
Join Date: Jul 2008
Location: Châteauguay, Québec, Canada
Posts: 625
Default

What you're looking at is all of the data and code in a nes game.

First off, hex is just another way of writing numbers, but it's better because for 2 didgits, you can have 256 different possibilities, whereas in decimal, you only have 100. It works like this: 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A etc.

So the hex on the left is the offset. Just a location for reference. Like you could find a section of the text you want to edit, and write down the offset to comeback later. There's abit more to it, but that's all you really need to know at the moment.

The middle is the data. That's the rom. Everything from graphics to music is there. None of it makes any sense until you begin to analyse it. Since you're starting with text hacking, let's move on to the right side of the window for a moment...

This is the exact same thing as the middle section, only it's represented by letters, numbers and punctuation. Whatever appears there is based on the table file that you have loaded. A table file is pretty much a text file saved as a .tbl that assigns a letter or number or punctuation to each hex value. So once you have this, you'll be able to read the text in the game!!

To make a table file, there are a number of ways. The easiest way is to use a relative search. Relative search a word that you know will appear in the game, and create a table file based on the results. What it does is it looks for anything that COULD be the word that you're looking for based on the difference inbetween the letters. Alternatively, you could use FCEultra or if you want to be oldschool, nesticle, and make your table file by looking at which hex value corresponds to the tile that represents each letter.

Anyways, I'm pretty tired so ask more questions and I'll answer them tomorrow.

gl hf.
__________________
Metroid: Other M. June 27th, 2010.
Delayed - August 31st, 2010.
Maximum Potion is offline   Reply With Quote
Old 07-10-2009, 03:32 AM   #3
chrono31
Junior Member
 
Join Date: Jul 2009
Posts: 8
Default

ty I will look into tables. How confusing...
chrono31 is offline   Reply With Quote
Old 07-10-2009, 03:37 AM   #4
InVerse
Senior Member
 
Join Date: Jul 2002
Location: Midwest, U.S.
Posts: 1,489
Default

You might want to go over RHDN's Getting Started section, there's a section dedicated to understanding hexadecimal, as well as several other sections.

And, as always, I recommend my document The Definitive Guide to ROM Hacking for Complete Beginners.
InVerse is offline   Reply With Quote
Old 07-10-2009, 04:11 AM   #5
Cornellius
Senior Member
 
Cornellius's Avatar
 
Join Date: Oct 2001
Location: Québec/Canada
Posts: 2,787
Default

Quote:
Originally Posted by Maximum Potion View Post
First off, hex is just another way of writing numbers, but it's better because for 2 didgits, you can have 256 different possibilities,
Yeah, I had to learn bin, BCD, octal and hex when I was studying Industrial Electronics. It was fun.
__________________
My job

Industrial electronic technician
Industrial mechanic (Millwright)
Cornellius is offline   Reply With Quote
Old 07-10-2009, 04:30 AM   #6
chrono31
Junior Member
 
Join Date: Jul 2009
Posts: 8
Default

The text search isen't working. Ive read many tuts and they have suggested searching
for text in the hex and go from there. Well I tried that and it doesen't work. I search press start in hex workshop and it cant find it.... So what do I do now?
chrono31 is offline   Reply With Quote
Old 07-10-2009, 05:27 AM   #7
Reaper man
Member
 
Reaper man's Avatar
 
Join Date: Apr 2002
Location: Austin, TX
Posts: 5,409
Default

Quote:
Originally Posted by Cornellius View Post
Yeah, I had to learn bin, BCD, octal and hex
BCD? *wikis* huh, that's a new one for me. I do recall wondering how calculators store their digits though. Interestingly enough, that exact system is what I thought up of.
__________________
Reaper man is offline   Reply With Quote
Old 07-10-2009, 02:28 PM   #8
The 9th Sage
Senior Member
 
The 9th Sage's Avatar
 
Join Date: Mar 2004
Location: NY State in the US
Posts: 17,439
Default

I remember teaching myself about hex so that I could peruse the very lofty meaningful pursuit of poking the memory of N64 games with my Gameshark searching for cheats. :P
__________________
Just can't wait to bomb some Dodongos.
---
http://www.xanga.com/zeldadd

Twitter
The 9th Sage is offline   Reply With Quote
Old 07-10-2009, 06:03 PM   #9
Hat
Junior Member
 
Join Date: Nov 2008
Posts: 6
Default

[URL="http://web.archive.org/web/20070811072754/www.romhacks.net/tutorial_edit_text.php"]http://web.archive.org/web/20070811072754/www.romhacks.net/tutorial_edit_text.php[/URL] - a very easy to understand tutorial.
Hat is offline   Reply With Quote
Old 07-10-2009, 09:15 PM   #10
chrono31
Junior Member
 
Join Date: Jul 2009
Posts: 8
Post Thats not really at tut. Its more instruction on how to change smb

It really dident tell me anything then to open windhex--> open file or table for editing-->open super mario bros--> goto search then click on goto offset-->
Input 1CCC and change the 25 to 35 to change the first level.

Which is cool. Does the go for every nes game or just smb?

I did a experiment where I changed the offset input on line 1CCC
to 2A in Castlevania and nothing happened. Except the sound was really crappy
and had some white noise....So I guess it affected the sound but the level
itself diden't change...
chrono31 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:24 AM.

Contact Us - Zophar's Domain - Archive - Top

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.