You are not logged in.
Good afternoon,
I recently started to play Diablo II (+ Expansion) [again], but this time I tried to play it under WINE. If I disable the WINE feature to let the WM control the WINE windows it runs fine but if I accidentally press any wrong key the screen is all messed up because KDE again gets the focus, but the WINE fullscreen window still stays in foreground.
If I let KWin control the WINE window I cannot use the [rather essential] loot-function of the game, as I have to use the mouse while having the ALT key pressed. This won't work, because it is the KWin control for moving the window. As KDE provides the possibility to define settings for specific applications, I created a new definition, applying to the application Game_crk.exe which is the name of the executable. I ticked 'Disable global hotkeys' in order to disable the KWin event when having the ALT key pressed, but it does not seem to work.
If you seek for further information, please tell me about it, as I haven't used the KWin definitons so far and I would love to get it to work (it's possible, I assume). It has to be said, that Diablo runs fullscreen, which could be a problem as well.
Just tell me if you have any ideas how to solve it.
Thanks in advance
cg
celestary
Intel Core2Duo E6300 @ 1.86 GHz
kernel26
KDEmod current repository
Offline
i think that you can create kwin rules to disable shortcuts on the windows of Diablo II. To do that. Window behaivour -> Advanced. I have no more information.
Offline
I always rebind window movement key to winkey
IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686
Offline
I always rebind window movement key to winkey
How to do so? I was not yet able to find the point, where ALT + mouse movement is defined as a global hotkey.
celestary
Intel Core2Duo E6300 @ 1.86 GHz
kernel26
KDEmod current repository
Offline
Right click on any KDE window decoration -> Setup window behaivour -> Actions -> (2nd tab) Window actions.
There you'll see a combo that says Alt. Change it to Meta.
Again, i use spanish, so the texts may differ a bit from what i wrote.
Last edited by Pajaro (2007-02-25 11:30:47)
Offline
Found it. My misery lies within the fact, that Diablo is always starting fullscreen - is there any way to prevent it from doing so, if I may ask?
celestary
Intel Core2Duo E6300 @ 1.86 GHz
kernel26
KDEmod current repository
Offline
run winecfg
Graphics -> Emulate virtual desktop
There you set the size of the virtual desktop.
probably editing the wine config file you can set this parameter only for Diablo II, but i don't know how to.
If it is not possible, you can create an alternate .wine directory for Diablo II. Let's call it .wine_diablo2, and then:
Reinstall Diablo II in that wine path:
WINEPREFIX="~/.wine_diablo2" wine "D:\setup"
modify shortcuts to Diablo II so that they have WINEPREFIX="~/.wine_diablo2".
run WINEPREFIX="~/.wine_diablo2" winecfg to create the virtual desktop
Last edited by Pajaro (2007-02-25 12:05:57)
Offline
It was quite easy.. I emulated the virtual desktop, redefined the action key and then unticked the emulation, restarted the WINE server and now everything works as expected.
Thanks a lot!
celestary
Intel Core2Duo E6300 @ 1.86 GHz
kernel26
KDEmod current repository
Offline