Page 1 of 8

MacOS SpringRTS OSX Build

Posted: 26 Jan 2015, 21:51
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+)

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

Posted: 27 Jan 2015, 21:59
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.

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

Posted: 29 Jan 2015, 22:26
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.

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

Posted: 29 Jan 2015, 23:15
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)

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

Posted: 30 Jan 2015, 00:59
by Xeroxyster
Oh my.... I can't believe I missed that....

Thanks Abma

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

Posted: 30 Jan 2015, 01:21
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.

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

Posted: 31 Jan 2015, 02:25
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.

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

Posted: 31 Jan 2015, 03:05
by abma
whats the output of help->system info?

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

Posted: 31 Jan 2015, 04:14
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.

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

Posted: 02 Feb 2015, 05:41
by darklord42
Well since Springlobby.app can now select Spring.app. So I'll re-upload the test package.

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

Posted: 03 Feb 2015, 01:05
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)

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

Posted: 03 Feb 2015, 01:09
by jamerlan
ah.. later I had crash during playing game too

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

Posted: 03 Feb 2015, 07:47
by darklord42
Added in pr-downloader to the App's MacOS folder.

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

Posted: 03 Feb 2015, 08:51
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 :-|

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

Posted: 03 Feb 2015, 09:32
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.

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

Posted: 03 Feb 2015, 10:13
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.

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

Posted: 03 Feb 2015, 14:29
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 54 times
Also from infolog: Watchdog::HangDetector doesn't work for osx, tries to use linux code.

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

Posted: 14 Apr 2015, 02:10
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 :)

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

Posted: 14 Apr 2015, 10:00
by jamerlan
I have hang and crash on linux too. So its probably not related to Mac OS X

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

Posted: 14 Apr 2015, 11:03
by Silentwings
jamerlan: infolog/stacktrace likely makes it possible to check if your issue is the same.