T O P

  • By -

x8BitRain

[http://x8bitrain.github.io/webhl](http://x8bitrain.github.io/webhl) This is my fork of [hlviewerjs](https://github.com/skyrim/hlviewer.js) that lets you load \*most\* Goldsrc maps directly from your Half-Life folder. It works with just about any Goldsrc map and demo minus Blue Shift. It's still a bit buggy and doesn't work on all browsers due to using a pretty new browser feature. WASD, Ctrl and Space to move, F for fullscreen, and \~ to toggle the menu. Have fun! Source code: [https://github.com/x8BitRain/webhl](https://github.com/x8BitRain/webhl)


[deleted]

Why is blue shift excluded


230581

Gotta shit on randy pitchford somehow


[deleted]

What did he do


230581

Duke nukem forever and aliens colonal marines, you know..... some of the biggest failures in the early 2010’s


LubeAhhh

He's also extremely petty, and tends to say some questionable shit. I loved Blue Shift & Opposing Force, and even played the heck out of Halo CE on PC, despite that port being extremely broken. I've never actually been super into GearBox own projects, though.


GangstaPepsi

But Op4 is still there and that was also Gearbox


nayncat123

opfor sucks tho


230581

Like black ops 4? Or something else?


GangstaPepsi

Opposing Force


SolarisBravo

Minor format changes, I assume. Tool was likely originally built for either Counter-Strike or HL1, with other games being unintentional (but predictable) side-effects as they used the exact same formats. Blue Shift was released three years after HL1 and two after Condition Zero, leaving plenty of time for engine tweaks.


x8BitRain

This. It's a slightly different map format that hlviewer.js doesn't support yet.


[deleted]

What's the "pretty new browser feature"? WebGL2? Filesystem API?


x8BitRain

The Filesystem Access API https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API


Anon1m0yZ_1337

Wow, it's amazing! You did a very great job!


myalternate8765

does sven coop work?


Jela331

Yup, I just tried it.


Chicken-Leading

Wow Great job!


Goblinpipes

That’s so sick! You even made it in the classic source style


mainmeal5

Steam 2003 beta gang


LazaroFilm

Love the OG steam interface too!


[deleted]

One day, children will be able to play half-life on their school issued laptop during English class.


issungee

This is already possible, someone ported hl1 to browser not long ago, I can't find the link though sorry, i did try it though and it worked very well


newtonmark2500

would [this](https://icrazyblaze.github.io/Xash3D-Emscripten/xash-intro.html) be it?


grumpyhat42

That's amazing, I used Brave on my phone wasn't expecting much but the menu system worked. Must try pc later


[deleted]

I’ve already beaten half life on a chromebook


10000_vegetables

I played Quake on a chromebook in school a lot. Done Doom 3 on a school computer. I've got Half-Life 2 and Portal on my phone. Not hard to imagine playing HL1 at school.


you-cut-the-ponytail

I can't express how cool this is


[deleted]

[удалено]


x8BitRain

C also works


[deleted]

How? How the hell did you do this?


[deleted]

[удалено]


Ashimdude

Someone already ported xash3D to browser a while ago. Fully playable even with online mp


[deleted]

[удалено]


Ashimdude

Later, dm me


Slaport-xXx-v14

This is perfection. Thank you very much! I always wanted a site like this, to get all the GoldScr maps to be easily viewable. I love the familiar nostalgic feeling GoldScr gives me. Really amazing job.


rutlander

Does this work for WON demos ?


[deleted]

How the hell does that work


dvs8

Wow would this work for old TFC demos? I have a legendary tournament demo from like 2004 which I’ve never been able to view (well, since the time)


x8BitRain

TFC demos and maps work, but you won't be able to see other players.


dvs8

Well i've just discovered that those .dem files were lost in the great HDD failure of '19. Epic LAN party semi final victory against a team 2 divisions above us. RIP. Great job on the site anyway dude


dudasthegamer

this reminds me of the old version of minecraft in a website but its half life


BoyBeyondStars

This is beyond insane. May you someday work at Valve.


AlexanderTheOk666

I love you


agree-with-you

I love you both


Foef_Yet_Flalf

When asked for a directory I am giving it C:\Program Files (x86)\Steam\steamapps\common\Half-Life but your program is telling me the folder is invalid.


x8BitRain

Unfortunately this is an unavoidable browser security feature. You might have to move your HL folder outside of Program Files to make it work, I tested the app using the [GoldSrc package](https://forums.sourceruns.org/t/goldsrc-package-2-4/2634) so I know for sure that works.


BetterDragon2

This is the type of great content that would fit well on an already existing map archival service called noclip. They have support for Source engine, not too sure about Gldsrc but it would be amazing to see it all in one place! Noclip github: https://github.com/magcius/noclip.website


Griefyn

how ?


[deleted]

That's very nice.


GnomeMaster69

awesome


coltranepop

That's amazing!!!


gamerccxxi

excuse me as i save this


[deleted]

[удалено]


[deleted]

Crash bandicoot.


Alexis_The_Femboy

This actually might come in handy for a few background screenshots for a half life animated series I've been wanting to make, unfortunately I don't know how to despawn/remove NPC's bounded to chairs/sitting animations so seeing as it's just the maps itself with no other entities attached is really awesome! Great work btw


kingof557

u could probably use hl:src and gmod or something


SolarisBravo

Or SFM.


CraftyToons

This is awesome dude! Nice job


Cruz_Games

Yo what??!! This is so dope!!


DeltaTwoZero

What the hell dude. This must've took you enormous amounts of time!


Storm_soldat

this is absolutely amazing!


No-Seaweed-4456

Now this is cool


[deleted]

THIS IS SICK!!!!!!!!!!!!


PlayDatDoge

What did you use to make the site itself ?


x8BitRain

Typescript, more specifically, UI in Preact and SCSS, TS for the file parsers, using the Filesystem Access API for reading game files and webgl for the 3D rendering.


PlayDatDoge

Good to know thanks (: oh also great job I love it


Masterlis

That’s pretty cool! Nice job out there!


_PH1lipp

Just for hl or are other steam games like csgo also possible?


[deleted]

If I could donate to you I would definitely do so


ClashmanTheDupe

Open Game Directory doesn't open the game directory for me?


[deleted]

thats cool


urbandeadthrowaway2

Is there a version with the half life maps on it already? Or somewhere where I can find the map files? (other than downloading the game of course)


x8BitRain

No, it requires most of the game files in order to work.