Comment on I had to install directx 9 to run gta 4 on windows 11

computergeek125@lemmy.world ⁨2⁩ ⁨months⁩ ago

DirectX, OpenGL, Visual C++ Redist and many other support libraries in software programs typically require the same major version of the support libraries that they were shipped with.

For DirectX, that major version is 9, 10, 11, 12. Any major library change has to be recompiled into the game by the original developer.

Same goes for OpenGL, except I think they draw the line at the second number as well - 2.0, 3.0, 4.0, 4.1, 4.2, 4.3, 4.4.

For VC++, these versions come in years - typically you’ll see 2008, 2010, 2013, and the last version 2015-2022 is special. Programs written in the 2013 version or lower only require the latest version of that year to run. For the 2015-2022 library, they didn’t change the major version spec so any program requiring 2015+ can (usually) just use the latest version installed.

The one library that does weird things to this rule is DXVK and Intel’s older DX9-on-12. These are translation shim libraries that allow the application to speak DX9 etc and translate it on the fly to the commands of a much more modern library - Vulkan in the case of DXVK or DX12 in Intel’s case. (Note that iirc Intel has been moving their driver away from 9-on-12 implementations to faster native implementations)

source
Sort:hotnewtop