Fatal Error Out of thread ids: Difference between revisions
Jump to navigation
Jump to search
Note:Command parameter -threads or start /AFFINITY 7 either not work or have no effect
mNo edit summary |
No edit summary |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
Out of thread ids. Decrease the number of threads or increase MAX_THREADS_SUPPORTED</pre> | Out of thread ids. Decrease the number of threads or increase MAX_THREADS_SUPPORTED</pre> | ||
A error when [[Operating system]] is running more CPU threads than "old" program is design for. | 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}} | {{Note|Command parameter -threads or '''start /AFFINITY 7''' either not work or have no effect}} | ||
Line 11: | Line 11: | ||
*Choose Boot tab page, click Advanced options... | *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. | *Check box - Number of processors: and from drop list, choose value 19 or less. This help on L4D, L4D2 Hammer tools. | ||
{{clr}} | |||
== 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 <code>tier0.dll</code>, edit the 0x20 byte at <code>1000C64D</code> to 0x7F (raises the thread limit to 127) and patch references of address <code>1005701C</code> to <code>10056F08</code> to expand the buffer by hijacking an unused char buffer of size 128. | |||
== Other ways == | == Other ways == | ||
*From BIOS, decrease core/thread count | *From BIOS/UEFI, decrease core/thread count | ||
*[https://www.amd.com/en/technologies/ryzen-master AMD Ryzen Master] have a option in profile settings: '''Legacy Compatibility Mode''' | *[https://www.amd.com/en/technologies/ryzen-master AMD Ryzen Master] have a option in profile settings: '''Legacy Compatibility Mode''' (#[https://steamcommunity.com/app/630/discussions/0/615085406669320118/#c3112519935864357124 post]) | ||
== See | == See also == | ||
[[Authoring Tools/SDK (Left 4 Dead)]] | [[Authoring Tools/SDK (Left 4 Dead)]] | ||
Line 28: | Line 30: | ||
[[Category:Left_4_Dead]] | [[Category:Left_4_Dead]] | ||
[[Category:Left_4_Dead_2]] | [[Category:Left_4_Dead_2]] | ||
Latest revision as of 09:58, 21 September 2024
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.

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)