Running 0.2.8.0 on Mac 10.7

For all the help you need with Armagetron!
Post Reply
Concord
Reverse Outside Corner Grinder
Posts: 1661
Joined: Sun Oct 21, 2007 5:24 pm

Running 0.2.8.0 on Mac 10.7

Post by Concord »

I wasn't able to find any packages of 0.2.8.0 for the x86 architecture, so I guess I need a little hand holding on building those old version from the source, if it's possible.

Without touching anything, I get this,
The run destination My Mac 64-bit is not valid for Running the scheme 'Armagetron Advanced 10.2.8'. The scheme 'Armagetron Advanced 10.2.8' contains no buildables that can be built for the SDKs supported by the run destination My Mac 64-bit. Make sure your targets all specify SDKs that are supported by this version of Xcode.
Armagetron dedicated from this same source compile just fine.

Thoughts?
Concord
Reverse Outside Corner Grinder
Posts: 1661
Joined: Sun Oct 21, 2007 5:24 pm

Re: Running 0.2.8.0 on Mac 10.7

Post by Concord »

Got over the aforementioned hurdle, maybe.

Now my error reads:
ProcessInfoPlistFile "/Users/Concord/Library/Developer/Xcode/DerivedData/Armagetron_Advanced-hjyivrutmdlucjgjcecblvrctzym/Build/Products/Debug/Armagetron Advanced.app/Contents/Info.plist" /Users/dharple/armagetronad/MacOS/../src/macosx/Info.plist
cd /Users/Concord/armagetronad-0.2.8.0/MacOS
builtin-infoPlistUtility /Users/dharple/armagetronad/MacOS/../src/macosx/Info.plist -genpkginfo "/Users/Concord/Library/Developer/Xcode/DerivedData/Armagetron_Advanced-hjyivrutmdlucjgjcecblvrctzym/Build/Products/Debug/Armagetron Advanced.app/Contents/PkgInfo" -expandbuildsettings -platform macosx -o "/Users/Concord/Library/Developer/Xcode/DerivedData/Armagetron_Advanced-hjyivrutmdlucjgjcecblvrctzym/Build/Products/Debug/Armagetron Advanced.app/Contents/Info.plist"

error: could not read data from '/Users/dharple/armagetronad/MacOS/../src/macosx/Info.plist': The file “Info.plist” couldn’t be opened because there is no such file.
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1975
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Re: Running 0.2.8.0 on Mac 10.7

Post by kyle »

heh gotta blame dlh for that :P

you'll have to figure out there that directory is hard coded in most likely the makefile
Image
Concord
Reverse Outside Corner Grinder
Posts: 1661
Joined: Sun Oct 21, 2007 5:24 pm

Re: Running 0.2.8.0 on Mac 10.7

Post by Concord »

I found the line that referenced dlh and changed it to my user's name, but it still can't be found. I get the same error, but we can't blame dlh anymore
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Running 0.2.8.0 on Mac 10.7

Post by Z-Man »

Why does it have to be 0.2.8.0 in the first place? I can't remember when we made the change, but later 0.2.8 builds are definitely available as universal binaries.
What you could try is take the build files from 0.2.8.3.2 (or whatever is the closest build that works) and transplant them back into 0.2.8.0. You may need to remove some nonexistent files from the project, but I think nothing much else changed.
Concord
Reverse Outside Corner Grinder
Posts: 1661
Joined: Sun Oct 21, 2007 5:24 pm

Re: Running 0.2.8.0 on Mac 10.7

Post by Concord »

I'll give it a shot.

I'm trying to watch an old aarec.

(Also, according to this, the first package for x86 is 0.2.8.2)
User avatar
Jip
Round Winner
Posts: 397
Joined: Sat Sep 26, 2009 5:32 pm

Re: Running 0.2.8.0 on Mac 10.7

Post by Jip »

Have you tried to play it back with this one?
Concord
Reverse Outside Corner Grinder
Posts: 1661
Joined: Sun Oct 21, 2007 5:24 pm

Re: Running 0.2.8.0 on Mac 10.7

Post by Concord »

ok, that problem's solved, I realized that it was referencing ~/armagetronad/MacOS, but the folder was named armagetronad-0.2.8.0. Easy enough.

Now, I'm on to
Argument list too long: recursive header expansion failed at /Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.DeveloperTools.4_2.docset/Contents/Resources/Documents/recipes/instruments_help-basic-help.
…which doesn't look like something related to the game's code.


Jip, that one won't run at all for me.
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Re: Running 0.2.8.0 on Mac 10.7

Post by dlh »

An easier solution is to use make instead of Xcode to build the game. You won't get a packaged .app, and you'll need to use the command-line to start the game. However this is much more simple than updating the pre-universal Xcode project.
  • Install macports
  • Install SDL and other dependencies:

    Code: Select all

    sudo port install libsdl libsdl_image libsdl_mixer
  • Download the sourcecode for 0.2.8.0.
  • Configure the game:

    Code: Select all

    ./configure CPPFLAGS="-I/opt/local/include" LDFLAGS="-framework OpenGL -framework Foundation -framework Carbon -framework Cocoa" HAVE_M4=false
  • Build and run:

    Code: Select all

    make run
    ./armagetronad --playback old_recording.aarec
Last edited by dlh on Sat Dec 31, 2011 11:48 pm, edited 1 time in total.
Concord
Reverse Outside Corner Grinder
Posts: 1661
Joined: Sun Oct 21, 2007 5:24 pm

Re: Running 0.2.8.0 on Mac 10.7

Post by Concord »

thanks, will do
Concord
Reverse Outside Corner Grinder
Posts: 1661
Joined: Sun Oct 21, 2007 5:24 pm

Re: Running 0.2.8.0 on Mac 10.7

Post by Concord »

I gave this a shot a couple weeks ago. everything went as expected ( expected being fine) but of course the actual playback (also a kind of expected result)

shelved it, but am giving it another shot this weekend.
Post Reply