PROBLEM:
After adding a number of factions and modifying some files that seem to work flawlessly with the Grand Campaign, I now CTD when I click "Custom Battle" on the main menu.
What I know:
- It's not a VirtualStore/UAC problem
- Everything else in the menu works fine including Grand Campaign, Custom Campaign, Historical Battle, and Quick Battle
- Starting/running a campaign is working
- The battle map is working via both campaign battles and Quick Battle
- It's not related to menu_english.txt
What I'm not sure about:
- I get the same exact CTD when I use Gigantus' 31-faction mtw2.lnt (instead of the mtw2.lnt I'm working with) so I don't think that's it's related to that file. I will admit that there are now more factions available to play as than there are icons to choose from, though.
- I don't think it's related to custom_battle_availability in descr_sm_factions.txt because changing those values for the new factions didn't fix the CTD
- I don't think it's related to expanded.txt (this one has given me problems in the past)
SOLUTION:
Provided by Withwnar: http://www.twcenter.net/forums/showthread.php?521738
As you get closer to the "31 faction" cap, you might need to remove entries from custom_locations.txt OR just remove unique images tied to the entries. If I understand the solution correctly, you should actually be able to have as many entries in custom_locations.txt as you want as long as some of them use the same image (placeholder or otherwise) to keep you below your mod's "max image limit" (influenced by the number of factions, among other things).



Reply With Quote















































