[Rel] INIzer

Post » Wed Mar 30, 2011 10:31 am

INIzer
...and N files to configure them all
version 1.0

Requires http://obse.silverlock.org/



Download : TESNexus | ModDB | http://dl.dropbox.com/u/2584752/INIZer.dll



Description

This tiny OBSE plugin allows each Oblivion installation to use a different INI and plugin list for its configuration. No more, no less.




Usage

Drop this in the OBSE\Plugins folder of the respective game installation and let it run once, as the first run generates the plugin's INI file. This INI file then lets you rename the INI and plugin list files used by the corresponding game. For example, consider an Oblivion installation in the following directory: G:\TES Oblivion. The Nehrim TC mod is installed in G:\TES Oblivion\Nehrim, which functions as a separate game for all practical purposes. By default, both Oblivion and Nehrim use the same INI and plugin list files (the latter located at %appdata%\Local\Oblivion\Plugins.txt). This, I'm told, is an annoyance for switching b'ween games is requires a change of load order and possibly changes to the settings as well.

To fix this, you drop INIzer inside Nehrim's OBSE plugins folder (G:\TES Oblivion\Nehrim\Data\OBSE\Plugins) and modify its INI as illustrated below
[Filenames]INI=Nehrim.iniPlugin List=Nehrim_Plugins.txt
Now, Nehrim will use its own INI for its settings, as it will for its plugins.




Compatibility

This mod is, and should be, compatible with every mod there is.



Credits

Special thanks to :
  • Ian Patterson, Stephen Abel and Paul Connelly (The OBSE Team) – For keeping up the Oblivion Modding spirit and providing the modding community with TES4 Oblivion's Elixir of Immortality
  • LHammonds – For his Readme generator
  • Kyoma - ?
The Entire Community around the TES Construction Set Wiki – For making such an exhaustive resource catering to ES Modding.
The Folks at the Construction Set Forums – For all their help, rum and fish.
The Rest of the Modding Community – For the inspiration I needed to start modding and all the wonderful mods which I use.
Bethesda – For providing a great game, with enough flaws to keep us busy.



Change Log

Spoiler
1.0 - Initial Release

User avatar
Jessica Stokes
 
Posts: 3315
Joined: Fri Jul 28, 2006 11:01 am

Post » Tue Mar 29, 2011 10:21 pm

I'd appreciate it if someone kept kyoma from decapitating me repeatedly.
User avatar
Monika Krzyzak
 
Posts: 3471
Joined: Fri Oct 13, 2006 11:29 pm

Post » Wed Mar 30, 2011 8:32 am

Nice, and useful. Thanks.
User avatar
[Bounty][Ben]
 
Posts: 3352
Joined: Mon Jul 30, 2007 2:11 pm

Post » Wed Mar 30, 2011 7:14 am

I'd appreciate it if someone kept kyoma from decapitating me repeatedly.

He might have to one up you to feel better.
User avatar
Jade MacSpade
 
Posts: 3432
Joined: Thu Jul 20, 2006 9:53 pm

Post » Wed Mar 30, 2011 2:15 am

Which version of OBSE does this require.

I know you like to be forward thinking and probably it is version 19 beta something.

I use a few mods that are compiled for 18 and did not want to move onto 19 yet - especially after the ride that 18 was.

Anyway it is telling me that my version 18 is too old.

===========

with 19b3 it worked on Nehrim.

So a few questions ... Are you recommending it be run on each install or should I only use it on the ones that are alternate to the main (oblivion install)? I guess because I have the save games for each game in different save game profiles that the it will not work if the right profile is active?

===========

As it is due to having the saves in separate save game profiles (which you have to admit is much more convenient to sorting through them being in the same folder if one were to want to have two games that are seperate).

What happens instead is that I may activate all the wsp that is appropriate for Nehrim in the OBMM for Nehrim then close that and change save game profiles to the regular oblivion game - at this point then the mods that are active in Nehrim are deactivated in bash because they are not in the same data folder - it then sets a new plugins list and that in turn seems to be setting a new Nehrim plugins txt too.

hard to explain.

I'm still in the same boat then even with this as it will work until save game profiling comes into the picture. I don't want to mix save games files.

============

