DF General Discussion / I made a Wine script
« on: August 23, 2007, 06:28:00 pm »To use it, grab the script from
here, download it to your home directory and install it with the command "chmod 755 winefix && sudo cp winefix /usr/bin/" - minus the quotes. Use just like you would wine, ie winefix drive_c/Program Files/dwarfort.exe or winefix "C:\Program Files\dwarfort.exe". If using Gnome you can also just right click on an executable, choose "Properties" and add the script to the list of programs allowed to run it. It will work exactly the same.
This script also lets you use regular links with wine, so launch scripts like the one in the DF wiki are no longer required. It also works with any Wine app - I posted this here because DF was the reason I made this script in the first place.
Limitations - the script doesn't allow passing command line parameters, and the fullscreen Compiz workaround only works if using the gconf backend. This is the first shell script I've written, so if anyone can figure out how to fix these working - the command line part in particular - I'd be grateful.
edit: this has nothing to do with the above, but what kind of performance are people getting using Wine with DF? Personally, for the intro movie I get about ~60fps using Windows (without vsync) and ~55 using Wine.
[ August 23, 2007: Message edited by: onerobot ]