Qhimm.com Forums

Read this first! => FAQs and Tutorials => Topic started by: Betamax on 2013-02-28 14:16:50

Title: Running FF7 on Mac OSX with WineSkin
Post by: Betamax on 2013-02-28 14:16:50
Having discovered recently that ff7 was playable under wine, I thought I'd make an attempt to get this game to run on OSX mountain lion on my retina macbook.  However, whilst I was able to piece together a solution from various snippets of information on different forums I couldn't find any step-by-step guides.  So I thought I'd write one.  It's not perfect and admittedly rather convoluted, but hopefully this info will prove useful to someone.

The main issue that I came across was installing the various game mods.  Some of the installers didn't work properly (usually due to differences command line switches between the wine and dos commands), others wouldn't run at all. So instead of installing everything directly on OSX, IMHO it is easier to setup a fully modded install under windows first, and then copy it into an OSX wineskin wrapper.  Whilst there's an existing wrapper already available at http://portingteam.com/files/file/7159-final-fantasy-vii/ , that one is only compatible with snow leopard. So if you are using lion or later, you'll need to roll your own.

Finally, I haven't tried this with the 2012 version as I don't own that.

Phase 1: Under Windows, create a working installation.


Phase 2: Prepare the installation for transfer to OSX.


Phase 3: Under OSX, create a wineskin wrapper.


Phase 4: Copy the game into the wrapper.


Phase 5: Passing the cd check.


Phase 6: Tweaking your settings and tidying up.


Phase 7: Run the game.


Optional: Setup a dualshock 3 (usb only)

Optional: Playing via an Apple TV
An Apple TV?!? Ok, sure. Why not :P. It will introduce some latency though.


Known Issue's:


Revision History:
Title: Re: Running FF7 on Mac OSX with WineSkin
Post by: Klaw117 on 2013-03-02 05:04:45
Regarding your first known issue, I believe that Aali's driver has memory leak issues, which causes the incomplete backgrounds. The driver keeps using up memory until you run out, forcing you to quit the game and wait for memory usage to go back down (I usually just restart when this happens).

Take note that no one has actually confirmed this, but it is my suspicion. Another member here ran into the same issue a while back.
Title: Re: Running FF7 on Mac OSX with WineSkin
Post by: Betamax on 2013-03-02 10:35:29
I'm rapidly coming to the same conclusion here.  When running the game in wine's debug mode, I can see a bunch of wine(91058,0x41ae6c00) malloc: *** mmap(size=4194304) failed (error code=12) occurring alongside the GL_OUT_OF_MEMORY messages in app.log.  That looks roughly the size of the background textures it's trying to load at that point.   Also if I disable auto detect gpu settings and force wine's emulated vram to a stupidly high number (eg//4GB) I'm seeing a longer time before this error occurs.  So nothing concrete, but my gut is telling me there's a leak somewhere.  Of course, I can't rule out that the leak isn't in wine itself.

On the flip side, at least I figured out why WS9 based engines were crashing now. They changed the name of the sound device :roll:. I'll update above once I have some free time to do so.

Title: Re: Running FF7 on Mac OSX with WineSkin
Post by: ajthedj747 on 2013-03-02 12:42:43
Thank you for making this tutorial.
Title: Re: Running FF7 on Mac OSX with WineSkin
Post by: Betamax on 2013-03-02 20:05:46
You're welcome :). 

BTW I've been testing a few more settings, and I've noticed the reliability improves significantly if you enable compress_tectures.  I've added that info to above.