
Mod Limit Fix
Fix the crash when you install more than 120~130ish mods
查看大图[center][b][size=6]Description[/size][/b][/center]
[quote]KCD2 has a mod limit of around 130 "mods", often crashing if you attempt to install over this limit.
This limit is completely unrelated to conflicts, errors, or even memory or software limitations, it is more akin to a line of code that crashes the game whenever it detects too many mods.
The limit itself is not related to the number of .paks, .xmls, or anything of the sort. It's actually entirely related to the number of subfolders within your mod folder. These folders are then added to the mod order text file, and if it goes beyond a number around 130 (it seems to fluctuate, but it's around 130), it will cause a hard crash when launching the game until the folder number is reduced under this limit. [/quote][i][size=1]from [url=https://www.nexusmods.com/kingdomcomedeliverance2/mods/2788]https://www.nexusmods.com/kingdomcomedeliverance2/mods/2788[/url][/size][/i]
[b][size=4]How you can reproduce:[/size][/b]
[list=1]
[][size=3]Create 140 empty folders in your mods/ folder, yes, doesnt matter if they contained actual mod files[/size][/]
[][size=3]Launch game[/size][/]
[][size=3]Crash[/size][/]
[][size=3]Install the mod (correctly with all its dependencies)[/size][/]
[][size=3]Launch game[/size][/]
[]No crash[/]
[/list]
[center][b][size=6]Requirements[/size][/b][/center]
[list]
[][size=3][color=#D4D4D8]KCSE[/color][/size][/]
[][size=3][color=#D4D4D8]Address Library[/color][/size][/]
[/list][center][b][size=6]Source[/size][/b][/center]
[url=https://github.com/JerryYOJ/libKCD2/tree/master/Projects/ModLimitFix]github[/url]
[center][b][size=6]Shout outs[/size][/b][/center]
[list]
[][color=#D4D4D8]Lucien Lacroix for bring this to my attention[/color][/]
[/list]
还没有人评论,去客户端里说两句吧。
评论在新手盒子客户端中发表,这里同步展示。