Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
fafb83c
Use separate language tables in different files
xoascf Jun 24, 2022
467f3bf
Add the Spanish language again
xoascf Sep 3, 2022
14502e2
Use user language by default ("auto")
xoascf Sep 7, 2022
8b2d200
Set some fallbacks for offsets and textures
xoascf Sep 7, 2022
be6b2b0
Add "Run msgenc" as a separate setup.py argument
xoascf Sep 7, 2022
06676c7
Add English fallback for title screens textures
xoascf Sep 9, 2022
65dfdf4
Complete adding fallbacks
xoascf Sep 10, 2022
2d2500f
Add extra Latin characters
xoascf Sep 10, 2022
84ac2bf
Add multilingual "PRESS START"
xoascf Sep 3, 2022
735fdb0
Update Spanish JSON translations
xoascf May 16, 2022
3720350
Add Portuguese language support
xoascf Apr 22, 2023
e0a68c9
Use png extra characters, move to ALL assets
xoascf Apr 28, 2023
49fa0b3
Change the language identifier from Spa to Es
xoascf Apr 28, 2023
978731b
Add Brazilian Portuguese language support
xoascf Apr 29, 2023
b6f7d49
Add Italian language support
xoascf Apr 29, 2023
58bbf04
Fix missing fallback in save confirmation screen
xoascf Apr 30, 2023
44c2978
Simplify msgenc.py, remove ROM nes_font_static.*
xoascf May 1, 2023
8b40429
Add Swedish (Sweden) language support
xoascf May 6, 2023
3be01b6
Use full charset for title screen
xoascf May 7, 2023
46379c3
Title and Wipe upstream update
xoascf May 9, 2023
59d3d6a
Use UTF-8 when compiling
xoascf May 10, 2023
1b30845
Add Unicode Support (1)
xoascf May 12, 2023
d7e12a7
Add Unicode Support (2)
xoascf May 13, 2023
65931c6
Add Unicode Support (3)
xoascf May 15, 2023
d9952a6
Use textBoxType and textBoxPos only
xoascf May 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,14 @@ vs/build
*.obj
*.mtl
*.fbx
*.enc.h
!*_custom*
.extracted-assets.json
assets/
assets/*
build/assets/*
!assets/ALL/
!assets/ALL/textures/**/*.png
generated/

# Docs
!docs/tutorial/
Expand Down
18 changes: 18 additions & 0 deletions roms/EUR_MQD/text/charmap.txt → assets/ALL/text/charmap.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
{
'\n' : 0x01,

'Í' : 0xAC,
'Ó' : 0xAD,
'Ú' : 0xAE,
'í' : 0xAF,
'ó' : 0xB0,
'ú' : 0xB1,
'¿' : 0xB2,
'¡' : 0xB3,
'Á' : 0xB4,
'Ñ' : 0xB5,
'ñ' : 0xB6,
'Ã' : 0xB7,
'Õ' : 0xB8,
'ã' : 0xB9,
'õ' : 0xBA,
'Å' : 0xBB,
'å' : 0xBC,

'‾' : 0x7F,
'À' : 0x80,
'î' : 0x81,
Expand Down
9 changes: 9 additions & 0 deletions assets/ALL/text/de_message_data_static.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#define MESSAGE_DATA_STATIC

#include "message_data_fmt.h"
#include "message_data_static.h"

#define DEFINE_MESSAGE(textId, type, yPos, deMessage) \
const char _message_##textId##_de[sizeof(deMessage END)] = {deMessage END};

#include "translations/message_data_de.enc.h"
9 changes: 9 additions & 0 deletions assets/ALL/text/en_message_data_static.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#define MESSAGE_DATA_STATIC

#include "message_data_fmt.h"
#include "message_data_static.h"

#define DEFINE_MESSAGE(textId, type, yPos, enMessage) \
const char _message_##textId##_en[sizeof(enMessage END)] = {enMessage END};

#include "translations/message_data_en.enc.h"
9 changes: 9 additions & 0 deletions assets/ALL/text/es_message_data_static.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#define MESSAGE_DATA_STATIC

#include "message_data_fmt.h"
#include "message_data_static.h"

#define DEFINE_MESSAGE(textId, type, yPos, esMessage) \
const char _message_##textId##_es[sizeof(esMessage END)] = {esMessage END};

#include "translations/message_data_es.enc.h"
9 changes: 9 additions & 0 deletions assets/ALL/text/fr_message_data_static.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#define MESSAGE_DATA_STATIC

#include "message_data_fmt.h"
#include "message_data_static.h"

#define DEFINE_MESSAGE(textId, type, yPos, frMessage) \
const char _message_##textId##_fr[sizeof(frMessage END)] = {frMessage END};

#include "translations/message_data_fr.enc.h"
9 changes: 9 additions & 0 deletions assets/ALL/text/it_message_data_static.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#define MESSAGE_DATA_STATIC

#include "message_data_fmt.h"
#include "message_data_static.h"

#define DEFINE_MESSAGE(textId, type, yPos, itMessage) \
const char _message_##textId##_it[sizeof(itMessage END)] = {itMessage END};

#include "translations/message_data_it.enc.h"
9 changes: 9 additions & 0 deletions assets/ALL/text/pt-BR_message_data_static.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#define MESSAGE_DATA_STATIC

#include "message_data_fmt.h"
#include "message_data_static.h"

#define DEFINE_MESSAGE(textId, type, yPos, brMessage) \
const char _message_##textId##_br[sizeof(brMessage END)] = {brMessage END};

#include "translations/message_data_pt-BR.enc.h"
9 changes: 9 additions & 0 deletions assets/ALL/text/pt_message_data_static.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#define MESSAGE_DATA_STATIC

#include "message_data_fmt.h"
#include "message_data_static.h"

#define DEFINE_MESSAGE(textId, type, yPos, ptMessage) \
const char _message_##textId##_pt[sizeof(ptMessage END)] = {ptMessage END};

#include "translations/message_data_pt.enc.h"
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include "message_data_static.h"

#define DEFINE_MESSAGE(textId, type, yPos, staffMessage) \
const char _message_##textId##_staff[sizeof(staffMessage END)] = { staffMessage END };
const char _message_##textId##_staff[sizeof(staffMessage END)] = {staffMessage END};

#include "text/message_data_staff.enc.h"

9 changes: 9 additions & 0 deletions assets/ALL/text/sv-SE_message_data_static.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#define MESSAGE_DATA_STATIC

#include "message_data_fmt.h"
#include "message_data_static.h"

#define DEFINE_MESSAGE(textId, type, yPos, seMessage) \
const char _message_##textId##_se[sizeof(seMessage END)] = {seMessage END};

#include "translations/message_data_sv-SE.enc.h"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading