Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Quake 3: Arena on a mac
#!/bin/bash
# Install Quake 3: Arena on a mac
# Copyright (c) 2016 simonewebdesign
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
set -e # exit on error
cd $HOME
git clone https://github.com/ioquake/ioq3
cd ioq3
./make-macosx.sh x86_64
cd build
cp -R release-darwin-x86_64/ /Applications/ioquake3
cd /Applications/ioquake3/baseq3
COUNT=0
while [ $COUNT -lt 9 ]; do
curl -L http://files.anitalink.com/gamecache/quake3/baseq3/pak$COUNT.pk3 > pak$COUNT.pk3
let COUNT+=1
done
echo "Quake 3: Arena installation successful!"
rm -R $HOME/ioq3
read -p "Do you want to start the game now? (y/n) " -n 1 -r
if [[ $REPLY =~ ^[Yy]$ ]]
then
open /Applications/ioquake3/ioquake3.app
fi
@NicolasGodfather

This comment has been minimized.

Copy link

@NicolasGodfather NicolasGodfather commented Apr 4, 2018

Thanks!

@BZBaXraM

This comment has been minimized.

Copy link

@BZBaXraM BZBaXraM commented May 19, 2018

Thanks!

@maximgubar

This comment has been minimized.

Copy link

@maximgubar maximgubar commented May 23, 2018

curl: (7) Failed to connect to files.anitalink.com port 80: Operation timed out

@grigorievk

This comment has been minimized.

Copy link

@grigorievk grigorievk commented May 30, 2018

@zhdanovartur

This comment has been minimized.

Copy link

@zhdanovartur zhdanovartur commented Jun 1, 2018

+1

@ExaltedKnave

This comment has been minimized.

Copy link

@ExaltedKnave ExaltedKnave commented Jun 29, 2018

curl: (7) Failed to connect to files.anitalink.com port 80: Operation timed out

Happened to me too. I drug and dropped .pk3 files from another quake install folder I had downloaded. It works great now, I just had to get a CD Key and now it works fine.

Thanks for the upload and instructions.

@bryan-symetric

This comment has been minimized.

Copy link

@bryan-symetric bryan-symetric commented Aug 1, 2018

@ExaltedKnave Did you have to do anything special with the .pk3 files? How many did you have?

I see the script attempts to download pak0.pk3 to pak9.pk3 but I've only got 0-6. When I tried to run the game I get an error suggesting to reinstall the 1.32 point release and make sure that every file in baseq3 is present and readable.

@atereshkov

This comment has been minimized.

Copy link

@atereshkov atereshkov commented Aug 14, 2018

The same here
Failed to connect to files.anitalink.com port 80: Operation timed out

@vladanghene

This comment has been minimized.

Copy link

@vladanghene vladanghene commented Dec 26, 2018

Point Release files are missing. Please re-install the 1.32 point release. Also check that your ioq3 executable is in the correct place and that every file in the "baseq3" directory is present and readable. See "/Users/[name]/Library/Application Support/Quake3/baseq3/crashlog.txt" for details.

I had a really hard time finding q3a Point Release 1.32 as an archive (not .exe) so I had to install them in an empty directory on a windows box, archived them and added them here.

@diegoulloao

This comment has been minimized.

Copy link

@diegoulloao diegoulloao commented Jan 16, 2019

@SleepyBrett

This comment has been minimized.

Copy link

@SleepyBrett SleepyBrett commented Jul 11, 2019

line 26.. that curl command needs a -L

@simonewebdesign

This comment has been minimized.

Copy link
Owner Author

@simonewebdesign simonewebdesign commented Jul 12, 2019

Updated, thanks @SleepyBrett!

@timkofu

This comment has been minimized.

Copy link

@timkofu timkofu commented Sep 13, 2019

Thanks for the script.

On line 32: rm -fr is what worked for me.

@pavelq3

This comment has been minimized.

Copy link

@pavelq3 pavelq3 commented Nov 2, 2019

WOW ! it's the best setup in my life ! Thanks a lot !

@simonewebdesign

This comment has been minimized.

Copy link
Owner Author

@simonewebdesign simonewebdesign commented Nov 3, 2019

Glad to hear that @pavelq3!

@guneyguven

This comment has been minimized.

Copy link

@guneyguven guneyguven commented Nov 18, 2019

perfect installing job +1

@hrytskivr

This comment has been minimized.

Copy link

@hrytskivr hrytskivr commented Nov 25, 2019

it works!

@kubik101

This comment has been minimized.

Copy link

@kubik101 kubik101 commented Dec 24, 2019

I had to make sure Xcode Command-line Tools were installed. Used the following command line to install.
xcode-select --install

Installation then worked but I get the following error when trying to run in /Applications/ioquake3/ioquake3.app

"pak0.pk3" is missing. Please copy it from your legitimate Q3 CDROM. Point Release files are missing. Please re-install the 1.32 point release. Also check that your ioq3 executable is in the correct place and that every file in the "baseq3" directory is present and readable. See "/Users/macbookpro/Library/Application Support/Quake3/baseq3/crashlog.txt" for details.

This is what's inside /Users/macbookpro/Library/Application Support/Quake3/baseq3/crashlog.txt

tty console mode disabled
ioq3 1.36_GIT_daae32dd-2019-11-17 macosx-x86_64 Dec 24 2019
SSE instruction set enabled
----- FS_Startup -----
We are looking in the current search path:
/Users/macbookpro/Library/Application Support/Quake3/baseq3
/Applications/ioquake3/ioquake3.app/Contents/MacOS/baseq3
/Applications/ioquake3/baseq3

----------------------
0 files in pk3 files
"pak0.pk3" is missing. Please copy it from your legitimate Q3 CDROM. Point Release files are missing. Please re-install the 1.32 point release. Also check that your ioq3 executable is in the correct place and that every file in the "baseq3" directory is present and readable

Any ideas?
I am running macOS 10.14.6

@kubik101

This comment has been minimized.

Copy link

@kubik101 kubik101 commented Dec 24, 2019

FYI - Just tried @diegoulloao version and worked perfectly with no issue.

@diegoulloao

This comment has been minimized.

Copy link

@diegoulloao diegoulloao commented Dec 24, 2019

FYI - Just tried @diegoulloao version and worked perfectly with no issue.

Actually my version was inspired in this script.
Thanks for all!

@bova80

This comment has been minimized.

Copy link

@bova80 bova80 commented Feb 4, 2020

is there some kind of key logger installed with this? Why am I getting presented with a message about it wanting to capture keystrokes from all apps?

@cyb3rpunk19

This comment has been minimized.

Copy link

@cyb3rpunk19 cyb3rpunk19 commented Feb 9, 2020

CONFIRMED VIRUS IS PRETTY NASTY MESSES UP WITH LIBRARY. IM ALREADY REPORTING HIS IP TO THE COMUNITY

@AlbusaOxyuranus

This comment has been minimized.

Copy link

@AlbusaOxyuranus AlbusaOxyuranus commented Apr 22, 2020

Thanks))

@bhaskard

This comment has been minimized.

Copy link

@bhaskard bhaskard commented May 6, 2020

Thanks!

@vixyswillie

This comment has been minimized.

Copy link

@vixyswillie vixyswillie commented May 9, 2020

@diegoulloao - Perfect, one-step installation on my MacBook Air running Catalina 10.15.4. Wow - THANK YOU SO MUCH!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.