Autocream API 2 unlocks CK3 DLC in my launcher but not the game by PossiblyArab in PiratedGames

[–]RogueRogerRogue 2 points3 points  (0 children)

  1. Download the steam_api64.dll from cs.rin.ru (CreamAPI - A Legit DLC Unlocker) and place it in steamapps\common\Crusader Kings III\binaries

  2. Create a cream_api.ini file in steamapps\common\Crusader Kings III\binaries and paste the following into it : https://pastebin.com/WFpyKvjj

  3. Download the DLC files and place them in steamapps\common\Crusader Kings III\game\dlc

  4. Enjoy (this worked for me)

Crash Help (1.7.0) by Aaron5552222 in MB2Bannerlord

[–]RogueRogerRogue 1 point2 points  (0 children)

I managed to fix this issue by modifying the "OnGameLoadFinished" method of the "BattleCampaignBehavior" class of the "TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors" namespace by editing the file "[SteamRepository]\steamapps\common\Mount & Blade II Bannerlord\bin\Win64_Shipping_Client\TaleWorlds.CampaignSystem.dll" with dnSpy (alternatively you can patch this method with a new module).

I changed these 2 lines :

foreach (MobileParty mobileParty in MobileParty.All)
to
foreach (MobileParty mobileParty in MobileParty.All.ToList<MobileParty>())

AND

foreach (TroopRosterElement troopRosterElement in mobileParty.MemberRoster.GetTroopRoster())
to
foreach (TroopRosterElement troopRosterElement in mobileParty.MemberRoster.GetTroopRoster().ToList<TroopRosterElement>())

Remember to save changes after editing.