cheahjs / palworld-save-tools

Tools for converting Palworld .sav files to JSON and back
MIT License
795 stars 71 forks source link

Permission Denied #18

Closed FredDan05 closed 8 months ago

FredDan05 commented 9 months ago

Im trying to convert a player save file to json. It works initially but at a certain stage it says permission denied.

thomas-steinthal commented 9 months ago

same

cheahjs commented 9 months ago

Do you have a screenshot of what it says?

echarles503 commented 9 months ago

Converting C:\Users\x\Downloads\palworld-save-tools-windows-v0.7.1\76561198056328245 to JSON (using C:\Users\x\Downloads\palworld-save-tools-windows-v0.7.1\uesave\uesave.exe) Traceback (most recent call last): File "C:\Users\x\Downloads\palworld-save-tools-windows-v0.7.1\convert-single-sav-to-json.py", line 40, in main() File "C:\Users\x\Downloads\palworld-save-tools-windows-v0.7.1\convert-single-sav-to-json.py", line 27, in main json_blob = convert_to_json(uesave_path, save_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\x\Downloads\palworld-save-tools-windows-v0.7.1\lib\palsav.py", line 22, in convert_to_json with open(save_path, "rb") as f: ^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: 'C:\Users\x\Downloads\palworld-save-tools-windows-v0.7.1\76561198056328245'

echarles503 commented 9 months ago

Fix: Drop the .sav file instead of the folder