Here are updated instructions for macOS if you want to run gccg on a new Mac.
Unfortunately, you have to have a "copy" of the 'metw' folder with all the goodies to get this going tho.
But if you saved a copy you can do all this on macOS 10.10-10.12
gccg-meccg-macports-macOS-10.12.6
1. Latest Xcode for your version of MacOS (it’s free, on the app store)
a. macOS 10.13 (macports not ready, install while on 12)
might be able to get away with sierra macports
b. macOS 10.12 Xcode 8.x
c. macOS 10.11 Xcode 7.x
d. macOS 10.10 Xcode 6.x
2. Launch and quit Xcode, then install Xcode CLT (Command Line Tools), in Terminal (most of these commands are in Terminal.app):
xcode-select --install
xcodebuild -license
3. Install X11
https://www.xquartz.org (get .dmg, install)
4. Goto macports.com and select the installer .dmg
for your version of macOS
5. Launch Terminal and do:
sudo port -v selfupdate
6. Find the Java installer dmg named:
javaforosx.dmg
Java for OS X 2015-001 (mounted name)
dated 7/22/15, best version I’ve found, most compatible
7. With macports installed run the following commands:
sudo port install jpeg build_arch=i386
sudo port install libpng build_arch=i386
(there was a problem with ncurses can't trace what it was)
try 1st: sudo port install ncurses build_arch=i386
if no problems continue
otherwise:
sudo port -fp uninstall ncurses
sudo port clean ncurses
try 2nd: sudo port install ncurses +universal
the 1st one should cut it tho from my bash log
sudo port install libsdl build_arch=i386
sudo port select --set python python27
sudo port select --set python2 python27
sudo port install libsdl_image build_arch=i386
(there is beta bug with libmikmod, right now, so just work with this)
sudo port install mikmod
sudo port install libsdl_mixer +universal
sudo port select --set python python27
sudo port select --set python2 python27
sudo port install libsdl_net build_arch=i386
sudo port install libsdl_ttf build_arch=i386
8. Make a symbolic link for /opt/local/lib, so gccg can find them:
sudo ln -s /opt/local/lib /sw/lib
9. Get this library: libjpeg.62.dylib, from here:
http://trac.greenstone.org/browser/othe ... ?rev=17620
If you can’t for some reason I’ll dropbox it. Put on your Desktop (in terminal):
cp ~/Desktop/libjpeg.62.dylib /opt/local/lib/libjpeg.62.dylib
10. Use a gui svn client or use command line, I use Versions.app
google search versions app mac (30 day trial)
11. Create gccg-svn folder in /Applications
12. Pull latest core from http://ccg@svn.code.sf.net/p/gccg/svn
user: ccg
pass: ccg
save as core inside /Applications/gccg-svn/
13. At this point we’re stuck, because we can’t get the latest metw but if you happen to have a fresh folder you’re in luck! otherwise see step 14.
14. Get latest metw from https://github.com/vastorper/dc
Now Using GitHub and you can either clone for git updating, or download the zip, it's much faster now.
15. You should have two folders:
/Applications/gccg-svn/core
/Applications/gccg-svn/metw
16. After all pulling is up to date, duplicate gccg-svn to gccg-svn copy (or right click zip it)
17. Duplicate gccg-svn again to ‘gccg-svn copy 2’ and rename to gccg
18. You should have two folders for MAIN work:
/Applications/gccg/core
/Applications/gccg/metw
note: The reason for the multiple copies is for backup and in case you have to redo the setup.
19. So at this point since you pulled from gccg/core you don’t have to build it (thankfully) but we are using the x86 version i.e. 32-bit, but you have to install it! If you have any problems just replace the folders and redo below:
20. Goto to the App folder and run:
cd /App*/gccg/core
./gccg_package install client fonts darwin-i386
./gccg_package install Metw
21. MacOS has a merge feature built into the Finder. USE IT
What you have to do is go into the /App*/gccg/metw directory and
a. Drag a Folder to /App*/gccg/core if it says replace DON’T!
“option drag” to the ../core folder and it will ask you in
finder to Merge, goto the next folder
b. Drag the next folder if it just drops in, you’re good, else
see (a)
22. Goto /App*/gccg/core/scripts/client.triggers, open in Xcode
change this:
server.name_default="NO.DEFAULT.SERVER.FOR.THIS.GAME";
server.name=server.name_default;
mode="";
to this:
# server.name_default="NO.DEFAULT.SERVER.FOR.THIS.GAME";
server.name_default="199.91.172.122";
server.name=server.name_default;
mode="";
23. If you are on say a MacBook Pro 15” retina, goto:
cd /App*/gccg/core
./Metw --geometry 1400x800 --user <your user name you want/use>
24. command-click and select reconnect to server!
25. You’re IN!
Thanks for reading! Hope this helps somebody!
n.b. Homebrew not so freindly! because i386 needed.
n.b If someone goes thru and wants to post notes, for cleaning up some stuff on a 2nd go around! Let me know!
Lagers...
gccg-meccg-macports-macOS
Last edited by rezwits on Tue Oct 03, 2017 10:14 pm, edited 1 time in total.
As of 4/3/21 4:03:21
my current rulings foundation is based on:
All of the rules and rulings found in these PDFs at:
https://cardnum.net/rules
If you have other collected rulings that are not
listed please feel free to email them or PM me...
my current rulings foundation is based on:
All of the rules and rulings found in these PDFs at:
https://cardnum.net/rules
If you have other collected rulings that are not
listed please feel free to email them or PM me...
Hey all,
If you have a running copy of GCCG/Core plus an metw project folder, here are some caveats, when doing a macports port update (if you do other development).
First of all in the macports documentation there are ways to SET your default builds to "build_arch=i386"
But the only problem is EVERYTHING will be built i386, which we really don't want that.
So, in any case if you do a sudo port update or update your ports database, you will get a couple errors, that can be fixed.
ERROR #1
dyld: Library not loaded: /sw/lib/libSDL_image-1.2.0.dylib
Referenced from: /Applications/gccg/core/./ccg_client
Reason: no suitable image found. Did find:
/sw/lib/libSDL_image-1.2.0.dylib: mach-o, but wrong architecture
/opt/local/lib/libSDL_image-1.2.0.dylib: mach-o, but wrong architecture
tools/launch_client: line 4: 41511 Abort trap: 6 $CCG_PATH/ccg_client $*
[•] All you have to do is (in terminal):
sudo port -fp uninstall libsdl_image
sudo port install libsdl_image build_arch=i386
ERROR #2 (identical, just different lib)
dyld: Library not loaded: /sw/lib/libSDL_ttf-2.0.0.dylib
Referenced from: /Applications/gccg/core/./ccg_client
Reason: no suitable image found. Did find:
/sw/lib/libSDL_ttf-2.0.0.dylib: mach-o, but wrong architecture
/opt/local/lib/libSDL_ttf-2.0.0.dylib: mach-o, but wrong architecture
[•] Once again in terminal following (#1):
sudo port -fp uninstall libSDL_ttf
sudo port install libSDL_ttf build_arch=i386
You will be good to go at this point, if you have another lib that says wrong arch
just uninstall like these and re-install. macports makes things clean.
SOME of you won't even EVER have this error because, if you just install, macports and do the procedure from the previous initial post, but NEVER update macports, you'll be FINE, using the old crusty version of GCCG!
But, if you have other uses for macports and want/need to update *nix resources, you're gonna have to fix these It's not that bad!
Laters...
p.s. NOTE - gotta get that METW svn project posted some how, still!!
If you have a running copy of GCCG/Core plus an metw project folder, here are some caveats, when doing a macports port update (if you do other development).
First of all in the macports documentation there are ways to SET your default builds to "build_arch=i386"
But the only problem is EVERYTHING will be built i386, which we really don't want that.
So, in any case if you do a sudo port update or update your ports database, you will get a couple errors, that can be fixed.
ERROR #1
dyld: Library not loaded: /sw/lib/libSDL_image-1.2.0.dylib
Referenced from: /Applications/gccg/core/./ccg_client
Reason: no suitable image found. Did find:
/sw/lib/libSDL_image-1.2.0.dylib: mach-o, but wrong architecture
/opt/local/lib/libSDL_image-1.2.0.dylib: mach-o, but wrong architecture
tools/launch_client: line 4: 41511 Abort trap: 6 $CCG_PATH/ccg_client $*
[•] All you have to do is (in terminal):
sudo port -fp uninstall libsdl_image
sudo port install libsdl_image build_arch=i386
ERROR #2 (identical, just different lib)
dyld: Library not loaded: /sw/lib/libSDL_ttf-2.0.0.dylib
Referenced from: /Applications/gccg/core/./ccg_client
Reason: no suitable image found. Did find:
/sw/lib/libSDL_ttf-2.0.0.dylib: mach-o, but wrong architecture
/opt/local/lib/libSDL_ttf-2.0.0.dylib: mach-o, but wrong architecture
[•] Once again in terminal following (#1):
sudo port -fp uninstall libSDL_ttf
sudo port install libSDL_ttf build_arch=i386
You will be good to go at this point, if you have another lib that says wrong arch
just uninstall like these and re-install. macports makes things clean.
SOME of you won't even EVER have this error because, if you just install, macports and do the procedure from the previous initial post, but NEVER update macports, you'll be FINE, using the old crusty version of GCCG!
But, if you have other uses for macports and want/need to update *nix resources, you're gonna have to fix these It's not that bad!
Laters...
p.s. NOTE - gotta get that METW svn project posted some how, still!!
As of 4/3/21 4:03:21
my current rulings foundation is based on:
All of the rules and rulings found in these PDFs at:
https://cardnum.net/rules
If you have other collected rulings that are not
listed please feel free to email them or PM me...
my current rulings foundation is based on:
All of the rules and rulings found in these PDFs at:
https://cardnum.net/rules
If you have other collected rulings that are not
listed please feel free to email them or PM me...
I am working on the macOS High Sierra instruction for upgrade/or new install.
Stayed tuned!!
Stayed tuned!!
As of 4/3/21 4:03:21
my current rulings foundation is based on:
All of the rules and rulings found in these PDFs at:
https://cardnum.net/rules
If you have other collected rulings that are not
listed please feel free to email them or PM me...
my current rulings foundation is based on:
All of the rules and rulings found in these PDFs at:
https://cardnum.net/rules
If you have other collected rulings that are not
listed please feel free to email them or PM me...
highSierra upgrade/install
If you installed and had things working in a previous macOS (Sierra for instance)
—==—
Start Here (saving ports list, and uninstalling them):
Launch terminal (select each line, then hit return)
cd ~/
port -qv installed > myports.txt
port echo requested | cut -d ' ' -f 1 > requested.txt
sudo port -f uninstall installed
sudo rm -rf /opt/local/var/macports/build/*
sudo rm -rf \
/opt/local \
/Applications/DarwinPorts \
/Applications/MacPorts \
/Library/LaunchDaemons/org.macports.* \
/Library/Receipts/DarwinPorts*.pkg \
/Library/Receipts/MacPorts*.pkg \
/Library/StartupItems/DarwinPortsStartup \
/Library/Tcl/darwinports1.0 \
/Library/Tcl/macports1.0 \
~/.macports
—==—
From this point update to macOS High Sierra
—==—
When you get back from the macOS-highSierra update (macOS 13.0)
Launch Xcode, it will install it's files/helpers, I quit after
Launch terminal
—= REINSTALL macports from source, for now) =—
sudo bash
xcode-select --install
cd ~/
mkdir macports
cd macports
tar -xzvf MacPorts-2.4.1.tar.gz
cd MacPorts-2.4.1
./configure --enable-readline
make
make install
echo 'export PATH=/opt/local/bin:/opt/local/sbin:$PATH' >> ~/.profile
source ~/.profile
port -v selfupdate
—= Macports will take a while but when done you can re-install from restore files =—
{select this block below, and paste in terminal, hit return}
{wait till done, then select next block below and paste, hit return}
—==—
sudo port unsetrequested installed
xargs sudo port setrequested < requested.txt
{wait till done}
might have misc error now worries
—==—
15" screen example:
cd /App*/gccg/core
./Metw --geometry 1400x800 --user "your-account-name" <- no quotes
Read the 1st error and do the arch i386 fixes like the above post fixes
{or these fixes}
sudo port -fp uninstall libsdl_net
sudo port install libsdl_net build_arch=i386
sudo port -fp uninstall libsdl_image
sudo port install libsdl_image build_arch=i386
Then copy libjpeg.62.dylib back to desktop and
sudo bash
cd ~/Desktop
mv libjpeg.62.dylib /opt/local/lib
exit
next lib... again
sudo port -fp uninstall libsdl_ttf
sudo port install libsdl_ttf build_arch=i386
finally try the launch command again, and ??
cd /App*/gccg/core
./Metw --geometry 1400x800 --user "your-account-name" <- no quotes
Should be good to go!
Sources:
https://trac.macports.org/wiki/Migration
https://www.ghostwheel.com/merlin/Perso ... gh-sierra/
p.s./n.b. If you are installing from scratch, just use the above instruction for installing macports on High Sierra, and then use the original instruction and get the gccg+metw working...
but once again you need a metw folder (currently under construction getting that located)
If you installed and had things working in a previous macOS (Sierra for instance)
—==—
Start Here (saving ports list, and uninstalling them):
Launch terminal (select each line, then hit return)
cd ~/
port -qv installed > myports.txt
port echo requested | cut -d ' ' -f 1 > requested.txt
sudo port -f uninstall installed
sudo rm -rf /opt/local/var/macports/build/*
sudo rm -rf \
/opt/local \
/Applications/DarwinPorts \
/Applications/MacPorts \
/Library/LaunchDaemons/org.macports.* \
/Library/Receipts/DarwinPorts*.pkg \
/Library/Receipts/MacPorts*.pkg \
/Library/StartupItems/DarwinPortsStartup \
/Library/Tcl/darwinports1.0 \
/Library/Tcl/macports1.0 \
~/.macports
—==—
From this point update to macOS High Sierra
—==—
When you get back from the macOS-highSierra update (macOS 13.0)
Launch Xcode, it will install it's files/helpers, I quit after
Launch terminal
—= REINSTALL macports from source, for now) =—
sudo bash
xcode-select --install
cd ~/
mkdir macports
cd macports
Code: Select all
curl -O https://distfiles.macports.org/MacPorts/MacPorts-2.4.1.tar.gz
cd MacPorts-2.4.1
./configure --enable-readline
make
make install
echo 'export PATH=/opt/local/bin:/opt/local/sbin:$PATH' >> ~/.profile
source ~/.profile
port -v selfupdate
—= Macports will take a while but when done you can re-install from restore files =—
{select this block below, and paste in terminal, hit return}
Code: Select all
curl --location --remote-name \
https://github.com/macports/macports-contrib/raw/master/restore_ports/restore_ports.tcl
chmod +x restore_ports.tcl
sudo ./restore_ports.tcl myports.txt
—==—
sudo port unsetrequested installed
xargs sudo port setrequested < requested.txt
{wait till done}
might have misc error now worries
—==—
15" screen example:
cd /App*/gccg/core
./Metw --geometry 1400x800 --user "your-account-name" <- no quotes
Read the 1st error and do the arch i386 fixes like the above post fixes
{or these fixes}
sudo port -fp uninstall libsdl_net
sudo port install libsdl_net build_arch=i386
sudo port -fp uninstall libsdl_image
sudo port install libsdl_image build_arch=i386
Then copy libjpeg.62.dylib back to desktop and
sudo bash
cd ~/Desktop
mv libjpeg.62.dylib /opt/local/lib
exit
next lib... again
sudo port -fp uninstall libsdl_ttf
sudo port install libsdl_ttf build_arch=i386
finally try the launch command again, and ??
cd /App*/gccg/core
./Metw --geometry 1400x800 --user "your-account-name" <- no quotes
Should be good to go!
Sources:
https://trac.macports.org/wiki/Migration
https://www.ghostwheel.com/merlin/Perso ... gh-sierra/
p.s./n.b. If you are installing from scratch, just use the above instruction for installing macports on High Sierra, and then use the original instruction and get the gccg+metw working...
but once again you need a metw folder (currently under construction getting that located)
As of 4/3/21 4:03:21
my current rulings foundation is based on:
All of the rules and rulings found in these PDFs at:
https://cardnum.net/rules
If you have other collected rulings that are not
listed please feel free to email them or PM me...
my current rulings foundation is based on:
All of the rules and rulings found in these PDFs at:
https://cardnum.net/rules
If you have other collected rulings that are not
listed please feel free to email them or PM me...
Here are updated instructions for macOS if you want to run gccg on a new Mac.
I am updating these for the last time, as 10.14.x+ will be 64-bit ONLY
so no more GCCG on latest and greatest macOS machines
gccg-meccg-macports-macOS-10.13.5 (and then 10.13.6)
1. Latest Xcode for your version of MacOS (it’s free, on the app store)
a. macOS 10.13 Xcode 9.x
b. macOS 10.12 Xcode 8.x
c. macOS 10.11 Xcode 7.x
d. macOS 10.10 Xcode 6.x
2. Launch and quit Xcode, then install Xcode CLT (Command Line Tools), in Terminal (most of these commands are in Terminal.app):
xcode-select --install
xcodebuild -license
3. Install X11
https://www.xquartz.org (get .dmg, install)
4. Goto macports.com and select the installer .dmg
for your version of macOS
5. Launch Terminal and do:
sudo port -v selfupdate
6. Find the Java installer dmg named:
javaforosx.dmg
Java for OS X 2015-001 (mounted name)
dated 7/22/15, best version I’ve found, most compatible
I am using Java 1.8, it's fine.(build 1.8.0_162-b12
7. With macports installed run the following commands:
sudo port install jpeg build_arch=i386
sudo port install libpng build_arch=i386
sudo port install ncurses build_arch=i386
sudo port install pkgconfig
sudo port install libsdl build_arch=i386
sudo port install tiff (has to be b4 next line or error)
sudo port install libsdl_image build_arch=i386
sudo port install mikmod
sudo port install libsdl_mixer +universal
sudo port select --set python python27
sudo port select --set python2 python27
sudo port install libsdl_net build_arch=i386
sudo port install freetype (has to be b4 next line or error)
sudo port install libsdl_ttf build_arch=i386
8. Make a symbolic link for /opt/local/lib, so gccg can find them:
sudo ln -s /opt/local/lib /sw/lib
9, 10, 11... etc etc (same as the 1st post)
Laters...
I am updating these for the last time, as 10.14.x+ will be 64-bit ONLY
so no more GCCG on latest and greatest macOS machines
gccg-meccg-macports-macOS-10.13.5 (and then 10.13.6)
1. Latest Xcode for your version of MacOS (it’s free, on the app store)
a. macOS 10.13 Xcode 9.x
b. macOS 10.12 Xcode 8.x
c. macOS 10.11 Xcode 7.x
d. macOS 10.10 Xcode 6.x
2. Launch and quit Xcode, then install Xcode CLT (Command Line Tools), in Terminal (most of these commands are in Terminal.app):
xcode-select --install
xcodebuild -license
3. Install X11
https://www.xquartz.org (get .dmg, install)
4. Goto macports.com and select the installer .dmg
for your version of macOS
5. Launch Terminal and do:
sudo port -v selfupdate
6. Find the Java installer dmg named:
javaforosx.dmg
Java for OS X 2015-001 (mounted name)
dated 7/22/15, best version I’ve found, most compatible
I am using Java 1.8, it's fine.(build 1.8.0_162-b12
7. With macports installed run the following commands:
sudo port install jpeg build_arch=i386
sudo port install libpng build_arch=i386
sudo port install ncurses build_arch=i386
sudo port install pkgconfig
sudo port install libsdl build_arch=i386
sudo port install tiff (has to be b4 next line or error)
sudo port install libsdl_image build_arch=i386
sudo port install mikmod
sudo port install libsdl_mixer +universal
sudo port select --set python python27
sudo port select --set python2 python27
sudo port install libsdl_net build_arch=i386
sudo port install freetype (has to be b4 next line or error)
sudo port install libsdl_ttf build_arch=i386
8. Make a symbolic link for /opt/local/lib, so gccg can find them:
sudo ln -s /opt/local/lib /sw/lib
9, 10, 11... etc etc (same as the 1st post)
Laters...
As of 4/3/21 4:03:21
my current rulings foundation is based on:
All of the rules and rulings found in these PDFs at:
https://cardnum.net/rules
If you have other collected rulings that are not
listed please feel free to email them or PM me...
my current rulings foundation is based on:
All of the rules and rulings found in these PDFs at:
https://cardnum.net/rules
If you have other collected rulings that are not
listed please feel free to email them or PM me...