Devidian / docker-spaceengineers

A Docker for Space Engineers Dedicated Server
87 stars 21 forks source link

Path and Directories appear to be incorrect #48

Closed aedan closed 3 months ago

aedan commented 1 year ago

Hello,

It appears that the game may have changed where it keeps it's data. Or I am just a noob. Would you be able to provide me with updated instructions on how to setup a server please?

Thanks,

Jake

Devidian commented 1 year ago

Hi there, it might help if you provide us some information how you currently start your server.

In general you have to do these steps:

  1. Start dedicated server on a desktop and create an instance.
  2. Copy instance directory to your servers data location
  3. Start the docker image with the correct data location

Best regards

aedan commented 1 year ago

The problem I am seeing is that there is no instance directory on the desktop. If I look in appdata SpaceEngineersDedicated directory. There is no instances directory only a saves directory. Inside that directory there are the instances not the directory just the name of the instance I created. I tried to copy that into the instances folder on the container, but it did not like that. So I m wondering if perhaps I am creating the instance incorrectly. Or if the game has changed it's structure. If you have any docs I can follow that re a little more detailed. That would be greatly appreciated. I am sorry for all the noob questions. I just learned about this game and I think it is amazing. So I just want to setup a server to enjoy with the family.

draconb commented 1 year ago

If you use the instances (launching dedicated server as admin) it puts them in %ProgramData%\SpaceEngineersDedicated (usually C:\ProgramData\SpaceEngineersDedicated) instead of your localappdata

ethanjevvell commented 1 year ago

Hi @Devidian, I'm having a similar issue as the author of this issue. I followed @draconb's comment about looking in %ProgramData%/SpaceEngineersDedicated/<my world> but I do not see the plugins, instances, or steamcmd directories. Here's what I see:

/my world
   /cache
   /content
   /downloads
   /Mods
   /Saves
   /Storage
   /temp
   /Updates
( and some misc. config files)

Context on my setup:

  1. Started my world as a local world (Windows machine)
  2. Moved that to the dedicated server tool and created a new instance (ran as admin)
  3. Examined the contents of the directory at %ProgramData%/SpaceEngineersDedicated/<my world>

Since I cannot find the plugins, instances, or steamcmd directories, I'm not sure how to proceed with setting up the Docker container. The target machine will be a Linux machine running Mint, in case that makes a difference.

Please let me know if there's any more info I can provide to get back on track!

draconb commented 1 year ago

@ethanjevvell You'll want to place the "My World" folder into the instances folder

steamcmd, plugins and instances are ones that will be created on your linux host box and won't exist until you spin up the docker image, or manually create them first. So you can spin it up and let it create them, then stop it and copy the files over to those folders.