An AGS with Registry features

Since the first AGS came out, I’ve encountered an issue in its usage in the sense that I can’t create profiles for different Sims 3 Patch versions. Since the main feature of the Any Game Starter is to create separate profiles each with different EP & SP configurations, as you so desire.
I’ve long since toyed with the idea of an AGS with Registry Export and Import features to basically edit the version numbers.

After some time playing with Visual Studio and AutoIT, I’ve decided AutoIT is more straighforward and simpler at this point. Drawback is that it has no Mac support. But that can be a future feature to be included in another phase of the project. Perhaps if I transfer over to Monodevelop and code this in C#.

After lots of research and reading on AutoIT forums studying the UDF (User-Defined Functions), and yes RTFM! on the AutoIT’s Help and documented Examples, this is what I come up with. (As an aside: great documentation for a free product by the amazing AutoIT community!)
It’s not yet ready for release, I still have some more features to include.

What this allows me to do at this point is to automate all the below steps with one click of the “Copy” button, and the direction is determined by whether the Export checkbox is checked or unchecked.

Backup

  1. With a pre-existing Sims 3 install
  2. Copy EA folder. Note
    • FROM (G:\Program Files (x86)) and
    • TO (S:\2013.0108.1.48.5.020) paths.

    This is for the pre-patch backup ie if patching to 1.50, this step creates a backup under “2013.0108.1.48.5.020/[Incremental/Superpatcher]” folder. Ideally this would have been done in the step#7 of previous patching cycle

  3. Export Registry entries to a file, individually by their key into separate .reg files
  4. Merge exported registry files into one file for easier import
  5. Startup InstallWatch
  6. Patch
  7. Copy EA folder, note FROM and TO paths. This is for the post-patch backup ie if patching to 1.50, this step creates a backup under “2013.0219.1.50.56.021/[Incrementa/Superpatcher]” folder.
  8. Export New Registry entries to a file, individually by their key into separate .reg files
  9. Merge exported registry files into one file for easier import

Restore

  1. Copy EA folder. Note
    • FROM (S:\2013.0108.1.48.5.020) and
    • TO (G:\Program Files (x86)) paths.
  2. Import registry

I don’t suppose this would be helpful to the community other than modders and creators who want an easy one-click solution to work in multiple versions if they so chose. Because we know each patch has the potential to break something big in the game and CAW. But of course, they might only have 2 or 3 separate versions, instead of me who like the “idea” of being able to go back to any version to troubleshoot something or compare a feature in separate patch versions.

But if you find this potentially helpful for your gameplay or creating workflow and want some features or something, drop a line…I might take it into consideration. And of course, if you have comments on some UI or feature “don’ts” that you notice, do let me know.

Credits

A lot of the code is a hack job of copy+paste from UDFs by Yashied, wraithdu, guinness, plus a few more I may have forgotten and of course the examples in the Help file and modified to suit my purposes.

Advertisements