Fatal Error Out of thread ids
Fatal Error Out of thread ids. Decrease the number of threads or increase MAX_THREADS_SUPPORTED
A error when Operating system is running more CPU threads, than "old" program is design for.
Note:Command parameter -threads or start /AFFINITY 7 either not work or have no effect
Contents
Simple way to decrease CPU thread count on Windows
- Type msconfig into Windows Run program or Search bar.
- Choose Boot tab page, click Advanced options...
- Check box - Number of processors: and from drop list, choose value 19 or less. This help on L4D, L4D2 Hammer tools.
Patching retail L4D2
The retail (CD) version of Left 4 Dead 2 has this problem when booting the game with 32 or more threads.
To fix this in IDA, disassemble tier0.dll
, edit the 0x20 byte at 1000C64D
to 0x7F (raises the thread limit to 127) and patch references of address 1005701C
to 10056F08
to expand the buffer by hijacking an unused char buffer of size 128.
Other ways
- From BIOS/UEFI, decrease core/thread count
- AMD Ryzen Master have a option in profile settings: Legacy Compatibility Mode (#post)