hi.
Does anyone know how to compile the github build of soundRTS on OSX? What packages are required? Or better yet, what packages are required to just run the game without compiling?
Pages 1
You are not logged in. Please login or register.
AudioGames.net Forum → General Game Discussion → compiling soundRTS on OSX
hi.
Does anyone know how to compile the github build of soundRTS on OSX? What packages are required? Or better yet, what packages are required to just run the game without compiling?
Hi.
Well, I have tried to do that for years, but I give up, since the developer can't be at much help, since he don't have a Mac.
Hm, didn't realize SoundRTS was built with python. I've had a look at the github repository, you'd need to install Python 2.7.x and Pygame 1.7.1 or later to run the script, both have OSX versions so thats not an issue. A problem might be Sound RTS's dependency on win32com, OSX doesn't seem to have any straight forward compatibility with it so it would have to be re-written using something like AppScript perhaps, and it may need a little further tweaking because of differences between OS functions too. I can't test it out myself as I don't have a mac either.
wincom32 is not needed. On OSX this file is used for speech:
https://github.com/soundmud/soundrts/bl … sspytts.py
I'm not sure but it might be necessary to install pyobjc so the program can import a module called AppKit. This page might help, but I didn't test it:
http://stackoverflow.com/questions/1276 … med-appkit
Hyep, installing pyobjc fixed it. I can't compile it, at least I haven't tried, and don't plan on it, but I can run the soundrts.py script, which was exactly what I wanted. Thanks!
okay so that issue is fixed, but now I have an even weirder one. The game runs perfectly fine, all of it seems to function perfectly, but the audio of the game is extremely broken. I'm not getting sounds, just this weird and painful audio staticy/high pitched thing on certain squares. It's hard to explain, especially for me being terrible at describing sounds, so I made a really short recording demonstrating the weirdness.
https://dl.dropboxusercontent.com/u/641 … rdness.mp3
I feel like I have seen this issue before. Does anyone have any idea what could be causing it?
I have no idea, but I hope someone would be able to compile a working version for Mac soon.
Edit: Bleh, I got a little confused, its not the problem I was thinking of. I've tried searching around but can't quite find any leads on it, it likely has something to do with how the sound files are loaded/played.
It seems that pygame isn't decoding the sound files correctly. The speech is OK though.
I don't remember a report of this problem. According to the Internet, it seems that pygame on OSX have or used to have trouble reading ogg files less than 8k.
http://pygame-users.seul.narkive.com/t1 … p3-support
Try the example 3 of the following tutorial, and eventually replace the ogg file with an ogg file bigger than 8k.
http://jlpo.free.fr/pygame_tutorial.zip
Thankfully, a 2 mb file did not work properly. I say thankfully because if the issue wasn't fixed in 10 years, it never will.
I wish this thing would at least give an error.
It sounds that pygame is playing the file at the wrong rate, or doesn't detect the ogg format and plays some random sound.
Did you install this version of pygame from http://www.pygame.org/download.shtml ? This version is for the python.org version of Python.
http://pygame.org/ftp/pygame-1.9.1relea … sx10.3.dmg
Hmm. I don't think I installed that one. I just tried now, and it was complaining about me not having python 2.7, but I do, it's built in.
Is there a command to view information on the version of pygame I have installed? Would that help?
Maybe this version of pygame from http://www.pygame.org/download.shtml would work, I don't know.
Lion apple supplied python:
http://www.pygame.org/ftp/pygame-1.9.2p … 7.mpkg.zip
that installer didn't work either.
Hm, i've dug up a few threads that seem to have a similar issue, not sure if they'll work. One suggests reinstalling the SDL dependancies for pygame, though the threads for Python 3 and is dated two years ago so the links may be out of date, found here. The other one here hit a similar no sound problem, they didn't find a solution but noted that wav files seemed to work but ogg didn't. So you could possibly try editing soundRTS's clientmediasound.py, line 413: in the "_load" function so it loads wav instead of ogg, then convert the audio files into wavs. Not sure if sounds loaded or such elsewhere in the code.
SoundRTS used to work on Mac OS X, so maybe pygame has become more difficult to install, I don't know.
Maybe there is still a way to open ogg files on Mac OS X with pygame after all. Could somebody try this:
brew install libogg
brew install libvorbis
brew install sdl_mixer --with-libvorbis
If the computer replies "Warning: sdl_mixer already installed.", try this next:
brew reinstall sdl_mixer --with-libvorbis
Source: https://www.reddit.com/r/pygame/comment … _on_a_mac/
I'm not a terminal geek, so I have no clue on how to do this. I don't know how to fix it if I brake anything while trying this, so I hope a more experienced terminal user wanna try it out.
It would be awesome if the game would work on the Mac though, because it haven't worked for very long time, which is a shame.
hmm. Where should I get an uncompiled copy of alpha 10? Should I just clone from git?
hmm. Where should I get an uncompiled copy of alpha 10? Should I just clone from git?
There is a link in the website: http://jlpo.free.fr/soundrts/
The URL is: http://jlpo.free.fr/soundrts/soundrts-1.2-a10.zip
AudioGames.net Forum → General Game Discussion → compiling soundRTS on OSX
Generated in 0.025 seconds (41% PHP - 59% DB) with 9 queries