Changes

Jump to: navigation, search
The Original Method
##Change Line 75 to <pre>var args = ['+set', 'fs_cdn', 'quakejs:80', '+connect', 'quakejs:27960'];</pre>
##Add the following between lines 6 and 7 <pre><link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">&#10;<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">&#10;<link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">&#10;<link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png">&#10;<link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png">&#10;<link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png">&#10;<link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png">&#10;<link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png">&#10;link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png">&#10;<link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png">&#10;<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">&#10;<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">&#10;<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">&#10;<link rel="manifest" href="/manifest.json">&#10;<meta name="msapplication-TileColor" content="#ffffff">&#10;<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">&#10;<meta name="theme-color" content="#ffffff"></pre>
 
==Redirect content.quakejs.com==
Currently the content server of 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</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).

Navigation menu