And I'm not even sure it works - after resetting all the plugins and closing bash and making sure the right save game profile was set I had this direct Nehrim to 'Nehrim_Oblivion.ini' and when it loaded there was no loading bar and the menus were not functioning and the save game would not load - removing this dll (so that Nehrim then accessed the oblivion.ini that was for nehrim) and it all worked fine.
User avatar
Arnold Wet
 
Posts: 3353
Joined: Fri Jul 07, 2006 10:32 am

Post » Wed Mar 30, 2011 9:44 am

I'd appreciate it if someone kept kyoma from decapitating me repeatedly.
No need, all I'm asking is how you managed to do it. In my inital testing I couldn't get the game to use a different ini (I assumed it was simply too late by the time the OBSE plugins got loaded). Either I was patching the wrong code or I messed up my testing. :P

[edit]I basically patched all the places that pointed to Oblivion.ini (off_B02C84)[/edit]

-kyoma
User avatar
Latino HeaT
 
Posts: 3402
Joined: Thu Nov 08, 2007 6:21 pm

Post » Wed Mar 30, 2011 4:10 am

Oh mister shadeMe, this looks awesome

I have 3 installs of oblivion, one for modding with dlc, one with dlc and mods that i play with, then one with no dlc for testing my mods on. But i always find i have to deactivate all my mods so i can test my oblivion install just for modding then reactivate them if i want to just play

Im going to go dl and let you know how i go, till them :hubbahubba:

====================================================

Ok i dl, and have question myself that has already been asked above. Are there any requirements to which obse version you use? As i get this error
checking plugin C:\Games\Oblivion2\Data\OBSE\Plugins\\INIZer.dllplugin C:\Games\Oblivion2\Data\OBSE\Plugins\\INIZer.dll (00000001 INIzer 00000001) reported as incompatible during query

User avatar
Assumptah George
 
Posts: 3373
Joined: Wed Sep 13, 2006 9:43 am

Post » Wed Mar 30, 2011 1:41 am

Ok i dl, and have question myself that has already been asked above. Are there any requirements to which obse version you use? As i get this error
checking plugin C:\Games\Oblivion2\Data\OBSE\Plugins\\INIZer.dllplugin C:\Games\Oblivion2\Data\OBSE\Plugins\\INIZer.dll (00000001 INIzer 00000001) reported as incompatible during query

Try OBSE v19 beta3, if only to confirm it is required.
User avatar
Taylrea Teodor
 
Posts: 3378
Joined: Sat Nov 18, 2006 12:20 am

Post » Wed Mar 30, 2011 10:07 am

Yes beta works fine

plugin C:\Games\Oblivion2\Data\OBSE\Plugins\\INIZer.dll (00000001 INIzer 00000001) loaded correctly


I really did not want beta yet, but i think i might stick to it if it is the only solution

Had to re-edit my post, yes i have above i didn't want to go to beta, but now, its definitely worth taking the plunge, but would be happy if it is possible to have a 1.8 version obse

Last but not least, absolutely outstanding work there shadeMe. Works flawlessly from what i have tested even BOSS is fine, etc

:celebration:
User avatar
cosmo valerga
 
Posts: 3477
Joined: Sat Oct 13, 2007 10:21 am

Post » Wed Mar 30, 2011 12:16 pm

So a few questions ... Are you recommending it be run on each install or should I only use it on the ones that are alternate to the main (oblivion install)? I guess because I have the save games for each game in different save game profiles that the it will not work if the right profile is active?


And I'm not even sure it works - after resetting all the plugins and closing bash and making sure the right save game profile was set I had this direct Nehrim to 'Nehrim_Oblivion.ini' and when it loaded there was no loading bar and the menus were not functioning and the save game would not load - removing this dll (so that Nehrim then accessed the oblivion.ini that was for nehrim) and it all worked fine.
Just use it with every installation that you feel needs a different INI/mod list. Note that you'll have to manually create the new plugin list, as the game doesn't automatically.


No need, all I'm asking is how you managed to do it. In my inital testing I couldn't get the game to use a different ini (I assumed it was simply too late by the time the OBSE plugins got loaded). Either I was patching the wrong code or I messed up my testing. :P

