News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: text editing question  (Read 5064 times)

minilogger11

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
text editing question
« on: November 07, 2011, 05:21:04 pm »
I want to change the name of an item could someone show me how I go about doing this

Trax

  • Hero Member
  • *****
  • Posts: 517
    • View Profile
    • Trax ROM Hacking
Re: text editing question
« Reply #1 on: November 07, 2011, 11:11:28 pm »
Your question is too vague. You should at least name the console, the game, and what documentation you've already read...

Jazz

  • Full Member
  • ***
  • Posts: 180
    • View Profile
    • Jetran
Re: text editing question
« Reply #2 on: November 07, 2011, 11:55:38 pm »
For a basic starter

If it is ingame text. You will have to work out a Table file which is hex values of each character. After this you will require a Hex editor of any sort that can load table files and this will then convert the "text banks or items names" into readable text to locate.

e.g.

80 = A, 81 = B, 82 = C

so if the item was ABC in a hex editor it will read 808182. Confusing I know but normally text editing takes a while to get used to and is a lot of trial and error.

The other way is if it is a graphic you will have to find a tile editor such as Tile Layer Pro. This is usefull for finding title screens and sprites also.

The best way to practice is to find a game where someone has produced a table file so you can learn from it and have a play.

I suggest going to the http://www.romhacking.net/utilities/ to get the items you need. Start with Hexecute or Winhex for your hex editor. You can make a table file in Notepad but you should really see them before making them. and also get Tile Layer Pro in the graphics area to mess with graphics tiles (if they are uncompressed) that is.

Here is also a link to text editing documents. If you know the console e.g. GBA, PSX, NES etc then just refine the search.
http://www.romhacking.net/?category=&Platform=&game=&author=&perpage=20&page=documents&level=&docsearch=Go&title=text&desc=

Good Luck.
Jetran Website
View for Gameboy english translation projects

Discord: Jazz#9202

minilogger11

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Re: text editing question
« Reply #3 on: November 09, 2011, 06:49:10 pm »
hi thanks for responding. I downloaded hexecute as you said and I am confused about why the values are different from hexecute if i view the memory in desmune. why is this???



i am trying to create an ar code that i could use to change text on the real game and idk what address to use. i am new to hacking so sorry if my questions sound stupid

Jazz

  • Full Member
  • ***
  • Posts: 180
    • View Profile
    • Jetran
Re: text editing question
« Reply #4 on: November 09, 2011, 07:16:54 pm »
use the Hexecute address. The desmune address is the memory the game stores information in and is completely seperate to Hexecute. Reason is Hexecute is loading the games ROM information not RAM information.
Jetran Website
View for Gameboy english translation projects

Discord: Jazz#9202

minilogger11

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Re: text editing question
« Reply #5 on: November 09, 2011, 07:29:02 pm »
alright thanks now i have a new problem what would be the address for 0021f700 in the C column? i tried changing a letter with the code: 0021F70C 00000066 in action replay and nothing happened

Jazz

  • Full Member
  • ***
  • Posts: 180
    • View Profile
    • Jetran
Re: text editing question
« Reply #6 on: November 09, 2011, 07:42:54 pm »
Ah, i didn't see you were attempting to do it via Action Replay. Sorry I haven't ever hacked AR info so I wouldn't know. My apologies for setting you in the wrong direction.
Jetran Website
View for Gameboy english translation projects

Discord: Jazz#9202

minilogger11

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Re: text editing question
« Reply #7 on: November 09, 2011, 07:58:52 pm »
np now that i know its different do u know if theres a way i can search for a word in desmune ctrl+f doesnt work. i get a bin file when i click the dump all button which im not sure how to use

edit: nevermind i downloaded a random bin file reader off google haha
« Last Edit: November 09, 2011, 08:23:32 pm by minilogger11 »

Jazz

  • Full Member
  • ***
  • Posts: 180
    • View Profile
    • Jetran
Re: text editing question
« Reply #8 on: November 09, 2011, 10:33:50 pm »
was gonna say you could write down the hex values of the letters from Hexecute then search for those in the RAM with desmune
Jetran Website
View for Gameboy english translation projects

Discord: Jazz#9202

henke37

  • Hero Member
  • *****
  • Posts: 643
    • View Profile
Re: text editing question
« Reply #9 on: November 11, 2011, 05:10:30 pm »
You need to learn about memory mapping. What the rom file contains is only the contents stored in the rom chip(s) on the cart. But in the memory space of the cpu on the console there is a lot of stuff, yet not everything at once. Long story short, there are areas mapped to hardware features, areas mapped to ram, areas mapped to save ram and areas mapped to rom. The addresses you get in the emulator are from the view of the emulated processor. But the addresses in the hex editor are from the start of the rom file.

The rom file thankfully includes the memory mapping to use. If it doesn't the emulator has to guess. But for Nitro games the mapping is included, since the executables of the game are loaded from specified addresses of rom into ram at other specified addresses. All the addresses are in the file header, look it up.

minilogger11

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Re: text editing question
« Reply #10 on: November 11, 2011, 05:46:06 pm »


the problem is the names are gibberish theres nothing to search for haha

Auryn

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: text editing question
« Reply #11 on: November 11, 2011, 06:33:34 pm »


the problem is the names are gibberish theres nothing to search for haha

OMG...I think I will open a new account with the name "The Babysitter"  :crazy:

You have a list of items that is all gibberish and the same gibberish in the description  :huh:
You have one or more of this problems:
- Bad dump of the game
- an anti-piracy protection
- you messed the game up by playing with the hex editor or other program
- you messed the game up with a wrong cheat code.

Solve this problems first and then you can think about change the name of an item.

minilogger11

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Re: text editing question
« Reply #12 on: November 11, 2011, 07:10:01 pm »
they're supposed to be unfinished items but all it does is crash my game if i try to use the ar code to get them in the real version. when i was playing this game on wifi one day I met with a hacker that can drop all these items without the game crashing.  he said something about the items being nulled so i figure a good way to start is to fix the names since they load fine on an emulator as long as i dont try dropping it ( and of course i already tried begging for the code; thats why im here -.- )

Auryn

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: text editing question
« Reply #13 on: November 11, 2011, 07:46:02 pm »
What you mean by "unfinished"?? Items that are in the programming code but not in the game??
If I am right, it's normal that they can make your game crash.

If you want just to change the name of an item, you can do it easy.
It's took me longer to find a savegame from the internet and convert it (lucky me us and eur save games are exchangeable :p) than edit that Copper to Auryns



minilogger11

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Re: text editing question
« Reply #14 on: November 11, 2011, 08:55:58 pm »
wow nice care to explain how

and yea theres a bunch of items from ffcc: ring of fates that arent used in game such as magicites

Auryn

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: text editing question
« Reply #15 on: November 12, 2011, 12:13:48 am »
Open CT2, open the game, go to the hex editor, press CTRL+F, type "Copper", press enter (or find), on the right position overwrite "Copper" with "Auryns", save, exit...play.

By the way, even if you give name to those items, they probably will still crash your game.

minilogger11

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Re: text editing question
« Reply #16 on: November 12, 2011, 12:19:28 am »
is there a way to do that using action replay codes

Auryn

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: text editing question
« Reply #17 on: November 12, 2011, 05:11:21 am »
AR fix a value on the RAM of the game, if that place is used for something other, then the game could crash or work not correctly. Anyway, do the above and find the hex values of the word "Copper", then go to Desmune and when you are in the game, make a memory dump, then search the hex values. From there you need to build your AR code but don't ask me how...I never used a cheat device after the PS1 :p