Showing posts with label wine. Show all posts
Showing posts with label wine. Show all posts

Sunday, August 25, 2013

Installing SmoothDraw on Linux

At the moment, SmoothDraw is my "one application" that means I have to keep my old dusty Windows box in the corner.

I investigated installing SmoothDraw on Linux under Wine, and the good news is that you can get it to work, but there are caveats.

To start with, the latest version of SmoothDraw (version 4) requires .NET Framework 4.0. I couldn't get this running properly under Wine.

But winetricks can be used to install .NET 3, and with this running you can get SmoothDraw3 to work. The only drawback is that tablet input loses its pressure sensitivity (think it's treated as a regular "mouse-like" device by the wine driver).

An option to get pressure sensitivity working was the SAI (1.5.5) version of wine specifically set up for this. But then I couldn't use winetricks, and only winetricks seems to "know" how to install .NET...

Anyway, having it work allows me to open, view and manipulate existing files, so it's worth having. This is the process for installing SmoothDraw3 under wine 1.4.1 (pieced together from my history...forgot to write it up at the time :/)

$ sudo apt-get install wine
$ export WINEARCH=win32
$ winetricks dotnet35
$ wine SmoothDraw3Setup.exe
$ wine .wine/drive_c/Program\ Files/SmoothDraw/SmoothDraw3.exe

Sunday, June 10, 2012

Running Diablo II under wine in Linux Mint Cinnamon

Disabling or re-mapping Alt+Click
If you're playing Diablo II in wine, the default Alt+Click mapping in Cinnamon (which moves the underlying window) is kind of annoying. Since the desktop environment is based on Gnome (I guess), you can use the gconf-editor tool to edit the mappings.

Under Mint 13, the configuration editor isn't installed by default, so you might have to do this:
    sudo apt-get install gconf-editor
    gconf-editor
Then navigate to apps/metacity/general and edit the mouse_button_modifier key to something else (I used "Control" which seems to be fine).

Getting "pick up items with Alt held down" to work
Holding down Alt highlights items. If you can't pick up items with Alt held down, you may need to disable the window manager control of the wine window.

To do this, run winecfg, go to Graphics tab, and uncheck the "Allow the window manager to control the windows" option.

Alt+Click for item pick up now works. The downside is that the window won't appear in the taskbar any more, and when you minimise it you get a little icon in the bottom left-hand corner. But it works.

Note: While initially I did this and it seemed to helped, it might also cause keyboard interaction to stop working. I was playing around with the "Window focus mode" in Cinnamon -> Window Settings at the same time, so at the moment I've turned the window manager control back on in winecfg and it's okay.