Slashdot ran a story about getting Quake2 running in a browser windows. That is very cool.
There were installation instruction at quake2-gwt-port except the instructions were not for "Linux" but only for Linux distros that provide apt-get (probably Ubuntu). That is not cool at all.
While it would have been possible for them to write their HOWTO instructions in a generic way (provide a list of all dependencies, provide links to source code for needed apps not included in every Linux distro, etc.), they just assumed that everybody uses Ubuntu. Bad. Bad. Bad.
Here's what I needed to do to get it compiled and installed on my Mageia5 system. Read those Ubuntu-ed instructions first for the details. You should be using sudo to run commands that need root privileges. (All the following commands are written on one line even if they appear to be on multiple lines.)
$ sudo urpmi mercurial ant gcj-tools javacc lame vorbis-tools
$ hg clone https://quake2-gwt-port.googlecode.com/hg/ quake2-gwt-port
$ cd ~/quake2-gwt-port
$ sudo ant run
This will install the original Quake II demo resources, build the client and server code, then run the server.
Play Quake2 in your browser with: http://localhost:8080/GwtQuake.html
It seems to run just fine in Firefox (as well as PaleMoon, QupZilla, very slow in Arora, not at all in Dillo) window. It doesn't run in very old versions of Firefox or possibly other browsers because of the opengl requirement.
Check blog’s new tagline - I thought it would be a good time to change the tagline (Older: “Linux, Tech, web and other things I’m interested in”). So how is doing an MBA after being ...
4 years ago