LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   KOTOR II mousehack in wine (https://www.linuxquestions.org/questions/linux-games-33/kotor-ii-mousehack-in-wine-494715/)

arribastan 10-22-2006 08:34 PM

KOTOR II mousehack in wine
 
I have been trying to use Star Wars: Knights of the Old Republic II in Linux through Wine. Wine installs and configures fine, and I managed to copy the game directory from my windows partition to my wine directory. However, when I try to play the game, the mouse won't leave the center of the screen. The game starts up, gets to the starting screen, and refuses to let the mouse move from the center. After searching up the issue online and going to the Wine AppDB, I've found that the issue is a common one. According to the discussions I read regarding it, there are two fixes:
1)The "mousehack" registry key, which ought to work. However, I cannot seem to get it right. Is there something I'm missing in the process? I "wine regedit.exe" and then add the key, but I can't seem to find how to add a BOOL value like all the descriptions say to (Am i missing something obvious?) I've tried adding a key called "dinput mousehack" to the HKLM\software\wine regedit directory, tried adding a key called "mousehack" to a key called "dinput" to the HKLM\software\wine directory, nothing seems to work.
Here's the output that I get when running it:
Code:

jake@jake-desktop:~/.wine/drive_c/Program Files/LucasArts/SWKotOR2$ wine swkotor2.exe
fixme:system:SystemParametersInfoW Unimplemented action: 94 (SPI_GETMOUSETRAILS)err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed?
err:wgl:X11DRV_wglGetProcAddress (wglBindTexImageARB) - not found
err:wgl:X11DRV_wglGetProcAddress (wglReleaseTexImageARB) - not found
err:wgl:X11DRV_wglGetProcAddress (glDeleteVertexShadersEXT) - not found
err:wgl:X11DRV_wglGetProcAddress (glVariantubEXT) - not found
err:wgl:X11DRV_wglGetProcAddress (glVariantusEXT) - not found
err:wgl:X11DRV_wglGetProcAddress (glVariantuiEXT) - not found
err:wgl:X11DRV_wglGetProcAddress (wglCreateBufferRegionARB) - not found
err:wgl:X11DRV_wglGetProcAddress (wglDeleteBufferRegionARB) - not found
err:wgl:X11DRV_wglGetProcAddress (wglSaveBufferRegionARB) - not found
err:wgl:X11DRV_wglGetProcAddress (wglRestoreBufferRegionARB) - not found
fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE
fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
err:wgl:ConvertAttribWGLtoGLX buggy 40 GLX_BUFFER_SIZE default to 32
err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed?
fixme:system:SystemParametersInfoW Unimplemented action: 94 (SPI_GETMOUSETRAILS)fixme:system:SystemParametersInfoW Unimplemented action: 94 (SPI_GETMOUSETRAILS)err:wgl:X11DRV_wglGetProcAddress (wglBindTexImageARB) - not found
err:wgl:X11DRV_wglGetProcAddress (wglReleaseTexImageARB) - not found
err:wgl:X11DRV_wglGetProcAddress (glDeleteVertexShadersEXT) - not found
err:wgl:X11DRV_wglGetProcAddress (glVariantubEXT) - not found
err:wgl:X11DRV_wglGetProcAddress (glVariantusEXT) - not found
err:wgl:X11DRV_wglGetProcAddress (glVariantuiEXT) - not found
err:wgl:X11DRV_wglGetProcAddress (wglCreateBufferRegionARB) - not found
err:wgl:X11DRV_wglGetProcAddress (wglDeleteBufferRegionARB) - not found
err:wgl:X11DRV_wglGetProcAddress (wglSaveBufferRegionARB) - not found
err:wgl:X11DRV_wglGetProcAddress (wglRestoreBufferRegionARB) - not found
fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE
fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
err:wgl:ConvertAttribWGLtoGLX buggy 40 GLX_BUFFER_SIZE default to 32



2)The other thing I've heard of involves adding dinput.dll libraries if you have a legitimate windows license (which I do). However, I can't seem to figure out how this works. I have the .dll file and I know how to tell wine to look for the dll in winecfg, but where do I put the .dll in the first place?


I'd appreciate any help at all in getting this to work, though I'd rather use 1) than 2) if possible. Please don't get too complicated on me. I'm not that scared of the terminal, but I am a linux newbie. Thanks in advance

-Jake

Edit: realized I should note that my wine version is 0.9.23


All times are GMT -5. The time now is 03:17 PM.