-
Notifications
You must be signed in to change notification settings - Fork 0
XML Modding ‐ Legacy Mod Conversion
tmp64 edited this page Dec 31, 2024
·
1 revision
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.
- Create two folders:
-
legacy
- for original mod files -
chair
- 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)
This tool doesn't have full support for array nodes. Array nodes are copied as-is with ch:action="replaceChildren"
.