mirror of
https://github.com/LTTLabsOSS/markbench-tests.git
synced 2026-01-09 14:07:56 -05:00
added location for files to open
This commit is contained in:
@@ -37,8 +37,8 @@ LOCAL_USER_SETTINGS = os.path.join(
|
|||||||
"Saved", "Config", "WindowsNoEditor", "GameUserSettings.ini"
|
"Saved", "Config", "WindowsNoEditor", "GameUserSettings.ini"
|
||||||
)
|
)
|
||||||
VIDEO_PATH = os.path.join(get_steamapps_common_path(), "Horizon Zero Dawn Remastered", "Movies", "Mono")
|
VIDEO_PATH = os.path.join(get_steamapps_common_path(), "Horizon Zero Dawn Remastered", "Movies", "Mono")
|
||||||
input_file = 'input.reg'
|
input_file = os.path.join(SCRIPT_DIRECTORY, 'input.reg')
|
||||||
config_file = 'config_registry.txt'
|
config_file = os.path.join(SCRIPT_DIRECTORY, 'config_registry.txt')
|
||||||
hive = winreg.HKEY_CURRENT_USER
|
hive = winreg.HKEY_CURRENT_USER
|
||||||
subkey = r"SOFTWARE\Guerilla Games\Horizon Zero Dawn Remastered\Graphics"
|
subkey = r"SOFTWARE\Guerilla Games\Horizon Zero Dawn Remastered\Graphics"
|
||||||
|
|
||||||
|
|||||||
@@ -4,11 +4,6 @@ import re
|
|||||||
import winreg
|
import winreg
|
||||||
|
|
||||||
|
|
||||||
input_file = 'input.reg'
|
|
||||||
config_file = 'config_registry.txt'
|
|
||||||
hive = winreg.HKEY_CURRENT_USER
|
|
||||||
subkey = r"SOFTWARE\Guerilla Games\Horizon Zero Dawn Remastered\Graphics"
|
|
||||||
|
|
||||||
def export_registry_key(hive, subkey, input_file):
|
def export_registry_key(hive, subkey, input_file):
|
||||||
try:
|
try:
|
||||||
with winreg.OpenKey(hive,subkey) as reg_key:
|
with winreg.OpenKey(hive,subkey) as reg_key:
|
||||||
|
|||||||
Reference in New Issue
Block a user