Wednesday, July 23, 2008

PAF 5.2 on Intel OS X 10.5!

[Note, an update is posted here.]

It works!

For all those genealogy buffs out there who happen to have Intel Macs at home, there's a way to get PAF working on your Mac (OS X 10.5, Leopard*) without buying stuff.

[Quick aside, PAF is short for Personal Ancestral File, a software application for Windows written by the LDS church designed to help people document their genealogy, build pedigree charts, etc.]

I found this originally on tech.lds.org, but it doesn't seem to be there anymore. Here's the process that worked for me:
  1. Download Darwine. Darwine is a project that tries to mimic the Windows OS for a Windows .exe program. It doesn't work terribly well for most stuff, but it does seem to work for PAF.

  2. Install. Just like every other Mac app out there, double-click the .dmg file, open up the disk image that mounts, and drag the Darwine folder into your Applications folder

  3. Download PAF installer. This is a Windows application.

  4. Install PAF. Open up the Darwine folder (/Applications/Darwine), and drag the PAF5EnglishSetup.exe file you just downloaded onto the WineHelper.app.


  5. When the IntallShield asks you where to put PAF, press the "Browse" button, and browse to "Z:\Applications", then change it to read "Z:\Applications\PAF5.2"

    On the "Select Options" screen, deselect the first 2 options. I didn't try viewing the "getting started" document or putting a shortcut on my desktop, but I'm guessing it might not work. You can leave the third item selected.


How's this work, anyway? Some background information...

Windows applications draw stuff to the screen using system calls to the Windows operating system, e.g. "please draw a big window in the middle of the screen for me". Unix/linux apps draw stuff to the screen using something called "X11". WineHelper is a Mac program that translates system calls within a Windows .exe application into corresponding X11 calls. You should see X11 (the icon is a big X in a white square) show up in your dock when you run WineHelper.

If an "xterm" window appears, you can safely close it. If you get annoyed by it constantly appearing, let me know and I'll help you make it stop. =)

The PAF program (paf5.exe) should have been installed in /Applications/PAF5.2. OS X thinks it's a document, just like a family newsletter or something. When you double-click it, /Applications/Darwine/WineHelper.app should try to open it. You can put PAF in your dock in the documents side (the right/bottom side, where the Trash can is).

If the fonts look bad, it's because PAF isn't using the good fonts from X11. I have some instructions on how to make them look good, but they're a little complicated, so email me and I'll try to figure out a better way.

Caution, this is Windows territory...

Note that you're not in danger of getting any viruses from running PAF this way. However, you will need to be a little more careful about files you get from the outside. Some viruses have filenames that end in .jpg.exe to fool you into thinking it's a picture, and when you double-click it, WineHelper.app will start, and might manage to run it. I can't think of any other specific dangers here, but as always, be careful with stuff you get from the internet. If WineHelper.app is starting up and you're not starting PAF, right-click the WineHelper.app dock-icon and select quit. I can probably help you figure out how to keep .exe files from opening automatically with a double-click, if you're interested.

Let me know how it goes for you, I'm interested to hear.

* This will likely work with Tiger (10.4) also, but you have to install X11 at least. I haven't tried it, so I'm not sure what else might be required.

5 comments:

Anonymous said...

Hi there

Have installed PAF 5.2 and it is working fine. Thanks! CAn you help me with the font issue as it looks really bad. YOu can email me directly at rangiw_07@hotmail.com if you like. Cheers.

Sean and Melissa Boggs said...

having problems installing PAF5.2 when i drag the Setup.exe onto the Darwine icon i get an error message stating "Could not find X11.app. Make sure X11.app is installed and try again" any suggestions on how to fix that? please reply at sboggs85@gmail.com Thanks.

Breanna said...

hello, i am having the same problem as sean and melissa. If you could email me any suggestions about that also that would be great. brestutz@hotmail.com

Clinton said...

You should get Darwine 1.1.6 or newer to fix the font issues.
http://www.kronenberg.org/darwine/

bryan said...

Clinton -- Did you see the update I posted here?

Does anyone read this thing?

views since Feb. 9, 2008