ROM Hack making table with 2 bytes = 1 symbol

ashinigami

Member
OP
Newcomer
Joined
Jun 28, 2008
Messages
9
Trophies
0
Location
Cottekill, NY
XP
25
Country
United States
I'm trying to learn how to translate roms and i'm learning alot but how can i make a table when
1 symbol/letter is two bytes long?

I can only find references to it but not anything telling how to go about it.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,377
Country
United Kingdom
Your main problem with reading guides is they will be for SNES era games and software is probably not far off. They did use such things in SNES games but far more infrequently due to space issues.

Long story short if you have the correct viewers and formats (or viewer that supports a hack to the formats) you have no worries. Most modern tools (such as those people around here and http://www.romhacking.net/utils/ will suggest) will support this and most table formats are really basic:
0000=A
0001=B
0002=C
...
...
...
...

The above is the tbl file format used just about everywhere these days (as many bytes as you need on the left in hex, an equals sign and the character you are representing with it). You can edit it in a text editor if you wanted to.

The hardest part would likely be to remember use wildcards when you are playing with a relative search for 16 bit character sets (rarely will the upper byte change for a given subset of characters (it is generally considered bad practice) and if you are dealing with characters that do not have an order (kanji for instance: few will include the entire set and even if they do have a near complete one there are numerous ordering systems or none at all)) you can generally add in an order of your own.
 

Celice

Well-Known Member
Member
Joined
Jan 1, 2008
Messages
1,920
Trophies
1
XP
628
Country
United States
You create a list with Notepad or your hex editor (Windhex32 has this feature), and list which hex ID is what relative to the game. Usually the first entry in a list will be $00, or $0000 is they use words, or however many necessary. Here's an example from some of my old projects:
CODE46=a
47=b
48=c
49=d
4A=e
4B=f
4C=g
4D=h
4E=i
4F=j
50=k
51=l
52=m
53=n
54=o
55=p
56=q
57=r
58=s
59=t
5A=u
5B=v
5C=w
5D=x
5E=y
5F=z
60=0
61=1
62=2
63=3
64=4
65=5
66=6
67=7
68=8
69=9
6A=A
6B=B
6C=C
6D=D
6E=E
6F=F
70=G
71=H
72=I
73=J
74=K
75=L
76=M
77=N
78=O
79=P
7A=Q
7B=R
7C=S
7D=T
7E=U
7F=V
80=W
81=X
82=Y
83=Z
8C=;
8D=:
8E=,
8F=.
9C=?
9D=!
EF=
AD=/
9E=
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
    cearp @ cearp: It's nice to not have to have a lot of physical things though, saves space +1