As part of my initial effort to automate S.T.E.P., I've created a configurable replacement to the Texture Pack Combiner's batch script: https://www.skyrim.n....com/mods/30922
The ZIP file includes the batch file (ModCombiner.bat), and 7zip's command utility (7za.exe) with its license file (license.txt).
This example configuration file is actually the first few lines of the better-known Texture Pack Combiner, converted into the required comma-delimited list. I have the entire batch file converted into one big configuration file that I need permission from the mod author (celestral, I believe) to release.
The batch file works thusly:
- Look for a master ordered list of configuration files to read, one per line. If none found, just go through all configuration files in any order.
- Read through configuration file line-by-line, excluding lines starting with a semi-colon
- Each line of the configuration file contains a file to copy and a destination, separated ONLY by a comma. Example:
Required Mods\HD2K\Textures\actors\dragon priest\dragonpriest.dds,Data\Textures\actors\dragon priest\
Since this is just piping commands to xcopy, we can be a bit more complex in the usage. Example of copying multiple files:
Required Mods\HD2K\Textures\actors\dragon priest\*.*,Data\Textures\actors\dragon priest\
Example of copying a file with renaming:
Required Mods\HD2K\Textures\actors\dragon priest\dragonpriest.dds,Data\Textures\actors\dragon priest\dragonpriest_n.dds
- Lines that start with < are extraction lines containing an archive file and a destination, separated again by a comma.
Missing archives is not a fatal error and it'll continue processing the configuration file, letting the configuration file have optional archives and different versions.
With reading of configuration files and a master ordered list to support multiple configuration files that must be read in a certain order, I'm hoping this batch file will be highly configurable without needing to ever alter the batch file itself, thus letting people distribute their own configuration files independent of the batch file.
The next step is to add support for downloading files from NexusMods.
Edit: Updated with 7zip support for almost all archive types.
2-5-2013 - Working on both BSA Commander and DDSOpt command-line support, have a working local version that needs testing. I think this'll be a huge help to S.T.E.P. as well as other "patches" people can make using ModCombiner's powerful automation, without needing to potentially violate copyright by re-uploading possibly abandoned works. I'm also looking into what can be done about command-line TES5Edit support and/or diff.