Jump to content

FOMODs and INI Tweaks


Paynamia
Go to solution Solved by Tannin42,

Recommended Posts

I was wondering, is it was possible to make Vortex apply INI tweaks when installing a FOMOD?

 

Normally, I would've just assumed this isn't possible, but I noticed that Vortex's BSA Redirection for Oblivion is handled as a mod, and toggling it also toggles the related ini change, and that got me to wondering if that option is available for user creating installers.

Link to comment
Share on other sites

  • Solution

C# based fomods can use the function "EditIni" to edit ini settings but I would strongly advice against using C# based fomods nowadays.

 

What Vortex does with EditIni is it creates a wrye bash compatible "Ini Tweak" meaning it creates an ini file in the "INI Tweaks" subdirectory of the mod with a name like "foobar [OblivionPrefs].ini".

The user will then have the option to toggle "foobar" on and off and if it's on, the ini settings from that file will be merged into OblivionPrefs.ini, if the user toggles it off the changes get reverted again.

 

Instead of using C# based fomods you can simply package Ini Tweaks like that with your mod. No need to do anything fancy, just bundle the correctly named ini files in a "Ini Tweaks" directory and the user can choose from those settings (after installation, they can toggle them any time they want)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...