1,575
edits
Changes
→Redirect content.quakejs.com
Currently the content server address (content.quakejs.com) is hard coded into the compile ioq3 code. Because QuakeJS is so old, the version of Empscripten used to compile it is no longer available. I'm working on figuring out how to recompile the program. In the meantime, the easiest hack (and it is a hack) I've found to be able to run a local QuakeJS server, without an internet connection, is to edit your hosts file to redirect content.quakejs.com to your localhost. The below instructions will explain how to do this.
#Edit your hosts file by running the following<pre>sudo nano /etc/hosts</pre>
#Add the following line to the bottom of the file<pre>127.0.0.1 content.quakejs.com # quakejs local content server redirect</pre>
At this point you can visit http://quakejs/ and it will download a couple files to your browser from your local content server and connect to your server (if it is running, which it isn't if you're following this guide).