Menu

#16 Wrye Bash ignores bUseMyGamesDirectory setting

Previous
closed
nobody
Other (45)
5
2014-04-16
2010-09-21
scooby
No

By moving the oblivion.ini to the app folder and setting bUseMyGamesDirectory=0, oblivion can be set up to use local directories within the game folder instead of the My Documents\My Games\Oblivion.

Wrye Bash always assumes that the My Games folder is used.

The fix is to check if app\oblivion.ini exists and bUseMyGamesDirectory=0 before finalizing the dirs[] paths.
Additionally, some references involving dirs[\'saveBase\'] may need to be ammended.

I\'ve made the required changes to my own copy of bash v287 and it appears to work, though I am not familiar with python or wrye\'s code, so I don\'t expect I resolved it completely.

I haven\'t thoroughly tested yet, but I have attached the modified files.
I\'ll report back when I have tested more.

Discussion

  • scooby

    scooby - 2010-09-21

    Fix for Bash ignores bUseMyGamesDirectory

     
  • Pacific Morrowind

    merged, thanks.
    (credited in readme as scooby - if you want a different name used just say so)
    Pacific Morrowind
    (oh one pythonic coding note:
    comments are usually written as:

    this is a comment

    rather than:
    """this is a comment"""

     
  • scooby

    scooby - 2010-10-06

    There was a couple of leftover debug print statements and a bug in one of the statements following.
    Hopefully you noticed those in the diff?

    Ammendments to the the bosh.py I attached..

    Fix for double appended Saves\Saves\ path
    Replace Line 27628:
    dirs['saveBase'] = dirs['app'].join(oblivionIni.getSetting('General', 'SLocalSavePath','Saves\'))
    With:
    dirs['saveBase'] = dirs['app']

    Leftover debug statements
    Delete Lines 27626,27625 and 27622

     
  • scooby

    scooby - 2010-10-06

    I inspected rev619 and it appears you have corrected the errors I mentioned. Re-Closing.

     

Log in to post a comment.

MongoDB Logo MongoDB