Changes

Jump to: navigation, search

How to setup a local QuakeJS server under Windows 10

1,096 bytes added, 13:41, 12 September 2019
no edit summary
'''<pre style="color: orange">NOTE: This guide assumes your local server's hostname is "quakejs"</pre>'''
'''<pre style="color: orange">NOTE: currently the content server address of content.quakejs.com is hard coded into some compile code. I'm working on being able to recompile but in the meantime there is a "hack" to redirect content.quakejs.com to your localhost address. See the "Redirect content.quakejs.com" section</pre>'''
=Setup the Environment=
#run the following command to download all of the Content Server files<pre>./get_assets.sh</pre>
#run the following command to close Git Bash<pre>exit</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.
#Open your favorite text editor as Administrator (I prefer notepad++)
#Open C:\Windows\System32\drivers\etc\hosts
#add the following line to the bottom of the file<pre>127.0.0.1 content.quakejs.com</pre>
=Extras=

Navigation menu