csgo-osx-linux
csgo-osx-linux copied to clipboard
No Option To Launch CSGO Legacy
Your system information
- System information from steam (
Steam->Help->System Information) in a gist: https://gist.github.com/David-Durst/db4354a00d5d6dd26c3eba358462e4cc - Have you checked for system updates?: Yes
Please describe your issue in as much detail as possible:
I'm not able to launch the CSGO demo viewer on Linux. I can launch it on Windows.
What I expect to happen:
- I install the latest CS2 update.
- I select the beta branch "csgo_demo_viewer"
- Once my game updates, I start CS2.
- A launch option box appears to select between CS2 and CSGO
- I select CSGO, and launch into the CSGO demo viewer
What happens:
- I install the latest CS2 update.
- I select the beta branch "csgo_demo_viewer"
- Once my game updates, I start CS2.
- CS2 starts immediately without providing an option to select between CSGO and CS2.
What debugging steps I tried:
- I tried uninstalling and reinstalling CS2. This didn't fix the problem.
- I tried "Force the use of a specific Steam Play compatibility tool". That switches to a windows version of the game run through proton (I believe). This windows version brought up the launch option box to select between CSGO and CS2. However, when I selected CSGO and started it, I ran into this problem: https://github.com/ValveSoftware/Proton/issues/7129.
Steps for reproducing this issue:
- Install CS2 on Linux
- Select the csgo_demo_viewer beta: Properties -> Betas -> Beta Participation -> csgo_demo_viewer - 1.38.7.9
- Wait for the updates to apply
- Run CS2 and see that the game immediately starts rather than providing an option to select CSGO/CS2.
if you add the workshop tools, does it then prompt an option?
Also true on my PC. There is no option to choose, playing the game opens cs2 directly instead (with or without workshop tools)
Adding the workshop tools does not fix the problem. The same behavior occurs: launching CS2 directly without a launch option to select CSGO. My steps were:
- Ensure I'm on the csgo_demo_viewer branch
- Enable the checkbox Properties -> DLC -> Counter-Strike 2 Workshop Tools
- Wait for the DLC to download.
- Run CS2.
Attempting to run CSGO directly from the command line also fails. I tried i386 bash ./csgo.sh -steam -nojoy -windowed from https://github.com/ValveSoftware/csgo-osx-linux/issues/3097. This yielded the below error:
$ i386 bash ./csgo.sh -steam -nojoy -windowed
FATAL: It appears CS:GO was not launched within the Steam for Linux scout runtime environment.
FATAL: Please consult documentation to ensure correct configuration.
If we locate what tells steam that there's multiple launch options in the windows build, it may be possible to modify the linux build to have the launch options. I tried to look into it but no luck so far.
I tried diffing the linux build and windows build
${LIBRARY_PATH}/steamapps/appmanifest_730.acf looked promising, but steamdb tells me it isn't it
I was able to launch csgo.sh with the scout runtime by adding it to steam as a non-steam game.
Make sure you add -steam or it will launch in insecure mode:
The same for me. I have Mac on M1 and neither CS GO nor CS 2 work. That was so stupid to force upgrade Mac users if CS2 is not working there. Very very stupid. Allow us to play CS GO back!
I was able to launch
csgo.shwith the scout runtime by adding it to steam as a non-steam game.Make sure you add
-steamor it will launch in insecure mode:
Can you provide a little more instruction on what you did? I tried to add it as a non-steam game, and turned on compatibility GE-Proton8. And run it that way and nothing worked.
This is my script: that I derived from the other links.
declare -gr CSGO_LAUNCHER_PATH="/home/${USER}/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo.exe"
#steamapps/common/Counter-Strike Global Offensive/csgo.exe
# Game arguments
declare -gr CSGO_ARGS="-steam -console -novid -nojoy -tickrate 128 +fps_max 0"
function launch_csgo() {
if [ -x "${CSGO_LAUNCHER_PATH}" ]; then
export STEAM_RUNTIME=1
i386 "${CSGO_LAUNCHER_PATH}" ${CSGO_ARGS}
else
echo "CSGO launcher '${CSGO_LAUNCHER_PATH}' not found."
exit 1
fi
}
launch_csgo
Replying to https://github.com/ValveSoftware/csgo-osx-linux/issues/3291#issuecomment-1741600249
As mentioned above, you have to use the scout runtime(Steam Linux Runtime 1.0(scout)). After it "updates" to the linux build, set the target as "${LIBRARY_PATH}/steamapps/common/Counter-Strike Global Offensive/csgo.sh".
"${LIBRARY_PATH}/steamapps/common/Counter-Strike Global Offensive/csgo.sh".
Can you please provide more instruction? what do you mean by "target"? Do you mean here? (where -steam is?)
I don't have a csgo.sh file under steamapps/common/Counter-Strike Global Offensive. As I said above, I only have csgo.exe.
local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo.exe
Can you please paste your script? Are you saving the csgo.sh under that directory above?
Do I need to install the runtime? According to the github: https://github.com/ValveSoftware/steam-runtime
- Steam Runtime version 1, 'scout' is automatically installed as part of the Steam Client for Linux.
- the scout runtime is used in Proton 5.0 and earlier. I chose Proton 4.13 and it still doesn't work. Are you using Proton or not?
I appreciate your help, but you really are not that clear with how you made it work. :/ There are so many variables to playing a game on Linux, it would be help if you were more explicit.
So this is what I have setup:
- I added the scout_runtime as a non-steam game
But, which runtime do you use?
- I set the target to:
/home/
/.steam/steam/steamapps/common/Counter-Strike Global Offensive/csgo.exe - I set compatibility to Proton 4.13 I still get the can't access to client.
This is the error I get (in terminal) when I try to run it:
[S_API FAIL] SteamAPI_Init() failed; no appID found.
Either launch the game from Steam, or put the file steam_appid.txt containing the correct appID in your game folder.
pid 63332 != 63331, skipping destruction (fork without exec?)
This command works for me (just running from terminal):
/home/$USER/.steam/steam/steamapps/common/SteamLinuxRuntime/run-in-scout-on-soldier -- "/home/$USER/.steam/steam/steamapps/common/Counter-Strike Global Offensive/csgo.sh" "-steam"
AFTER installing scout steam linux runtime per 25pwn, and csgo_demo_viewer per OP.
I expect a different solution is needed if running csgo with proton as opposed to native but dunno.
This command works for me (just running from terminal):
/home/$USER/.steam/steam/steamapps/common/SteamLinuxRuntime/run-in-scout-on-soldier -- "/home/$USER/.steam/steam/steamapps/common/Counter-Strike Global Offensive/csgo.sh" "-steam"AFTER installing scout steam linux runtime per 25pwn, and csgo_demo_viewer per OP. I expect a different solution is needed if running csgo with proton as opposed to native but dunno.
Thank you for a more explicit response. I am not sure why I don't have a csgo.sh... Did you make that script or no? Are you 100% sure it's not csgo.exe? I only have csgo.exe... I downloaded csgo_demo_viewer-1.38.7.9
@whompyjaw I think the .exe must mean you are running the windows version of csgo through proton rather than the native linux version. I did not make the .sh it is from valve, there is a csgo_linux64 executable that the script calls. Maybe remove proton under Library > Counter-Strike 2 > Properties > Compatibility and then Properties > Installed Files > Verify integrity of game files?
@apprehensivebob Ha! Ya... That was it (turning off Proton). Thank you so much! It was driving me crazy, haha. I couldn't make it work as a non-steam game, but idc. Terminal is easier.
So if anybody comes here to make this work, here is the summary:
- Install CS2 on Linux
- Select the csgo_demo_viewer beta: Properties (r-click CS2 game) -> Betas -> Beta Participation -> csgo_demo_viewer - 1.38.7.9
- Wait for the updates to apply (might have to restart Steam or reboot, probably not, but not sure)
- Try to run this command from your terminal:
/home/$USER/.steam/steam/steamapps/common/SteamLinuxRuntime/run-in-scout-on-soldier -- "/home/$USER/.steam/steam/steamapps/common/Counter-Strike Global Offensive/csgo.sh" "-steam" - If that fails, either download the https://github.com/ValveSoftware/steam-runtime#installation manually. Or, you can set your compatibility/proton in the CS2 game to 4.13 (you can maybe do the 5.0-10, but it says 5.0 or earlier) and it will download the scout runtime. Per the docs: The Steam Runtime is also used by the Proton Steam Play compatibility tools, which run Windows games on Linux systems. Older versions of Proton (5.0 or earlier) use the same 'scout' LD_LIBRARY_PATH runtime as most native Linux games.
- This should download
/home/$USER/.steam/steam/steamapps/common/SteamLinuxRuntime/run-in-scout-on-soldierand you can then re-run the terminal command above and that should work.
If none of that works above, unfortunately, I am not sure what else you would have to do. I am using (Arch with KDE Plasma). Please ask if you need more info!
Replying to https://github.com/ValveSoftware/csgo-osx-linux/issues/3291#issuecomment-1741935968
I guess that works but it could be a lot simpler. Here's what I did:
- Force CS2 to use the sniper runtime(Steam Linux Runtime 3.0(sniper)) by disabling "Force the use of a specific Steam Play compatibility tool"
- Enroll and "update" to the
csgo_demo_viewerbeta - Add
"${LIBRARY_PATH}/steamapps/common/Counter-Strike Global Offensive/csgo.sh"as a non-steam game - Add
-steamto launch options and force the use of the scout runtime(Steam Linux Runtime 1.0(scout))
Having a couple issues here
- Launching with the csgo.sh as a non-steam app does not work
- Launching with
/home/$USER/.steam/steam/steamapps/common/SteamLinuxRuntime/run-in-scout-on-soldier -- "/home/$USER/.steam/steam/steamapps/common/Counter-Strike Global Offensive/csgo.sh" "-steam" "-vulkan" "-novid" "-nojoy"does work, however it gives me audio issues. Example video here: https://streamable.com/94oq33
You can also see the game hitching which never happened in CS:GO nor CS2. No idea what could be happening but I'm going to try running my personal backup of CS:GO to test if it is an issue with csgo_legacy or just with running the game outside of steam for some reason.
EDIT: Running my backup of CS:GO, both inside (which for some reason now works, while the official csgo_legacy branch will not) and outside of steam, I still get the audio errors.
EDIT 2: Running the official csgo.sh as a non-steam app now magically works. Retains audio fuckery.
FINAL EDIT: turns out the bass boost is a known thing. I wanna say valve pls fix but I doubt it's gonna happen. Solution was: snd_mixahead 0.1
Now that csgo legacy is an official option, this really ought to be fixed.
This is still an issue after the release of csgo_legacy. CS2 launches automatically when pressing Play in the library, with no option to choose CSGO.
Additionally, under 'Launch Options' in properties, there is no "Ask when starting game" setting like there is on other games with multiple launch options.
CS2:
Other game:
they really should of just made CS2 Another title with its own steam page. this is just nonsense. I've tried looking for fixes for this for ages, and worst of all i can't actually launch CS2 due to my lack of Vulkan support. guess i''m stuck with CS Source until they add back the ability to use the launch options menu. which it seems to me its just gone completely.
they really should of just made CS2 Another title with its own steam page. this is just nonsense. I've tried looking for fixes for this for ages, and worst of all i can't actually launch CS2 due to my lack of Vulkan support. guess i''m stuck with CS Source until they add back the ability to use the launch options menu. which it seems to me its just gone completely.
There is a temporary fix for the time being by 25pwn earlier in this discussion. I do agree though, CS2 needs to be a separate game. I'm very frustrated with needing to have both games installed just to play Global Offensive. Global Offensive's server browser being broken is also unacceptable.
Yeah, when I'm trying to launch with compatibility options proton 8 it shows launch option, where I can select CSGO, but it won't start.
Linux version of the game has no option for choosing CSGO
they really should of just made CS2 Another title with its own steam page
Yeah, and just link inventories for the most part.
The way they gave CSGO legacy a support period and then proceeded to never fix a bug that made it impossible to launch is wild
The way they gave CSGO legacy a support period and then proceeded to never fix a bug that made it impossible to launch is wild
Server browser is still broken as well, which is the only way to conveniently find a multiplayer game since matchmaking is offline. Would be nice if the game wasn't intertwined with Steam/DRM. Valve is never going to let the game be free though.
You could have simply left it alone, but they broke the fonts, they broke the launch from the Steam launcher for those who do not have the Vulkan API, and they broke the launch again by deleting libpng12, then they broke the launch again in this described case.
All these breakdowns do not happen on their own, they are done on purpose. It's annoying.
Is the solution still working? Not working for me, sadly :( I am on debian and none of the above described path seems to exists, they have made some changes and I can not find /home/$USER/.steam/steam/steamapps/common/SteamLinuxRuntime/run-in-scout-on-soldier instead for me it's now /root/.steam/steam/steamapps/common/SteamLinuxRuntime_sniper, inside there I can see run-in-sniper and on doing what @JustASpeedrunner suggested, it gaves me an error :
cd /root/.steam/steam/steamapps/common/SteamLinuxRuntime_sniper &&
./run-in-sniper -- "/$USER/.steam/steam/steamapps/common/Counter-Strike Global Offensive/csgo.sh" "-steam" "-vulkan" "-novid" "-nojoy"
x86_64-linux-gnu-capsule-capture-libs: warning: we are assuming "_el_fn_sh_complete" to be private, but it's just a guess
i386-linux-gnu-capsule-capture-libs: warning: we are assuming "_el_fn_sh_complete" to be private, but it's just a guess
pressure-vessel-wrap[333243]: N: Not replacing "/etc/vulkan/explicit_layer.d" with tmpfs: Path "/etc" is reserved by the container framework
pressure-vessel-wrap[333243]: N: Not replacing "/etc/vulkan/implicit_layer.d" with tmpfs: Path "/etc" is reserved by the container framework
setlocale "en_US.UTF-8": No such file or directory
pressure-vessel-locale-gen: Missing locale en_US.UTF-8
pressure-vessel-locale-gen: Generating locale en_US.UTF-8...
pressure-vessel-locale-gen: Generated locale en_US.UTF-8 successfully
pressure-vessel-adverb[333324]: W: Container startup will be faster if missing locales are created at OS level
FATAL: It appears CS:GO was not launched within the Steam for Linux scout runtime environment.
FATAL: Please consult documentation to ensure correct configuration.
The solution @25pwn suggested, I can't seem to browse to hidden folders using the file explorer so I tried manually inserting the commands as shown below but it will not launch the game
And for some weird reason github won't let me see the images uploaded by @25pwn and return a 404 when trying to open it in new tab to enlarge :angry:
Please HELP !!
Thanks and Regards,
The run-in-scout folder don't even exist anymore, what's wrong with valve :angry:
Okay I got the scout folder but it gives me below issue:
/root/.steam/steam/steamapps/common/SteamLinuxRuntime/run-in-scout-on-soldier -- "/root/.steam/steam/steamapps/common/Counter-Strike Global Offensive/csgo.sh" "-steam" "-vulkan" "-novid" "-nojoy"
run-in-scout-on-soldier: Developer script, not for production use
run-in-scout-on-soldier: This convenience script assumes SteamLinuxRuntime and SteamLinuxRuntime_soldier are in the same directory
This seem to work but it says, I am running in insecure mode and VAC cannot be verified :thinking: , also not able to do full screen
steam & cd ~/.steam/steam/steamapps/common/"Counter-Strike Global Offensive"/
~/.steam/steam/ubuntu12_32/steam-runtime/run.sh ./csgo.sh