Windows XP

User avatar
Alundaio
S.T.A.L.K.E.R.
Posts: 1371
Joined: 26 May 2012, 22:26

Windows XP

Postby Alundaio » 09 Jul 2015, 00:02

Does anyone have Call of Pripyat installed on an XP system? I have binaries I would like to test.
"I have a dream that one day this community will rise up and live out the true meaning of its creed: "We hold these truths to be self-evident; that all mods are created equal."

User avatar
Alundaio
S.T.A.L.K.E.R.
Posts: 1371
Joined: 26 May 2012, 22:26

Re: Windows XP

Postby Alundaio » 09 Jul 2015, 13:25

Okay I need someone to try these bins on XP. Note, that this is not access to CoC, I need you to test this on a vanilla install of Call of Pripyat.

XP Bins: www.epicstalker.com/uploads/stalker/cal ... Ray_XP.zip
VS2013 Redist x86: https://www.microsoft.com/en-us/downloa ... x?id=40784


1. install vs2013 redist x86 if you don't have it already
2. Backup your cop\bins directory
3. place new bins in your cop directory
4. launch the game


If it says "This is not a valid win32 application" please tell me what version of XP you have (ie. SP3)

If it starts up to menu it is a success. You won't be able to play the game because gamedata missing some needed stuff, but it's not needed for the test.
"I have a dream that one day this community will rise up and live out the true meaning of its creed: "We hold these truths to be self-evident; that all mods are created equal."

ikdoemaarwat
Scavenger
Posts: 14
Joined: 10 Mar 2013, 14:45

Re: Windows XP

Postby ikdoemaarwat » 10 Jul 2015, 08:26

Windows xp sp3 won't run.
not a valid Win32 application

User avatar
Alundaio
S.T.A.L.K.E.R.
Posts: 1371
Joined: 26 May 2012, 22:26

Re: Windows XP

Postby Alundaio » 10 Jul 2015, 13:43

Thanks. That's a shame.
"I have a dream that one day this community will rise up and live out the true meaning of its creed: "We hold these truths to be self-evident; that all mods are created equal."

Modder-G
Scavenger
Posts: 8
Joined: 06 Aug 2017, 22:11

Re: Windows XP

Postby Modder-G » 11 Aug 2017, 19:53

Copy from my post at Moddb:
Found an unnofficial CoC v1.4.22 Windows XP patch. Works fine so far. I checked out the changes and it is just the version check in the PE header inside xrEngine.exe: Change two bytes in xrEngine.exe at offset 0x170 and 0x178: both from value 06 to 04; the whole package then runs in Windows XP. :) Why did I not find this a week earlier?...

Also works with v1.5Beta-R4.

One limitation: 'Trucks Cemetery' will fail to load lacking memory. Even at the very lowest setting, even with most textures removed from the game.

User avatar
Alundaio
S.T.A.L.K.E.R.
Posts: 1371
Joined: 26 May 2012, 22:26

Re: Windows XP

Postby Alundaio » 11 Aug 2017, 21:17

That's a weird fix, considering the real way to get an application to run on XP is to compile it with target version set to v120_xp, and it means everything with it too. I have tried compiling xrEngine.exe with this flag and it never worked on XP.
"I have a dream that one day this community will rise up and live out the true meaning of its creed: "We hold these truths to be self-evident; that all mods are created equal."

Modder-G
Scavenger
Posts: 8
Joined: 06 Aug 2017, 22:11

Re: Windows XP

Postby Modder-G » 12 Aug 2017, 10:11

Yes I heard about thes compiler 'target-XP' options. I cannot fully explain the trick but I played CoC 1.3/1.4/1.5 for many hours on XP. I consider it very reliable. The few crashes I have seen where either about lacking memory or were known issues on Windows 7 too.
When the PE header of an executable specifies Windows NT version 6 (=Vista) then it will give the error "not a valid Win32 application" right away on XP. When I change it with an hex editor to 4 or 5 (XP is actually NT5.1 IIRC) it runs fine. You can see it right at the start of each exe and dll right behind the marker 'PE'. But the value in the dlls is ignored, it is the .exe that matters. I tried this trick with CorsixTH too, with the same success. (CorsixTH is a Theme Hospital clone requiring MSVC 2015 runtime libraries)
After hex editing the PE header the header checksum is off, but windows won't complain about it. Just that 'PE explorer' says so, and it can correct the checksum too.

I suppose the few that kling to their XP boxes can find this post and make their own decision.
You do not have the required permissions to view the files attached to this post.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest