Loading game CTD, with Insufficient video memory error message
Q: The game starts to load, then CTD and error log says there is 'Insufficient video memory'.
A: This is normally caused when you tell M2TW to look for an image file that doesn't exist. The this is normally due to an error in the descr_model_strat.txt. Ensure that all the image paths (eg models_strat/textures/southern_ambasador_papacy.tga) lead to an image file (.tga) and the spelling is correct.
If both are correct ensure that in every entry the .cas file has its .tga file assigned to one faction (without opening the cas file it's impossible to tell which tga file it needs). If this tga file is not listed in the 'descr_model_strat.txt' entry the mod will crash. For example any entry using the 'late_general_northern.CAS' has to have one faction assigned the 'late_general_england_strat.tga' or the mod will crash.
Below is an example. The 'mesoamerican_king.cas' requires the 'mesoamerican_king_mayans.tga'. The following will produce an 'Insufficient video memory' error because the 'mesoamerican_king_mayans.tga' has not been assigned to the 'mesoamerican_king.cas'.
Code:
type mesoamerican_king
skeleton strat_named_with_army
scale 0.7
indiv_range 40
texture aztecs, models_strat/textures/mesoamerican_king_aztecs.tga
texture mayans, models_strat/textures/mesoamerican_king_aztecs.tga
texture tlaxcalans, models_strat/textures/mesoamerican_king_tlaxcalans.tga
texture tarascans, models_strat/textures/mesoamerican_king_tarascans.tga
texture slave, models_strat/textures/mesoamerican_king_aztecs.tga
model_flexi_m models_strat/mesoamerican_king.CAS, max
shadow_model_flexi models_strat/shadow_sword.CAS, max
But this one will work because the 'mesoamerican_king_mayans.tga' has been assigned to the 'mesoamerican_king.cas'.
Code:
type mesoamerican_king
skeleton strat_named_with_army
scale 0.7
indiv_range 40
texture aztecs, models_strat/textures/mesoamerican_king_aztecs.tga
texture mayans, models_strat/textures/mesoamerican_king_mayans.tga
texture tlaxcalans, models_strat/textures/mesoamerican_king_tlaxcalans.tga
texture tarascans, models_strat/textures/mesoamerican_king_tarascans.tga
texture slave, models_strat/textures/mesoamerican_king_aztecs.tga
model_flexi_m models_strat/mesoamerican_king.CAS, max
shadow_model_flexi models_strat/shadow_sword.CAS, max