PC GameSource Blog

Tag: store

Oblivion Tip: Make Bash Installers (BAIN) Properly Handle Default Data Files

by on Aug.31, 2010, under Uncategorized

An in-game screenshot showing Oblivion s user ...
Image via Wikipedia

I know, you probably read the title and thought, “Huh?”

For those of you who read my previous Oblivion Tip, I hinted at creating a Bash Installer package for your default game files, so that ’s conflict detection will help notify you and preserve your game files should you wish to overwrite them.

I took this a step further, and created a set of BAIN packages which allow me to completely customize my experience without harming any original files. The packages offer multiple versions of the default BSAs (compressed, uncompressed, and with the files packed in), original or cleaned versions of the official DLC, etc.

But I noticed that, even after installing the package, BAIN could not detect the fact that the default files even existed (it would always show Oblivion – Meshes. as ‘Missing’, for example, even though it was there and matched exactly the file in the BAIN package.

This is due to the list of default files stored in ‘bush.’ in the variable bethDataFiles. BAIN is using this variable as a skip-list so that it does not calculate CRCs or check dates for any default files. My goal was to change this behavior.

This variable, bethDataFiles, is not necessarily only used for Bash Installers, so I did not want to edit it here. Instead, I opened up the file ‘bosh.py’ and found that it is what is actually performing the CRC checks and skipping the default files.

There are two places where I commented out references to this variable, and the result is that BAIN treats all files in the Data directory equally… it now calculates CRCs for the default .bsas (which takes a little bit of time) and properly shows matches for my installed files that overwrote the default ones.

If you’d like to have this, too, first let me specify that I take no responsibility for what Bash might do to your default Bethesda game files if you perform this tweak. The reason I did it was to use a set of custom Bash Installers I created which contain the default files, among other variations, so I am not in danger of losing anything. If you do not have such a package, make sure you back up ALL of your data files.

Open up ‘bosh.py’ in a text editor. Around line 9721 look for the following:

if not rsDir and sFile.lower() in bethFiles: continue

Change it to:

#if not rsDir and sFile.lower() in bethFiles: continue

Next around line 9935 look for:

elif file in bethFiles:
if not bSkip: skipDirFilesAdd(full)
continue
Change it to:
#elif file in bethFiles:
#if not bSkip: skipDirFilesAdd(full)
#continue
Make NO other changes unless you know what you are doing. Save the file, then you may wish to delete the file ‘bosh.pyc’ if it exists, which is the compiled version of the old script. Python should see the change and recompile it anyway, but deleting the file will ensure it gets recompiled.
Open up Bash, and the Installers tab, and you will notice that it takes a little bit longer, and you may even see some of the default Bethesda filenames on the progress window. That means it worked!
Note: If you should happen to uninstall a package which in turn deleted Oblivion.esm, you’ll get a Stack Trace (error message) from Wrye Bash. Don’t fear–close the error message and install another version of Oblivion.esm and there will be no further issue.

1 Comment :, , , , , , , , , , , more...

Perils of Summer Sale Heats Up on Steam

by on Jun.24, 2010, under Fighting, First Person Shooters, Games, Genres, Horror, MMO, RPGs, Stealth, Steam, Tools

Steam logo
Image via Wikipedia

Just when I started winding down from the recent onslaught of daily Steam deals, Valve caught me offguard with their latest sale, entitled Perils of Summer. You can find a veritable pant-load of games and even entire publisher collections on sale… many of them even 50-75% off of their regular prices.

Check out just a tiny selection of the deals to be had:

  • Got $5? Why not get the entire Overlord Complete Pack–that’s a lot of bang for a few bucks!
  • Still haven’t checked out Bioshock 2? It would be a shame not to for $15.
  • Find the indie platforming gem Trine for only $4–you can’t go wrong here.
  • DiRT 2, my new favorite racing game on the PC alongside Burnout: Paraside, is only $10. Yes, $10!
  • The newly-updated Counter-Strike: Source is going for only $6.80, practically a steal.
  • Get (almost) every for a total of $13.60 with the Unreal Deal Pack. Yes, this even includes Unreal Tournament III Black Edition!
  • Get all of the Call of Duty games up through for $29.99
  • Better yet, why not get every 2K game released on (except V) for $89–a 75% discount.
  • THQ is also offering their entire collection for only $50, half off an already amazing deal.

This is barely a fraction of the games available in this sale, and many of these are only on sale today (June 24th) other than the publishers collections, which will be available for the duration of the sale.

Don’t miss out, but don’t spend all your hard-earned money today–check back tomorrow to see if Valve has anything else in store during this truly outstanding sale.

Leave a Comment :, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...