# css-ze webclient to play on unloze with: https://webclient.unloze.com/ ## the entire code base of Dockerfile, html, python, json, sh and js is AI Code with almost no human edits being made. # notes ### uses gstreamer, xvfb, a signaling server, html, docker and cloudflare serverless SFU. docker rm css-test docker build -t css-client . ## pre installment step for signaling-server cd ~/webclient_css_ze/streaming-agent && npm install ## first run ./start-signaling.sh ## second run docker run -d --name css-test -e SIG_URL=ws://172.17.0.1:3000 -e CF_APP_ID= -e CF_APP_TOKEN= -e CAP_FPS=60 -e CAP_W=800 -e CAP_H=600 --cpus="8.0" -v /home/gameservers/css_ze/cstrike/maps:/home/ubuntu/Counter-Strike\ Source/cstrike/maps:ro -v /home/gameservers/css_ze/cstrike/materials:/home/ubuntu/Counter-Strike\ Source/cstrike/materials:ro -v /home/gameservers/css_ze/cstrike/models:/home/ubuntu/Counter-Strike\ Source/cstrike/models:ro -v /home/gameservers/css_ze/cstrike/sound:/home/ubuntu/Counter-Strike\ Source/cstrike/sound:ro css-client ## docker logs -f css-test ## pkill -f signaling-server.js ## pgrep -f signaling-server.js ## to change screen resolution: ### autoexec.cfg -> mat_setvideomode 800 600 0 ### start.sh -> Xvfb :99 -screen 0 800x600x24 & ## the nosteam.zip is 4.7GB and the wine_user_folder.zip is 420MB, they are not intended to be uploaded to git generally. ## the wine_user_folder.zip is just the generic .wine folder that would be created. the nosteam.zip is the Counter Strike Source folder for nosteam when using 7launcher. ## However both are uploaded to the unloze fastdownload over at: https://uk-fastdl.unloze.com/css_ze/webclient_zips/ ## of course if you view this repository 7-10 years later in the future theres a good chance the url is probably not working any longer.