From 532cd779a7f7ea0d7a709189c090fe6040185e8f Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 10 Aug 2022 07:41:03 +0300 Subject: [PATCH] Documentation: document bug compatibility mode --- Documentation/bug-compatibility.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/bug-compatibility.md diff --git a/Documentation/bug-compatibility.md b/Documentation/bug-compatibility.md new file mode 100644 index 00000000..27ac9849 --- /dev/null +++ b/Documentation/bug-compatibility.md @@ -0,0 +1,17 @@ +# Bug-compatibility in Xash3D FWGS + +Xash3D FWGS has special mode for games that rely on original engine bugs. + +In this mode, we emulate the behaviour of selected functions that may help running mods relying on engine bugs, but enabling them by default may break majority of other games. + +At this time, we only have implemented GoldSrc bug-compatibility. It can be enabled with `-bugcomp` command line switch. + +## GoldSrc bug-compatibility + +### Emulated bugs + +* `pfnPEntityOfEntIndex` in GoldSrc returns NULL for last player due to incorrect player index comparison + +### Games and mods that require this + +* Counter-Strike: Condition Zero - Deleted Scenes