Skip to content

ReScrap/Scrapland-Localisation-Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Decoder and encoder for scrapland localisation files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages