General-purpose PyCSMM mod template for replacing/adding game files to an ISO.
- Rename
gameFileCopy.jsonto<modid>.jsonandgameFileCopy.pyto<modid>.pywhere<modid>is the desired name of your mod. - Replace the line
+gameFileCopyinmodlist.txtwith+<modid>where<modid>is the desired name of your mod. - Drop any files/directories that you want to add to the ISO in this mod folder.
- In
<modid>.json, specify how you want to add/replace files. For example, assuming thatcharais a directory in the mod directory,
[
{
"from": "chara",
"to": "files/chara"
},
{
"from": "common langEN/common_curtain_EN.cmpres",
"to": "files/common/langEN"
}
]merges chara in the mod directory into the files/chara directory of the ISO (overwriting existing files in the ISO) and replaces files/common/langEN/common_curtain_EN.cmpres in the ISO with common langEN/common_curtain_EN.cmpres relative to the mod directory.
- Zip the mod directory for loading into CSMM/distributing to others, or optionally add other mods if creating a modpack by listing them (with
+<other modid>) inmodlist.txtas desired.