7 ms·
Show HN: Explore Quake/Half-Life maps in your browser
- java-man 7y agois there an option for inverting the mouse movement?
- terracatta 7y agoSee also https://noclip.website/ https://noclip.website/
- airstrike 7y agoI love this, thank you. Sadly you have to hold the mouse button while moving the camera around but it's still amazing.
- Jasper_ 7y agoThanks for the suggestion. If you refresh, open the DevTools console with F12, and type `main.viewer.inputManager.releaseOnMouseUp = false`, the grab will stick until you press Escape now.
- sbuggay 7y agoWow this is awesome, thanks for sharing. I worry about supplying the .WADs for textures. Quake and Half-Life are both open source now but I'm not sure if their resources files are.
- Jasper_ 7y agoI'm not a lawyer, but this is my philosophy on why I continue to run https://noclip.website https://noclip.website like I do. https://twitter.com/JasperRLZ/status/1100819780691357696 https://twitter.com/JasperRLZ/status/1100819780691357696
- artificial 7y agoThanks for sharing, this is immensely cool! Just shared with some colleagues!
- wensley 7y agoHow do you get started deciphering the object data from an unknown format stored as binary? I've tried to extract data from ps1 games but have no idea where to begin.
- tinus_hn 7y agoTheir resources files are specifically not part of the open source releases. https://github.com/id-Software/Quake/blob/master/readme.txt https://github.com/id-Software/Quake/blob/master/readme.txt
- MrBuddyCasino 7y agoThis is super impressive. How do the animations and effects work? This can't just all be static data, but game code too?
- Jasper_ 7y agoDepends on the game. Nintendo stores most of their animation and particle effect data in a mostly declarative format which I've reverse engineered and reimplemented in TypeScript. For instance, the particle engine is here https://github.com/magcius/noclip.website/blob/master/src/Common/JSYSTEM/JPA.ts https://github.com/magcius/noclip.website/blob/master/src/Co...
- MrBuddyCasino 7y agoJesus Christ, a 5000 LOCs reverse engineered from what is probably a binary file format. I admire that level of dedication, must have been a huge amount of work.
- airstrike 7y agoReally cool! Add CS:GO to the list and you'll get hugged to death in no time!
- 0x77617472 7y agohttps://github.com/Metapyziks/SourceUtils https://github.com/Metapyziks/SourceUtils
- tW4r 7y agoSuper cool! By any chance were you on the old facepunch forums? I remember something similar on one of the devlog threads
- jaworrom 7y agoBrings back so many memories!
- switz 7y agoThis is really cool. It's such a fun project to pursue. I actually spent a few years building a native application for analyzing CS:GO demos, with a fully custom rendered 3D world for Source maps, along with demo parsing, player animations, and the ability to rewind and fast-forward instantly. You can take a peek at it here: https://rewind.site https://rewind.site I saw in your README that you're looking to add source support, might I recommend building off of zik's code? He already is quite far along in rendering Source maps in webgl: https://github.com/Metapyziks/SourceUtils https://github.com/Metapyziks/SourceUtils Best of luck, feel free to reach out if you ever want to connect.
- sbuggay 7y agoOh wow, I had actually just watched that 3kliks video on Rewind recently. That's some pretty amazing tech. Thank you for sharing zik's code as well, I will definitely be taking a look at this.
- Jasper_ 7y agoI've wanted to integrate Source maps into https://noclip.website/ https://noclip.website/ for a while, it's been a pretty major request for the site. If you wouldn't mind, I'd love to ask some questions about rendering them. Do you have any contact information?
- switz 7y agoSure, my email is in my profile.
- debaserab2 7y agoVery cool. I just loaded up some Half Life maps that I made when I was 15 and it ended up being a little trip down memory lane. Thanks for that!
- sbuggay 7y agoThat's awesome :) I'm glad the drag and drop feature worked for you.
- tpetrina 7y agoLong time ago I was a fan of KZ mod in CS 1.6 and I made this: http://kzplayer.azurewebsites.net http://kzplayer.azurewebsites.net. It's open source, but there is no "pipeline" to generate stuff on the fly. You have demo player and you can explore some maps freely
- imquaker 7y agoHi m0ver, I made a similar thing back in the day https://github.com/skyrim/hlviewer.js https://github.com/skyrim/hlviewer.js It uses original file formats (dem, bsp, wad, ...), so you don't have to generate anything. You can view all current KZ world records with it here http://hlviewer.stefan100.com/ http://hlviewer.stefan100.com/
- saberworks 7y agoNice! A visitor to my super-old Dark Forces II: Jedi Knight site (https://www.massassi.net/ https://www.massassi.net/) wrote and contributed something similar for Jedi Knight maps. (The site uses frames and thus I can't easily link to a page where you get the whole menu; if you start at the root just click "Levels" and pick a category.) Example: https://www.massassi.net/levels/files/323.shtml https://www.massassi.net/levels/files/323.shtml Github: https://github.com/stephanreiter/jkview https://github.com/stephanreiter/jkview The textures are present but blurred to avoid the copyrighted textures issue.
- w0m 7y agoholy cow this brings me back to highschool. thanks for the hours I wasted here waaaay back.
- yakshaving_jgt 7y agoAmazing! I spent ages building a Counter Strike map with the Valve Hammer Editor back in 2004. I was super proud of it, but I never got to play it! My other, sillier creations ended up being played quite often at my then local Internet gaming café. Now I'll get to explore it once again :)