Skip to content

Latest commit

 

History

History
executable file
·
36 lines (24 loc) · 1.5 KB

README.md

File metadata and controls

executable file
·
36 lines (24 loc) · 1.5 KB

SCRAPLAND LOCALISATION TOOLS

The Scrapland localisation files are located in the Scrapland\Language folder. You can easily mod them, but only if lines are written with ASCII characters.

The Problem starts when non-ASCII characters are used in your language. Characters are presented by their UTF-16BE (Big Endian) HEX value with a 0x01 byte at the start of every character.

To change these lines you need to decode them into human-readable format, then encode them back to the Scrapland format.

This is what these tools are for.

HOW TO SETUP

HOW TO USE

In your command line window, after navigating into the folder with the python scripts, use the following commands to decode & encode the language files:

  • Decode:
$ python3 decode.py <filename.txt>

This will output a human-readable version of the provided file with the name <filename_decoded.txt>

  • Encode:
$ python3 encode.py <filename.txt>

This will output a version of the provided file encoded for Scrapland with the name <filename_encoded.txt>

HOW TO USE THE NEW TRANSLATION

Just replace the file Scrapland\Language\<Your_language.txt> and run the game.