[edit]I basically patched all the places that pointed to Oblivion.ini (off_B02C84)[/edit]

-kyoma
I overwrote the pointer in the data segment (at the address you located) to point to my string instead of the instance in the string table. Similarly for the plugin list. I responded to your http://www.gamesas.com/index.php?/topic/1116073-release-nehrim-at-fates-edge-english-version/page__view__findpost__p__16400986, assuming you were following that thread.


Try OBSE v19 beta3, if only to confirm it is required.
I've reuploaded a build that requires v18 instead (same link).
User avatar
Rudi Carter
 
Posts: 3365
Joined: Fri Sep 01, 2006 11:09 pm

Post » Tue Mar 29, 2011 11:16 pm

This will come in useful when I play nehrim, thanks. :)
User avatar
cosmo valerga
 
Posts: 3477
Joined: Sat Oct 13, 2007 10:21 am

Post » Wed Mar 30, 2011 3:58 am

ShadeMe-

Do you have Nehrim installed and playing it?

I'm getting more and more errors with what it detects as the save games and ini.

I do mean all respect you are one of the brighter folks around here, but I'm just hoping this grew out of actual experience playing Nehrim and yourself juggling the files.

So far things are worse now.
User avatar
Rachell Katherine
 
Posts: 3380
Joined: Wed Oct 11, 2006 5:21 pm

Post » Wed Mar 30, 2011 12:48 am

ShadeMe-

Do you have Nehrim installed and playing it?

I'm getting more and more errors with what it detects as the save games and ini.

I do mean all respect you are one of the brighter folks around here, but I'm just hoping this grew out of actual experience playing Nehrim and yourself juggling the files.
Yes, I do have Nehrim. But no, I haven't started playing it yet. However, I did test this plugin with it. And it worked without problems.

I'd suggest that you start off with just the INI override and let the plugin list point to Plugins.txt. If that works, move on to the next override - Copy the contents of the Plugin.txt file that was present before you started to use INIzer and paste it in new file (say, Nehrim_Plugins.txt) inside the same folder. Finally, set the Plugin List INI key in INIzer's INI to Nehrim_Plugins.txt.
User avatar
Heather Kush
 
Posts: 3456
Joined: Tue Jun 05, 2007 10:05 pm

Post » Wed Mar 30, 2011 5:56 am

Well leaving the plugins txt alone as suggested and then having it point to 'Nehrim_Oblivion.ini' seemed to work - I even took out the regular Oblivion.ini to test and it all loaded fine.

Loaded the game and made a few saves and exited.

I then look at the plugins txt and it all the plugins for my massive Oblivion install with 240 some esp on it. At what point is that list generated and by what?

=====================

[edit]
It seems that any redirecting the plugins.txt results in the loading bar for Nehrim not appearing and then any save game I try and load it tells me that all the masters are missing and I don't get the option to load any saves. I tested this with three types of manually edited plugins/txt files.
1. an older one actually matched the mods I had in for nehrim and was generated at some point by whatever does that.
2. a list that I created based off of what OBMM gave me as active plugins.
3. a renamed copy of the massive list that I described above.

None of them worked and had the same result. I've not tested this with regular oblivion and probably will not till I get this side set.
User avatar
Hannah Whitlock
 
Posts: 3485
Joined: Sat Oct 07, 2006 12:21 am

Post » Wed Mar 30, 2011 10:32 am

I overwrote the pointer in the data segment (at the address you located) to point to my string instead of the instance in the string table. Similarly for the plugin list. I responded to your http://www.gamesas.com/index.php?/topic/1116073-release-nehrim-at-fates-edge-english-version/page__view__findpost__p__16400986, assuming you were following that thread.
Then I seriously messed up during testing, makes me wonder what other things might actually work. :P
User avatar
Quick Draw
 
Posts: 3423
Joined: Sun Sep 30, 2007 4:56 am

Post » Tue Mar 29, 2011 9:23 pm

It's really good, it will no longer take the lead among all facilities, lack more than to separate the savegame and would be perfect.
User avatar
JUan Martinez
 
Posts: 3552
Joined: Tue Oct 16, 2007 7:12 am

Post » Wed Mar 30, 2011 7:38 am

So I've tried several times to get the Plugins/txt reassignment to work and it just doesn't.

