{"id":16933200,"url":"https://github.com/bbc2/space-linux","last_synced_at":"2025-03-21T03:42:55.202Z","repository":{"id":185707563,"uuid":"673952685","full_name":"bbc2/space-linux","owner":"bbc2","description":"Experiment with Space Engineers in Wine","archived":false,"fork":false,"pushed_at":"2023-08-03T20:50:04.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T00:23:41.267Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbc2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-02T19:54:40.000Z","updated_at":"2023-08-02T21:27:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d3acbd2-810d-4614-a0b5-0c00c03c15bf","html_url":"https://github.com/bbc2/space-linux","commit_stats":null,"previous_names":["bbc2/space-linux"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbc2%2Fspace-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbc2%2Fspace-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbc2%2Fspace-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbc2%2Fspace-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbc2","download_url":"https://codeload.github.com/bbc2/space-linux/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244734095,"owners_count":20501014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T20:48:55.128Z","updated_at":"2025-03-21T03:42:55.162Z","avatar_url":"https://github.com/bbc2.png","language":"Shell","readme":"# Space Engineers server on Linux (actually with Wine in a Docker container)\n\nThis is yet another experiment to run Space Engineers on Linux. It kind of works but\nperformance is not very good, especially during autosaving.\n\n## Features\n\n- The container image built by Docker Compose is self-contained except for the three\n  mounted directories (see instructions below).\n- The Torch Server GUI is displayed locally by Xpra over SSH (no need for VNC, remote\n  desktop or X forwarding).\n\n## Runtime Requirements\n\n- Ability to run container images (e.g. Podman or Docker).\n- Enough storage space for the container image (about 5 GiB) and the data directory (about\n  6 GiB).\n\n## Usage\n\nBuild the container image with Docker Compose:\n\n```sh\nmake build\n```\n\nExport and upload the image to the host that will run it. Then create the directories to\nbe mounted:\n\n```sh\nmkdir --parents /path/to/data/{ssh_admin,ssh_etc,torch}\n```\n\nIn `/path/to/data/ssh_admin`, create an `authorized_keys` file with the SSH public keys\nyou want to accept for the authentication of administrators.\n\nCreate a container with the following parameters:\n\n- Mounted directories:\n  - `/path/to/data/torch` to `/home/admin/torch`\n  - `/path/to/data/ssh_etc` to `/etc/ssh`\n  - `/path/to/data/ssh_admin` to `/home/admin/.ssh`\n- Published ports:\n  - TCP 22 for SSH (and the Torch Server GUI via Xpra).\n  - UDP 27016 for the game server.\n\nMake sure those ports are not blocked by the host's firewall.\n\nConnect to the container with SSH or Xpra:\n\n```sh\nSL_REMOTE_HOST=foo.example.net make connect-remote-xpra\n```\n\nNote that this Makefile target is only an example. Feel free to modify the actual\nconnection command. For example, you may need to adjust the SSH command with `--ssh`.\n\nThe Torch Server can crash for many reasons, for example if you start the server without a\nworld. In such a case, the server will restart automatically and you'll have to try again\nwith a different configuration.\n\n## Acknowledgments\n\nI got ideas from the following:\n\n- https://github.com/soyasoya5/se-torchapi-linux\n- https://github.com/mmmaxwwwell/wine6\n- https://github.com/TorchAPI/Torch/issues/514\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbc2%2Fspace-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbc2%2Fspace-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbc2%2Fspace-linux/lists"}