UbiArt localisation file converter that lets you decompress, compress, and patch loc8 files easily.
.loc8
files are used for localisation in UbiArt Framework games. This script lets you easily extract or modify those files. It has been used personally by me for many years to create mods for Just Dance.
- Just Dance 2015 - 2022 on all platforms (probably Just Dance 2014 too, haven't tested it)
- Rayman Legends
- Rayman Origins
- ...most likely any other UbiArt game in existence
This script doesn't depend on any external modules. All you need is Python 3+.
However, this script requires passing parameters when used standalone:
py loc8Converter.py <mode> <input> <output>
Modes:
-d --decompress Decompresses the loc8 file as JSON
-c --compress Compresses the file back to loc8 from JSON
-p --patch Patches the output JSON file with values in input JSON file
Sample usage:
py loc8Converter.py -d localisation.loc8 localisation.json
Step-by-step usage tutorial:
- Download
loc8Converter.py
- Copy it to any desired work directory
- Run it by opening command prompt or terminal in directory and running
py loc8Converter.py
with parameters listed above
You can also use this script as a module (like I usually do).