In http://www.gamesas.com/index.php?/topic/1114316-relz-wrye-bash-thread-50/page__view__findpost__p__16434081 thread for ini swapping I described a potential problem that now that I think about it may not be a problem.

If there are mods or OBSE plugins like fast exit2 which saves the ini before exiting - will these be able to do that if the ini has been reassigned and renamed? Or will they continue to save and alter the original named ini?
User avatar
Esther Fernandez
 
Posts: 3415
Joined: Wed Sep 27, 2006 11:52 am

Post » Wed Mar 30, 2011 7:26 am

Everything works fine for me redirecting both the ini and the plugins file. I had to manually add the mods to the plugin file myself.

Only downside is I cant use some utilities like Wyre Bash within the Nehrim folder. Oh well.
User avatar
carley moss
 
Posts: 3331
Joined: Tue Jun 20, 2006 5:05 pm

Post » Wed Mar 30, 2011 4:36 am

Everything works fine for me redirecting both the ini and the plugins file. I had to manually add the mods to the plugin file myself.

Only downside is I cant use some utilities like Wyre Bash within the Nehrim folder. Oh well.

I tried editing the plugins and it just didn't work - are you also using Wrye Bash? And are switching between games?
User avatar
Averielle Garcia
 
Posts: 3491
Joined: Fri Aug 24, 2007 3:41 pm

Post » Tue Mar 29, 2011 10:36 pm

If there are mods or OBSE plugins like fast exit2 which saves the ini before exiting - will these be able to do that if the ini has been reassigned and renamed? Or will they continue to save and alter the original named ini?
They'll work fine with INIzer.
User avatar
Kelly Upshall
 
Posts: 3475
Joined: Sat Oct 28, 2006 6:26 pm

Post » Tue Mar 29, 2011 9:16 pm

Thanks shadeMe for this! It makes it much easier to go back and forth when modding both. However...is there a way to make the saves save to separate locations like Psymon was saying? That would make it really awesome because sorting through saves in the menu is difficult...sorry to be such a pest!
User avatar
Matthew Aaron Evans
 
Posts: 3361
Joined: Wed Jul 25, 2007 2:59 am

Post » Wed Mar 30, 2011 12:04 am

Thanks shadeMe for this! It makes it much easier to go back and forth when modding both. However...is there a way to make the saves save to separate locations like Psymon was saying? That would make it really awesome because sorting through saves in the menu is difficult...sorry to be such a pest!
You can set the sLocalSavesPath INI key to point to another folder in your custom INI. That should do to keep your saves separate from Oblivion's.
User avatar
rebecca moody
 
Posts: 3430
Joined: Mon Mar 05, 2007 3:01 pm

Post » Tue Mar 29, 2011 10:09 pm

I tried editing the plugins and it just didn't work - are you also using Wrye Bash? And are switching between games?


No. Wyre Bash gets screwed up cause its reading the default ini, and so I have to add the files manually myseld to the plugin.txt. So I ahve no real way to edit the load order sadly. I have not come across a need to just yet though.
User avatar
Roanne Bardsley
 
Posts: 3414
Joined: Wed Nov 08, 2006 9:57 am

Post » Wed Mar 30, 2011 7:39 am

No. Wyre Bash gets screwed up cause its reading the default ini, and so I have to add the files manually myseld to the plugin.txt. So I ahve no real way to edit the load order sadly. I have not come across a need to just yet though.

Yeah since I can't sop using Bash - this maybe part of what is messing me up.

Really the need is for Wrye Bash to be able to either handle multiple installs or be able to have multiple Wrye Bashes that are separate from each other.

This is a large step in moving toward managing multiple installs though.
User avatar
Krystina Proietti
 
Posts: 3388
Joined: Sat Dec 23, 2006 9:02 pm

Post » Wed Mar 30, 2011 3:03 am

You can set the sLocalSavesPath INI key to point to another folder in your custom INI. That should do to keep your saves separate from Oblivion's.

Wow...that was obvious. I totally forgot about that! Thanks so much! Everything works great now.
User avatar
Nancy RIP
 
Posts: 3519
Joined: Mon Jan 29, 2007 5:42 am

Next

Return to IV - Oblivion