ROM Hack Best Text Editor to Use?

Girafarig

Well-Known Member
OP
Newcomer
Joined
May 22, 2016
Messages
58
Trophies
0
XP
198
Country
United States
I'd like to hack Harvest Moon: Tale of Two Towns so I can play as a guy and marry the bachelors.

I reckon that'd involve changing the girl sprites to a boy, and changing the pronouns from female to male.

What Text Editor would you recommend? What graphics editor? Thank you!!

I have to say, I have no clue what I'm doing xD Ive tried using CrystalTile to open the graphics but no luck ._. I followed the tutorial and... looks like TOTT is pretty different from Mario Kart ¯\_(ツ)_/¯ go figure

Any help is appreciated

(also, if this is the wrong place to ask, tell me! I'm fairly new)
 
Last edited by Girafarig,

Girafarig

Well-Known Member
OP
Newcomer
Joined
May 22, 2016
Messages
58
Trophies
0
XP
198
Country
United States
MadEdit all the way!

Best HEX editor ever.
gonna be honest xD I have no idea what I'm doing
2aecb1f85a80401983ec9d8fa04db191.png

what do I do? How do I edit text ;-; I'm new to this and very confused ._.
 

luckymouse0

Mad Scientist
Member
Joined
Oct 20, 2014
Messages
127
Trophies
0
Age
34
Location
Future Gadget Laboratory
Website
github.com
XP
446
Country
Argentina
OK, this will be a little tutorial and I hope you like it :)

- First of all, if you are going to translate from Japanese, make sure that you have installed Asian/Japanese fonts/language (Select your OS and follow instructions):

WinXP
Win7 Win8 Win10


- Now that you have support for Japanese language, open your file with MadEdit. For example I will use Khamrai.bin:

XTq03vw.png


- If you search for Japanese text, you will find that everything is gibberish! Before you can see the Japanese text, you need to change the encoding to Shift-JIS (Wikipedia). Do this:

r4PsOQs.png


- Everything is set. Try searching for japanese text. This is the tricky part: If you know japanese you will find it in no-time. The problem is when you don't know. I write the characters using Google translator :P. For example, I will do this with khamrai.

This is the text I want to change:

QKoA97Q.png


Look what I found...

0Duqdnt.png


Be careful!!
Code:
* If you change something, make use it accept your encoding!!! You can just write anything and the game will recognize it!
* When you write somethiing, you are using 1 byte per character (examples are ASCII and UTF-8), and japanese characters uses 2 bytes per character.
* Make sure that if you modify something, the amount of bytes it's the same!


- Ok let's continue. In this example, Khamrai only accept Shift-JIS, 2 bytes per character. But the good thing is that Shift-JIS support latin alphabet!!!! Yeah, but in this game, that was cut off... :hateit: ... BUT at least, it support Caps Full-Width Alphanumeric :).

- Let's write full-width! Go to a Wide Text Generator and write your text.

tJ4scdc.png



Code:
In my example, I can't write spaces too, that is encoded differently. BUT that is because khamrai is a very old game. Newer games even accept ASCII!

- Ok, let's copy and paste the 2 bytes encoded text into MadEdit. In this case, I will replace ten japanese characters with another ten characters. BE CAREFUL HERE!

54TIHbC.png



- Save and load your game! Let's see what we get:

GF3F91U.png


- Eureka! We got it!

Remember:
  • Not every game is encoded the same! Some games support ascii, some doesn't. Try everything in your game but remember, 1 byte = 1 byte!
 
  • Like
Reactions: Girafarig

luckymouse0

Mad Scientist
Member
Joined
Oct 20, 2014
Messages
127
Trophies
0
Age
34
Location
Future Gadget Laboratory
Website
github.com
XP
446
Country
Argentina
One thing that comes to my mind: Control characters or... garbage.

You remember me of something: Policenauts.
"So Policenauts appears to write its English in ASCII - it's just that each character is prepended with that euro symbol, which is a hex 80."
For more info on Policenauts hacking, read it here.
https://web.archive.org/web/20091016201648/http://slowbeef.com/romhack/pnhack1.html
Apparently, the game's encoding is in 2 bytes, but support ASCII, which is 1 byte. So, in order to do it, they just add 1 byte to the ASCII.

In order to solve it, you need ASM hacking to change the amount bytes! ...and that is beyond my scope... sorry :cry:.
 

DarthNemesis

Well-Known Member
Member
Joined
Feb 19, 2008
Messages
1,210
Trophies
0
XP
260
Country
United States
Editing all the player sprites and text sounds like a ton of work. You're probably better off asking on an Action Replay code forum if someone could come up with a code to disable the gender restriction.


(or just play Stardew Valley)
 

Girafarig

Well-Known Member
OP
Newcomer
Joined
May 22, 2016
Messages
58
Trophies
0
XP
198
Country
United States
Editing all the player sprites and text sounds like a ton of work. You're probably better off asking on an Action Replay code forum if someone could come up with a code to disable the gender restriction.


(or just play Stardew Valley)
playing stardew is the reason I'd like to play TOTT. I've played over 800 hours, and I want a change of pace that modding can't provide.

I can look into AR, I guess, but I doubt they'll work to the extent I'd like them to, and they'd probably glitch the game (looking for male dialogue when there is none)
 

luckymouse0

Mad Scientist
Member
Joined
Oct 20, 2014
Messages
127
Trophies
0
Age
34
Location
Future Gadget Laboratory
Website
github.com
XP
446
Country
Argentina
playing stardew is the reason I'd like to play TOTT. I've played over 800 hours, and I want a change of pace that modding can't provide.

I can look into AR, I guess, but I doubt they'll work to the extent I'd like them to, and they'd probably glitch the game (looking for male dialogue when there is none)

You could change the dialog with hex editors, and the image with AR codes!

Or you could try opening the rom with Tinke to see what you find :)
 
  • Like
Reactions: Girafarig

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    HiradeGirl @ HiradeGirl: :discuss: