Skip to content

ugozapad/FarCry

Repository files navigation

Far Cry

Source code of Far Cry 1 which was leaked 24 june 2023. https://archive.org/details/far-cry-1.34-complete

Fixed for building in VS 2022 (Win32 only)

Changes

  • Ported code to Visual Studio 2022, currently builds only Win32 Debug configuration
  • Replaced DXSDK to June 2010 version

Code changes:

  • Most stdafx.h files - Added _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
  • CryCommon - IScriptSystem.h: Moved some methods from WIN64 macro
  • CrySystem - MTSafeAllocator.h: replaced old std methods
  • CrySystem - HTTPDownloader.cpp: commented 309-310 lines
  • CryAnimation - disabled UNIQUE_VERT_BUFF_PER_INSTANCE becase of weird buffer descrution
  • CryAnimation - CryModel.cpp: 79 line commented becase of weird buffer descrution
  • CryNetwork - Disabled ubisoft nerwork code
  • CryGame - ScriptObjectGame.cpp: 2718 line commented save loading
  • XRenderD3D9 - Replaced DxErr9 with DxErr from lastest DXSDK
  • XRenderD3D9 - removed assert on invalid sector vertex buffer

TODO:

  • Replace nvDXT with nvtt
  • Remove nvidia cg
  • Fix bugs ...

TODO FUTURE:

  • Port engine to SDL
  • Port engine to Linux
  • Rewrite renderer to bgfx/Diligent Engine/NVRHI

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published