Half-Life 2 in a Browser

(hl2.slqnt.dev)

118 points | by panza 1 hour ago

16 comments

  • modeless 1 hour ago
    And Quake 3: https://thelongestyard.link/q3a-demo/

    And Unreal Tournament: https://dos.zone/mp/?lobby=ut

    There's also https://noclip.website/ which, while not playable, has hundreds of levels from dozens of older games that you can explore freely. Including Half-Life 2, with more accurate rendering than this web port (which seems to be missing many shaders including character eyes).

  • mrtksn 3 minutes ago
    Interesting, I am not able to play HL2 on Steam because macOS no longer has 32-bit support and Valve never compiled if for 64-bit but here we are, it’s playable on the same OS in the browser.

    BTW IIRC there was some method to convert the 32-bit game binaries to make them run on recent macs. I remember doing it.

  • vladar107 15 minutes ago
    What's the biggest bottleneck you hit - GPU compute, memory bandwidth, or network latency for asset streaming? Curious how it compares to native WebGPU.
  • AzzyHN 1 hour ago
    This is cool, and also probably illegal, since you don't own any of this and don't have the right to redistribute it.
    • crote 12 minutes ago
      Valve already gave Half-Life 2 away for free, and released the source code of the HL1 engine.

      Is it technically illegal? Yeah, but Valve isn't losing out on any money, and there's no way they're going to risk the negative PR blowback they'd get for a takedown.

      Besides, IP law is dead. The rise of AI made it pretty clear that you can steal literally anything without consequences.

    • londons_explore 42 minutes ago
      That is up for the copyright owner to enforce or not to enforce.

      Until they decide, we can't know if it's illegal or not - who knows, this site might have a license.

      • KeplerBoy 23 minutes ago
        It's not legal just because the copyright owner doesn't immediately sue you.
      • rvz 10 minutes ago
        It's quite dangerous to make unsubstantiated comments and assumptions on US copyright law without the proper research.

        Valve still owns the copyright to the game and just because they won't do anything now does not mean it is legal to redistribute it without their consent, especially when we know that the game is still being sold. [0]

        They (Valve) reserve the right to enforce that and this site clearly does not have such a "license" and haven't disclosed as such. Why would you expect Valve to be in discussions with a 15 year old to redistribute the game for free?

        So just say you do not know.

        [0] https://store.steampowered.com/app/220/HalfLife_2/

  • 0x0 10 minutes ago
    I just wish Valve could add official macos-arm64 builds of the various hl2 games on Steam :-/
  • entropyneur 59 minutes ago
    Whew. Crashed before I sunk my day there.
  • schappim 16 minutes ago
    If they have halflife 2 in the browser, I wonder if this means they can do original CS in the browser too!
    • panza 15 minutes ago
      Yep! play-cs.com
  • pelagicAustral 16 minutes ago
    Ah! Just in time for HL3
    • el_peaton 8 minutes ago
      Along with Team Fortress 3 and Portal 3 ofc. :)
  • LandenLove 1 hour ago
    As much as I dislike webdev stuff, I love the way you can distribute entire programs through WASM. Super cool stuff! For those who are interested, I recommend checking out Godot for exporting games on the web. It's really easy to do and you can host it on Itch.io
  • ironhaven 1 hour ago
    First half life one in browser now we have half life 2! I guess it’s that time again Mr Freeman
  • Hamuko 8 minutes ago
    Tried it on my M4 iPad Pro and was surprised that it works - to a degree. NPCs (Gman and the citizens on the train) seem to be missing eyes and have no mouth animations. FPS was pretty poor too, and it was ass to use the camera on the trackpad.
  • bozdemir 42 minutes ago
    What a time to be alive :D
  • rvz 1 hour ago
    While technically impressive, this is also illegal. (unless you have redistribution permission from the authors.)
    • albertgoeswoof 1 hour ago
      Yup. I was going to finally buy half life 2 today but now I’ve seen this I guess I won’t need to.

      Hard times at Valve, I suppose they’ll have to find more children to start gambling with them.

      • m00dy 58 minutes ago
        looks like you forgot to add /s tag to your comment :swh
      • linzhangrun 36 minutes ago
        lmao :)
      • tmountain 31 minutes ago
        Someone has to look out for the big guys! /s
    • haunter 40 minutes ago
      > this is also illegal

      So is unregulated gambling but Valve doesn't care either lol

      • charcircuit 16 minutes ago
        2 wrongs don't make a right.
    • foresto 30 minutes ago
      In which jurisdiction?
      • hmry 25 minutes ago
        Every signatory of the Berne convention or member of the TRIPS agreement, and most others too.
    • sudo_cowsay 1 hour ago
      Is that why I can't access the site?
      • AzzyHN 1 hour ago
        It works on chromium-based browsers at least
  • gambiting 42 minutes ago
    What I find incredibly impressive is that it just loaded in and seems to work fine on my phone. So cool.
  • Beijinger 1 hour ago
    play-cs.com
  • typon 29 minutes ago
    I remember saving up for a year to buy the ATI Radeon 9600 XT (I think it was $200 MSRP) so I could play the game on high settings. Now we can play it inside a virtual machine on a crappy laptop. What a journey
    • comprev 26 minutes ago
      Same here - splashed out crazy money upgrading my PC to play HL2.

      After that moment I switched to consoles.