Windows/Linux/面板
关于幻兽帕鲁存档转移的方法:
进入服务端文件夹,按照一下路径找到这两个文件夹,压缩下载备份。
按前置操作保存好文档后,在新的vps机器安装steam,然后找到图上的服务端,
下载安装,安装后启动,选择第一个,启动后关闭刚才打开的窗口。
关闭后点击右键,管理,浏览本地文件。
打开文件夹后,进入PalServer\Pal\Saved
,删除config文件夹与savedgames文件夹
,解压您的存档到这个文件夹,然后进入config文件夹,将LinuxServer,改为WindowsServer,然后启动服务端即可。
一定要在steam开启这个服务端
由于Windows环境下在steamCMD下载的的服务端与在steam客户端下载的服务端steamAPPID不一致,需要转一次id。
按前置操作保存好文档后,在新的vps机器安装steam,然后找到图上的服务端,
下载安装,安装后启动,选择第一个,启动后关闭刚才打开的窗口。
关闭后点击右键,管理,浏览本地文件。
打开文件夹后,进入PalServer\Pal\Saved
,删除config文件夹与savedgames文件夹
,解压您的存档到这个文件夹,然后再按上面步骤启动steam幻兽服务端。
启动之后关闭。再次点击右键,管理,浏览本地文件,找到刚刚存放文档的地方,压缩。
进入面板后,上传刚才的压缩包,解压,文件夹名字随意,解压后进入刚才的文件夹,剪切移动到上个存档的文件夹,然后进入config文件夹,将WindowsServer,改为LinuxServer,然后启动实例即可
操作步骤:
对于本地/合作模式存档迁移到服务器:
链接:
Nul 的脚本:GitHub - xNul/palworld-host-save-fix: Palworld save files treat the host differently. This fix makes the host like any other player. Useful for migrating maps to dedicated servers and potentially to another player's computer. 36
UESave 扩展:GitHub - trumank/uesave-rs: Rust library to read and write Unreal Engine save files 12
Python 下载:Download Python | Python.org 18
额外选项,如果你想手动将文件从 sav 转换为 json 反之亦然,这些脚本可以帮助你。
gist.github.com
These are Python scripts that are used in conjunction with https://github.com/trumank/uesave-rs to convert PalWorld .sav files into JSON files.
## NOTE THAT A LOT OF DATA IS STILL STORED AS BINARY INSIDE OF THE FILES, NOT EVERYTHING IS EASILY EDITABLE IN THE JSON!
## Converting Co-op to Dedicated Server saves:
Go over to https://github.com/xNul/palworld-host-save-fix
## Windows Instructions
This file has been truncated. show original
@ECHO OFF
@REM Check if python is installed, error if not
python --version 2>NUL
IF %ERRORLEVEL% NEQ 0 (
ECHO Python is not installed. Please install python and try again.
PAUSE
EXIT /B 1
)
This file has been truncated. show original
#!/usr/bin/env python3
import subprocess
import sys
import glob
import zlib
UESAVE_TYPE_MAPS = [
".worldSaveData.CharacterSaveParameterMap.Key=Struct",
".worldSaveData.FoliageGridSaveDataMap.Key=Struct",
This file has been truncated. show original
There are more than three files. show original
https://gist.github.com/Toakan/3 3 … erver-community-faq
另一种选择:https://www.reddit.com/r/Palworl 11 … ile_incl/?rdt=55658