cheahjs / palworld-save-tools

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

After dragging Level.sav into convert single sav to json.bat, a prompt of Y/N appears. After pressing Y, any key is pressed to exit, and the json file does not appear in the directory #26

Closed CWhedgehog closed 7 months ago

CWhedgehog commented 7 months ago

After dragging Level.sav into convert single sav to json.bat, a prompt of Y/N appears. After pressing Y, any key is pressed to exit, and the json file does not appear in the directory

poudigne commented 7 months ago

@CWhedgehog the file will appear in the directory of the .sav file, not where the .bat file that executed the conversion.

MkNan142 commented 7 months ago

Same problem palworld save

KinoshitaRina commented 7 months ago

same

Iracy commented 7 months ago

Yeah, same issue here.

E7Ago6b

cheahjs commented 7 months ago

@Iracy you need to install Python.

@MkNan142 just checking, do you have Python 3 installed? Your screenshot is missing the python version print that I would expect (but also missing the python shim asking you to download from the Windows Store)

szy114514 commented 7 months ago

Same problem and solved by running the python script in powershell without cmd. like: python convert-single-sav-to-json.py "uesave/uesave.exe" "Level.sav"

Nipaoni commented 7 months ago

Same Issue.

Intalled Python 3.12.1 at https://www.python.org/downloads

I followed what was written in https://github.com/EternalWraith/PalEdit?tab=readme-ov-file. Level.sav doesn't convert to json.

Don't know related, I'm not an English user.

Nipaoni commented 7 months ago

Same Issue.

Intalled Python 3.12.1 at https://www.python.org/downloads

I followed what was written in https://github.com/EternalWraith/PalEdit?tab=readme-ov-file. Level.sav doesn't convert to json.

Don't know related, I'm not an English user.

Solved

https://github.com/cheahjs/palworld-save-tools/issues/21#issuecomment-1911474897

MkNan142 commented 7 months ago

@MkNan142 just checking, do you have Python 3 installed? Your screenshot is missing the python version print that I would expect (but also missing the python shim asking you to download from the Windows Store)

I found my problem,When I manually executed python3, I was prompted to update to version 3.12 from the Windows Store. After installing 3.12, it worked fine.

Iracy commented 7 months ago

@Iracy you need to install Python.

@MkNan142 just checking, do you have Python 3 installed? Your screenshot is missing the python version print that I would expect (but also missing the python shim asking you to download from the Windows Store)

Yeah no, I have Python installed. Did #21, this fixed it for me. I've got 3.10.9 installed so I simply changed it from python3 to python310

Rotnam commented 7 months ago

In Windows , Search for Manage App Execution Aliases and disable python/python3, it will make the regular python working.