Dolphin, the GameCube and Wii emulator - Forums

Full Version: Mac OS X Build
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12

caleb_91

I thought it would never happen but I finally got the Mac Build to work. It run relatively slow compared with my bootcamp one. Also the "enable dual core" button on the Mac build won't check. On a side note: CrossOver ran the windows build at good speeds but it won't recognize my controller.

Any Comments/Suggestions?

Polygon

Finally made it work too (buikd 3728), though it involved butchering some of the source files. The trick, as others have pointed out, is to build using "scons nowx=1" compile the NoGUI version, which doesn't immediately crash when a game loads. The problem with doing this is that several of the source files still have direct or indirect wx dependencies even with nowx=1. For example:

- Core/DebuggerUICommon/Src/CodeView.cpp still has multiple wx dependencies, which required modifying Core/DebuggerUICommon/Src/SConscript to exclude CodeView.cpp and DebuggerUIUtil.cpp.

- Plugins/Plugin_DSP_LLE/Src/DSPHost.cpp had an indirect dependency in that extern DSPDebuggerLLE* m_DebuggerFrame is grabbed from Plugins/Plugin_DSP_LLE/Src/Debugger/Debugger.h, which isn't kosher since Debugger.h is excluded from the NoGUI build. There were a few other places that I required some dirty work, but I sadly did not document them. The NoGUI version builds, so that's something.

Functionally though, it's super slow, and it spams the message "W[EXI]: EXI MEMCARD: command 00 at position 0" from the Terminal window used to launch it. Using single-core mode with more or less default preferences, I get about 10FPS, and yet Activity Monitor shows that two CPUs are running at 100%. When I enable dual-core mode, there's no speed improvement, but now three CPUs are running at 100%. I ended up just grabbing Daco's Windows 32-bit 3661 build and running it through Wine, which yielded a much more respectable 60FPS.

Still following the Mac development with interest, but so far this is the best solution I've found.

caleb_91

(07-11-2009, 02:30 AM)Polygon Wrote: [ -> ]Finally made it work too (buikd 3728), ... I ended up just grabbing Daco's Windows 32-bit 3661 build and running it through Wine, which yielded a much more respectable 60FPS.

Still following the Mac development with interest, but so far this is the best solution I've found.
Were you able to get controllers working with that? I am still trying to use a logitech dual action.

Polygon

(07-11-2009, 02:39 AM)caleb_91 Wrote: [ -> ]Were you able to get controllers working with that? I am still trying to use a logitech dual action.

No controller here; getting by with keyboard for now. I'll post again if I get something working!
hmm with the latest builds i still get a seg fault when trying to run a game. does anyone else experience this problem on OS X?
Good news: the latest dolphin-emu svn-3862 is really fast now on my iMac 24 INTEL with Mac OS X 10.5.7 and ATI Radeon 2600 HD ( I installed also nvidia cgtoolkit 2.2 even with ATI card).

I get about 28 fps for Super Mario Sunshine and the sound at the beginning is perfect...before I got 12 fps maximum! Newer iMacs or MacPro should get even higher fps. My old macally gamepad works too with it (by using njoy 0.4 plugin)

Please follow my instructions (celgil...@gmail.com) here to build the latest svn (you need Apple's XCode 3.1.3 at least for gcc-4.2 since it uses Atomic libraries!
http://code.google.com/p/dolphin-emu/issues/detail?id=1141#c7

Would be nice to hear other MacUsers feedback about this...

cheerios!

sansnipple

with the instructions from http://code.google.com/p/dolphin-emu/issues/detail?id=1141 i was able to get dolphin to build just fine, however when it finished it was missing the openGL plugin. also all of the options on the general page of the config settings are not clickable.
hmm i wonder if this works on snow leopard... anyone tried it yet? i'll post back my results soon.
The "Config" settings are not fully clickable on Mac OS X GUI.

You can however set the "Plugins" for dolphin's like OpenGL plugin etc. by clicking the "Config" button then the "Plugins" Tab and there you must choose "Dolphin OpenGL" for the [Graphics] and "Dolphin DSP-HLE Plugin" for [DSP] and "nJoy v0.3 by Falcon4ever" for [Pad] and Wiimote the default plugin.
Do not try to click on "Config..." buttons near the plugins buttons or crashes Dolphin immediately on OS X.

Now close the Configuration window, choose a game. If it crashes try again or delete the ~/Library/Application Support/Dolphin/User folder and try again...it will work I'm sure...(ok you need a recent Mac with ATI or nvidia graphics card) but sometimes it crashes 2-3 times til it works. (A lot of bugfixes must be done for the Mac version.....)

If you want to change other parameters you need to open and edit in the Dolphin.ini file in:
~/Library/Application Support/Dolphin/User/Config/Dolphin.ini

(Note: "~" is the User folder in UNIX term, so if your login-name is "Mario" on OS X, you edit then /Users/Mario/Library/Application Support/Dolphin/User/Config/Dolphin.ini

For example if you set "UseDualCore = True" then you get double the fps! I got about 58fps for Zelda WW and in SMsunshine.

(07-21-2009, 08:35 AM)sansnipple Wrote: [ -> ]with the instructions from http://code.google.com/p/dolphin-emu/issues/detail?id=1141 i was able to get dolphin to build just fine, however when it finished it was missing the openGL plugin. also all of the options on the general page of the config settings are not clickable.

bambam95

I have just recently tried to build Dolphin in OS X, but I always tun into the same problem. When I get to the step where I have to type: sudo port install libao cairo scons wxwidgets glew, It says this:
Quote:---> Configuring libao
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libao/work/libao-0.8.8" && ./configure --prefix=/opt/local --disable-arts --disable-esd --disable-oss --disable-X " returned error 77
Command output: checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i386-apple-darwin9.2.1
checking host system type... i386-apple-darwin9.2.1
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

Error: Status 1 encountered during processing.

How do I fix this?
p.s. Either that or how do I get dolphin to stop asking for sysconf in wine??
Pages: 1 2 3 4 5 6 7 8 9 10 11 12