annoying but could be worse. its just "unlocked_<filename>_h<unity playerprefs hash>", set to 1 (true).
i used this simple script, thankfully someone on stack overflow had an example in c# for how the unity playerprefs hash is calculated.
just need to run the script in a folder with the asset rip. assetripper keeps the filenames, so its just extract assets and run the script, then add the registry header and path in a text editor.
Python:
import pathlib
# Returns the string property name Unity would generate for a player prefs registry key value
# e.g., "PlayerGold" -> "PlayerGold_hXXXXXXXXXXXXXX"
def playerprefs_key(name: str):
hash = 5381;
for c in name:
hash = (hash * 33 ^ ord(c)) & ((1<<32)-1);
key = name + "_h" + str(hash);
return key;
for file in pathlib.Path(".").iterdir():
if not file.is_file():
continue
print('"' + playerprefs_key("unlocked_" + file.stem) + '"=dword:00000001')