Bay 12 Games Forum
Other Projects => Curses => Topic started by: shibby1295 on September 01, 2013, 04:56:32 pm
-
I just got the latest version of LCS running on my Macbook Pro. It took just a smidgeon of doing, so I thought I'd document what I did. It's mostly the same as building on Linux, with just a few changes.
This is on OSX 10.84, 64 bit intel. Your mileage may vary. Also, I haven't played very much yet, so there could be bugs hiding in specific gameplay areas.
To get SVN:
Install XCode via the App Store
Open XCode, then go to the Downloads tab of the preferences menu
Click the 'install' button next to "Command Line Tools"
To get autoconf: (in terminal):
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
brew install automake
To build LCS:
svn co http://svn.code.sf.net/p/lcsgame/code/trunk lcsgame
cd lcsgame/
./bootstrap
LIBS="/usr/lib/libiconv.2.dylib" ./configure
make
To play:
src/crimesquad
-
I have added your build notes to the main build notes file, LINUX_README.txt, as of revision 724 (http://sourceforge.net/p/lcsgame/code/724/), and credited you for writing those excellent build notes in the file. Now anyone who downloads the source code will have your build notes right there in that readme file in case they want to compile on Mac OS X. Unfortunately, from what I've read on the Wikipedia article about XCode, downloading it from the App Store only works on Mac OS X 10.7 and later, and not on earlier versions. 10.3 thru 10.6 all support XCode but not the latest versions, on those you have to download XCode from Apple's website instead of from the App Store, and they may need a developer account at Apple's website to download those older versions. But I am guessing if someone is able to get ahold of XCode on those older versions of Mac OS X, your instructions would probably work just fine. Anyway, thanks for your contributions! ;)
-
Thanks, glad to help out!
I only needed XCode as a way of getting SVN. I haven't confirmed this, but I think I read while I was looking this up that older versions of OSX ship with SVN. Also, since SVN is open source and in no way an Apple product, it should be readily available elsewhere. Of course, there could be no end of other problems on previous versions; without actually trying it out on them, one can't really say.
-
My dad has a Mac OS X 10.3 machine, but he doesn't let me anywhere near it. Plus I'm on vacation for the next month. I could try sneaking onto his computer and seeing if I can compile Liberal Crime Squad on his Power Macintosh G4 with a PowerPC chip. I am guessing it would PROBABLY work but I can't be quite sure until I try it myself. What would REALLY be tough is compiling it on classic Mac OS, like version 9.2.2 or earlier. There's actually some pretty neat stuff in Mac OS 9.2.2, like the latest TrueType version of the Chicago font, with Unicode support (a lot more glyphs in it than the versions you find online). Getting that Unicode version of the Chicago font would be VERY useful for people who add Advanced SubStation Alpha subtitles to Japanese anime shows. But I'm getting off-topic, so back to the main topic, I will maybe see if I can compile Liberal Crime Squad on Mac OS X 10.3 if I have the chance. Which won't be for another month, as I am traveling overseas and my dad's Mac isn't.
-
Hello,
I'm having problems with my Mac build of LCS using the install instructions above.
Specifically, I want to be able to find my save file and rename it, so that I can play multiple games (with different play styles) simultaneously. I looked for save.dat (which is what the code calls it) all over my computer and can only conclude that it's not there and that the true save file is somewhere else.
I also want to be able to delete my save file and start over. In fiddling with it trying to find it, the LCS got scattered in Bugtober...
-
You don't have a hidden directory .lcs in your home directory?
-
Ah, no, that's what I didn't know to look for, and that's exactly where it was. Thank you very much!
-
Is there anyway you guys can post up a pre-packaged version for us less unix savvy mac users?
-
Hi everyone,
i entered the first batch of command in Terminal and ended up with this ...
can anyone help me ???
MacBook-Pro-de-Clement-Quentin:lcsgame utilsateur$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
brew install automake
-e:4: syntax error, unexpected '<'
<!DOCTYPE html>
^
-e:5: syntax error, unexpected '<'
<html>
^
-e:7: syntax error, unexpected '<'
<meta charset='utf-8'>
^
-e:8: syntax error, unexpected '<'
<meta http-equiv="X-UA-Compatible" content="IE=edge">
^
-e:8: syntax error, unexpected tIDENTIFIER, expecting $end
<meta http-equiv="X-UA-Compatible" content="IE=edge">
^
MacBook-Pro-de-Clement-Quentin:lcsgame utilsateur$ brew install automake
-bash: brew: command not found
MacBook-Pro-de-Clement-Quentin:lcsgame utilsateur$
Thanks :)
PS : i did the Xcode stuff before !
-
UPDATE : i managed by doing as told on these two pages
http://www.davidbaumgold.com/tutorials/wine-mac/
http://www.bay12forums.com/smf/index.php?topic=120429.0
-
Notes to self:
Apparently /usr/lib/libiconv.2.dylib has some issues on my system related to _libiconv and _iconv naming mismatches, so what I did was to set LIBS="/opt/local/lib/libiconv.dylib", a library file provided by macports that has all the bells and whistles in place.
Command to examine library function naming scheme
nm /usr/lib/libiconv.2.dylib | grep iconv
Command to examine library arch-types
lipo -info /usr/lib/libiconv.2.dylib
Running, duh! :P