MacOS SpringRTS OSX Build

MacOS SpringRTS OSX Build

Discuss everything related to compiling and running Spring on Mac OS X.

Moderator: Moderators

Post Reply
darklord42
Posts: 96
Joined: 26 Jul 2014, 07:11

MacOS SpringRTS OSX Build

Post by darklord42 »

Here are my OSX builds of Spring and Springlobby. To select Spring.app in SpringLobby.app, go to Edit -> Preferences. Under the Spring tab select "Add New..." button and navigate to the Spring.app. Click "Apply" and you should be good to go.

Spring Download

Spring_103.0-OSX-10.11 (OSX 10.11+)

Spring_102.0-OSX-10.11 (OSX 10.11+)

Spring_101.0-OSX-10.11 (OSX 10.11+)

Spring_100.0-OSX-10.10 (OSX 10.10+)

SpringLobby Download

SpringLobby-248-OSX-10.11 (OSX 10.11+)
Last edited by darklord42 on 21 Jul 2016, 19:58, edited 38 times in total.
darklord42
Posts: 96
Joined: 26 Jul 2014, 07:11

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 on

Post by darklord42 »

Manged to bundle the AI dylib libraries. (needed the gcc libraries as they were built against gcc) At least AAI and Shard works fine in BA. Idk, some work, others crash, and others stand still. If anyone has any suggestions regarding bundling AIs let me know.
Xeroxyster
Posts: 25
Joined: 16 Aug 2009, 01:31

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 on

Post by Xeroxyster »

To clarify, this is Spring 98.0 right?

Thanks for the work on the osx build, I'll encourage the two osx players I know to test it and post any problems they have.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 on

Post by abma »

Xeroxyster wrote:To clarify, this is Spring 98.0 right?
no, this is spring 98.0.1-353-gcae510f develop (=current development branch, so pre-99.0)
Xeroxyster
Posts: 25
Joined: 16 Aug 2009, 01:31

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 on

Post by Xeroxyster »

Oh my.... I can't believe I missed that....

Thanks Abma
darklord42
Posts: 96
Joined: 26 Jul 2014, 07:11

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 on

Post by darklord42 »

Please do. If you have any suggestions, let me know! Wish I could put up a .98 build, but there were some compiling bug fixes made recently.
Xeroxyster
Posts: 25
Joined: 16 Aug 2009, 01:31

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 on

Post by Xeroxyster »

After editing the hidden file, springlobby took a long time (30s-ish) and multiple tries before it opened. It appeared and then disappeared from the dock a few times. But in the end it opened!

We ran into trouble when we tried to start a single player game. The map and the game autodownloads were stuck at 99%, but disappeared when we "clear finished" downloads. The map list and game list remained empty in both multiplayer and single player tabs even after "reload maps/games".

We couldn't find the location to manually install maps and games, the usual places "/Applications/Spring.app/Contents/MacOS/spring/maps/" and "/Applications/Spring/Contents/share/games/spring/maps/" did not register with springlobby even after "reload maps/games" Could this be a unitsync problem?

When we opened the engine without a lobby it auto detected some maps and games. We selected a scenario "Player vs. NullAI", the archer's valley map, and XTA 9.745. Spring loaded up just perfectly! No visual artifacts or crashes! Admittedly the NullAI didn't put up a fight.... *funny thing, huh?* :lol: :-)

We think that springlobby is unable to detect the things it successfully auto-downloads.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 on

Post by abma »

whats the output of help->system info?
darklord42
Posts: 96
Joined: 26 Jul 2014, 07:11

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 on

Post by darklord42 »

I bet it's working fine. I ran into similar issues. For the record, downloaded maps go into ~/.spring/maps (. means hidden) folder. You can put .sdz files in the ~/.spring/games folder and springlobby will find it, but games downloaded through springlobby I think are spread across the ~/.spring/pool folder. I never got a straight answer with that.

Anyway after you put the data in the hidden config file and you are in springlobby, go to Edit -> Preferences menu and select your manually placed entry from the list. If you don't see installed games and maps in springlobby, then go to Tools-> Reload Maps/Games and you should be all set.
darklord42
Posts: 96
Joined: 26 Jul 2014, 07:11

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 on

Post by darklord42 »

Well since Springlobby.app can now select Spring.app. So I'll re-upload the test package.
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 on

Post by jamerlan »

Good job! Thank you!

Works good! Except crash on exit)) But I have crash on exit on linux too so its not a surprize for me :-)

But actually on mac errors in infolog.txt looks different. Take a look (attached)
Attachments
infolog.txt
(48.41 KiB) Downloaded 333 times
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 on

Post by jamerlan »

ah.. later I had crash during playing game too
Attachments
infolog.txt
(29.79 KiB) Downloaded 65 times
darklord42
Posts: 96
Joined: 26 Jul 2014, 07:11

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 on

Post by darklord42 »

Added in pr-downloader to the App's MacOS folder.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 on

Post by abma »

for the crashes: please give a backtrace with gdb, the stacktraces generated from spring sadly are broken.

also in the second replay, AAI was used, sadly it is known to cause crashes :-|
hokomoko
Spring Developer
Posts: 593
Joined: 02 Jun 2014, 00:46

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 on

Post by hokomoko »

abma wrote:also in the second replay, AAI was used, sadly it is known to cause crashes :-|
Should AIs that are known to cause crashes be included in the engine? It's a bit of a noobtrap.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 on

Post by abma »

hokomoko wrote:Should AIs that are known to cause crashes be included in the engine? It's a bit of a noobtrap.
http://springrts.com/wiki/Project_propo ... lidAIs.lua

imo yes, they should be included as they work in many cases. the map hotstepper is very special.
lamer
Posts: 153
Joined: 08 Mar 2014, 23:13

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 on

Post by lamer »

jamerlan wrote:ah.. later I had crash during playing game too
Had same crashes from time to time (50/50) with AAI 0.9 + BA 8.08 + hotstepper.
I was lucky to catch another error with RAI (with stacktrace)
my_infolog2.txt
(41.56 KiB) Downloaded 63 times
Also from infolog: Watchdog::HangDetector doesn't work for osx, tries to use linux code.
User avatar
Belmakor
Posts: 212
Joined: 16 Nov 2005, 00:01

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 only

Post by Belmakor »

I've played a bunch of matches now with others in my household (all running Mac OS X) and the build linked at the beginning of this thread has been working well. Main issue is when trying to quit Spring.app it often hangs for quite a while then crashes. Other than that in-game works really well. I hope the Mac OS X port becomes "official" so I can play online with everybody again :)
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 only

Post by jamerlan »

I have hang and crash on linux too. So its probably not related to Mac OS X
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: MacOS SpringRTS App Develop Branch Testing. OSX 10.10 only

Post by Silentwings »

jamerlan: infolog/stacktrace likely makes it possible to check if your issue is the same.
Post Reply

Return to “Mac OS X”