darthraven wrote: ↑Thu, 10. Jan 19, 21:47
I am still wondering if you could indulge me? Why is it most of these loose file mods (with only xml files) working but some are not? Should I always try and get a CAT/DAT version because I'm using Windows 7 or only if the loose file version doesn't work? Thanks for any answers.
So from what I have gathered, the problem only occurs with certain types of loose files, like my mods aiscripts. Of course, it is probably not all aiscripts and it could be some weird compound thing as simple as my mod using a space and a dash in the folder name.
As for which to get, I would always suggest getting a cat/dat if you are Windows 7. To prevent such unexpected issues for folks in the future I should probably switch to making the cat/dat the default as well. Now that I have script to automatically make the cat/dat files then recover the loose files so I can continue editing them it is not so much a pain for me.
If, in the future, there is mod file that is loose files only which looks really interesting, it is not too terrible to make your own cat/dat files too. The first step is to download the XRCatTool from the sticky at the top of this forum (
viewtopic.php?f=181&t=402452). Then you can either use the graphical interface or command line to make the archive. For the command line it is just a command like (using my 'AAI - Core' as an example):
Code: Select all
XRCatTool.exe -in "AAI - Core" -out "AAI - Core\ext_01.cat" -exclude content.xml
Once that is done there will be a new 'ext_01.cat' and 'ext_01.dat' file. You can then delete everything but those two new files and the content.xml file in the folder (leaving just the 3 files) and have converted the mod from loose to cat/dat.
In case anyone is interested and wants to use something similar my full batch file which automatically packages just my released AAI mods up for posting to Nexus, then leaves just the loose files is:
Code: Select all
e:\7-Zip\7z a -spe AggressiveAI_loose.zip AAI*\
..\XRCatTool.exe -in "AAI - Core" -out "AAI - Core\ext_01.cat" -exclude content.xml
rmdir /S /Q "AAI - Core\aiscripts"
..\XRCatTool.exe -in "AAI - Debug Combat" -out "AAI - Debug Combat\ext_01.cat" -exclude content.xml
rmdir /S /Q "AAI - Debug Combat\md"
..\XRCatTool.exe -in "AAI - Debug Scripts" -out "AAI - Debug Scripts\ext_01.cat" -exclude content.xml
rmdir /S /Q "AAI - Debug Scripts\aiscripts"
..\XRCatTool.exe -in "AAI - Deployables" -out "AAI - Deployables\ext_01.cat" -exclude content.xml
rmdir /S /Q "AAI - Deployables\aiscripts"
rmdir /S /Q "AAI - Deployables\libraries"
..\XRCatTool.exe -in "AAI - Escorts" -out "AAI - Escorts\ext_01.cat" -exclude content.xml
rmdir /S /Q "AAI - Escorts\aiscripts"
..\XRCatTool.exe -in "AAI - Minesweeping" -out "AAI - Minesweeping\ext_01.cat" -exclude content.xml
rmdir /S /Q "AAI - Minesweeping\aiscripts"
..\XRCatTool.exe -in "AAI - OOS Drones" -out "AAI - OOS Drones\ext_01.cat" -exclude content.xml
rmdir /S /Q "AAI - OOS Drones\aiscripts"
..\XRCatTool.exe -in "AAI - Stations" -out "AAI - Stations\ext_01.cat" -exclude content.xml
rmdir /S /Q "AAI - Stations\aiscripts"
..\XRCatTool.exe -in "AAI - Targeting" -out "AAI - Targeting\ext_01.cat" -exclude content.xml
rmdir /S /Q "AAI - Targeting\aiscripts"
e:\7-Zip\7z a -spe AggressiveAI_cat.zip AAI*\
rmdir /S /Q "AAI - Core"
rmdir /S /Q "AAI - Debug Combat"
rmdir /S /Q "AAI - Debug Scripts"
rmdir /S /Q "AAI - Deployables"
rmdir /S /Q "AAI - Escorts"
rmdir /S /Q "AAI - Minesweeping"
rmdir /S /Q "AAI - OOS Drones"
rmdir /S /Q "AAI - Stations"
rmdir /S /Q "AAI - Targeting"
e:\7-Zip\7z x -spe AggressiveAI_loose.zip