Legacy Mod Conversion
Chairloader has a command line tool to convert a legacy .pak mod into a Chairloader mod. This tool removes the need to manually find changes in the mod.
Usage
- Create two folders:
legacy
- for original mod fileschair
- for converted files- Unpack .pak into
legacy
folder. - If this was a
level.pak
file, you must move its contents tolegacy/Levels/Campaign/[xxxx]/[yyyy]/level
. Replace[xxxx]/[yyyy]
with level path. - Open Command Prompt in ChairManager folder.
- Type this command. Replace [path/to/legacy] and [path/to/chair] with paths to created folders.
.\LegacyModConverter.exe --type-lib XmlTypeLibrary.xml --merging-lib MergingLibrary.xml --prey-files-dir PreyFiles --legacy-mod-dir [path/to/legacy] --out-dir [path/to/chair]
- Check the log file and fix errors (if you have any)
Limitations
This tool doesn't have full support for array nodes. Array nodes are copied as-is with ch:action="replaceChildren"
.