From f33be5b714b3655c778fcd7cbaeaa2a36d259d39 Mon Sep 17 00:00:00 2001 From: Synkstar <26175394+Synkstar@users.noreply.github.com> Date: Tue, 8 Jun 2021 13:44:36 -0400 Subject: [PATCH 1/2] NeosVr --- steamcmd_servers/neosvr/README.md | 12 ++++ .../neosvr/egg-neos-vr-headless-client.json | 59 +++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 steamcmd_servers/neosvr/README.md create mode 100644 steamcmd_servers/neosvr/egg-neos-vr-headless-client.json diff --git a/steamcmd_servers/neosvr/README.md b/steamcmd_servers/neosvr/README.md new file mode 100644 index 000000000..00324b57f --- /dev/null +++ b/steamcmd_servers/neosvr/README.md @@ -0,0 +1,12 @@ +# Neos vr headless client / server beta +## From https://neos.com +Developing Neos, short for neo spatium - new space, a highly collaborative virtual and augmented reality metaverse. + +# Notice + +To use this egg you will need a beta code and an alt steam account with steam guard disabled the account will also need to have neos vr in its library. You can do this by running app_license_request 740250 in steamcmd if you have never installed neos on this account +For more information related too configuration go here: https://wiki.neos.com/Headless_Client/Server + +This game does not require any port forwarding but instead uses udp whole punching on a random port. You can force a certain port in the config. I was using host networking so I didn't have any problems with this. + + diff --git a/steamcmd_servers/neosvr/egg-neos-vr-headless-client.json b/steamcmd_servers/neosvr/egg-neos-vr-headless-client.json new file mode 100644 index 000000000..35b9e0fd4 --- /dev/null +++ b/steamcmd_servers/neosvr/egg-neos-vr-headless-client.json @@ -0,0 +1,59 @@ +{ + "_comment": "Egg for neos vr headless client/server", + "meta": { + "version": "PTDL_v1", + "update_url": null + }, + "exported_at": "2021-06-08T09:15:41-04:00", + "name": "NeosVR Headless Client", + "author": "synk@nasulex.net", + "description": "Headless client for NeosVR.", + "features": null, + "images": [ + "nasulex\/neos:latest" + ], + "file_denylist": [], + "startup": ".\/RunHeadlessMono.sh", + "config": { + "files": "{}", + "startup": "{\r\n \"done\": \"World running...\",\r\n \"userInteraction\": []\r\n}", + "logs": "{}", + "stop": "^C" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/bash\r\n# steamcmd Base Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n# Image to install with is 'ubuntu:20.04'\r\napt -y update\r\napt -y --no-install-recommends install curl lib32gcc1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [ \"${STEAM_USER}\" == \"\" ]; then\r\n echo -e \"steam user is not set.\\n\"\r\n echo -e \"Using anonymous user.\\n\"\r\n STEAM_USER=anonymous\r\n STEAM_PASS=\"\"\r\n STEAM_AUTH=\"\"\r\nelse\r\n echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\nmkdir steamapps\r\n## install game using steamcmd\r\n.\/steamcmd.sh +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +force_install_dir \/mnt\/server +app_update 740250 -beta headless-client -betapassword ${BETA_CODE} ${EXTRA_FLAGS} validate +quit \r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so", + "container": "debian:buster-slim", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "BetaCode", + "description": "", + "env_variable": "BETA_CODE", + "default_value": "", + "user_viewable": true, + "user_editable": false, + "rules": "required|string|max:30" + }, + { + "name": "Steam User", + "description": "", + "env_variable": "STEAM_USER", + "default_value": "anonymous", + "user_viewable": false, + "user_editable": false, + "rules": "required|string|max:30" + }, + { + "name": "Steam password", + "description": "", + "env_variable": "STEAM_PASS", + "default_value": "", + "user_viewable": false, + "user_editable": false, + "rules": "string|max:100" + } + ] +} From c258073ea863a5a2d63a73a6ad3ee0b5b6278693 Mon Sep 17 00:00:00 2001 From: Synkstar Date: Tue, 8 Jun 2021 13:46:45 -0400 Subject: [PATCH 2/2] Update README.md --- steamcmd_servers/neosvr/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steamcmd_servers/neosvr/README.md b/steamcmd_servers/neosvr/README.md index 00324b57f..364901e46 100644 --- a/steamcmd_servers/neosvr/README.md +++ b/steamcmd_servers/neosvr/README.md @@ -4,7 +4,7 @@ Developing Neos, short for neo spatium - new space, a highly collaborative virtu # Notice -To use this egg you will need a beta code and an alt steam account with steam guard disabled the account will also need to have neos vr in its library. You can do this by running app_license_request 740250 in steamcmd if you have never installed neos on this account +To use this egg you will need a beta code and an alt steam account with steam guard disabled. The account will also need to have neos vr in its library. You can do this by running app_license_request 740250 in steamcmd if you have never installed neos on this account For more information related too configuration go here: https://wiki.neos.com/Headless_Client/Server This game does not require any port forwarding but instead uses udp whole punching on a random port. You can force a certain port in the config. I was using host networking so I didn't have any problems with this.