Jump to content


Elys

Member Since 17 Apr 2011
Offline Last Active Jun 30 2012 09:56 PM

Posts I've Made

In Topic: HyperOverride Tool (BETA)

02 March 2012 - 01:27 PM

No, the mklink commands create a permanent Directory Junction.

Once created if you browse in your Baldur's Gate folder, you will see Cache directory. It works the same way that a normal directory. Excepted anything done inside is in fact done to the real folder you chose as target with mklink.
(PS: The target folder must exist before using mklink)

To delete a Directory Junction, just delete the "fake" directory using the rmdir command.
You can also use the Windows Explorer to delete the "fake" directory, but then unlike with the rmdir command, it will also delete all the files contained in the real target directory.

Ref: MKLINK


About the UNC, Any custom "HyperOverride directory" must be placed inside the HyperOverride directory.

Example: C:\Program Files\Baldur's Gate\HyperOverride\MySpecialOverride

with such shortcut to launch the game: HOLoad -ho:MySpecialOverride

HOLoad only accepts the final directory and automatically prefixes it with "C:\Program Files\Baldur's Gate\HyperOverride\" (or wherever your BG is installed) to find the full path.
HOLoad does not accept a full path. So you cannot specify a full path whatever the form including UNC.

Note, that if you are really about splitting stuff on various HD, and using HyperOverride you can still use a Direction Junction for the HyperOverride folders as well if needed. I don't know why would someone resort to such configuration but since you are interested, just pointing it out :P

In Topic: HyperOverride Tool (BETA)

01 March 2012 - 08:18 AM

For HyperCache it seems you are just interested into moving the Cache folder somewhere else. It's a different problem and one that only requires to change the Cache path used by the game. There is no "overriding" aspect of files.

If you are on Windows Vista/7, you can just create a directory junction by deleting the cache folder and typing the following line at command prompt (while having administrator privileges):

mklink /j "C:\Program Files\Baldur's Gate\data\cache" "D:\SomewhereElse\cache"

(Obviously replacing the paths with the one matching your configuration)

It's also possible to do the same on Windows 2000/XP, but it's a little more complicated.

About "HyperData", I'm not sure of what you want. The Override folder is by itself already sort of an extension of the Data folder.
So if you just want to be able to launch the game while choosing a different Data folder according to the shortcut used, you could just let the Data folder empty (or filled with files common to all your different "Data setup", and use various HyperOverride folders as Data folders.

Note: HyperOverride was not optimized for such "HyperData" use, although it would work it might eventually make loading time slighly slower on slow hardward configuration.

In Topic: HyperOverride Tool (BETA)

29 February 2012 - 09:33 PM

Wah. This topic is back from the dead one year after :crazy:

Yes I've done it using IAT hooks on FindFirstFileA, FindNextFileA, FindClose, CreateFileA and GetAsyncKeyState(for the toggle).
Nothing is modified inside the original game code besides these few IAT entries.

Anyway for those interested, here the code. (Delphi/Pascal with Unicode)


This is the code for HOLoader:


Spoiler


This is the code for HyperOverdrive.dll:

Spoiler