MES text file converters for Pokémon Ranger: Shadows of Almia and Pokémon Ranger: Guardian Signs.
MES files are used to store texts in these two games. Pokémon Ranger: Shadows of Almia is the first game to use it, while Pokémon Ranger: Guardian Signs use a revised specification of this format, with different text storage and control characters.
For more information on the MES format, see the documentation.
| Linux | Windows | |
|---|---|---|
| Release | ||
| Nightly | ra2mes ra3mes |
ra2mes ra3mes |
You can dump your own Pokémon Ranger: Guardian Signs ROM from:
- a console from the Nintendo DS or Nintendo 3DS family (Game Card release)
- a Wii U (Virtual Console release)
To get the MES files, Windows users can run TinkeDSi, but NDSFactory can also be run on macOS and Linux:
- Download the latest NDSFactory release, then extract the archive and run the executable
- Open the program, load your ROM, then scroll down until you see the
FAT Files Addressfield. Take note or copy its value - Press the
Extract Everythingbutton and choose where to save your files - Once the process is complete, go to the
Fat Toolstab, and fill in the first three fields with the requested files you just extracted (fat_data.bin,fnt.binandfat.bin) and the fourth with the value from the previousFAT Files Addressfield - Press the
Extract FAT Data!button and choose where to save your files
Go to your output directory. MES files location is different depending of the game:
- Pokémon Ranger: Shadows of Almia: in the
data/messagedirectory - Pokémon Ranger: Guardian Signs: inside the
data_localizeACF archives in thedatadirectory. These are the first 275 (277 in the USA Kiosk Demo) files in the archives, by default with the extension.bin. You will need acftool to extract them
Please use ra2mes for Pokémon Ranger: Shadows of Almia's MES files only, and ra3mes for Pokémon Ranger: Guardian Signs' MES files only.
- To convert a MES file to a JSON file, run
ra2mes --to-json in.mesorra3mes --to-json in.mes - To convert a JSON file to a MES file, run
ra2mes --to-mes in.jsonorra3mes --to-mes in.json
By default, the output file has the same name as the input file, with the extension .json or .mes depending on the conversion option specified. However, you can optionally specify the output name, for instance:
ra2mes --to-json in.mes out.jsonwill output the JSON file asout.jsonra3mes --to-mes in.json out.meswill output the MES file asout.mes
Dependencies: clang or gcc, make (optional, preferred)
- Clone this repository by running
git clone https://github.com/SombrAbsol/ra23mes, or download the ZIP archive and extract it - Go to the repository directory and build the project. You can run
makeif you have it installed, or the following commands depending on your operating system (replaceclangbygccif needed).
clang -O3 -Wall -Wextra -Werror -o ra2mes ra2mes.c utils.c
clang -O3 -Wall -Wextra -Werror -o ra3mes ra3mes.c utils.c
clang -O3 -Wall -Wextra -Werror -D_CRT_SECURE_NO_WARNINGS -o ra2mes ra2mes.c utils.c
clang -O3 -Wall -Wextra -Werror -D_CRT_SECURE_NO_WARNINGS -o ra3mes ra3mes.c utils.c
ra2mes and ra3mes by SombrAbsol.
ra2mes and ra3mes are free softwares. You can redistribute them and/or modify them under the terms of the Expat License as published by the Massachusetts Institute of Technology.