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

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.พ. 2025

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

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

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

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

      Glad you enjoyed the video! 😎

  • @Rod_Knee
    @Rod_Knee 3 หลายเดือนก่อน +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  3 หลายเดือนก่อน +2

      Awesome! How is the performance?

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

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

    • @Rod_Knee
      @Rod_Knee 3 หลายเดือนก่อน +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 หลายเดือนก่อน +3

      @@Rod_Knee nice!

  • @Rod_Knee
    @Rod_Knee 2 หลายเดือนก่อน +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  หลายเดือนก่อน

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

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

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

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

      @ good luck! :-)

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

      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 หลายเดือนก่อน +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.

  • @shemlesh
    @shemlesh 3 หลายเดือนก่อน +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 หลายเดือนก่อน +3

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

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

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

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

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

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

      It worked! Thanks for the video!!!

  • @pseudonym3690
    @pseudonym3690 3 หลายเดือนก่อน +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  3 หลายเดือนก่อน +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 3 หลายเดือนก่อน +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 3 หลายเดือนก่อน

      ⁠@@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 😎

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

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

    • @pseudonym3690
      @pseudonym3690 3 หลายเดือนก่อน +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 3 หลายเดือนก่อน +1

      @@pseudonym3690 you can sideload on any device

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

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

    • @pseudonym3690
      @pseudonym3690 3 หลายเดือนก่อน +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.

    • @Мартичан
      @Мартичан 3 หลายเดือนก่อน +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

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

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

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

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

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

      @jamesfmackenzie yea thanks

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

      @@jamesfmackenzie did you fix it yet?

    • @jamesfmackenzie
      @jamesfmackenzie  2 หลายเดือนก่อน +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 2 หลายเดือนก่อน

      @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 หลายเดือนก่อน

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

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

    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 หลายเดือนก่อน

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

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

      Thanks for the info!

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

      ​@@jamesfmackenzie No probs, I wanted to share the exact, detailed steps to download an earlier version. I have them written out, but something about them made them unpostable.
      Maybe the code:y nature of instructions or the word m-a-n-i-f-e-s-t ?

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

      @@mrbullseye yeah, I suspect there is some defensive logic in the TH-cam comments system to prevent the posting of code/scripts. Thanks for trying and thanks for the info!

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

    source ♥

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

      Yes indeed! A great engine!

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

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

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

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

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

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

    • @GeoStreber
      @GeoStreber 2 หลายเดือนก่อน +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.

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

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