This is a 64-bit build tree of the leaked Far Cry source. While the release bundle was labelled as version 1.34, the version within the code still reads as 1.33 (1.1.3.1395), with the CryCommon
and CryGame
components mostly matching the public SDK.
Some modifications were made to original sources and project configuration in order to make it able to be built using Visual Studio 2022.
This repository has 3 branches:
- leak - contains the original leaked source with project files overwritten by
AMD64_ProjectFiles_VS2005
contents - win32_x64 - contains the original leaked source with project files updated for Visual Studio 2022
- cleanup - contains a work-in-progress code cleanup with minor tweaks for building
- fixes (default) - contains further tweaks and fixes that might not be found upstream
You will need Visual Studio 2022 with MSVC v143 C++ x64/x86 build tools
and C++ MFC for v143 build tools (x86 & x64)
components. (Note: v14.36 - 17.6
were initially used to build this project for Win10)
Just load Game01.sln
, select Release64
solution configuration and run Build solution
. 20 out of 22 projects will compile and link, however 2 will fail: Editor
and XRenderOGL
. You can unload them to avoid building them.
This x64 build has been tested using assets from game version 1.40, along with additional binary dependencies from 64-bit Upgrade Patch v1.32.
- Create some directory alongside
Bin32
orBin64
directories, for exampleCustomBuild
- Place compiled binaries from
FarCry/x64/Release64/
folder (16DLL
s ans 3EXE
s in total) - You still need to copy the following 5 DLLs from
Bin64
folder:DivxDecoder.dll
,DivxMediaLib.dll
,FileParser.dll
,msvcr71.dll
,crysound64.dll
- You can optionally copy the
*.pdb
files fromFarCry/x64/Release64/
to aid in debugging
(Note: Game saves are architecture independent and appear to function the same between versions 1.32, 1.33, and 1.40.)
The resulting file tree should look something like this:
CustomBuild\
├── Cry3DEngine.dll
├── CryAISystem.dll
├── CryAnimation.dll
├── CryEntitySystem.dll
├── CryFont.dll
├── CryGame.dll
├── CryInput.dll
├── CryMovie.dll
├── CryNetwork.dll
├── CryPhysics.dll
├── CryScriptSystem.dll
├── crysound64.dll
├── CrySoundSystem.dll
├── CrySystem.dll
├── DivxDecoder.dll
├── DivxMediaLib.dll
├── FarCry.exe
├── FarCry_WinSV.exe
├── FileParser.dll
├── msvcr71.dll
├── rc64.exe
├── ResourceCompilerPC64.dll
├── XRenderD3D9.dll
└── XRenderNULL.dll
The Editor compiles fine but fails at the linking stage due to missing dependencies from the proprietary XTreme Toolkit for MFC, not present in the release.