How To Install Half-Life 2 (and Portal!) on Raspberry Pi

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ธ.ค. 2024

ความคิดเห็น • 81

  • @Trome1200
    @Trome1200 2 หลายเดือนก่อน +10

    Thanks for this since Half life 2’s 20th anniversary is this month! 🎉

    • @jamesfmackenzie
      @jamesfmackenzie  หลายเดือนก่อน +1

      Glad you enjoyed the video! 😎

  • @Rod_Knee
    @Rod_Knee หลายเดือนก่อน +5

    FYI I installed Half Life 2 previously (following James' method by copying what he typed in the previous video) on Raspberry Pi O.S. and it worked. I haven't had any issues as yet.

    • @jamesfmackenzie
      @jamesfmackenzie  หลายเดือนก่อน +2

      Awesome! How is the performance?

    • @Rod_Knee
      @Rod_Knee หลายเดือนก่อน +1

      @@jamesfmackenzie Playable - I'll try the FPS counter and get back to you.

    • @Rod_Knee
      @Rod_Knee หลายเดือนก่อน +3

      @@jamesfmackenzie Ended up playing with similar settings to you - 1280x720, low on most settings but medium as opposed to high textures. FPS varied widely - from low 30's to high 50's. Playable.

    • @jamesfmackenzie
      @jamesfmackenzie  หลายเดือนก่อน +3

      @@Rod_Knee nice!

  • @shemlesh
    @shemlesh หลายเดือนก่อน +4

    I'd be curious to see if it compiles and runs on RISC-V systems, but I think zbios had to add explicit support for ARM when this did the rounds on social media last year.

  • @Kippykip
    @Kippykip หลายเดือนก่อน +3

    Man I sooo have to try this! Now I have an excuse to get the Pi 400 out

  • @nikobellic570
    @nikobellic570 หลายเดือนก่อน +1

    There's a video of counterstrike running with online gameplay, running on the humble pi

  • @egebezboli
    @egebezboli หลายเดือนก่อน

    is there any other way to get the assets? Will Steam on macbook pro work?

    • @egebezboli
      @egebezboli 29 วันที่ผ่านมา

      It worked! Thanks for the video!!!

  • @Rod_Knee
    @Rod_Knee 25 วันที่ผ่านมา +2

    Urrrgh, just tried this on my new setup, but had installed the updated HL2 on my main rig. The updated game assets are *not* compatible with this build!

    • @jamesfmackenzie
      @jamesfmackenzie  17 วันที่ผ่านมา

      :-( is there anyway to downgrade or get the old assets back?

    • @Rod_Knee
      @Rod_Knee 16 วันที่ผ่านมา +1

      @@jamesfmackenzie I'll have access to my original HL2 disk over Christmas and will try to extract the assets.

    • @jamesfmackenzie
      @jamesfmackenzie  16 วันที่ผ่านมา +1

      @ good luck! :-)

    • @mrbullseye
      @mrbullseye 12 วันที่ผ่านมา

      For artifacting use steam console and download the version from November 2023. I tried going into details many many times but get removed.

    • @mrbullseye
      @mrbullseye 12 วันที่ผ่านมา +1

      Trying again, just to get it out there. In Steam console, do command "download_depot 220 221 3666218991449795038" for November 23 base files for HL2.

  • @pseudonym3690
    @pseudonym3690 2 หลายเดือนก่อน +3

    Thanks! Pretty awesome stuff. At the same time, kind of disappointing to see the 3D performance so far behind Intel and AMD iGPUs, but I also get why this isn't the focus of the Pi.

    • @jamesfmackenzie
      @jamesfmackenzie  หลายเดือนก่อน +1

      Yeah, it’s a v basic GPU compared to the Intel and AMD GPUs. In fact both of those are getting pretty good now - even for modern games!

    • @pseudonym3690
      @pseudonym3690 หลายเดือนก่อน +2

      @@jamesfmackenzie Last iGPU I tried was an Intel UHD Graphics 630 in a 2022 Dell XPS Laptop. Wasn't much good for more than decoding video, but I think it would have outperformed the Raspi's GPU easily. The AMD APUs on the other hand are pretty much gaming capable.
      Btw, is there a reason to use Ubuntu over Raspbian to get the games to run?

    • @jamesmackenzie6630
      @jamesmackenzie6630 หลายเดือนก่อน

      ⁠@@pseudonym3690 I agree - the iGPU is likely faster. But the Pi is a super low power device and (at least for me!) it’s cool to see HL2 running 😎
      I chose Ubuntu since I’m more familiar with the dev setup there, but others have done this on Raspbian too 😎

  • @FatRat_core
    @FatRat_core หลายเดือนก่อน +1

    Whenever i try configuring ./waf it gives me a error waf: no such option such option -r

    • @jamesfmackenzie
      @jamesfmackenzie  หลายเดือนก่อน +1

      Good catch! There is a typo in the blog post. Will fix it and let you know.

    • @FatRat_core
      @FatRat_core หลายเดือนก่อน

      @jamesfmackenzie yea thanks

    • @FatRat_core
      @FatRat_core หลายเดือนก่อน +1

      @@jamesfmackenzie did you fix it yet?

    • @jamesfmackenzie
      @jamesfmackenzie  หลายเดือนก่อน +2

      @@FatRat_core it should be fixed now. Please give it a try and let me know how you get on!

    • @FatRat_core
      @FatRat_core หลายเดือนก่อน

      @jamesfmackenzie whenever I try doing the first step (build tools) so I skipped then everything went smoothly except at last step and it says no such file or directory , but it's right there

  • @brentrabas1349
    @brentrabas1349 5 วันที่ผ่านมา

    James, i only have a PI4 / 4GB-Ram, will this still work ?

  • @jefflem
    @jefflem 2 หลายเดือนก่อน +2

    Would you look in to if this would run on a iPhone.

    • @pseudonym3690
      @pseudonym3690 2 หลายเดือนก่อน +4

      Even if it did, you could only install it on a rooted device. No way you would get it into the app store.

    • @jefflem
      @jefflem 2 หลายเดือนก่อน +1

      @@pseudonym3690 you can sideload on any device

    • @Мартичан
      @Мартичан หลายเดือนก่อน +1

      ​@@pseudonym3690 is it possible to root every old phone? and how long does that take

    • @pseudonym3690
      @pseudonym3690 หลายเดือนก่อน +3

      @@Мартичан For iPhones that depends on the iOS version installed. The exploits differ from version to version, but I'd expect that this shouldn't be a problem for old phones. Usually only requires to get the right tool and doesn't take more than a few seconds and a reboot. Android users can just sideload natively without having to root the phone.

    • @Мартичан
      @Мартичан หลายเดือนก่อน +1

      @@pseudonym3690 Do You know any site that is trustworthy and also what do You mean by sideload? I have a android galaxy, I can install APK's on the internet but my friend who uses iPhone only has his apple store and it doesn't work for him
      He cant recieve bluetooth files too its odd.
      a long time ago I used a sketchy site to root my phone because I had cracked the screen and a play store app required me to root it

  • @microlinux
    @microlinux หลายเดือนก่อน +2

    I've compiled portal on rk3399 and the performance was more or less the same. So far it uses still the same dx9 wrapper, so, it's not a native gl game. Also, it doesn't support wayland so it runs under xwayland. It's still a WIP.

    • @terrydaktyllus1320
      @terrydaktyllus1320 หลายเดือนก่อน +1

      A question - why would you bring in the instability and bugginess of Wayland when Portal runs perfectly fine in Steam in Xorg on Linux for amd64?

    • @Kippykip
      @Kippykip หลายเดือนก่อน +2

      @@terrydaktyllus1320 Can somebody fill me in what this whole xord vs wayland arguments are about?
      I keep hearing "wayland is extremely buggy but also that it's better!" Is it the video driver or something?

    • @terrydaktyllus1320
      @terrydaktyllus1320 หลายเดือนก่อน +2

      @@Kippykip There's plenty of information on the web about what Xorg and Wayland are and any differences between the two.
      From my perspective, as someone who has used Linux since 1996 (and made it my primary OS since 2003), Xorg has been perfectly fine for me throughout that time and I see no reason to change to anything else.

    • @jamesfmackenzie
      @jamesfmackenzie  หลายเดือนก่อน

      I’m tempted to buy and try on rk3588! Feel like it should run v well

    • @microlinux
      @microlinux หลายเดือนก่อน

      I did emulate the game on rk3588, but the performance was just acceptable. Running it natively will help, but don't expect wonders bc it's not an opengl game.

  • @mrbullseye
    @mrbullseye 12 วันที่ผ่านมา

    My reply got removed many many times. Here goes again. For those that get artifacting, something broke with the assets from 20th anniversary, but you CAN download an earlier version using steam console. I am running on a Pi 4 4GB model, not the greatest, but at lowest resolution, it works and is around 20 ish fps. I can even put shaders and textures at higher settings. Not overclocked yet. Just base model with a heatsink.

    • @mrbullseye
      @mrbullseye 12 วันที่ผ่านมา

      For completeness:
      In Steam console, do command "download_depot 220 221 3666218991449795038" for November 23 base files for HL2.

  • @COLLAPSARQ
    @COLLAPSARQ หลายเดือนก่อน +1

    How about Portal 2, Left 4 Dead and CS:GO? Also you can try Garry's Mod and Stanley Parable.

    • @eater_ofcrayons
      @eater_ofcrayons หลายเดือนก่อน +3

      Csgo is prolly not going to work. L4D and portal 2 MIGHT. The engines are pretty updated

    • @jamesfmackenzie
      @jamesfmackenzie  หลายเดือนก่อน

      CS Source is on the same engine and should work great 😎

    • @GeoStreber
      @GeoStreber หลายเดือนก่อน +1

      @@jamesfmackenzie Black Mesa would be an interesting one to test. It runs on a fork of the Portal 2 version of Source, but it's insanely detail-rich, even on lowest settings.

  • @gamelarg10
    @gamelarg10 หลายเดือนก่อน +3

    source ♥

    • @jamesfmackenzie
      @jamesfmackenzie  หลายเดือนก่อน +1

      Yes indeed! A great engine!

  • @Xenthera
    @Xenthera 22 วันที่ผ่านมา +1

    oh jesus... portal is only 2 ish years away from it's 20th anniversary. That makes me feel sick.