update stormworks

Change to using the debian_wine-5 image
Change to use a start command and not a start script.
This commit is contained in:
parkervcp 2020-10-26 23:11:00 -04:00
parent a4a7b68b9e
commit 45472c3830
No known key found for this signature in database
GPG Key ID: 66E17EA0450C8F6E

View File

@ -3,12 +3,12 @@
"meta": { "meta": {
"version": "PTDL_v1" "version": "PTDL_v1"
}, },
"exported_at": "2020-07-02T11:10:34-07:00", "exported_at": "2020-10-27T03:09:48+00:00",
"name": "Stormworks: Build and Rescue", "name": "Stormworks: Build and Rescue",
"author": "iamkubi@gmail.com", "author": "iamkubi@gmail.com",
"description": "Join a world where you design, create and pilot your own air sea rescue service. Release your inner hero as you battle fierce storms out at sea to rescue those in need.", "description": "Join a world where you design, create and pilot your own air sea rescue service. Release your inner hero as you battle fierce storms out at sea to rescue those in need.",
"image": "quay.io\/parkervcp\/pterodactyl-images:ubuntu_wine-xvfb", "image": "quay.io\/parkervcp\/pterodactyl-images:debian_wine-5",
"startup": ".\/start.sh", "startup": "xvfb-run wine server.exe +server_dir \/home\/container",
"config": { "config": {
"files": "{}", "files": "{}",
"startup": "{\r\n \"done\": \"Server: ready to spawn for peer\"\r\n}", "startup": "{\r\n \"done\": \"Server: ready to spawn for peer\"\r\n}",
@ -17,7 +17,7 @@
}, },
"scripts": { "scripts": {
"installation": { "installation": {
"script": "#!\/bin\/bash\r\n# Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napt update\r\napt -y --no-install-recommends install curl unzip libstdc++6 lib32gcc1 ca-certificates xvfb screen\r\ncd \/tmp\r\ncurl -sSL -o steamcmd.tar.gz http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz\r\nmkdir -p \/mnt\/server\/steam\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steam\r\ncd \/mnt\/server\/steam\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n.\/steamcmd.sh +login anonymous +@sSteamCmdForcePlatformType windows +force_install_dir \/mnt\/server +app_update ${APPID} validate +quit\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v \/mnt\/server\/steam\/linux32\/steamclient.so \/mnt\/server\/.steam\/sdk32\/steamclient.so\r\n\r\necho \"#!\/bin\/sh\r\nexport WINEARCH=win32\r\nexport WINEPREFIX=\/home\/container\/swwine\r\nxvfb-run wine server.exe +server_dir \/home\/container\" > \/mnt\/server\/start.sh\r\nchmod +x \/mnt\/server\/start.sh", "script": "#!\/bin\/bash\r\n# Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napt update\r\napt -y --no-install-recommends install curl unzip libstdc++6 lib32gcc1 ca-certificates xvfb screen\r\ncd \/tmp\r\ncurl -sSL -o steamcmd.tar.gz http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz\r\nmkdir -p \/mnt\/server\/steam\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steam\r\ncd \/mnt\/server\/steam\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n.\/steamcmd.sh +login anonymous +@sSteamCmdForcePlatformType windows +force_install_dir \/mnt\/server +app_update ${APPID} validate +quit\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v \/mnt\/server\/steam\/linux32\/steamclient.so \/mnt\/server\/.steam\/sdk32\/steamclient.so",
"container": "debian:buster-slim", "container": "debian:buster-slim",
"entrypoint": "bash" "entrypoint": "bash"
} }
@ -28,8 +28,8 @@
"description": "Steam App ID", "description": "Steam App ID",
"env_variable": "APPID", "env_variable": "APPID",
"default_value": "1247090", "default_value": "1247090",
"user_viewable": 0, "user_viewable": false,
"user_editable": 0, "user_editable": false,
"rules": "required|string|max:20" "rules": "required|string|max:20"
} }
] ]