$ mv .wine .wine-64
$ WINEARCH=win32 winecfg
$ head ~/.wine/system.reg
$ mkdir wine32
$ cd .wine
$ cp -afv * ~/wine32
$ nano .bashrc
export WINEPREFIX="/home/<your user name>/wine32" # <- WINEPREFIX must be an absolute path!
$ winetricks d3dx9
# Specified shell to use (above line)
# This shell script assumes that you are starting in your home directory
# Setup environment variables next 2 lines
export WINEPREFIX="/home/<your user name>/wine32" # <--- WINEPREFIX must be an absolute path
# now get to the target directory and then invoke the program under wine
# NOTE: spaces in the directory names must be escaped with a '\'
cd wine32/drive_c/Program\ Files/Stardock\ Games/Sins\ of\ a\ Solar\ Empire; wine Sins\ of\ a\ Solar\ Empire\ Entrenchment.exe
# Lastly, exit 'no errors'
PARAM=`winepath -w "$*"`
wine "$QUICKPARLOCATION" "$PARAM" &
Pjotr wrote:Note that Wine, although a technological miracle, creates serious security risks.... Because it also allows Windows *malware* to run in your /home.
That's why from a security perspective, a dual boot (or a Virtual Machine) with Windows is the preferred solution, for those Windows applications that you still need.
Users browsing this forum: No registered users and 12 guests