Welcome to Sconce!
This repo is built for older versions of podman. Specifically the version available in debian bookworm. This repo will be updated to match up to date versions of podman once trixie is hailed into stable.
Tested to work with SE 1.205.
IF YOU RUN INTO ERRORS, SUBMIT AN ISSUE HERE FIRST AND THEN IF IT'S UNRESOLVED GO TO TORCH FOR HELP THEN KEEN FOR HELP
This is a container image to run Torch for space engineers. You can interact with it through a password protected VNC server or by editing the configs manually.
This was created by combining previous work done by very smart people, credits down below.
- Wine 9 (staging, esync compatible)
- Configurable parameters for the container (torch autostart, password config).
- Torch GUI over VNC (password configurable).
- No permission issues. The container has the same access as the running user. DO NOT RUN AS ROOT. Create specific user to isolate and rely on standard linux file permissions.
- remote API working
- podman
- podman-compose
- unzip
- wget
- Any VNC viewer
All configuration is done in the podman-compose.yml file.
- VNCPASSWORD=mypassword #handles the password for the VNC server #must be set
- WINEESYNC=1 #comment to disable ESYNC
- WINEPARAMS= #additional parameters passed AFTER wine command (wine $WINEPARAMS %command%)
- TORCHFLAGS=-autostart #torch flags for autostart or specific instance paths.
- either have or add a non sudo user to run sconce
- su to the user
- Clone this repo (
git clone https://github.com/geraveoyomama/sconce
) - change directory to sconce (
cd sconce
) - Run
./start
You can Ctrl-C break out of the start script after Torch is loaded, and it will continue running in the background. You can access the VNC server as well. It will place the server and instances into /torch-server/xxxxx. You can configure the server and instance after first run, but ideally ./stop it first.
To connect through VNC, point your client at $HOST:5900
and it
should prompt you for your password.
As well as the torch server, there is also a file manager instance that is launched alongside it, for your use to manage files.
- Run
./stop
This will kill and unload all docker processes. You shouldn't configure the server files from outside the Docker unless you have made sure all processes are stopped and unloaded from memory.
- This is designed for headless servers, nonetheless it will work on headed servers.
- Closing the Torch window restarts all processes in the container. The container does not need to reboot to apply changes to torch.
- Enter the container by running:
podman exec -it sconce /bin/bash
- If you want to change the entrypoint script, you need to rebuild the image. Once this has been done I request you make a merge request to add the functionality to the master sconce repo.
- To access the remote API add
<RemoteApiIP>your.IP.in.here</RemoteApiIP>
to yourspaceengineers-dedicated.cfg
, the port is 8080. - If the remote API port is already in use change the external 8080 port to an available port.