Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

STALKER dinput patch Build


  • Please log in to reply
61 replies to this topic

#31 DankoB

DankoB

    Legendary Member

  • Super Moderators
  • 2,266 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MBP wCoreDuo 2GB RAM
    ATI X1600 128MB vRAM
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 16 May 2010 - 10:13 AM

doh123 said:


it says the file that was supposed to be patched there was mouse.c

a/dlls/dinput/mouse.c

:oops:  I guess I should study the source and it's files....so is it always the first couple of lines that tell you what file to apply the patch to?

Thanks again for all your help doh, it's greatly appreciated.
Posted Image

#32 DankoB

DankoB

    Legendary Member

  • Super Moderators
  • 2,266 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MBP wCoreDuo 2GB RAM
    ATI X1600 128MB vRAM
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 16 May 2010 - 10:26 AM

:( Still no dice :(

Last login: Sun May 16 06:12:36 on ttys000
dankoB-MacBook-Pro-15:~ dankoB$ cd $HOME/Wineskin/WS2CustomBuild
dankoB-MacBook-Pro-15:WS2CustomBuild dankoB$ patch -p1 < dinput.patch
missing header for unified diff at line 10 of patch
can't find file to patch at input line 10
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf290
|{\fonttbl\f0\fmodern\fcharset0 Courier;}
|{\colortbl;\red255\green255\blue255;}
|\margl1440\margr1440\vieww9000\viewh8400\viewkind0
|\deftab720
|\pard\pardeftab720\ql\qnatural
|
|\f0\fs26 \cf0 --- a/dlls/dinput/mouse.c\
|+++ b/dlls/dinput/mouse.c\
--------------------------
File to patch: wine-1.1.37/dlls/dinput/mouse.c
patching file wine-1.1.37/dlls/dinput/mouse.c
patch unexpectedly ends in middle of line
Hunk #1 FAILED at 330.
1 out of 1 hunk FAILED -- saving rejects to file wine-1.1.37/dlls/dinput/mouse.c.rej
dankoB-MacBook-Pro-15:WS2CustomBuild dankoB$ 

*edit - Oh stupid me, the file was saved as RTF, that matters, doesn't it?

:friends: DOH!!!! You're the queen!!!!

dankoB-MacBook-Pro-15:~ dankoB$ cd $HOME/Wineskin/WS2CustomBuild/
dankoB-MacBook-Pro-15:WS2CustomBuild dankoB$ patch -p1 < dinput.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/dlls/dinput/mouse.c
|+++ b/dlls/dinput/mouse.c
--------------------------
File to patch: wine-1.1.37/dlls/dinput/mouse.c
patching file wine-1.1.37/dlls/dinput/mouse.c
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 331 with fuzz 1 (offset 1 line).
dankoB-MacBook-Pro-15:WS2CustomBuild dankoB$
Posted Image

#33 DankoB

DankoB

    Legendary Member

  • Super Moderators
  • 2,266 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MBP wCoreDuo 2GB RAM
    ATI X1600 128MB vRAM
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 16 May 2010 - 02:07 PM

Here's my first working attempt...I haven't tested it yet but here is the patched version d10sfan!

I'm not sure exactly how it would work, I suppose after the wrapper is made just copy it to your desktop and replace the bundle alias with this bundle.

*edit* JUHU It works!!!!!!!!!!!!!!! I just re-ported Clear Sky using the new WS2 patched engine and it works!!! Doh you are f'n amazing!!!! Thanks a tonne. Now hopefully the 10.6.3 ATI fix took care of the jumping grass bug and we'd be set!!!!

The mouse is fully working!!!!

WineskinSC 1.0  WS2 1.1.37 patched with WinHQ id #15638


EDIT******The mouse is not fully working. It does work once the game loads up without using the input_exclusive_mode 0 console  command but it quickly breaks and does not click to select the options. Ima research this a bit....anyone's got input please share, it would be appreciated!
Posted Image

#34 d10sfan

d10sfan

    Professional Member

  • Members
  • PipPipPipPip
  • 125 posts

Posted 18 May 2010 - 06:59 AM

Hope you get it working. I couldnt even get that engine to load. Clear Sky was crashing for me for a bit, it seems that sometimes one or alot of the files gets corrupted. I copied a backup of the bin directory and it started working again.

This game is good fun but it would be nice if we could use the mouse properly. I tried a bit more with the mouse thing but I didnt get anywhere.

#35 d10sfan

d10sfan

    Professional Member

  • Members
  • PipPipPipPip
  • 125 posts

Posted 18 May 2010 - 07:54 AM

I tried a couple of the compiled dinput.dll files but none of them worked for me. They would work fine in the menus but when you got to gameplay, it was stuck in a small box. You might have better luck.

#36 DankoB

DankoB

    Legendary Member

  • Super Moderators
  • 2,266 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MBP wCoreDuo 2GB RAM
    ATI X1600 128MB vRAM
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 18 May 2010 - 09:38 AM

From what i was told the dinput.ddl's that were compiled are for use with Linux. The patched resources for the Mac OS X happen in the wine source under dlls/dinput/mouse.c, once patched, the new compilation can be built.

I still haven't given up, we'll get this working proper yet.
Posted Image

#37 DankoB

DankoB

    Legendary Member

  • Super Moderators
  • 2,266 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MBP wCoreDuo 2GB RAM
    ATI X1600 128MB vRAM
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 24 May 2010 - 03:57 AM

OK, this time it's working!!!!

Add the DirectInput registry key along with this string "MouseWarpOverride"="force_edge"

You will also have to reset the keyboard controls to the default settings to activate the keyboard

Using this WS2 build with Stalker Clear Sky fixes the nee to use the console to switch between the mouse necessary menu and the no mouse gameplay


Posted Image

#38 d10sfan

d10sfan

    Professional Member

  • Members
  • PipPipPipPip
  • 125 posts

Posted 24 May 2010 - 05:43 AM

Still isnt working for me. When I start the game, the menu is very jerky and seems to be stuck in a box. Its impossible for me to choose any of the menu options. It does this whether or not the MouseWarpOverride is in the registry or not. Any ideas?

Thanks for staying on this stuff, by the way.

#39 DankoB

DankoB

    Legendary Member

  • Super Moderators
  • 2,266 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MBP wCoreDuo 2GB RAM
    ATI X1600 128MB vRAM
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 25 May 2010 - 12:17 AM

Are you rebuilding the prefix and adding the MouseWarpOverride key? I'll be posting a video of it shortly.
Posted Image

#40 d10sfan

d10sfan

    Professional Member

  • Members
  • PipPipPipPip
  • 125 posts

Posted 25 May 2010 - 12:50 AM

I tried that and it still dosent work. I also created a new wineskin wrapper with that bundle and it didnt work either. Now it just shows a black screen for a few seconds and then unloads.

Now it gets to the splash screen but when it tries to load the game, the clear sky bug reporter shows up and says this:

xrEngine.exe has caused BREAKPOINT

The wine logs show this:
fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,0)-(646,505)
xp_destroy_surface: assertion failed: s != ((void *)0)
xp_destroy_surface error: 3
err:d3d_caps:WineD3D_CreateFakeGLContext Failed to make fake GL context current.
err:d3d:InitAdapters Failed to get a gl context for default adapter
err:d3d:WineDirect3DCreate Direct3D9 is not available without opengl
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpFilterMemory
fixme:dbghelp:MiniDumpWriteDump NIY MiniDumpScanMemory



#41 d10sfan

d10sfan

    Professional Member

  • Members
  • PipPipPipPip
  • 125 posts

Posted 25 May 2010 - 01:08 AM

Could you upload a wrapper that uses this new winebuild? I am probably doing something wrong on my end and thatll help alot.

#42 DankoB

DankoB

    Legendary Member

  • Super Moderators
  • 2,266 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MBP wCoreDuo 2GB RAM
    ATI X1600 128MB vRAM
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 25 May 2010 - 10:09 PM

Can do d10sfan! Here's hoping that it'll work....I haven't been sharing my wineskin wrappers much simply because of the sharing issues with users. Even though I changed the username in the user.reg it still doesn't seem to work but I will give it a shot for ya anyway.

here's a new Team Vid of Clear Sky


Sorry y'all, I'm uploading a fixed video now!
Posted Image

#43 d10sfan

d10sfan

    Professional Member

  • Members
  • PipPipPipPip
  • 125 posts

Posted 25 May 2010 - 10:22 PM

Ok thanks. Something I am doing is causing it to fail miserably it seems. Once you post it, Ill let you know if it works or not.

#44 DankoB

DankoB

    Legendary Member

  • Super Moderators
  • 2,266 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MBP wCoreDuo 2GB RAM
    ATI X1600 128MB vRAM
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 26 May 2010 - 10:19 AM

Here you go d10sfan....I hope it works for you!!!!


I'll eventually put it in the wrappers section (if it works) as well but for now here you go!
Posted Image

#45 d10sfan

d10sfan

    Professional Member

  • Members
  • PipPipPipPip
  • 125 posts

Posted 26 May 2010 - 03:10 PM

Ok, it loaded now, but the mouse is still really sluggish. Cant move it outside a square box, so I cant get to the Load Game options and such. Does this support 1440x900?

Also, I get this error 2 times out of 3 when I try to start the game. After the splash screen, the bug reporter shows this:
xrEngine.exe caused BREAKPOINT

The xray log shows this:
Starting RENDER device...
 
FATAL ERROR
 
[error]Expression	: this->pD3D
[error]Function	  : CHW::CreateD3D
[error]File		  : E:\priquel\sources\engine\Layers\xrRender\HW.cpp
[error]Line		  : 117
[error]Description   : Please install DirectX 9.0c
 

The wine log shows this:
xp_destroy_surface: assertion failed: s != ((void *)0)
xp_destroy_surface error: 3
err:d3d_caps:WineD3D_CreateFakeGLContext Failed to make fake GL context current.
err:d3d:InitAdapters Failed to get a gl context for default adapter
err:d3d:WineDirect3DCreate Direct3D9 is not available without opengl

This is with the new wrapper.

#46 DankoB

DankoB

    Legendary Member

  • Super Moderators
  • 2,266 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MBP wCoreDuo 2GB RAM
    ATI X1600 128MB vRAM
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 26 May 2010 - 06:16 PM

Under direct 3d make sure you have the string

"UseGLSL"="enabled"

Whenever I see this: "err:d3d:WineDirect3DCreate Direct3D9 is not available without opengl", that usuall works
Posted Image

#47 d10sfan

d10sfan

    Professional Member

  • Members
  • PipPipPipPip
  • 125 posts

Posted 26 May 2010 - 06:19 PM

DankoB said:

Under direct 3d make sure you have the string

"UseGLSL"="enabled"

Whenever I see this: "err:d3d:WineDirect3DCreate Direct3D9 is not available without opengl", that usuall works
Its set to enabled. Any other settings are the same as when you uploaded it. I added MouseWarpOverride to the registry because it wasnt there.

#48 DankoB

DankoB

    Legendary Member

  • Super Moderators
  • 2,266 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MBP wCoreDuo 2GB RAM
    ATI X1600 128MB vRAM
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 26 May 2010 - 08:08 PM

I have a feeling it's the ATI and NvIDIA bumping heads....try "DirectDrawRenderer"="OpenGL"

or

look at the [Software\\Wine\\Fonts\\External Fonts] area...you may need to put your username in there
Posted Image

#49 d10sfan

d10sfan

    Professional Member

  • Members
  • PipPipPipPip
  • 125 posts

Posted 26 May 2010 - 08:23 PM

Thanks, setting that to OpenGL fixed the crashing problem. The mouse still is really jumpy and inside a box. Any ideas on that?

#50 DankoB

DankoB

    Legendary Member

  • Super Moderators
  • 2,266 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MBP wCoreDuo 2GB RAM
    ATI X1600 128MB vRAM
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 26 May 2010 - 09:29 PM

hmmm.....not too sure....try mouse warp override to just "enabled" I think the force edge is to stop the mouse from leaving the frame which really isn't an issue in OS X if you disable Expose.
Posted Image

#51 d10sfan

d10sfan

    Professional Member

  • Members
  • PipPipPipPip
  • 125 posts

Posted 26 May 2010 - 09:44 PM

Tried that and it still isnt working. I also tried getting rid of that entirely and it does the same thing.

Basically, it is stuck in a box probably around 800x600 or so, so you cant move right that much and you cant move down. If you try to move down too much X11's little X cursor shows up and its stuck. I am running it at 1440x900.

#52 DankoB

DankoB

    Legendary Member

  • Super Moderators
  • 2,266 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MBP wCoreDuo 2GB RAM
    ATI X1600 128MB vRAM
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 26 May 2010 - 11:19 PM

I'm running it at 1440X900 as well. Did you change the resolution in game?  I know it's the point of the patch but what happens when you use the input_exclusive bull stuff.

Another thing you can try is to go to c_drive/users/public/documents and delete the stalker-stcs folder....but before you do check the user.ltx...at the bottom of the file is the resolution the games runs at...maybe check that and change it to 1440X900 if it isn't already....is Wineskin also set for that res?
Posted Image

#53 d10sfan

d10sfan

    Professional Member

  • Members
  • PipPipPipPip
  • 125 posts

Posted 27 May 2010 - 12:44 AM

If I set the game to 800x600 and then switch it to 1440x900, it works for that session. Once I close it and load it again, it goes back to that weird state. Wineskin is set for 1440x900 fullscreen. I also tried it with automatic resolution as well.

#54 DankoB

DankoB

    Legendary Member

  • Super Moderators
  • 2,266 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MBP wCoreDuo 2GB RAM
    ATI X1600 128MB vRAM
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 27 May 2010 - 12:57 AM

What do you have your render settings at (advanced graphics options)? Try setting it to static lighting...I'm not sure if that makes a difference but that's what mine is set at.
Posted Image

#55 d10sfan

d10sfan

    Professional Member

  • Members
  • PipPipPipPip
  • 125 posts

Posted 27 May 2010 - 01:36 AM

Its set to low settings with static lighting.

#56 DankoB

DankoB

    Legendary Member

  • Super Moderators
  • 2,266 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MBP wCoreDuo 2GB RAM
    ATI X1600 128MB vRAM
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 27 May 2010 - 09:45 AM

What about mouse sensitivity in the game....I'm just stabbing at wet paper bag with water knife here....I'm running out of options...Maybe doh123 an shed some insight on this?
Posted Image

#57 d10sfan

d10sfan

    Professional Member

  • Members
  • PipPipPipPip
  • 125 posts

Posted 27 May 2010 - 03:43 PM

Its set about the middle. Thanks for your help, hopefully we can figure this out.

#58 DankoB

DankoB

    Legendary Member

  • Super Moderators
  • 2,266 posts
  • LocationNew Brunswick, Canada
  • Graphics Card:MBP wCoreDuo 2GB RAM
    ATI X1600 128MB vRAM
  • Operating System:Mac OS X 10.6 (Snow Leopard)
  • I like to play:la rockitar
Author

Posted 04 June 2010 - 12:18 PM

Are you using this?

[Software\\Wine\\Direct3D] 1274666893
"OffscreenRenderingMode"="backbuffer"
"UseGLSL"="enabled"

Try removing the DirectInput key all together.

If you find any new patches or anything, let me know
Posted Image

#59 d10sfan

d10sfan

    Professional Member

  • Members
  • PipPipPipPip
  • 125 posts

Posted 04 June 2010 - 01:34 PM

Ok, I tried that. Still no joy. Thanks anyways.

#60 Guest_poobah_*

Guest_poobah_*
  • Guests

Posted 29 July 2010 - 01:14 PM

Hi DankoB.

Have you by chance tried this newer mouse patch?

http://bugs2.winehq....nt.cgi?id=29687

I'm keen to try but still just learning to compile wine.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users