-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #143 from Yanis42/decomp_update_3
Merge decomp/main
- Loading branch information
Showing
350 changed files
with
34,503 additions
and
5,420 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,58 @@ | ||
# Determines how certain text sequences should be encoded. The text sequence is | ||
# converted to either the first or second tuple element based on whether the | ||
# target encoding is the "wide" encoding. The first element is for the non-wide | ||
# encoding, used for all languages besides JP, while the second element is for | ||
# the wide encoding, used for JP. | ||
{ | ||
'\n' : 0x01, | ||
'\n' : (0x01, 0x000A), | ||
|
||
'‾' : 0x7F, | ||
'À' : 0x80, | ||
'î' : 0x81, | ||
'Â' : 0x82, | ||
'Ä' : 0x83, | ||
'Ç' : 0x84, | ||
'È' : 0x85, | ||
'É' : 0x86, | ||
'Ê' : 0x87, | ||
'Ë' : 0x88, | ||
'Ï' : 0x89, | ||
'Ô' : 0x8A, | ||
'Ö' : 0x8B, | ||
'Ù' : 0x8C, | ||
'Û' : 0x8D, | ||
'Ü' : 0x8E, | ||
'ß' : 0x8F, | ||
'à' : 0x90, | ||
'á' : 0x91, | ||
'â' : 0x92, | ||
'ä' : 0x93, | ||
'ç' : 0x94, | ||
'è' : 0x95, | ||
'é' : 0x96, | ||
'ê' : 0x97, | ||
'ë' : 0x98, | ||
'ï' : 0x99, | ||
'ô' : 0x9A, | ||
'ö' : 0x9B, | ||
'ù' : 0x9C, | ||
'û' : 0x9D, | ||
'ü' : 0x9E, | ||
'[A]' : (0x9F, 0x839F), | ||
'[B]' : (0xA0, 0x83A0), | ||
'[C]' : (0xA1, 0x83A1), | ||
'[L]' : (0xA2, 0x83A2), | ||
'[R]' : (0xA3, 0x83A3), | ||
'[Z]' : (0xA4, 0x83A4), | ||
'[C-Up]' : (0xA5, 0x83A5), | ||
'[C-Down]' : (0xA6, 0x83A6), | ||
'[C-Left]' : (0xA7, 0x83A7), | ||
'[C-Right]' : (0xA8, 0x83A8), | ||
'▼' : (0xA9, 0x83A9), | ||
'[Control-Pad]' : (0xAA, 0x83AA), | ||
'[D-Pad]' : (0xAB, None), | ||
|
||
'[A]' : 0x9F, | ||
'[B]' : 0xA0, | ||
'[C]' : 0xA1, | ||
'[L]' : 0xA2, | ||
'[R]' : 0xA3, | ||
'[Z]' : 0xA4, | ||
'[C-Up]' : 0xA5, | ||
'[C-Down]' : 0xA6, | ||
'[C-Left]' : 0xA7, | ||
'[C-Right]' : 0xA8, | ||
'▼' : 0xA9, | ||
'[Control-Pad]' : 0xAA, | ||
'[D-Pad]' : 0xAB, | ||
# Possibly from a SHIFT-JIS extension, python doesn't have builtin support | ||
'┯' : (None, 0x86D3), | ||
|
||
'‾' : (0x7F, None), | ||
'À' : (0x80, None), | ||
'î' : (0x81, None), | ||
'Â' : (0x82, None), | ||
'Ä' : (0x83, None), | ||
'Ç' : (0x84, None), | ||
'È' : (0x85, None), | ||
'É' : (0x86, None), | ||
'Ê' : (0x87, None), | ||
'Ë' : (0x88, None), | ||
'Ï' : (0x89, None), | ||
'Ô' : (0x8A, None), | ||
'Ö' : (0x8B, None), | ||
'Ù' : (0x8C, None), | ||
'Û' : (0x8D, None), | ||
'Ü' : (0x8E, None), | ||
'ß' : (0x8F, None), | ||
'à' : (0x90, None), | ||
'á' : (0x91, None), | ||
'â' : (0x92, None), | ||
'ä' : (0x93, None), | ||
'ç' : (0x94, None), | ||
'è' : (0x95, None), | ||
'é' : (0x96, None), | ||
'ê' : (0x97, None), | ||
'ë' : (0x98, None), | ||
'ï' : (0x99, None), | ||
'ô' : (0x9A, None), | ||
'ö' : (0x9B, None), | ||
'ù' : (0x9C, None), | ||
'û' : (0x9D, None), | ||
'ü' : (0x9E, None), | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#define MESSAGE_DATA_STATIC | ||
#define MESSAGE_WCHAR | ||
#include "message_data_fmt.h" | ||
|
||
#define DEFINE_MESSAGE(textId, type, yPos, jpnMessage, nesMessage, gerMessage, fraMessage) \ | ||
const char _message_##textId##_jpn[] = jpnMessage; | ||
|
||
#define DEFINE_MESSAGE_NES(textId, type, yPos, jpnMessage, nesMessage, gerMessage, fraMessage) \ | ||
/* Not Present */ | ||
#define DEFINE_MESSAGE_JPN(textId, type, yPos, jpnMessage, nesMessage, gerMessage, fraMessage) \ | ||
/* Present */ const char _message_##textId##_jpn[] = jpnMessage; | ||
|
||
// Font Message | ||
#define DEFINE_MESSAGE_FFFC(textId, type, yPos, jpnMessage, nesMessage, gerMessage, fraMessage) \ | ||
/* Present */ const char _message_##textId##_jpn[] = jpnMessage; | ||
|
||
#include "assets/text/message_data.enc.jpn.h" |
Oops, something went wrong.