|
|
|
@ -3,17 +3,28 @@ |
|
|
|
|
## Building quakejs and assets |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
git clone --recurse-submodules https://github.com/glennhartmann/quakejs.git |
|
|
|
|
# Clone quakejs (using fork because it's newer) |
|
|
|
|
git clone --depth=1 https://github.com/glennhartmann/quakejs.git |
|
|
|
|
|
|
|
|
|
# Build ioq3 (git submodules was failing for me) |
|
|
|
|
cd quakejs |
|
|
|
|
rm -rf ioq3 |
|
|
|
|
git clone https://github.com/begleysm/ioq3.git |
|
|
|
|
cd ioq3 |
|
|
|
|
git reset --hard 4f7d7bf2159aa0a18b79bb417aa760abac817b2a |
|
|
|
|
rm -rf .git |
|
|
|
|
cd ../ |
|
|
|
|
|
|
|
|
|
# Build assets |
|
|
|
|
npm install |
|
|
|
|
npm audit fix --force # Optional |
|
|
|
|
node build/ioq3ded.js +set fs_game baseq3 +set dedicated 1 |
|
|
|
|
# Hold down/press enter until you see `Agreee? (y/n)` |
|
|
|
|
# Hold down enter until you see `Agree? (y/n)` |
|
|
|
|
# You read the EULA right? Right!?!...if so...enter `y` |
|
|
|
|
# Then use ctrl+c to end the server |
|
|
|
|
# Then use ctrl+c to end the server when you see "Opening IP socket" |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
> If the date of the last commit in the above quakejs GitHub repo is after |
|
|
|
|
> 2020-06-09, let Jerry know, he will be amused. Email: me@jerryaldrichiii.com |
|
|
|
|
> 2020-09-14, let Jerry know, he will be amused. Email: me@jerryaldrichiii.com |
|
|
|
|
|
|
|
|
|
After doing the above, `cd ..` then build the Docker image as you usually would |
|
|
|
|