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 » 26 Jan 2015, 21:51

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.
2 x

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

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

Post by darklord42 » 27 Jan 2015, 21:59

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.
0 x

Xeroxyster
Posts: 25
Joined: 16 Aug 2009, 01:31

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

Post by Xeroxyster » 29 Jan 2015, 22:26

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.
0 x

abma
Spring Developer
Posts: 3544
Joined: 01 Jun 2009, 00:08

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

Post by abma » 29 Jan 2015, 23:15

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)
0 x

Xeroxyster
Posts: 25
Joined: 16 Aug 2009, 01:31

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

Post by Xeroxyster » 30 Jan 2015, 00:59

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

Thanks Abma
0 x

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

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

Post by darklord42 » 30 Jan 2015, 01:21

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.
0 x

Xeroxyster
Posts: 25
Joined: 16 Aug 2009, 01:31

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

Post by Xeroxyster » 31 Jan 2015, 02:25

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.
0 x

abma
Spring Developer
Posts: 3544
Joined: 01 Jun 2009, 00:08

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

Post by abma » 31 Jan 2015, 03:05

whats the output of help->system info?
0 x

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

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

Post by darklord42 » 31 Jan 2015, 04:14

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.
0 x

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

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

Post by darklord42 » 02 Feb 2015, 05:41

Well since Springlobby.app can now select Spring.app. So I'll re-upload the test package.
0 x

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

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 286 times
0 x

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 » 03 Feb 2015, 01:09

ah.. later I had crash during playing game too
Attachments
infolog.txt
(29.79 KiB) Downloaded 52 times
0 x

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

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

Post by darklord42 » 03 Feb 2015, 07:47

Added in pr-downloader to the App's MacOS folder.
0 x

abma
Spring Developer
Posts: 3544
Joined: 01 Jun 2009, 00:08

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

Post by abma » 03 Feb 2015, 08:51

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 :-|
0 x

hokomoko
Spring Developer
Posts: 578
Joined: 02 Jun 2014, 00:46

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

Post by hokomoko » 03 Feb 2015, 09:32

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.
0 x

abma
Spring Developer
Posts: 3544
Joined: 01 Jun 2009, 00:08

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

Post by abma » 03 Feb 2015, 10:13

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.
0 x

lamer
Posts: 146
Joined: 08 Mar 2014, 23:13

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

Post by lamer » 03 Feb 2015, 14:29

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 51 times
Also from infolog: Watchdog::HangDetector doesn't work for osx, tries to use linux code.
0 x

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

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 :)
0 x

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 » 14 Apr 2015, 10:00

I have hang and crash on linux too. So its probably not related to Mac OS X
0 x

User avatar
Silentwings
Moderator
Posts: 3581
Joined: 25 Oct 2008, 00:23

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

Post by Silentwings » 14 Apr 2015, 11:03

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

Post Reply

Return to “Mac OS X”

cron