jmcerrejon / PiKISS

PiKISS for Raspberry Pi: A bunch of scripts with menu to make your life easier.
http://misapuntesde.com
MIT License
882 stars 92 forks source link

Unalble to launch Half Life #41

Closed jleboube closed 3 years ago

jleboube commented 3 years ago

Hi. First, thank you for putting PiKiss together. It is an amazing tool!

I recently tried to run Half-Life from PiKiss on my Raspberry Pi 4 (4GB RAM). No matter what I try (Raspbian, Twister, etc), Half-Life won't launch. I can install Quake and play it, but Half-Life is a no go. I do have Half-Life installed from Steam, however, through my testing, I tried with the Steam version installed and without. The same results, which are, click on Games, then Half-Life. The mouse just sits there and nothing happens. Below is what I assume to be helpful information. If you need me to get any log files or any other information, please let me know.

Steps to reproduce: Log into Raspbian Open terminal and run "sudo apt-get update" Run "sudo apt-get upgrade -y" Reboot Paste "curl -sSL https://git.io/JfAPE | bash" into terminal and answer the questions during install Reboot Open menu, then go to Games, then click on Half-Life. Nothing happens.

gameinfo.txt: GNU nano 3.2 gameinfo.txt

// generated by Xash3D

basedir "valve" title "Half-Life" startmap "c0a0" trainmap "t0a0" version 1 type "Single" dllpath "cl_dlls" gamedll "dlls/hl.dll" gamedll_linux "hl.so" gamedll_osx "dlls/hl.dylib" icon "game.ico" sp_entity "info_player_start" mp_entity "info_player_deathmatch" secure "1" soundclip_dist "1536" hull0 ( 0 0 0 ) ( 0 0 0 ) hull1 ( -16 -16 -36 ) ( 16 16 36 ) hull2 ( -32 -32 -32 ) ( 32 32 32 ) hull3 ( -16 -16 -18 ) ( 16 16 18 ) max_edicts 900 max_tempents 500 max_beams 128 max_particles 4096

xashds@.service: GNU nano 3.2 xashds@.service

[Unit] Description=%I - Xash3D dedicated server After=network.target

[Service] User=xashds Group=xashds WorkingDirectory=/opt/xashds/srv/%I EnvironmentFile=-/opt/xashds/srv/%I/env ExecStart=/opt/xashds/bin/xashds $EXTRA_OPTS Restart=always

[Install] WantedBy=multi-user.target

jmcerrejon commented 3 years ago

Try the next on Raspberry Pi OS 32 bits:

  1. Install Half-life through PiKISS.
  2. When asking for your online copy, type n.
  3. Copy your valve directory from Steam inside /home/pi/games/half-life.
  4. Now type in a terminal: cd /home/pi/games/half-life && ./half-life.sh
jleboube commented 3 years ago

Thank you for the prompt response. Can you kindly point me to where the valve and Steam directories are located? On Oct 22, 2020, 5:53 AM -0500, Jose Cerrejon notifications@github.com, wrote:

Try the next on Raspberry Pi OS 32 bits:

  1. Install Half-life through PiKISS.
  2. When asking for your online copy, type n.
  3. Copy your valve directory from Steam inside /home/pi/games/half-life.
  4. Now type in a terminal: cd /home/pi/games/half-life && ./half-life.sh

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jmcerrejon commented 3 years ago

I mean open your Steam folder (I don't know where it is in your operating system), search your half-life/valve directory and copy it inside /home/pi/games/half-life

If you don't know where the games are in your Steam folder, you can search on the net.

jleboube commented 3 years ago

Ok. So, here is one issue...I can’t install Steam on Raspbian, as it isn’t supported. I installed Twister OS, which has Steam installed. I will try to find the Half-Life folder and copy it over. On Oct 22, 2020, 6:10 AM -0500, Jose Cerrejon notifications@github.com, wrote:

I mean open your Steam folder (I don't know where it is in your operating system), search your half-life/valve directory and copy it inside /home/pi/games/half-life If you don't know where the games are in your Steam folder, you can search on the net. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jleboube commented 3 years ago

I followed your instructions and it still doesn’t work. On Oct 22, 2020, 6:10 AM -0500, Jose Cerrejon notifications@github.com, wrote:

I mean open your Steam folder (I don't know where it is in your operating system), search your half-life/valve directory and copy it inside /home/pi/games/half-life If you don't know where the games are in your Steam folder, you can search on the net. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jmcerrejon commented 3 years ago

Ok. I'll test it again with my Steam copy this week.

jleboube commented 3 years ago

Please let me know if there are any logs or any other areas on my Pi I can share with you to help investigate/test.

I’ve tried this with a fresh copy of Raspbian and Twister OS on Raspberry Pi 4 with 4GB RAM. I like Twister and it has Steam pre-installed, so I’ve been using it. Im mentioning this in case Twister has a different log level we can turn on or any other tool to help with testing. On Oct 22, 2020, 6:51 AM -0500, Jose Cerrejon notifications@github.com, wrote:

Ok. I'll test it again with my Steam copy this week. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jmcerrejon commented 3 years ago

It's working with no hassle. I've added some improvements. Check it out on this video.