[WIPz] MyMW (working title)

Post » Sat May 29, 2010 10:26 am

I know it's been a while since I opened one of these here, but I got an idea last night and (while I doubt it's original) I whipped up a little something to go with it.

This mod, which I don't have a good title for yet, is a small bit of code that makes Morrowind use a folder inside of My Games to store the error log, ini, saves and other resources.

What this means, practically:
  • One Morrowind installation
  • Each user account has their own:
    • Saves (no worrying about who saved where)
    • Enabled mods (no worries about who uses what mods)
    • Resources (no worries about who sees what)


Some obvious uses are for computers with many users. Each user can have their account with their own settings and still only use one installation of Morrowind. No more worries about swapping files around.
This can also be convenient for parents. My brief testing involved installing BB underwear to my Morrowind directory and BB nvde to My Documents\My Games\Morrowind. From my account, everyone was nvde. From any other account, everyone had perma-undies.
This can also be used for testing. I'm working on a bit of code to allow for profiles as well as simple users, so a single user could have multiple profiles. Command-line options would dictate which profile was used, for easy mod testing (save a profile for testing a particular mod).

There are a few limitations at the moment, particularly one with data files. I haven't found a way to put data files in the My Games directory, Morrowind insists on entering an infinite loop and eventually crashing. For an hour and a half of coding, it doesn't surprise me that there are odd bugs (it's Morrowind :P), so I'm trying to figure it out and fix it. I haven't fully tested with saves and data files, but there may be issues finding them. This is still very, very alpha code, so I'm not sure how many issues are present yet. It does work, though (for the most part :)).

Test Download:
http://www.mediafire.com/?mudumtiy22w
(be careful, this is early alpha code)
To install: Extract to Morrowind directory
To uninstall: Delete binkw32.dll and EasyHook32.dll, rename true-binkw32.dll to binkw32.dll (I had to free up a DLL slot so I used bink and renamed the original)
User avatar
Oscar Vazquez
 
Posts: 3418
Joined: Sun Sep 30, 2007 12:08 pm

Post » Sat May 29, 2010 1:45 am

Sounds interesting Peachykeen. Don't have my gaming pc atm to test for you though. Good luck :goodjob:
User avatar
Alexandra Louise Taylor
 
Posts: 3449
Joined: Mon Aug 07, 2006 1:48 pm

Post » Sat May 29, 2010 7:52 am

Sounds like a very cool idea for multi-user PCs. Whilst I'm the only one who uses (or is allowed to ;) ) this PC ,I think for people on shared PCs this'd be very useful. It'd reduce headaches (multiple saves, mods etc.) and give some peace of mind (no nuddie / excessive violence mods for people with kids)

Do you detect where My Documents is? I've used TweakUI to change where that particular "special folder" is on my PC...
User avatar
Skrapp Stephens
 
Posts: 3350
Joined: Mon Aug 06, 2007 5:04 am

Post » Sat May 29, 2010 7:25 am

It uses standard Windows functions to look for it. I need to test that, but it should work fine with custom places.

As for the multi-user bit, yep. I'm trying to figure out a way to allow for multiple profiles for a single user, but I'm not sure how that'll work. Possibly some file or something. That'll make for mod testing easy, just use your "testing" profile and don't worry about your saves or mods.
As for peace of mind, yep on that too. Especially seeing as Windows can encrypt your files to your account, parents could place any nvde/violent mods in their documents and the mods wouldn't even be accessible by other accounts, much less visible/playable.
User avatar
Darren Chandler
 
Posts: 3361
Joined: Mon Jun 25, 2007 9:03 am


Return to III - Morrowind