Far Cry

Getting old Windows games working.

Re: Far Cry

Postby antrad » 2018-4-27 @ 08:56

VS11 wrote:Apart from a "no dvd-check" on the x32 executable, an editor manual which you can find online anyway, and some "2 HD wallpapers + 3 avatars", nothing new. They usually remove the DRM and sometimes if you're really lucky they receive some bonus content from the developers you couldn't find online.


Thank you for the reply.
User avatar
antrad
Newbie
 
Posts: 20
Joined: 2018-2-18 @ 22:36

Re: Far Cry

Postby hwh » 2018-4-28 @ 18:09

Hm, I just sold my original 5 cd copy of Far Cry. Sweet graphics, game otherwise on the generic side. Also I hate fighting monsters in the dark. :dead:

I only used it on XP, so I'll just be going now...
hwh
Newbie
 
Posts: 56
Joined: 2008-7-06 @ 18:18

Re: Far Cry

Postby Johnylyr » 2018-5-03 @ 16:40

I think we were close to a final solution for non steam versions. Anyone found out why the silent patch didn't work with the non steam versions?
User avatar
Johnylyr
Newbie
 
Posts: 11
Joined: 2003-11-30 @ 05:38

Re: Far Cry

Postby VS11 » 2018-5-03 @ 21:30

Just like I suspected after the VS2017 test, on a Windows 10 system with the dvd retail version of Far Cry 1.32 x64 the landmass reflection works. I forgot checking v-sync but it probably should work too. Theoretically it should work on Windows 8 and 8.1 too. Unfortunately on Windows 7 it doesn't.
VS11
Newbie
 
Posts: 27
Joined: 2018-4-13 @ 09:18

Re: Far Cry

Postby Johnylyr » 2018-5-04 @ 15:30

What about the modified dll on windows 7? Does it work? I know it was only posted for testing and then removed, but maybe it can be posted again.
User avatar
Johnylyr
Newbie
 
Posts: 11
Joined: 2003-11-30 @ 05:38

Re: Far Cry

Postby Burning Fish » 2018-5-10 @ 16:09

I can't use the command "/fov" ingame to change FOV when using SilentPatch. I'm running FC in devmode and it works without the patch.

[EDIT]
Solved it. I need to put "-devmode" AFTER "-64bit". I had it like this: "-devmode -64bit" and the game would ignore the first argument. Maybe you can emphasise this in the ReadMe?
Burning Fish
Newbie
 
Posts: 1
Joined: 2018-5-10 @ 16:06

Re: Far Cry

Postby CookiePLMonster » 2018-5-11 @ 22:36

VS11 wrote:Just like I suspected after the VS2017 test, on a Windows 10 system with the dvd retail version of Far Cry 1.32 x64 the landmass reflection works. I forgot checking v-sync but it probably should work too. Theoretically it should work on Windows 8 and 8.1 too. Unfortunately on Windows 7 it doesn't.


Ouch, that sounds really bad... I need to give it a spin on Windows 7 then!


EDIT:
Well damn, I just tried the setup on Windows 7 and you're absolutely right :/ I would have never expected something like this to happen... time to figure out why it's that.

EDIT2:
Compatibility shims are to blame! On Win7, there is a shim, so game loads apphelp.dll - which in turn ends up loading wininet.dll. This shim was removed on Win8 and all following Windows versions!

EDIT3:
wininet is a known DLL on Windows 7, but it's not on Windows 10... that's why it ends up grabbing a system32 DLL and ignores my DLL. Nasty.
User avatar
CookiePLMonster
Newbie
 
Posts: 37
Joined: 2018-4-01 @ 18:53

Re: Far Cry

Postby CookiePLMonster » 2018-5-13 @ 19:35

Hey, I haven't had a chance to test this on Windows 7 yet, but it should work on 7, 8.1 and 10 this time!

https://www.dropbox.com/s/z2iwqi0oyk3ww ... 2.zip?dl=0

wininet.dll can be removed - now version.dll is used to load.

Please let me know if that works, if it does I'll re-release the patch in this state.
User avatar
CookiePLMonster
Newbie
 
Posts: 37
Joined: 2018-4-01 @ 18:53

Re: Far Cry

Postby lowenz » 2018-5-14 @ 01:27

Win10 OK
lowenz
Oldbie
 
Posts: 940
Joined: 2014-12-20 @ 01:30

Re: Far Cry

Postby CookiePLMonster » 2018-5-14 @ 07:10

Though I found EVEN MORE issues with version.dll... I need to try dbghelp, overwriting the one shipped with the game since it is already in Windows so they didn't need to include it.

It's a nightmare and it's because the game is split into so many DLLs... Otherwise dinput8 would have worked like in any other game.
User avatar
CookiePLMonster
Newbie
 
Posts: 37
Joined: 2018-4-01 @ 18:53

Re: Far Cry

Postby lowenz » 2018-5-15 @ 07:07

"Modularize the code" they said :D
lowenz
Oldbie
 
Posts: 940
Joined: 2014-12-20 @ 01:30

Re: Far Cry

Postby VS11 » 2018-5-20 @ 05:41

