1

Topic: Not launching on OS X?

Hello

I've been trying without success to run the game on Mac OS X


Trying to launch using the terminal:

% Library/Application\ Support/Steam/SteamApps/common/Teeworlds/tw/teeworlds
dyld: Library not loaded: @rpath/SDL.framework/Versions/A/SDL
  Referenced from: /Users/romuald/Library/Application Support/Steam/SteamApps/common/Teeworlds/tw/teeworlds
  Reason: image not found
zsh: trace trap  Library/Application\ Support/Steam/SteamApps/common/Teeworlds/tw/teeworlds

Same problem with 0.6.4 and the Steam version
OS X 10.11.6

I've tried to blindly install SDL packages from homebrew without any difference

brew cask install sdl-framework
brew install sdl sdl2 sld_image

Any clue as to what might be the cause of this issue?

2

Re: Not launching on OS X?

Looks like the path to search for sdl is not set correctly in the teeworlds binary. This here might help you: https://www.teeworlds.com/forum/viewtopic.php?id=11331. To verify this as cause you should check if 0.6.3 is working.

Luck is allowed

3

Re: Not launching on OS X?

HMH wrote:

Looks like the path to search for sdl is not set correctly in the teeworlds binary. This here might help you: https://www.teeworlds.com/forum/viewtopic.php?id=11331. To verify this as cause you should check if 0.6.3 is working.

Can you tell me what I need to fix in the Mac binary? sad

4 (edited by romuald 2016-12-03 18:31:34)

Re: Not launching on OS X?

Bingo

install_name_tool -change @rpath/SDL.framework/Versions/A/SDL  \
  @executable_path/../Frameworks/SDL.framework/Versions/A/SDL\
  teeworld-binary

did the trick

Many thanks

5

Re: Not launching on OS X?

I'm having the same problem, but I don't really understand your solution (sorry). Can you explain how to fix it in a simpler way?

6

Re: Not launching on OS X?

Ok, I compiled 0.6.4 and included dependencies properly I hope, here you go: https://github.com/H-M-H/Teeworlds-bina … .4-osx.dmg

Luck is allowed

7

Re: Not launching on OS X?

I've made a small AppleScript that will patch the binary the same way I did with the terminal, it's available here: http://chivil.com/teeworldspatch.dmg

Just drag & drop the app to it

8 (edited by killerBEEZ 2017-03-13 18:52:21)

Re: Not launching on OS X?

Can we update the front page with the fixed application? There may be people who want to* try to play the game but can't.

9

Re: Not launching on OS X?

They have already solved it, because they do not close this entry

Hello, I need help, how can I create a mod?

10 (edited by killerBEEZ 2017-03-14 03:42:56)

Re: Not launching on OS X?

Just replying to show it is not fixed.

Error Screenshot

11 (edited by masked tee 2017-04-02 02:57:16)

Re: Not launching on OS X?

I can confirm that version 0.6.4 built on November 7, 2016 at 19:45 doesn't work on macOS 10.12.4. The previous version, 0.6.3 works fine!

screenshot

masked tee / florin.teeworlds@gmail.com

12 (edited by Deepfinder 2017-04-29 20:23:02)

Re: Not launching on OS X?

Why is this not fixed?!

I will be banned if I troll again ...

13

Re: Not launching on OS X?

*bump* Why is this not fixed?!

I will be banned if I troll again ...