Can I use a pre-existing world with Valheim Marketplace App?
Is it possible to set this server up to use a pre-existing world, or will it only create a new one? If it is possible how would I tell the server which world to use?
3 Replies
The below instructions are specific to Windows users, but the steps are applicable to other operating systems as well.
Locate the database files on the current host machine by navigating to your Windows Users folder:
C:\Users\YOURNAME\AppData\LocalLow\IronGate\Valheim\worlds
Put the
.db
,.db.old
,.fwl
, and.fwl.old
files into the/home/vhserver/.config/unity3d/IronGate/Valheim/worlds
on your Marketplace Valheim server.Transfer the files from this folder to the same folder on your Linode using ftp or scp.
Then you'll want to also edit your
/home/vhserver/lgsm/config-lgsm/vhserver/vhserver.cfg
file so that thegameworld=
matches the name of your gameworld. In the below example, a database file namedterra.db
was transfered to the Linode.
# Minimum password length is 5.
serverpassword="PasswordHere"
port="2456"
gameworld="Terra"
public="1"
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="-name '${servername}' -password ${serverpassword} -port ${port} -world ${gameworld} -public ${public}"
@rdaniels I cannot for the life of me figure this out.
When you edit /home/user/lgsm/config-lgsm/vhserver/vhserver.cfg the files tells you to edit common.cfg as any change you make will be overwritten.
So I've followed the instructions, scp'ed and extracted my save game to /home/user/.config/unity3d/IronGate/Valheim/worlds
So far nothing works, the same save works on all my linux machines but my linode refuses to load said save, and always puts me in a blank world.
Any help would be appreciated
@rdaniels I also tried that walkthrough without any luck. In my case after I make the updates and reboot my server I can no longer connect to it through Valheim on my gaming pc. It always fails to connect. I both tried changing the name in the config file mentioned and even changing my database files to match what was previously there. Neither seem to allow me to connect.