STALKER dinput patch Build
#1
Posted 08 May 2010 - 02:10 AM
I was wondering if it was possible to make a winebuild with the following patch:
http://bugs2.winehq....nt.cgi?id=15638
It seems that one was made for 1.1.37.
#2
Posted 08 May 2010 - 07:09 PM
#3
Posted 08 May 2010 - 07:10 PM
#4
Posted 08 May 2010 - 07:19 PM
Thanks for the response.
#5
Posted 09 May 2010 - 01:06 AM
doh123 said:
I got this little bit of info from doh in a pm but thought I would share it here. I don't know if I can use it for what I'm working on now, but I ported Clear Sky and Call of Pripyat using wineskin and they both need what d10sfan is referring to. Although I haven't read the entire Wineskin Manual I don't recall seeing anything about custom builds when I perused it. Is this something new doh? Do we need the beta 1.1 to do this? Any info would be great.
Hey doc, here's the link to the bugzilla info.... http://bugs.winehq.o...bug.cgi?id=6971 ......basically when you install the games (CS or CoP) the mouse will only work in one of the two game play situations, the menus, where you select options, trade or converse with the npc's or the regular first person gameplay, it uses the console command exclusive_input_mode 1 (first person gameplay) or exclusive_input_mode 0 (in menu gameplay) It's a pretty easy workaround but I agree with d10sfan, I would probably be playing clear sky a lot more if weren't for the console command drawback.
#6
Posted 09 May 2010 - 02:38 PM
It also leads to here which also makes no sense to me.
http://www.gnu.org/software/hello/manual/diff/Merging-with-patch.html#Merging%20with%20patch
Do I save the file as a text file and rename the extension to .patch and place it in the source folder before building?
#7
Posted 09 May 2010 - 06:26 PM
I suppose this is the same issue.
here's the build: (1.1.34)
http://www.mediafire.com/?lz0otq2m2m0
you need to add this reg entry to the user.reg file to enable the hack:
[Software\\Wine\\DirectInput] 1240428288 "BoxPixels"="10" "MouseWarpOverride"="force-box"
#8
Posted 09 May 2010 - 06:51 PM
I tried to use your build but STALKER Clear Sky crashes as soon as it loads. The wine log shows this:
err:ntdll:RtlpWaitForCriticalSection section 0xcc3060 "?" wait timed out in thread 001d, blocked by 001a, retrying (60 sec)
The clear sky log shows this:
Loading DLL: xrGameSpy.dll stack trace: [error][ 126] : Module not found
#9
Posted 09 May 2010 - 08:10 PM
thedoctor45 said:
I suppose this is the same issue.
here's the build: (1.1.34)
http://www.mediafire.com/?lz0otq2m2m0
you need to add this reg entry to the user.reg file to enable the hack:
[Software\\Wine\\DirectInput] 1240428288 "BoxPixels"="10" "MouseWarpOverride"="force-box"
Thanks for the info doc, but regardless wether or not this is the same bug I'd still like to know what to do with the patches....I'm still in the dark with applying them to a custom build.
I just gave it a shot by showing the package contents of the Wine bundle currently in the CS port and swapped out the Wine build...then I rebuilt the prefix and put the registry info back in and started it up but it crashed after the splash screen
#10
Posted 10 May 2010 - 05:22 AM
DankoB said:
yes its new...
viewtopic.php?f=185&t=4467
you get the Wine source how you want it, then use that build thing and it spits out a WineskinEngine.bundle.
the build will work fine with 1.0... though the Xmodmap file in there for keyboard key remapping will not work without Wineskin 1.1 .... I don't have the manual updated for any changes to 1.1, but if you look at the TODO list you can see what changes I have put in the beta.... but I'm not getting much feedback on it.
#11
Posted 10 May 2010 - 06:46 AM
configure: error: FreeType 32-bit development files not found. Fonts will not be built. Use the --without-freetype option if you really want this. An error occured during Wine Configure, build halted.
I have tried using macports to install freetype with the +universal command. I have also tried to install it from source. Neither have worked.
#12
Posted 10 May 2010 - 01:12 PM
d10sfan said:
configure: error: FreeType 32-bit development files not found. Fonts will not be built. Use the --without-freetype option if you really want this. An error occured during Wine Configure, build halted.
I have tried using macports to install freetype with the +universal command. I have also tried to install it from source. Neither have worked.
what OS are you building on? the 10.4 freetype devel files are right there in the Wineskin2 folder that it should be accessing during build... it will only look in the Xcode 10.4 SDK and at the stuff in the Wineskin2 folder... it doesn't build agasint other things installed on your system cuz it has to be portable to all machines.
#13
Posted 10 May 2010 - 01:23 PM
#14
Posted 10 May 2010 - 01:40 PM
d10sfan said:
how exactly are you trying to build it? That shouldn't be an error with my build script.
#15
Posted 10 May 2010 - 06:19 PM
doh123 said:
d10sfan said:
how exactly are you trying to build it? That shouldn't be an error with my build script.
I go into the ws2custombuild directory and type ./build wine-1.1.37
#16
Posted 10 May 2010 - 06:24 PM
#17
Posted 10 May 2010 - 06:47 PM
#18
Posted 10 May 2010 - 06:50 PM
#19
Posted 10 May 2010 - 06:52 PM
it goes in your user folder in a folder called Wineskin.. the same folder that Wineskin.app uses for normal wrappers.
#20
Posted 10 May 2010 - 07:54 PM
checking for freetype/freetype.h... no checking for freetype/ftglyph.h... no checking for freetype/fttypes.h... no checking for freetype/tttables.h... no checking for freetype/ftsnames.h... no checking for freetype/ttnameid.h... yes checking for freetype/ftoutln.h... no checking for freetype/ftwinfnt.h... no checking for freetype/ftmodapi.h... no checking for freetype/ftlcdfil.h... no checking for freetype/internal/sfnt.h... no checking for FT_TrueTypeEngineType... no checking for FT_Load_Sfnt_Table... no configure: error: FreeType 32-bit development files not found. Fonts will not be built. Use the --without-freetype option if you really want this. An error occured during Wine Configure, build halted. Cleaning up changes made for the build, if any... moving build environment back... Please enter an administrator password if prompted Please enter an administrator password if prompted
#21
Posted 10 May 2010 - 08:07 PM
doh123 said:
you get the Wine source how you want it, then use that build thing and it spits out a WineskinEngine.bundle.
So is there a simpler explanation then what the WineHQ has to say? I'm still unsure from "get the source how you want it" with the patch. How do I save the text from the patches at winehq? as text file? Do I use terminal to apply the patch as well as initiate the build. Once I understand this process fully I'd be willing to write up a tutorial for you doh :beer:
#22
Posted 12 May 2010 - 11:10 PM
search on google on how to use the patch command... same exact way you'd use it on Linux or anything else. (or you can 'man patch' and read, but finding examples on google is easier)
all the source files are text file as well, it just changes a few lines in the source the patch file indicates to change.
the patch file just changes some of the source code around... then you build it like normal.
#23
Posted 12 May 2010 - 11:16 PM
#24 Guest_pepintxa_*
Posted 14 May 2010 - 04:57 PM
Anyone know if STALKER Call of prypyat Is going to be ported?ohhh,that could be soooo cool for noobs without experience running windows on mac
EDIT:Also my english is not good enought to understand some explanations
#25
Posted 14 May 2010 - 06:05 PM
pepintxa said:
Anyone know if STALKER Call of prypyat Is going to be ported?ohhh,that could be soooo cool for noobs without experience running windows on mac
EDIT:Also my english is not good enought to understand some explanations
#26 Guest_pepintxa_*
Posted 15 May 2010 - 06:57 AM
Hope i will be able to play Metro 2033 too even having read that is not so good as we think...linear and no freedom of choice...that´s why i love Stalker,even i tryed to did a mini mod in the past of Shadow of chernobil(don´t know programing but i changed a few things that made IA so hard to kill....),Wild Shock,not finished but playable...
Thanks again and i will not ask again without have been searching info before
FreeKiller aka Ppintxa(^__^)
#27
Posted 15 May 2010 - 02:57 PM
DankoB said:
Wow, after re-reading that I feel kind of foolish for not thinking that through....I'm gonna give a go the proper way now.
#28
Posted 16 May 2010 - 09:45 AM
http://www.linux-gamers.net/modules/wiwimod/index.php?page=HOWTO+COD4
here's the line I was using.
patch -p1 < dinput.patch
and then it goes through a split second process and comes back and asks me which file to apply the patch to...I thought the patch was applied to the whole source...
this is what I get when i put the patch command in:
dankoB-MacBook-Pro-15:wine-1.1.37 danoB$ 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:
#29
Posted 16 May 2010 - 09:55 AM
File to patch: wine-1.1.37/makefile.in
patching file wine-1.1.37/makefile.in
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/makefile.in.rej
dankoB-MacBook-Pro-15:WS2CustomBuild
please help?
#30
Posted 16 May 2010 - 10:03 AM
DankoB said:
File to patch: wine-1.1.37/makefile.in
patching file wine-1.1.37/makefile.in
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/makefile.in.rej
dankoB-MacBook-Pro-15:WS2CustomBuild
please help?
it says the file that was supposed to be patched there was mouse.c
a/dlls/dinput/mouse.c
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users
















