This is a very handy tool to have at your disposal when you have collected a large amount of mods and you need to convert them to the new xml and filename standards. It basically does what you would do manually but now faster and automated.
Explanation copied from Oovee:
- Reads files, folders,zips and 7zips, no matter what you select.
It can fix one xml file, a zip folder or your whole mods folder!
- Ability to rename file names
- Ability to interpret input as regex
- Detailed logging for easy ‘debugging’ of changed files
- Fully customisable replace strings:
Changes to this are saved for future usage.
Read me first!
I’ve worked hard together with some testers to make this tool as bug-free and stable as possible. Still there may occur a problem. Always make a backup of the folder you are updating, else you might end up needing to redownload them all if something goes wrong. I’m NOT responsible for any broken files. You have been warned.
If you may encounter a problem, I’d love to hear about it and fix it. Just send me the log that is created on the bottom part of the screen.
Due to the behavior of the program (opening a lot of files, editing contents and renaming them) virus scanners tend to trigger a false positive on this application. Then it’s your call to trust me or do all the conversion by hand
Due to all the file opening and replacing this program is heavy for your computer and disk. It causes slowdowns while running.
Don’t be scared by this ‘long’ list you see below. It’s really easy to get your mods fixed! I just covered all the important parts.
- Download and unzip the file to your pc. Make sure all 4 files are in the same directory
- Start the executable (STModUpdater.exe)
- Enter the path to the files you want to update.
This can either be an xml file, .zip file, .7z file or directory.
In case of the zip/7z/directory it’ll iterate over all of it’s contents.
- (Eventually adjust the replacement settings manually, see below. IF you change them don’t forget to save these!)
- Click on the Fix! button on the bottom and wait till the program finishes.
The log contains a nice list of all files scanned and what has been changed. On the end you will get an overview of how many times a certain string has been replaced, and eventually any errors that may occur.
- In case of an error it will be displayed in red. You can try to find the origin of the problem, mostly caused by duplicate files
- Done! Have fun playing with updated mods!
Changing a string:
Slow double-click on it until you can edit the text. (or press F2 on your keyboard)
The Find column will be the string that is matched, the Replace column the string that will be put in place of that.
Delete a row:
Select the row and press delete to remove the line.
Replace in filenames:
This will determine if the string should also be replaced in filenames. Only applicable to files that don’t have a .xml extension.
Great example is the change from __da to __d_a, which also applies to texture files as well as the path to them in the xml file.
Check if the input string is a regex for advanced options.
Example with Dynamic:
If you have an update mod, it’ll already contain DynamicModel. In this case Searching and replacing Dynamic to DynamicModel will result in DynamicModelModel. The search string will in this case make sure that everything from Dynamic until the = is replaced by DynamicModel=.
Make sure you press save after changing!
(Program will autosave after you close it)
In case of bugs
Please report these in the dedicated Oovee support forum.