ModOrganizer2 / modorganizer

Mod manager for various PC games. Discord Server: https://discord.gg/ewUVAqyrQX if you would like to be more involved
http://www.nexusmods.com/skyrimspecialedition/mods/6194
GNU General Public License v3.0
2.17k stars 160 forks source link

Support for Oblivion bUseMyGamesDirectory=0 #799

Open gab opened 5 years ago

gab commented 5 years ago

Oblivion's bUseMyGamesDirectory=0 ini parameter is extremely handy to have multiple self-contained Oblivion modded installs. I have one for Nehrim, one of modded Oblivion, one that I keep around as a template, and all the big BSAs are hardlinked together so it doesn't even take much space.

Wrye Bash works just fine with this setting, but Mod Organizer 2 ignores it causing all kinds of weirdness (Oblivion reads/writes all files from its own directory but MO2 insists on modifying the view of the My Games files, causing plugins not to load).

It would be nice to add support for this, ideally by detecting the ini setting, but just a configurable "My Games\Oblivion" target location would be helpul.

Al12rs commented 5 years ago

Where do you write the INI line if it doesn't use my games? I never modded Oblivion so I might need some more info on this. From what I understand though what you are trying to do is to have different setups with different INI settings and different saves. Mo2 already offers this feature using profile specific Saves and INI settings. This way My games can stay vanilla. In theory you don't need to use the bUseMyGamesDirectory=0, assuming I'm understanding the end goal here.

Adding special stuff for oblivion alone could maybe be possible but its not something I would be very willing to spend time on since it's exclusive to a single game. So unless that setting allows for something much better than what Mo2 allows with its own profile system it's probably not getting implemented.

Silarn commented 5 years ago

I think it goes into the game directory. I recall seeing this setting before.

AnyOldName3 commented 5 years ago

If all that happens is saves and ini files use the install directory instead of My Games, this should only be a change that requires a few lines, so shouldn't be that hard to implement once someone tells us exactly what it does.

I'm a little confused about how this setting is implemented, though. If your ini says not to use the ini in My Games, the game must already be loading the ini, so must have already decided which location it's using.

gab commented 5 years ago

The game tries to load Oblivion.ini first from its own directory, and if it finds bUseMyGamesDirectory=0, proceeds to use its own directory instead of My Games. I'm not sure what happens if you put the .ini file into the Oblivion directory without that setting.

atrHusK commented 4 years ago

The profiles feature MO2 offers (when also using profile specific save games and game ini files) would allow you to do what you want with one install unless you really want to keep all mod data separate instead of disabled/reordered per profile To create what you are describing as 'self-contained Oblivion modded installs' in combination with MO2 would require separate portable installs of MO2 that are linked to those self-contained modded installs, that way you get beyond profiles and will also have separate sets of data which seems to be what you want. However, even when using MO2 that way would still allow you to use profile specific save games/game ini files and thus it would have no need for that setting. For mod tools that actually install into the data folder I can see that its useful but for MO2 you might want to reconsider your setup.

Al12rs commented 4 years ago

Regardless Mo2 shouldn't break down when this setting is used so we should handle this case better.