xNul / palworld-host-save-fix

Fixes the bug which forces a player to create a new character when they already have a save. Useful for migrating maps from co-op to dedicated servers and from one dedicated server to another.
MIT License
887 stars 69 forks source link

Cant make the script run #77

Closed ShadyGame closed 7 months ago

ShadyGame commented 7 months ago
 python fix-host-save.py "C:\Program Files\uesave\bin\uesave.exe" "C:\Users\xxx\Desktop\berry\new\SaveGames\0\7DFA7C295A0D4CDAB069555F454CB872" 3E30CBC1000000000000000000000000 161E40A4000000000000000000000000
  File "C:\Users\Lil_G\fix-host-save.py", line 103
    <title>palworld-host-save-fix/fix-host-save.py at main · xNul/palworld-host-save-fix · GitHub</title>
                                                           ^
SyntaxError: invalid character '·' (U+00B7)

before that i had to put the file fix-host-save.py in my user folder, i didnt even see the file mentioned in the tutorial.

before that i was getting this

python fix-host-save.py "C:\Program Files\uesave\bin\uesave.exe" "C:\Users\xxx\Desktop\berry\new\SaveGames\0\7DFA7C295A0D4CDAB069555F454CB872" 3E30CBC1000000000000000000000000 161E40A4000000000000000000000000
C:\Users\xxx\AppData\Local\Programs\Python\Python312\python.exe: can't open file 'C:\\Users\\Lil_G\\fix-host-save.py': [Errno 2] No such file or directory
Lynxaa commented 7 months ago

Did you download the script by saving the web page?

Go back to the repository home page (https://github.com/xNul/palworld-host-save-fix) and click the green code button in the top right and select "Download ZIP"

ShadyGame commented 7 months ago

yeh did did that, thanks it worked :)

Contempte commented 7 months ago

Did you download the script by saving the web page?

Go back to the repository home page (https://github.com/xNul/palworld-host-save-fix) and click the green code button in the top right and select "Download ZIP"

Hello @Lynxaa , I had the same issue but I have already downloaded the zip file and extracted. Still receiving the same error as ShadyGame was. image

ShadyGame commented 7 months ago

You have to put the file fix-host-save in that directory c:/windows/system32

Atleast for me it worked

Lynxaa commented 7 months ago

You aren't in the correct directory.

If you're on Windows 11, in the folder where you've extracted the repository, right click and select "Open in Terminal" and then run the script as you normally would.

I don't remember if Windows 10 has the option to open a terminal in the current folder, if not, you can simply use the 'cd' command to navigate to the directory, if the download is on a different drive, simply enter that letter, i.e., H: and then use 'cd'

Contempte commented 7 months ago

I'm in Windows 11 and opened it in the terminal. Did not receive any error message this time but the file did not update either. Also tried the method ShadyGame mentioned and same results. image

You aren't in the correct directory.

If you're on Windows 11, in the folder where you've extracted the repository, right click and select "Open in Terminal" and then run the script as you normally would.

I don't remember if Windows 10 has the option to open a terminal in the current folder, if not, you can simply use the 'cd' command to navigate to the directory, if the download is on a different drive, simply enter that letter, i.e., H: and then use 'cd'

Lynxaa commented 7 months ago

You missed a space between the uesave.exe and your save folder path.

image

xNul commented 7 months ago

I'm closing this issue because it seems that all problems are resolved.