narzoul / DDrawCompat

DirectDraw and Direct3D 1-7 compatibility, performance and visual enhancements for Windows Vista, 7, 8, 10 and 11
BSD Zero Clause License
941 stars 70 forks source link

0.4 config settings #146

Closed Volcanotron closed 10 months ago

Volcanotron commented 2 years ago

with this new update to ddrawcompat the new config settings don't seem to be load correctly for Rogue Spear you mention it should be loading from %localappdata or programdata% but after some looking around for RS it dumps its files into another location and says it cant load its settings. C:\Users\NAME\AppData\Local\VirtualStore\Program Files (x86)\Red Storm Entertainment\Rogue Spear

i did try to manually make those locations but it didn't seem to do anything still

we try to make all folks who play r6/rs to install it to the C: drive so it should be dumping those files into C:\Program Files (x86)\Red Storm Entertainment\Rogue Spear

registry location Computer\HKEY_USERS\S-1-5-21-221065903-726844514-363796904-1001\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\Red Storm Entertainment\Rogue Spear

i can use the overlay ingame which is very cool and great job for making that a thing. DDrawCompat-RogueSpear.log

Screenshot 2022-09-28 114419 Screenshot 2022-09-28 114435

narzoul commented 2 years ago

I guess I wasn't clear about this in the wiki (I'll update it later), but config files aren't created automatically, you have to create them manually yourself. The only exception is the overlay config file, which is created when you press the Export button in the overlay. I guess that file will get redirected to VirtualStore in this case, unless you're running the game with admin privileges ("Run as Administrator"). But you shouldn't edit that file anyway.

The rest of the config files should be created exactly at the locations shown in the log file. You don't have to create all of them, just the ones you want to use. I think none of them need to be created in VirtualStore, since they're never written to by the application.

ghost commented 1 year ago

would be cool if you add to the zip file a default configuration

narzoul commented 10 months ago

I didn't want to add any more files to the release, but now you can get it from the Tools directory in the source code: https://github.com/narzoul/DDrawCompat/blob/master/Tools/DDrawCompat.ini