Live data from Hacker News

Half-Life 2 in a Browser

hl2.slqnt.dev

151–160 of 283 posts

Re: Half-Life 2 in a Browser

#152
post #37

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.

Wine 11 for Mac will run 32 bit binaries without neeeding 32 bit libraries.

Re: Half-Life 2 in a Browser

#153
post #9

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).

There's also Ultima Online in the browser (sanctioned by the official servers). I'm one of the maintainers. https://retail.classicuo.org/

What!? Amazing.

Re: Half-Life 2 in a Browser

#154
post #151
post #144

If anyone is nostalgic about HL2 and want's revisit it, I highly recommend Black Mesa remake, it's mind blowing in a good way.

Isn't Black Mesa Half-Life 1?

I believe you're correct, and the Half-Life wiki seems to support that: https://half-life.fandom.com/wiki/Black_Mesa_(game)

Re: Half-Life 2 in a Browser

#155
post #9

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).

There's also Ultima Online in the browser (sanctioned by the official servers). I'm one of the maintainers. https://retail.classicuo.org/

From this mondain to the maintainers, thanks!

Re: Half-Life 2 in a Browser

#156
post #125

Earlier quoted context omitted.

Doom 3, smoother on Macbook M1 but it's too dark that I need to actually increase brightness on Firefox reliably. Is there a better solutions? https://wasm.continuation-labs.com/d3demo/

I seem to recall that Doom 3 was unplayable dark on my PC, once upon a time.

Same too, now it's my haze and night blindness vision.

Re: Half-Life 2 in a Browser

#157
post #112

Earlier quoted context omitted.

How is that possible? 32 bits should be compatible with a 64 bit machine. You can always use less bits for your memory addresses. Are there any other architecture changes that are preventing 32 bits binaries from running? Does that also mean that old software no longer runs unless there is a 64 bit version? In windows you can run x32 and x64 executables in a 64 bits machine

Only the very first few models of Intel Macs had strictly 32-bit processors (the 2006 iMac and Mac minis with Core Solo/Core Duo processors), and none of them were realistically capable of playing Half-Life 2. Apple is guilty of many sins, but this isn't one of them. Valve should never have shipped a 32-bit application in the first place. The binary was already obsolete before it even left Bellevue.

> Valve should never have shipped a 32-bit application in the first place.

It's literally a 2004 game! That's ridiculous. A handful of opterons existed in the market, but Intel wouldn't get there for years still and it was well over a decade until x86_64 crossed 50% market share in consumer stuff.

Good grief, as it were.

Re: Half-Life 2 in a Browser

#158
post #37

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.

How is that possible? 32 bits should be compatible with a 64 bit machine. You can always use less bits for your memory addresses. Are there any other architecture changes that are preventing 32 bits binaries from running? Does that also mean that old software no longer runs unless there is a 64 bit version? In windows you can run x32 and x64 executables in a 64 bits machine

Everything in the process has to agree on how big the pointers are, or you need code to convert between the formats at the boundary. That means you either need 32-bit versions of all OS libraries, or you need a complicated shim layer. Apple went for having 32-bit versions of all OS libraries. But this isn't free to maintain, and they dropped them after a few years.

Re: Half-Life 2 in a Browser

#159

Earlier quoted context omitted.

This was more Apple's doing rather than Valve's. Valve wanted steam to co-exist on the mac in the early days and John Sculley of Apple didn't want Apple to be seen as a gaming device or a "personal home computer". So they ceased contact with Valve and the rest is history. https://www.youtube.com/watch?v=lPTLPXNtb2I Apple refused to license joysticks so they could prevent customers from considering early mac's as game…

Apple is so obsessed with how their product is marketed and perceived that they all but eliminated gaming on the platform. It's hard to argue that it hasn't been effective, but I'll never understand why people accept that the people who make the computer should decide how you use it.

It's weird, they still try to market it as a machine you can play games on. They make sure a lot of games make it over. It's just never the new cool ones, it's always stuff like a resident evil game from a few years ago or death stranding
Post reply on HN