A Python program that modify UnityAsset from the game Last origin.
git clone https://github.com/diov/LoAssets.git
cd LoAssets
pip install -r requirements.txt
To use the program, you need to paste files copied from UnityCache to the Input folder. The output file will be saved in the output folder.
Extract TextAsset from UnityAsset file.
python3 loassets.py dump
This will dump csv from localization and binary from table_localization_*.
Serialize the binary file extracted from table_localization_* to normal json file.
python3 loassets.py serialize --input=input/Table_Localization_ja.bin
This will parse a C# BinaryFormatter format binary file through a azure function, which depends on the azure_function branch.
Deserialize normal json file to binary file:
python3 loassets.py deserialize --input=input/Table_Localization_ja.json
Clone target to original language in csv extracted from localization.
python3 loassets.py clone --target=tc
Patch csv / binary / another mod UnityAsset under patch directory into original file.
python3 processor.py patch