Skip to content

Instantly share code, notes, and snippets.

@mikekelly
Forked from speto/install-quake3+cpma.sh
Last active December 30, 2023 18:10
Show Gist options
  • Save mikekelly/d46ff2bb63eb3a090a65088b47f4071d to your computer and use it in GitHub Desktop.
Save mikekelly/d46ff2bb63eb3a090a65088b47f4071d to your computer and use it in GitHub Desktop.

Revisions

  1. mikekelly revised this gist Dec 30, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install-quake3+cpma.sh
    Original file line number Diff line number Diff line change
    @@ -17,7 +17,7 @@ cd ioq3
    ./make-macosx.sh arm64

    cd build
    cp -R release-darwin-x86_64/ /Applications/ioquake3
    cp -R release-darwin-arm64/ /Applications/ioquake3

    cd /Applications/ioquake3/baseq3

  2. mikekelly revised this gist Dec 30, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install-quake3+cpma.sh
    Original file line number Diff line number Diff line change
    @@ -14,7 +14,7 @@ cd $HOME
    git clone https://github.com/ioquake/ioq3
    cd ioq3

    ./make-macosx.sh x86_64
    ./make-macosx.sh arm64

    cd build
    cp -R release-darwin-x86_64/ /Applications/ioquake3
  3. mikekelly revised this gist Dec 30, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install-quake3+cpma.sh
    Original file line number Diff line number Diff line change
    @@ -42,7 +42,7 @@ rm -f cpma.zip
    echo "Quake 3: Arena installation successful!"

    echo "Performing cleanup"
    rm -R $HOME/ioq3
    rm -Rf $HOME/ioq3

    read -p "Do you want to start the game now? (y/n) " -n 1 -r

  4. mikekelly revised this gist Dec 30, 2023. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion install-quake3+cpma.sh
    Original file line number Diff line number Diff line change
    @@ -36,7 +36,6 @@ rm -f cpma-mappack-full.zip
    # CPMA MOD binaries
    cd ..
    curl https://cdn.playmorepromode.com/files/cpma/cpma-1.53-nomaps.zip >cpma.zip

    unzip -a cpma.zip
    rm -f cpma.zip

  5. mikekelly revised this gist Dec 30, 2023. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion install-quake3+cpma.sh
    Original file line number Diff line number Diff line change
    @@ -35,7 +35,8 @@ rm -f cpma-mappack-full.zip

    # CPMA MOD binaries
    cd ..
    curl https://cdn.playmorepromode.com/files/latest/cpma-1.50-nomaps.zip >cpma.zip
    curl https://cdn.playmorepromode.com/files/cpma/cpma-1.53-nomaps.zip >cpma.zip

    unzip -a cpma.zip
    rm -f cpma.zip

  6. @speto speto revised this gist Oct 19, 2018. 1 changed file with 2 additions and 5 deletions.
    7 changes: 2 additions & 5 deletions install-quake3+cpma.sh
    Original file line number Diff line number Diff line change
    @@ -37,15 +37,12 @@ rm -f cpma-mappack-full.zip
    cd ..
    curl https://cdn.playmorepromode.com/files/latest/cpma-1.50-nomaps.zip >cpma.zip
    unzip -a cpma.zip

    echo "Performing cleanup"
    rm -f baseq3/cpma-mappack-full.zip
    rm -f cpma.zip
    rm -R $HOME/ioq3

    echo "Quake 3: Arena installation successful!"

    # rm -R $HOME/ioq3
    echo "Performing cleanup"
    rm -R $HOME/ioq3

    read -p "Do you want to start the game now? (y/n) " -n 1 -r

  7. @speto speto revised this gist Oct 17, 2018. 1 changed file with 12 additions and 1 deletion.
    13 changes: 12 additions & 1 deletion install-quake3+cpma.sh
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ cd /Applications/ioquake3/baseq3

    COUNT=0
    while [ $COUNT -lt 9 ]; do
    curl https://github.com/nrempel/q3-server/raw/master/baseq3/pak$COUNT.pk3 > pak$COUNT.pk3
    curl https://raw.githubusercontent.com/nrempel/q3-server/master/baseq3/pak$COUNT.pk3 > pak$COUNT.pk3
    let COUNT+=1
    done

    @@ -44,3 +44,14 @@ rm -f cpma.zip
    rm -R $HOME/ioq3

    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
    exit 0
    else
    open /Applications/ioquake3/ioquake3.app
    fi
  8. @speto speto revised this gist Oct 17, 2018. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions install-quake3+cpma.sh
    Original file line number Diff line number Diff line change
    @@ -23,13 +23,13 @@ cd /Applications/ioquake3/baseq3

    COUNT=0
    while [ $COUNT -lt 9 ]; do
    curl http://files.anitalink.com/gamecache/quake3/baseq3/pak$COUNT.pk3 > pak$COUNT.pk3
    curl https://github.com/nrempel/q3-server/raw/master/baseq3/pak$COUNT.pk3 > pak$COUNT.pk3
    let COUNT+=1
    done

    echo "Installing CPMA mod..."
    # CPMA map pack
    curl -L http://playmorepromode.com/files/cpma-mappack-full.zip >cpma-mappack-full.zip
    curl -L https://cdn.playmorepromode.com/files/cpma-mappack-full.zip >cpma-mappack-full.zip
    unzip -a -d . cpma-mappack-full.zip
    rm -f cpma-mappack-full.zip

  9. @nikhilmetrani nikhilmetrani revised this gist May 8, 2018. 1 changed file with 0 additions and 4 deletions.
    4 changes: 0 additions & 4 deletions install-quake3+cpma.sh
    Original file line number Diff line number Diff line change
    @@ -38,13 +38,9 @@ cd ..
    curl https://cdn.playmorepromode.com/files/latest/cpma-1.50-nomaps.zip >cpma.zip
    unzip -a cpma.zip

    curl https://cdn.playmorepromode.com/files/latest/cnq3-1.50.zip >cnq3.zip
    unzip -a cnq3.zip

    echo "Performing cleanup"
    rm -f baseq3/cpma-mappack-full.zip
    rm -f cpma.zip
    rm -f cnq3.zip
    rm -R $HOME/ioq3

    echo "Quake 3: Arena installation successful!"
  10. @nikhilmetrani nikhilmetrani revised this gist May 8, 2018. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion install-quake3+cpma.sh
    Original file line number Diff line number Diff line change
    @@ -35,12 +35,16 @@ rm -f cpma-mappack-full.zip

    # CPMA MOD binaries
    cd ..
    curl -L http://playmorepromode.com/files/latest/cpma >cpma.zip
    curl https://cdn.playmorepromode.com/files/latest/cpma-1.50-nomaps.zip >cpma.zip
    unzip -a cpma.zip

    curl https://cdn.playmorepromode.com/files/latest/cnq3-1.50.zip >cnq3.zip
    unzip -a cnq3.zip

    echo "Performing cleanup"
    rm -f baseq3/cpma-mappack-full.zip
    rm -f cpma.zip
    rm -f cnq3.zip
    rm -R $HOME/ioq3

    echo "Quake 3: Arena installation successful!"
  11. @nikhilmetrani nikhilmetrani revised this gist May 8, 2018. 1 changed file with 4 additions and 10 deletions.
    14 changes: 4 additions & 10 deletions install-quake3+cpma.sh
    Original file line number Diff line number Diff line change
    @@ -38,15 +38,9 @@ cd ..
    curl -L http://playmorepromode.com/files/latest/cpma >cpma.zip
    unzip -a cpma.zip

    echo "Quake 3: Arena installation successful!"

    echo "Performing cleanup"
    rm -f baseq3/cpma-mappack-full.zip
    rm -f cpma.zip
    rm -R $HOME/ioq3

    read -p "Do you want to start the game now? (y/n) " -n 1 -r

    if [[ ! $REPLY =~ ^[Yy]$ ]]
    then
    exit 0
    else
    open /Applications/ioquake3/ioquake3.app
    fi
    echo "Quake 3: Arena installation successful!"
  12. @nikhilmetrani nikhilmetrani renamed this gist May 8, 2018. 1 changed file with 11 additions and 0 deletions.
    11 changes: 11 additions & 0 deletions install-quake3.sh → install-quake3+cpma.sh
    Original file line number Diff line number Diff line change
    @@ -27,6 +27,17 @@ while [ $COUNT -lt 9 ]; do
    let COUNT+=1
    done

    echo "Installing CPMA mod..."
    # CPMA map pack
    curl -L http://playmorepromode.com/files/cpma-mappack-full.zip >cpma-mappack-full.zip
    unzip -a -d . cpma-mappack-full.zip
    rm -f cpma-mappack-full.zip

    # CPMA MOD binaries
    cd ..
    curl -L http://playmorepromode.com/files/latest/cpma >cpma.zip
    unzip -a cpma.zip

    echo "Quake 3: Arena installation successful!"

    rm -R $HOME/ioq3
  13. @simonewebdesign simonewebdesign revised this gist Nov 4, 2016. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions install-quake3.sh
    Original file line number Diff line number Diff line change
    @@ -31,10 +31,8 @@ echo "Quake 3: Arena installation successful!"

    rm -R $HOME/ioq3

    cd

    read -p "Do you want to start the game now? (y/n) " -n 1 -r
    echo

    if [[ ! $REPLY =~ ^[Yy]$ ]]
    then
    exit 0
  14. @simonewebdesign simonewebdesign created this gist Nov 4, 2016.
    43 changes: 43 additions & 0 deletions install-quake3.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,43 @@
    #!/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 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

    cd

    read -p "Do you want to start the game now? (y/n) " -n 1 -r
    echo
    if [[ ! $REPLY =~ ^[Yy]$ ]]
    then
    exit 0
    else
    open /Applications/ioquake3/ioquake3.app
    fi