SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 09-04-07, 02:49 AM   #16
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

Quote:
Originally Posted by bsalyers
OK. Well, now everyone including JScones himself has told me not to install my program to the Programs folder. I get it; don't fight city hall.

What I don't get is this: when I manually overwrote my Data files inside my SH4 program folder with the mods' data, it worked. My game got modded. I started SH4, there was Trigger Maru and Captain Midnight's Silent Service Graphics mods, working perfectly.

Why does it work when I do it manually, but not when I use JSGME? If I can write files to the Ubisoft folder, shouldn't there be a way to allow JSGME to do it?
Firstly, you seem to be getting two separate sets of permission confused.

Elevating permission for JSGME does no more than give *it* permission to modify/add/remove files in your Program Files folder. You have done this, and by virtue of the fact that a MODS folder was created, it has worked; JSGME is now a happy camper and is allowed to modify any file in Program Files.

HOWEVER if you subsequently try to extract a mod directly into the MODS folder, Vista's UAC will kick in again because a *different* process is attempting to modify Program Files (ie NOT JSGME - it's most likely not even open at this stage - this time it's 7-zip or whatever your extraction program is). In this case, you need to elevate the permission of your extraction program in much the same way that you elevated permission in JSGME. Or, alternatively, you can extract the mod *outside* of Program Files and drag into the MODS folder. As *you* are doing this, Vista will allow it to occur. The difference is *you* are doing it, not some system invoked tool, which doesn't appear to have the appropriate permission anyway.

Hope this is clear - let me know if not. UAC and File Virtualization can be quite confusing!

Last edited by JScones; 09-04-07 at 02:59 AM.
JScones is offline   Reply With Quote
Old 09-04-07, 08:22 AM   #17
bsalyers
Sparky
 
Join Date: Jun 2003
Location: North Hollywood, CA
Posts: 152
Downloads: 46
Uploads: 0
Default

Ah, that makes sense, I'm beginning to get it. So, if I'm understanding you, by executing my decompression utility (in this case, as you rightly guessed, 7Zip) with elevated privileges, the files would actually GO where I tell them to go, rather than pretending to go there? That's logical. However, before I gave up and just threw the files in the program's folders, the last thing I tried was extracting the files to my desktop and manually dragging them into the MODS folder. It seemed to work; the mods showed up and JSGME saw them. I enabled them in the correct order and that took about as much time as it should have. But when I started the game - nothing. It was a pristine, vanilla version, completely unmodded.
Bewildering.
bsalyers is offline   Reply With Quote
Old 09-04-07, 07:21 PM   #18
longam
Admiral
 
Join Date: Jun 2005
Posts: 2,014
Downloads: 26
Uploads: 0
Default

I have researched the issue with UAC and find controversy on both sides (imagine that). The one thing I find most interesting were some documents arguing the very fact that an MS employee says it’s not really a security tool?

Oh well the debate shall go one forever as most do but one interesting find I made was a way to elevate admin permissions without prompt, as a matter of fact there are a few interesting settings in there to play with for UAC. Of course there is a draw back that you must have Vista Business or higher I believe.



This setting is interesting



Some day I’m sure if its not certified it won’t install.




Article Link

http://www.downbelow.net/uac_nonag.htm
longam is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:57 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.