Darwine tutorial

From OSx86
Jump to: navigation, search

Contents

[edit] OSx86 Running Windows Applications Without Emulation

Here is the first ever tutorial for running windows applications on your developer kit. Note this has only been tested on developer machines. Remember it does NOT work under 10.4.2 and later (incl. 10.4.3).

[edit] Downloading and Installing Darwine X86

  • 3/8/06 - An updated install guide has been posted in the forum for 10.4.4 and 10.4.5 here

Update: A universal binary is now available from the Darwine Project home page.

Please Mirror and link above! <- Can someone who doesn't have to pay per MB publish this as a bit torrent?

  • Mount the .dmg file by opening it or double clicking
  • Double click on the mount that says Darwine-X86-Installer
  • Go through the installation proccess.

Found the problem for users which have installation failure. For some reason /Applications** is set as read-only for some people. Copy the installer to the root of your hard drive, open Terminal, and run

sudo Installer -pkg "/Darwine x86-Installer_0.1.1.pkg" -target tiger-x86
When it prompts, enter your account password. The machine will go quite slow and freeze up for a moment, and when it is complete Darwine will be installed.

Thanks to sHARD for the above tip.

** If you want to change your Application directory to Read/Write in terminal do cd / then 'sudo chmod 777 Applications' then enter your account password. After that you'll be able to run the installer through the gui. This is an easier solution, but it also reduces security. . .

[edit] Set Paths

  • Once the install is complete launch x11 terminal, located in /Applications/Utilities. If its not installed, download it off developer.apple.com or use your dev DVD.
  • Once in x11 terminal, type:
cd ../..

and you will be in the root directory

  • Type:
PATH=$PATH:/Library/Darwine/bin/regedit

This will open up regedit, your first win32 executable run on your dev machine.

[edit] Exiting regedit and returning to xterm

  • Exit regedit and you should still be in terminal, if you have an error or message and cant type in xterm, click in the box then press control+c

[edit] Installing an application

  • Now to install a program you might want to run: the winehelper application or use xterm to do it through commands.

[edit] Installing mIRC with Winehelper

  • Once in winehelper click file open and then navigate to the directory where your mirc installer is.
  • Select the installer file and open it
  • Go through the process of install

Click here for a screenshot

  • Use the default install location
  • Click no for recreation of icons
  • Finish the install

Good Job! You now have installed your first win32 application

[edit] How to run mIRC through Winehelper

  • Run the winehelper application
  • Click File Open and navigate to the folder where u installed mirc (such as c:/programfiles/mirc)
  • Select the .exe and click open

Good Job! You now have run a win32 app through winehelper

[edit] Method B : Double Clicking

Method B involves double clicking the win32 appications. It works for some people and doesn't work for others. In order to navigate to your fake_C drive and access your installed win32 programs you must download and install Tinkertool. Tinkertool will allow the user to navigate to their home directory and view hidden folders. Once in your osx home directory you will see a folder called .wine. In that folder you will find your fake_C drive and you could open that and all installed applications under program files can be run by simply double clicking them under osx. Although this method is easier it has been noted that running through terminal or the previous method seems to allow more win32 applications to run.

  • Instead of showing a hidden folder with Tinker tool, you can simply go to the Finder menu and select GO---Go to Folder and type the path to the .wine folder (/Users/your_name/.wine) and that will take you to the folder. You can then drag that to the sidebar of the finder window for easy reference!
  • Or even easier! Go yo your home folder then hit apple-shift-g (or Use the Go -> Go to folder menus) and type in ".wine" .

This page was last modified on 24 November 2010, at 03:21.
This page has been accessed 123,637 times.
Powered by MediaWiki © 2021 OSx86 Project  |   InsanelyMac  |   Forum  |   OSx86 Wiki   |   Privacy policy   |   About OSx86   |   Disclaimers