chore: what the fuck
This commit is contained in:
8
games/ys/settings_dumper.py
Normal file
8
games/ys/settings_dumper.py
Normal file
@ -0,0 +1,8 @@
|
||||
import json
|
||||
import win32api
|
||||
import win32con
|
||||
|
||||
ys_hkey = win32api.RegOpenKeyEx(win32con.HKEY_CURRENT_USER, "Software\\miHoYo\\Genshin Impact", 0, win32con.KEY_ALL_ACCESS)
|
||||
data_bytes = win32api.RegQueryValueEx(ys_hkey, "GENERAL_DATA_h2389025596")[0]
|
||||
data = json.loads(data_bytes[:-1])
|
||||
print(data)
|
||||
Reference in New Issue
Block a user