Dragon Age: Origins
0 of 0

File information

Last updated

Original upload

Created by

Studenten

Uploaded by

Studenten

Virus scan

Safe to use

Tags for this mod

About this mod

A simple VBScript and a registry tweak for those who are tired of UAC control popups when the Toolset doesn't actually need Admin permission to run.

Permissions and credits
I'm just too lazy to click on the UAC popup window when the Toolset doesn't need Admin rights to run. So I created some simple stuff to bypass UAC.

Do not use it if you store store your mods directly in protected directory like C:\Program Files (x86). In this case Toolset does need Admin rights to edit those files.

It consists of two files:
  • a VBScript to run DA Toolset bypassing UAC
  • a reg file to associate all DA Toolset related files to the UAC bypassing script. The reg file also remvoes ERF file's default type as image file (because ERF is also the extension for Epson raw image), so that when you open a folder full of ERF files, Windows Explorer won't change the view to large icons.

Both files must edited to match the DA Toolset file path on each individual computer:
  • In VBE file: change ""D:\Spiele\Dragon Age Origins\tools\DragonAgeToolset.exe"" to the EXE path on your PC. Don't delete the double double-quotes surrounding the path. You can put this VBE file anywhere on the PC.
  • In REG file:
  • change the path under [HKEY_CLASSES_ROOT\gda_auto_file\DefaultIcon] and [HKEY_CLASSES_ROOT\gda_auto_file\shell\open] to match your DAToolset.exe path. This step is not necessary as it only gives all properly registered MOD files an icon to differentiate them from unregistered file types. If you deem it unnecessary then just skip this step.
  • change the line under  [HKEY_CLASSES_ROOT\gda_auto_file\shell\open\command] to match where you store the VBE file. Note that in REG files, double quote and backslashes need to be written as \" and \\ respectively. For example if the VBE file is stored in "C:\ProgramData\Desktop\Dragon Age Toolset\DAToolset.vbe" then the line shall look like this: @="wscript.exe \"C:\\ProgramData\\Desktop\\Dragon Age Origins\\DAToolset.vbe\" \"%1\""


After editing, double click the REG file to merge it into registry. You can also create a link to the VBE file in start menu or desktop as DA Toolset launcher.

Right-click MOD files (GDA, ERF, UTC, UTI and so on), choose "open with..." and choose to always open with "Microsoft Windows Base Script Host". Now this type of file will be associated with DA Toolset without UTC popup.



Note:

Since the file extensions for DAO mods are pretty diverse, I probably didn't cover all file extensions. If you want to add file types not in the REG file, you can add it yourself and let me know in the post. For example if you want to associate file with .xyz extension to DA Toolset, just add two lines in the beginning of the REG file, unter the first line "Windows Registry Version 5.00":
[HKEY_CLASSES_ROOT\.xyz]
@="gda_auto_file"