Mod updater

Author: MarijnS95
Source: Oovee

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:

Features

  • 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:
    Default provided;
    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.

Usage

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!

 Customisation

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.

Is Regex:

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.

STModUpdater
STModUpdater
STModUpdater.zip
555.9 KiB
439 Downloads
Details

(Visited 1 times, 8 visits today)
Tagged , . Bookmark the permalink.

11 Responses to Mod updater

  1. mwo says:

    And what about updating maps? what’s the point of this tool if we can’t run modded maps in the stable version?

  2. Mud Mobiler says:

    What would be handy to add to this guide would be a list of what settings to try first when converting mods from different SpinTires versions.

    I am assuming that the current set defaults is for converting the 090315 mods to the 190315 standard ST gave.

    Im gonna give it a try on converting my whole mod folder for the 090315 to 190315. I’ll back it up first of course. Fingers crossed. here we go.

    No news back from me will be good news and it work.

    And a big thanks to to all the people who put this handy tool together.

  3. Bear_Gaming911 says:

    I don’t understand, help?

  4. Moggz says:

    Downloading this because I Pereval map doesn’t seem to be working for me after latest update (all other mod maps fine so far). Presumably this app might help?

    • Moggz says:

      Also, I notice that the modified date on Pereval map files is 15/03/2015, although I downloaded it on 27th. All other mod maps I downloaded that day have modified date of 25/03/2015. So I’m guessing it’s not been patched for the latest update?

  5. Roman says:

    Thank you very much from Norilsk!

  6. mhybrids says:

    Please make video or some more screenshots. I dont know how to make it.

  7. Anonymous says:

    I cant get it to download

  8. Anonymous says:

    if some one can convert a mod for me add me on steam my steam id is terekt0121been trying to use this thing for 2 days now and I cant figure it out thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

two × 1 =