ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
775 stars 69 forks source link

csgo_legacy not require sse4.2 feature, but start from csgo.sh (from steam UI play button) required it, and not working #3844

Closed blogdron closed 2 hours ago

blogdron commented 2 hours ago

Your system information

Please describe your issue in as much detail as possible:

Now if you change beta version CS2 to csgo_legacy and you no have SSE4.2 support in you CPU, you no can start csgo_legacy from steam UI button play. If you set this launch option

%command% 2> log

And start game (game not started) you see in the log file

Launcher Error: A CPU that supports the SSE4.2 processor feature is required.

But it fake information, because for csgo_legacy no need SSE4.2 Okey, now set this command launch options

LD_LIBRARY_PATH=./bin/linux64 ./csgo_linux64 -steam && %command%

Now csgo_legacy started fine from Steam UI play button. Find in internet public servers for csgo_legacy and play :)

Maybe make it so that in case of switching to csgo_legacy the launcher does not block the launch of the game. And you don't have to do such things. I understand that the previous version of the game is no longer supported and there is no particular point in writing about it here, but I am not asking to support csgo_legacy, I am simply asking not to break its work. Thank you. Bye bye ::)


P.S. Oh yes, maybe you need set back libpng12 Im check game under strace

penat(AT_FDCWD, "/home/dron/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/bin/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (Нет такого файла или каталога)
openat(AT_FDCWD, "/home/dron/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/bin/linux64/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (Нет такого файла или каталога)
openat(AT_FDCWD, "libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (Нет такого файла или каталога)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 59
newfstatat(59, "", {st_mode=S_IFREG|0644, st_size=161263, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 161263, PROT_READ, MAP_PRIVATE, 59, 0) = 0x7f5103134000
close(59)                               = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (Нет такого файла или каталога)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (Нет такого файла или каталога)
openat(AT_FDCWD, "/lib/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (Нет такого файла или каталога)
openat(AT_FDCWD, "/usr/lib/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (Нет такого файла или каталога)

Okey missing library

This command depend of you steam installation, change path to you correctly path

- do not do it if you dont need it!
cp "/home/$USER/.steam/steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libpng12.so.0.46.0" \
"/home/$USER/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/bin/linux64/libpng12.so.0"
kisak-valve commented 2 hours ago

Hello @blogdron, the functional part of this issue report is already being tracked at #3291. Closing in favor of the older issue report.

blogdron commented 2 hours ago

@kisak-valve okey, I didn't notice this discussion. Thanks ::)

UPDATE: LOL, I wrote it in that thread myself... Well, my memory is leaky :smile: