I've been trying to get FFXI to boot and run on a Mac for the last few weeks. The info I have found I had to search hard for and took quite a bit of trial and error to nail down. I'll post this in hopes it may save like-minded players some time and effort. If anyone has the know-how, please make this into a Wiki how-to guide! Also my Mac's info for reference are as follows; iMac 2.16 GHz Intel Core 2 Duo 1 GB 677 DDR2 SDRAM Mac OS X 10.6.7 ATI RadeonX1600 128 MB VRAM
Quick links to my info sources;
http://davidbaumgold.com/tutorials/command-line/
http://davidbaumgold.com/tutorials/wine-mac/
http://appdb.winehq.org/objectManager.php?sClass=version&iId=2739
http://wiki.ffxiclopedia.org/wiki/Macro
http://wiki.ffxiclopedia.org/wiki/Graphics
http://www.winehq.org/docs/wineusr-guide/config-wine-main
To install Wine on your Mac, you will need the following:
An Intel Mac
Unfortunately, you can't install Wine on an older PowerPC Mac: it will only work with an Intel Mac. All new Macs use Intel processors. To see if your Mac has an Intel processor, go to the Apple logo on the far left of the toolbar, select About This Mac, and look at the Processor description. If it contains the word "Intel," you're good to go!
Access to an Admin account, with password
You can't install software unless you're an Admin. You will need to be logged in to this Admin account during the installation. If there is only one account on your computer, it is an Admin account. Also, the account must have a password set: if the account has no password, the sudo utility will fail. To set or change your password, go to the Accounts section in System Preferences.
Apple Xcode
You can install Xcode from your Mac OS X installation DVD, or you can download it from the Apple website. It's free, but to download it you'll need to get a free Apple Developer account first. If you're running Snow Leopard (10.6), you'll need Xcode 3.2 or higher. If you're running Leopard (10.5), you'll need Xcode 3.1. If you're running Tiger (10.4), you'll need Xcode 2.5.
Java Development Package
You'll need to install this from Apple. There's one version for Snow Leopard (10.6), and one version for Leopard (10.5). Grab the right one and install it.
X11
X11 is installed by default on Snow Leopard and Leopard. If you are running Tiger, you can install X11 from your Tiger installation DVD using the "Optional Installs.mpkg" file.
An internet connection
If you're reading this tutorial, you should be set.
About an hour
Don't worry, you won't need to be actually sitting at your computer for most of that time.
Part 1: Install MacPorts
MacPorts is a package manager that makes installing open source programs much easier. In particular, trying to install a large program like Wine without the help of a package manager would be tremendously difficult. Fortunately, MacPorts itself is simple to install.
On the MacPorts website, go to the Download and Installation page and download the appropriate "dmg" disk image for your computer.
Double-click the file you downloaded, and double-click the .pkg file to run the installer.
Part 2: Configure MacPorts
MacPorts needs a little bit of setup to work properly.
Open up the Terminal and copy and paste the following into it. Remember not to include the dollar sign ($) at the beginning.
$ echo export PATH=/opt/local/bin:/opt/local/sbin:\$PATH$'\n'export MANPATH=/opt/local/man:\$MANPATH | sudo tee -a /etc/profile
The Terminal will ask for your password: this is the password to the Admin account on your computer. As a security measure, the Terminal does not display anything as you type, not even asterisks (*). Type your password anyway, and press enter. If you ran the command correctly, the Terminal should respond with:
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export MANPATH=/opt/local/man:$MANPATH
If you didn't get that response, it might be because the Admin account doesn't have a password set. Setting a password is required.
Next, run this command (without the $):
$ if [ `sysctl -n hw.cpu64bit_capable` -eq 1 ] ; then echo "+universal" | sudo tee -a /opt/local/etc/macports/variants.conf; else echo "not 64bit capable"; fi
If you have a newer computer running Snow Leopard, the Terminal will respond with "+universal". If you have an older computer, the Terminal will respond with "not 64bit capable". Either way is fine, but MacPorts needs to know one way or the other, and that command should do the trick.
Close and reopen the Terminal window.
Part 3: Install Wine Using MacPorts
Let's start using MacPorts right away! To tell MacPorts that you want it to install Wine for you, all you have to do is enter this command (without the $):
$ sudo port install wine
You may be asked for your Admin account password again. The Terminal will start displaying lots of information. This is absolutely normal — MacPorts is just keeping you updated on what it's doing. This flow of information will be your guide to let you know whether or not the computer is still working. It will take a while for the install to finish: at least half an hour. As long as the Terminal keeps on giving you more information about what it's doing, don't interrupt it. Feel free to leave and do something else while the computer is installing Wine. When the Terminal stops giving you more information and is ready for another command, Wine is installed and ready to go!
Note: If you get an error message at this step that reads error: C compiler cannot create executables or Failed to locate 'make' in path, it means you forgot to install Xcode. See the requirements.
Part 4: Download FFXI
I recommend using Direct-To-Drive online retailer to download FFXI. I did try Amazon, but it needed a download manager type program that is not supported by Wine. We will next use Terminal to run FFXI's installer, but first a few Terminal basics.
The terminal is much like an old DOS OS which requires a small understanding of how to navigate your folders and files.
Typical commands:
ls - Typing ls after the dollar sign will list the folders and files in you current location.
cd - Typing cd will allow you to Change Directory; after cd you will need to type the name of the folder you would like to change to
.. - Typing .. will bring back one folder
Here is a sample line on navigating.
JT's-iMac:Program Files jt$ ls
Amazon Internet Explorer
Common Files PlayOnline
InstallShield Installation Information
JT's-iMac:Program Files jt$ cd PlayOnline/
In the normal finder find the .zip file that is called ffxi_ucae_ddmf_na.zip (this may change as newer versions of the game are released) drag it to the desktop and unzip it by double clicking.
Now launch the terminal find the file that was the result of the unzipped file. It should end in .exe. Next type- $ wine FINALFANTASYXIUCAE.exe
The next steps should be somewhat familiar as the Playonline will be installed and updated and then finally FFXI.
Part 5: Configurations
Before the game is launched it is necessary to configure a few things in the terminal.
Configuring Wine for FFXI:
Type in "winecfg". (This will launch a configurations window to allow changes to how Wine will run)
On the Applications tab, click "Add Application".
Navigate to C:\Program Files\PlayOnline\SquareEnix\PlayOnlineViewerPlayOnlineViewer\ and select pol.exe, then click "Open".
Highlight pol.exe (during this step you may also tell Wine what version of windows to use when running POL by choosing from the drop down menu named "Windows Version:" XP or Vista are likely the best choices) in the Application List, then click the Libraries tab.
Select dxdiagn from the drop-down box on that tab, and click "Add".
Select dxdiagn from the list below and click "Edit".
Select "native (Windows)" and click OK. then click Apply.
Move to the Graphic Tab and check the box Emulate a virtual desktop
In the two boxes below I gave a 800x600 area for POL to boot up in.
Configuring FFXI graphics:
FFXI does have a config .exe program, but I have yet to get wine to boot it up. Thus we need to edit registries to change the options that the config .exe would have changed for us.
In a new command line type regedit. This will launch a window that reveals registers that you may edit.
Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\PlayOnlinexx\SquareEnix\FinalFantasyXI by using the drop down + signs.
Once FinalFantasyXI folder is highlighted it will reveal 20 or so registers that you can change.
The following is a quick reference for the values found in the above registry key:
Value Description
0000 MIP mapping
0001 Screen resolution width (in pixels)
0002 Screen resolution height (in pixels)
0003 Background resolution width (in pixels)
0004 Background resolution height (in pixels)
0007 Music and Sound effects (0=Off, 1=On)
0011 Environmental Animation (0=Off, 1=Normal, 2=Smooth)
0017 Bump Mapping (0=Off, 1=On)
0018 Texture Compression (0=High, 1=Low, 2=Uncompressed)
0019 On-Screen Maps (0=Compressed, 1=Uncompressed)
0022 Intro Movie (0=Disabled, 1=Enabled)
0034 Window Mode (0=Full Screen, 1=Window Mode)
The most important registers to edit are 1-4. I have found the game will not give improper screen resolution setting so registers 0001 and 0002 are very important. I found resolutions for 4:3 aspect ratios worked for my hardware. If you get the following text after going from pol and logging into FFXI you need to tweak your 0001 and 0002 values; "Terminated as error occurred in Final Fantasy XI. Failed to initialize Direct3D. Please check that this computer has the required specifications to run Final Fantasy XI."
Registers 0001 and 0002 will determine both the actual size of the window FFXI runs in proportion to your monitors native resolution. I have my monitor set to 1680x1050 and my reg 0001 and 0002 are set for 1280x1024. When first double clicking the register it will appear a small window and the value for the register will be a hexadecimal number, but is easily changed to decimal under the option named base.
Register 0003 and 0004 will determine the back ground resolution and will have the biggest factor on the look of the game and frame rate. I have played with these and have settled on 1280x1024, but I will likely tweak them in the future.
Step 6: Try it out and fine tune
Be sure to load your macros from the machine you normally play on and upload it to the server(in the character selection screen Shift + Alt + Ctrl + B), then load it to you Mac before fully logging into FFXI (in the character selection screen Shift + Alt + Ctrl + R ).
In the configurations tab while in the game I set my keyboard type to compact to get my number pad to work properly for 8,4,6,2 movement. The only issue I need to work out is when activating macros it will will move my character and does not recognize the control button is depressed. For instance, I hit Control+8 for a haste macro, but since "8" is also bound to forward movement my spell cast will be interrupted. If you have any suggestions or questions please let me know via PM.