From 40d801af1a37f182b31821c3b3742011ec7f9002 Mon Sep 17 00:00:00 2001 From: jenz Date: Sun, 16 Jan 2022 00:21:22 +0100 Subject: [PATCH] removed trigger hooking entirely --- AutismBotIngame/README.md | 95 ++++++++++++++++++++++----------------- 1 file changed, 55 insertions(+), 40 deletions(-) diff --git a/AutismBotIngame/README.md b/AutismBotIngame/README.md index 121898bb..32172e48 100644 --- a/AutismBotIngame/README.md +++ b/AutismBotIngame/README.md @@ -1,64 +1,79 @@ # requirements -dpkg --add-architecture i386 + dpkg --add-architecture i386 -apt-update + apt-update -apt install steam + apt install steam -apt-get install mesa-utils + apt-get install mesa-utils -apt install mesa-vulkan-drivers libglx-mesa0:i386 mesa-vulkan-drivers:i386 libgl1-mesa-dri:i386 libxtst6:i386 libpipewire-0.3-dev libbz2-dev + apt install mesa-vulkan-drivers libglx-mesa0:i386 mesa-vulkan-drivers:i386 libgl1-mesa-dri:i386 libxtst6:i386 libpipewire-0.3-dev libbz2-dev -#intel specific: + #intel specific: -apt-get remove xserver-xorg-video-intel + apt-get remove xserver-xorg-video-intel -#fonts + #fonts -dpkg-reconfigure locales + dpkg-reconfigure locales -en_US.UTF 8 + en_US.UTF 8 -apt install libgtk2.0-0:i386 + apt install libgtk2.0-0:i386 -#debian + #debian -hostname unloze.com + hostname unloze.com -x2go or nomachine or VNC client/server setup
-steam account with css purchased -# launch commands + x2go or nomachine or VNC client/server setup
+ steam account with css purchased + # launch commands -cd /home/gameservers/.steam/debian-installation/
-./steam.sh -applaunch 240 -textmode -textmessagedebug -novid -nosound -noipx -nojoy -noshaderapi
+ cd /home/gameservers/.steam/debian-installation/
+ ./steam.sh -applaunch 240 -textmode -textmessagedebug -novid -nosound -noipx -nojoy -noshaderapi
-/home/gameservers/.steam/debian-installation/steamapps/common/Counter-Strike Source/cstrike/cfg/autoexec.cfg:
-alias loop "exec looptest.cfg; wait 5; loop;"; wait 5; loop;
-(textmode is no video output)
+ /home/gameservers/.steam/debian-installation/steamapps/common/Counter-Strike Source/cstrike/cfg/autoexec.cfg:
+ alias loop "exec looptest.cfg; wait 5; loop;"; wait 5; loop;
+ (textmode is no video output)
-# do this before signing in to steam using VNC/x2go clients that are connected to VNC/x2go servers running virtual desktops -use "glxinfo" with VNC or x2go client terminal to get information about ID's, for example 0x0e5.
Running glxinfo on normal ssh terminals wont be usefull
-export SDL_VIDEO_X11_VISUALID=0x074
-exporting correct SDL_VIDEO_X11_VISUALID value is important before steam login for starting games correctly
-instead of automating the steam login its done manually due to requiring x2go/VNC/nomachine clients. -
With the virtual desktop related to the VNC/x2go/nomachine client you can log into steam using the normal GUI ->
-once logged in steam can run actively for months without requiring restarts + # do this before signing in to steam using VNC/x2go clients that are connected to VNC/x2go servers running virtual desktops + use "glxinfo" with VNC or x2go client terminal to get information about ID's, for example 0x0e5.
Running glxinfo on normal ssh terminals wont be usefull
+ export SDL_VIDEO_X11_VISUALID=0x074
+ exporting correct SDL_VIDEO_X11_VISUALID value is important before steam login for starting games correctly
+ instead of automating the steam login its done manually due to requiring x2go/VNC/nomachine clients. +
With the virtual desktop related to the VNC/x2go/nomachine client you can log into steam using the normal GUI ->
+ once logged in steam can run actively for months without requiring restarts -## bashrc for x2go users -in the users thats running a x2go session edit the .bashrc file and add the follwing (remember SDL_VIDEO_X11_VISUALID deppends on glxinfo from xterm terminal): + ## bashrc for x2go users + in the users thats running a x2go session edit the .bashrc file and add the follwing (remember SDL_VIDEO_X11_VISUALID deppends on glxinfo from xterm terminal): -if [[ $DISPLAY ]]; then - echo 'SDL_VIDEO_X11_VISUALID: ' $SDL_VIDEO_X11_VISUALID - export SDL_VIDEO_X11_VISUALID=0x205 - echo 'SDL_VIDEO_X11_VISUALID: ' $SDL_VIDEO_X11_VISUALID - steam -no-browser -console #should reduce ram usage -fi + if [[ $DISPLAY ]]; then + echo 'SDL_VIDEO_X11_VISUALID: ' $SDL_VIDEO_X11_VISUALID + export SDL_VIDEO_X11_VISUALID=0x205 + echo 'SDL_VIDEO_X11_VISUALID: ' $SDL_VIDEO_X11_VISUALID + #native libraries tried instead of runtime libraries for not crashing i suppose, no-browser -console should also save RAM usage + #STEAM_RUNTIME=0 steam no-browser -console + steam no-browser -console + fi -##steam settings -> library -> low bandwith mode and low performance mode + ##steam settings -> library -> low bandwith mode and low performance mode -#X2GO_NXAGENT_DEFAULT_OPTIONS="-options nx/nx,sleep=0" /etc/x2go/x2goagent.options + #X2GO_NXAGENT_DEFAULT_OPTIONS="-options nx/nx,sleep=0" /etc/x2go/x2goagent.options -#keeps session as R instead of S which is needed for interaction with graphical components such as steam and CS:S + #keeps session as R instead of S which is needed for interaction with graphical components such as steam and CS:S -ovh: 0x205, 0x209 + ovh: 0x205, 0x209 + + #if running steam native libraries instead of runtime libraries one might require following apt install for making libpipewire work + #specifically on debian steam + apt install pipewire:i386 + apt-get install libbz2-1.0:i386 + + #further steam native libraries specifically for debian + apt-get install libxtst6:i386 libxrandr2:i386 libglib2.0-0:i386 libgtk2.0-0:i386 libpulse0:i386 libgdk-pixbuf2.0-0:i386 libcurl4-openssl-dev:i386 libopenal1:i386 libusb-1.0-0:i386 libdbus-glib-1-2:i386 + apt-get install libsm6:i386 + + #check if all libs are present with + cd ~/.steam/steam/ubuntu12_32 + LD_LIBRARY_PATH=. ldd vgui2_s.so