(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-04-24 03:51 PM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - About Text Editing!!! New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
Alkaiser2500
Newcomer


 





Since: 08-11-06

Last post: 6475 days
Last view: 6475 days
Posted on 08-11-06 07:34 PM Link | Quote
Hello.

I''ve tried many different hex editors but was unable to find any words in the GBA roms I was trying to hack.

I just want to edit text but no matter what I do i can't find any.

I'm a newb at this but I know what ASCII, ASCII values, text strings, hex, decimal, etc are. I'm still learning.

As a test I was trying to edit the word "NEXT" in 1583 - Naruto RPG - Uketsugareshi Hi no Ishi (J).gba. That's one of the few English words in that game. You see it after every battle.

I found two matches for the word NEXT in a hex editor and chagned them both to capped MMMM (4D 4D 4D 4D) as a test to see if it actually modded the ingame text.

But it didn't.

I even tried looking for the ASCII hex values for the word NEXT both in upper and lower caps without any luck.

Even tried text hacking English GBA roms with no luck.

Now for my questions. Using an Englsih rom Mega Man Battle Network 6 - Cybeast Gregar (E).gba as an example:

1) Is ALL of the text and dialogue in a GBA rom displayed in the ASCII portion of a hex editor?



2) Why are only a few words readable but not the rest of it?

3) Is there any way to convert ASCII of an American rom into straight English?

4) Is there a program that can do it automatically?

Thank you for your time.








Dragon hellfire

Octoballoon
oops, you lose








Since: 07-18-06

Last post: 6437 days
Last view: 6437 days
Posted on 08-11-06 09:35 PM Link | Quote
Have you hacked text before? If not, I would recomend testing on something easier.

If you can't make good table files, then Pac-Man for the Nes is ACII and that would work. If you can, try something like Final Fantasy for the nes. Nes games are usually easier to work with, though not all the time.

If the text is more than one byte, there is your problem. Make sure the text is an actual font and not a graphic.
Zidane

Koopa








Since: 07-14-06
From: Melbourne, FL

Last post: 6289 days
Last view: 6290 days
Posted on 08-11-06 11:09 PM Link | Quote
Most of the text code you'll see for games will not be in ASCII, but the number tile that is to be shown (from a certain offset). You could have something such as "Hello" show up as "87 A4 AB AB AE", which is completely different from what it would be in ASCII.

To help you edit text, you'll need something that I'd rather not call a table file, but a reference file to see what code equals what letter. For simple, one-byte-for-one-letter text, I'd most definitely recommend relative searching to find the order of this all, as it makes things much easier. I prefer to use Relative Searcher by Jair.

The readme that comes with the program is pretty straightfoward; and I doubt you'd have much problems with it (seeing that you know how to type). When relative searching, I recommend searching for a lowercase word that is around five to six letters long.

Once you've found a word, you'll have the bytes for those lowercase letters. By editing the bytes to that word and viewing its effects in-game, you can figure out which bytes equal which letter. It shouldn't be too hard, though, as you won't need to try out every single byte - normally, alphabet tiles are right next to each other, so if "b" is "02," then "a" is "01" and "c" is "03," if you know what I mean.

Another easy way to see in which order the tiles appear is to view the text tiles in a graphics viewer and use that as a reference for generating your table file (after relative searching; or you may even use this as an aid for relative searching). This may not always work, though, as sometimes the text tiles may be compressed.

If you want to try editing a game that uses ASCII for its text, though, I remember that Castlevania: Aria of Sorrow does just that.

Also, just keep in mind that when you edit something, you're not always going to see an effect, as there may be multiple instances of the word (or even a sequence of bytes that have nothing to do with text).

I could tell you about some programs that will help you generate a table file or programs that will load the table file for you so that what you see is what you get, but someone else will probably do that anyway (or link you to a page that will). Personally, I think editing the text manually is the best way to learn.
HyperHacker

Star Mario
Finally being paid to code in VB! If only I still enjoyed that. <_<
Wii #7182 6487 4198 1828


 





Since: 11-18-05
From: Canada, w00t!
My computer's specs, if anyone gives a damn.
STOP TRUNCATING THIS >8^(

Last post: 6285 days
Last view: 6285 days
Posted on 08-12-06 01:22 AM Link | Quote
Originally posted by Alkaiser2500
As a test I was trying to edit the word "NEXT" in 1583 - Naruto RPG - Uketsugareshi Hi no Ishi (J).gba. That's one of the few English words in that game. You see it after every battle.

I found two matches for the word NEXT in a hex editor and chagned them both to capped MMMM (4D 4D 4D 4D) as a test to see if it actually modded the ingame text.

But it didn't.

I even tried looking for the ASCII hex values for the word NEXT both in upper and lower caps without any luck.

If it's just one word, especially in an unusual font or very big, it might just be a graphic.


1) Is ALL of the text and dialogue in a GBA rom displayed in the ASCII portion of a hex editor?



Yes. Also, the text displayed here is actually the ROM name, which is always ASCII. Other text may not be in ASCII or even one byte per character. Many GBA games compress text.


2) Why are only a few words readable but not the rest of it?

The text may be compressed, or you might be looking at the ROM name as in that screenshot.
Kawachan
The other kind of tentacle...
Mistress of Blocklayout


 





Since: 05-13-06

Last post: 6390 days
Last view: 6390 days
Posted on 08-12-06 12:08 PM Link | Quote
"Might"? That's most definately the header! 100% certain!
BOBTHEVILA

Koopa
idiot-branded








Since: 07-07-06
From: Silent Hill, USA

Last post: 6473 days
Last view: 6473 days
Posted on 08-12-06 01:35 PM Link | Quote
Use tables, the best thing to do is dld a table maker too. I got TableMaker. Just select your table set(#'s alphabet, lower and uppercased) select includ, select reletive entry, select which hex for the letters to start at, then you save it as a file(make sure you save as name.tbl).

HindHex is good also as it includes a table editor and maker, if you load your table you can add lower case in it, if the game needs it in the hex editor. Also when you search for words(use reletive search) it shows the hex A or 1 start with.
HyperHacker

Star Mario
Finally being paid to code in VB! If only I still enjoyed that. <_<
Wii #7182 6487 4198 1828


 





Since: 11-18-05
From: Canada, w00t!
My computer's specs, if anyone gives a damn.
STOP TRUNCATING THIS >8^(

Last post: 6285 days
Last view: 6285 days
Posted on 08-13-06 05:23 PM Link | Quote
Originally posted by Kawachan
"Might"? That's most definately the header! 100% certain!


Hence "as in that screenshot".
Helladamn1337
Newcomer








Since: 08-06-06

Last post: 6469 days
Last view: 6469 days
Posted on 08-18-06 06:05 AM Link | Quote
I'm realy jeleus of all your kewl backgrounds!
Kyoufu Kawa
Intends to keep Rom Hacking in one piece until the end








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

Last post: 6284 days
Last view: 6284 days
Posted on 08-18-06 06:15 AM Link | Quote
Originally posted by Helladamn1337
I'm realy jeleus of all your kewl backgrounds!
That's just cute, but if you post just like that you'll never get one yourself. This is not the place to kiss up to those who know a bit of HTML or CSS. This is the place to talk "about text editing", as per the thread title.

So STFU or get on topic.
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - ROM Hacking - About Text Editing!!! |


ABII

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

Page rendered in 0.015 seconds; used 390.82 kB (max 483.66 kB)