CookiePLMonster wrote:Hey, I haven't had a chance to test this on Windows 7 yet, but it should work on 7, 8.1 and 10 this time!

https://www.dropbox.com/s/z2iwqi0oyk3ww ... 2.zip?dl=0

wininet.dll can be removed - now version.dll is used to load.

Please let me know if that works, if it does I'll re-release the patch in this state.


Took me a while to respond because I uninstalled it since it seemed like no more progress could have been made.

1. SilentPatchFarCry.asi + dbghelp.dll

When running the executable an error is encountered:

for x32 version:

"FarCry.exe - Entry Point Not Found

The procedure entry point SymGetModuleBase could not be located in the dynamic link library dbghelp.dll"

"CrySystem.dll Loading Failed:

The specified procedure could not be found."

for x64 version:

"FarCry.exe - Entry Point Not Found

The procedure entry point SymGetLineFromAddr64 could not be located in the dynamic link library dbghelp.dll"

"CrySystem.dll Loading Failed:

The specified procedure could not be found."

2. SilentPatchFarCry.asi + version.dll

The presence of the version.dll prevents the application from loading in the x32 version(it loads and then unloads without any of the intro videos being shown or any errors being displayed) and in the x64 version the landmass reflection is not produced and v-sync doesn't work either.
VS11
Newbie
 
Posts: 27
Joined: 2018-4-13 @ 09:18

Re: Far Cry

Postby CookiePLMonster » 2018-5-20 @ 08:42

Yeah, I have observed same since then - again, only on 7 and not 10.

dbghelp is not supported by this DLL yet though, I'll try to find some time to do it soon and hopefully it'll work fine then. version.dll seems to break the configurator badly, too...
User avatar
CookiePLMonster
Newbie
 
Posts: 37
Joined: 2018-4-01 @ 18:53

Re: Far Cry

Postby VS11 » 2018-5-21 @ 01:24

Also, another thing to be considered, dbghelp.dll is only present in the Bin32 directory(the x32 version), not also in the Bin64 one.
VS11
Newbie
 
Posts: 27
Joined: 2018-4-13 @ 09:18

Re: Far Cry

Postby teleguy » 2018-5-21 @ 11:25

CookiePLMonster wrote:
VS11 wrote:Just like I suspected after the VS2017 test, on a Windows 10 system with the dvd retail version of Far Cry 1.32 x64 the landmass reflection works. I forgot checking v-sync but it probably should work too. Theoretically it should work on Windows 8 and 8.1 too. Unfortunately on Windows 7 it doesn't.


Ouch, that sounds really bad... I need to give it a spin on Windows 7 then!


EDIT:
Well damn, I just tried the setup on Windows 7 and you're absolutely right :/ I would have never expected something like this to happen... time to figure out why it's that.

EDIT2:
Compatibility shims are to blame! On Win7, there is a shim, so game loads apphelp.dll - which in turn ends up loading wininet.dll. This shim was removed on Win8 and all following Windows versions!



Are you sure about that? Disabling the shim in the Compatibility Administrator or bypassing it, e.g. by simply renaming the exe doesn't make the fix work.
The shim is only listed in the 32bit compatibility administrator but not the 64bit one so I don't know if it's even applied to the 64bit version of Far Cry.
teleguy
Member
 
Posts: 383
Joined: 2004-2-28 @ 18:54

Re: Far Cry

Postby CookiePLMonster » 2018-5-21 @ 12:43

VS11 wrote:Also, another thing to be considered, dbghelp.dll is only present in the Bin32 directory(the x32 version), not also in the Bin64 one.

That's even better! dbghelp they ship with the game is probably nothing special and Windows already ships it, plus both 32-bit and 64-bit versions use. I can most likely safely overwrite it.

If you want to give it a go, remove dbghelp from the game directory and give it a go - it should work just fine.


teleguy wrote:Are you sure about that? Disabling the shim in the Compatibility Administrator or bypassing it, e.g. by simply renaming the exe doesn't make the fix work.
The shim is only listed in the 32bit compatibility administrator but not the 64bit one so I don't know if it's even applied to the 64bit version of Far Cry.

That is outdated info, since then I found out wininet is a KnownDLL on Windows 7, but not Windows 10 (RELATED READ).
User avatar
CookiePLMonster
Newbie
 
Posts: 37
Joined: 2018-4-01 @ 18:53

Re: Far Cry

Postby teleguy » 2018-5-21 @ 13:37

I see. I assumed what you mentioned in Edit3 only became a problem because of Edit2 not that it was something entirely different. Thanks for the clarification and the link.
teleguy
Member
 
Posts: 383
Joined: 2004-2-28 @ 18:54

Re: Far Cry

Postby VS11 » 2018-5-21 @ 13:40

If you want to give it a go, remove dbghelp from the game directory and give it a go - it should work just fine.


I already tested it before, everything seems fine, including going through the ending of a level and then the automatic load of the next one.
VS11
Newbie
 
Posts: 27
Joined: 2018-4-13 @ 09:18

Previous

Return to Windows

Who is online

Users browsing this forum: No registered users and 3 guests