-
Notifications
You must be signed in to change notification settings - Fork 3
player_name
player_name
is the game code's identifier for Link's name as seen in the file select screen and when being referred to by another in-game character.
-
zs $filepath -N
-- Prints the current value from the file data. -
zs $filepath -N (uint64_t)
-- Interprets the extra string parameter as an unsigned hexadecimal (with or without the case-insensitive0x
prefix) and stores the resulting integer to the relevant bits, if said integer falls within the range of values representable by a zero-extended double-word in MIPS (0 <= x <=FFFF FFFF FFFF FFFF
).
zs $filepath -N 0000000001030307 # changes Link's name to "00001337"
zs $filepath -N 0x01030307 # same as above, due to zero-extension
zs $filepath -N 0X1030307 # again, same as above
zs $filepath -N 010303073E3E3E3E # "1337" (Note: 3E differs on JAP ROMs.)
zs $filepath -N 151217143E3E3E3E # USA/EUR only: "LINK"
zs $filepath -N B6B3B8B5DFDFDFDF # JAP only: "LINK"
Be very careful with this command. The utility requires a hexadecimal, rather than simply writing a text string, because of multiple complications with offering automatic translation (e.g., ASCII versus Unicode versus UTF for Japanese kana character code points and differing code points for the Latin character set between the USA/EUR and JAP releases). Also, note that 0x00
is the code point for the character 0
instead of a null byte or a space, so simply passing 0x01030307
will result in Link being named "00001337", not "1337".
Link's name can store a maximum of only 8 characters. If fewer characters are desired, use spaces to "null-terminate" the name string, as there is no null byte in the character set outlined in the below table.
The only characters whose code points are universal to all releases of the game are decimal digit characters: `0123456789`. Anything else requires consideration of which version of the game is played.Hex | EUR | USA | JAP |
---|---|---|---|
00 | 0 | 0 | 0 |
01 | 1 | 1 | 1 |
02 | 2 | 2 | 2 |
03 | 3 | 3 | 3 |
04 | 4 | 4 | 4 |
05 | 5 | 5 | 5 |
06 | 6 | 6 | 6 |
07 | 7 | 7 | 7 |
08 | 8 | 8 | 8 |
09 | 9 | 9 | 9 |
0A | A | A | あ a |
0B | B | B | い i |
0C | C | C | う u |
0D | D | D | え e |
0E | E | E | お o |
0F | F | F | か ka |
10 | G | G | き ki |
11 | H | H | く ku |
12 | I | I | け ke |
13 | J | J | こ ko |
14 | K | K | さ sa |
15 | L | L | し si |
16 | M | M | す su |
17 | N | N | せ se |
18 | O | O | そ so |
19 | P | P | た ta |
1A | Q | Q | ち ti |
1B | R | R | つ tu |
1C | S | S | て te |
1D | T | T | と to |
1E | U | U | な na |
1F | V | V | に ni |
20 | W | W | ぬ nu |
21 | X | X | ね ne |
22 | Y | Y | の no |
23 | Z | Z | は ha |
24 | a | a | ひ hi |
25 | b | b | ふ hu |
26 | c | c | へ he |
27 | d | d | ほ ho |
28 | e | e | ま ma |
29 | f | f | み mi |
2A | g | g | む mu |
2B | h | h | め me |
2C | i | i | も mo |
2D | j | j | や ya |
2E | k | k | ゆ yu |
2F | l | l | よ yo |
30 | m | m | ら ra |
31 | n | n | り ri |
32 | o | o | る ru |
33 | p | p | れ re |
34 | q | q | ろ ro |
35 | r | r | わ wa |
36 | s | s | を wo |
37 | t | t | ん n |
38 | u | u | ぁ |
39 | v | v | ぃ |
3A | w | w | ぅ |
3B | x | x | ぇ |
3C | y | y | ぉ |
3D | z | z | っ |
3E | SPC | SPC | ゃ |
3F | - | - | ゅ |
40 | . | . | ょ |
41 | : | : | が ga |
42 | À | À | ぎ gi |
43 | Á | È? | ぐ gu |
44 | Â | Ì? | げ ge |
45 | Ä | Ñ? | ご go |
46 | Ç | Ò? | ざ za |
47 | È | Ù? | じ zi |
48 | É | ß? | ず zu |
49 | Ê | à? | ぜ ze |
4A | Ë | á? | ぞ zo |
4B | Ì | â? | だ da |
4C | Í | ä? | ぢ di |
4D | Î | ç? | づ du |
4E | Ï | è? | で de |
4F | Ñ | é? | ど do |
50 | Ò | ê? | ば ba |
51 | Ó | ë? | び bi |
52 | Ô | ì? | ぶ bu |
53 | Ö | í? | べ be |
54 | Ù | ñ? | ぼ bo |
55 | Ú | ó? | ぱ pa |
56 | Û | ô? | ぴ pi |
57 | Ü | ö? | ぷ pu |
58 | ß | ù? | ぺ pe |
59 | à | ú? | ぽ po |
5A | á | û? | ア a |
5B | â | ü? | イ i |
5C | ä | *? | ウ u |
5D | ç | *? | エ e |
5E | è | *? | オ o |
5F | é | *? | カ ka |
60 | ê | *? | キ ki |
61 | ë | *? | ク ku |
62 | ì | *? | ケ ke |
63 | í | *? | コ ko |
64 | î | *? | サ sa |
65 | ï | *? | シ si |
66 | ñ | *? | ス su |
67 | ò | *? | セ se |
68 | ó | *? | ソ so |
69 | ô | *? | タ ta |
6A | ö | *? | チ ti |
6B | ù | *? | ツ tu |
6C | ú | *? | テ te |
6D | û | *? | ト to |
6E | ü | *? | ナ na |
6F | ¡ | *? | ニ ni |
70 | ¿ | *? | ヌ nu |
71 | ª | *? | ネ ne |
72 | ノ no | ||
73 | ハ ha | ||
74 | ヒ hi | ||
75 | フ hu | ||
76 | ヘ he | ||
77 | ホ ho | ||
78 | マ ma | ||
79 | ミ mi | ||
7A | ム mu | ||
7B | メ me | ||
7C | モ mo | ||
7D | ヤ ya | ||
7E | ユ yu | ||
7F | ヨ yo | ||
80 | ラ ra | ||
81 | リ ri | ||
82 | ル ru | ||
83 | レ re | ||
84 | ロ ro | ||
85 | ワ wa | ||
86 | ヲ wo | ||
87 | ン n | ||
88 | ァ | ||
89 | ィ | ||
8A | ゥ | ||
8B | ェ | ||
8C | ォ | ||
8D | ッ | ||
8E | ャ | ||
8F | ュ | ||
90 | ョ | ||
91 | ガ ga | ||
92 | ギ gi | ||
93 | グ gu | ||
94 | ゲ ge | ||
95 | ゴ go | ||
96 | ザ za | ||
97 | ジ zi | ||
98 | ズ zu | ||
99 | ゼ ze | ||
9A | ゾ zo | ||
9B | ダ da | ||
9C | ヂ di | ||
9D | ヅ du | ||
9E | デ de | ||
9F | ド do | ||
A0 | バ ba | ||
A1 | ビ bi | ||
A2 | ブ bu | ||
A3 | ベ be | ||
A4 | ボ bo | ||
A5 | パ pa | ||
A6 | ピ pi | ||
A7 | プ pu | ||
A8 | ペ pe | ||
A9 | ポ po | ||
AA | ヴ vu | ||
AB | A | ||
AC | B | ||
AD | C | ||
AE | D | ||
AF | E | ||
B0 | F | ||
B1 | G | ||
B2 | H | ||
B3 | I | ||
B4 | J | ||
B5 | K | ||
B6 | L | ||
B7 | M | ||
B8 | N | ||
B9 | O | ||
BA | P | ||
BB | Q | ||
BC | R | ||
BD | S | ||
BE | T | ||
BF | U | ||
C0 | V | ||
C1 | W | ||
C2 | X | ||
C3 | Y | ||
C4 | Z | ||
C5 | a | ||
C6 | b | ||
C7 | c | ||
C8 | d | ||
C9 | e | ||
CA | f | ||
CB | g | ||
CC | h | ||
CD | i | ||
CE | j | ||
CF | k | ||
D0 | l | ||
D1 | m | ||
D2 | n | ||
D3 | o | ||
D4 | p | ||
D5 | q | ||
D6 | r | ||
D7 | s | ||
D8 | t | ||
D9 | u | ||
DA | v | ||
DB | w | ||
DC | x | ||
DD | y | ||
DE | z | ||
DF | SPC | ||
E0 | ~ | ||
E1 | ? | ||
E2 | ! | ||
E3 | : | ||
E4 | - | ||
E5 | ( | ||
E6 | ) | ||
E7 | ゛ | ||
E8 | ゜ | ||
E9 | , | ||
EA | . | ||
EB | / |
*USA code points between 0x42 to 0x71 may differ. In the GC version, they take after the characters they represent in the PAL or European versions. For the original Nintendo 64 release, they are undefined between code points 0x5C and 0x71.
**Blank or missing table cells or rows indicate indefinite values. They are probably missing in the font set used by the game for writing text in the file select screen, but they may sometimes show up as button icons or other figurine glyphs during the game when another character calls Link by his name.
file[0x002C:0x0033]63..0
Do we care to have a cheat code for this?