View Single Post
  #3  
Old February 14th, 2008, 12:02 PM

Deadeye Deadeye is offline
Private
 
Join Date: Dec 2007
Location: Ottawa, Ontario, Canada
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Deadeye is on a distinguished road
Default Re: Win(e)SPMBT under Linux. (Ubuntu 7.10)

Just a couple of other tips:

- You can keep the default version of Wine installed for everything else and just use the patched version for WinSPMBT. In step 4, don't do the sudo checkinstall command. Instead, just run the specific version of Wine that you patched & built.

For example, I built my patched version in the directory:
/extras/wine/mouse-hak-wine-0.9.43

and I run WinSPMBT with the command:

/extras/wine/mouse-hak-wine-0.9.43/wine ./winSPMBT.exe

- You can also have multiple Wine environments set up for different programs that use different dll overrides.

Make a copy of the default Wine folder (usually .wine in your home folder) and place it somewhere else. For example, I copied the .wine folder to /extras/wine/winspmbt.

Before using any wine commands such as winecfg or wine, issue the command:

export WINEPREFIX="/extras/wine/winspmbt"

and then all operations that those wine commands perform will be conducted in the /extras/wine/winspmbt folder instead of the .wine folder.

So my script to start up WinSPMBT under wine looks like:

#!/bin/sh
#
export WINEPREFIX="/extras/wine/winspmbt"
cd "/extras/wine/winspmbt/drive_c/Program Files/WinSPMBT"
#/extras/wine/mouse-hak-wine-0.9.43/wine ./GameOptions.exe
/extras/wine/mouse-hak-wine-0.9.43/wine ./winSPMBT.exe

The line for GameOptions is commented out normally, unless I need to modify the Game Options or run Mobhack or something.

Deadeye
Reply With Quote