.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT
Notices


 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:32 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.