Thank you. I'm not the type of person who uses short hand of any type (as you can easily tell by the size of my posts throughout this thread - I'm lucky I understand what "omg" and such mean). The only "short-hand" (I'm not even sure what to call it!) I use is "LOL" because it's the only one I can't "truly long-hand".
I know!! That's what's maddening about this! Because I cannot find any errors in the 3 files where the CTD error is SUPPOSED to be, that means (although I cannot remember doing so) I added/edited code elsewhere and I screwed that up. I tried this "adding culture plus changing faction" before, got all the code in, and it had the same CTD error, but I had the entire game to find it in, which (if the error isn't in the 3 files I'm looking at) I'm facing yet again! Yet, I am confident they are the same error, as the process monitor (which is listed as a tool in the RTW forum) tells me very similar processes between my "first" broken mod and now this one, the minor differences I can easily explain.
Basically, I'm worried the error is elsewhere (because I cannot find it in the 3 files I think they should be in), yet because the process monitor basically showed me the same processes between my two broken mods, I'm confident they have the same error, and since I don't have all the changes in the mod I'm currently working on as in my "first attempt" mod, I'm thinking the name files are a very likely source of the CTD error for both mods.
I didn't realize you can do that. Attempting:
I deleted the "character_record" and "relative" lines from the Ostrogoths and deleted the map.rwm. CTD error still occurs almost immediately after clicking the start campaign button, with the map.rwm being regenerated. I put the character_record and relative segments back in... especially for what comes below:
That's what I thought. Thank you for clarifying that. However, your statement leads me to ask another question: If the game linearly process all game files, do you know the order in which it does? Even if I can get an error about "line Y" or not, the only thing I can be sure of is the file I put the error in. If I get no error about "line Y" in the descr_strat.txt, then the error is "ahead" of the code I broke, and I can search the descr_strat.txt (above where I put the error) for something wrong, but if I cannot find an error in that file, what files does the game access before it? Where do I search from there? Same thing if I actually get an error from the "line Y"... it comes afterwards... what files does the game access after the descr_strat.txt? You understand what I mean?
Okay... to test this, I'm going to introduce an error into the "buildings" listing of the Sarmatians (they are listed right after the Ostrogoths, the area I want to test), so if I receive an error about the broken Sarmatian building line, then I know the descr_strat.txt file is correct.
Okay, trying this: The Sarmatian capital has walls, so I changed "defenses" to "defense" to see what happens:
YES! KTM error produced when attempting to start campaign:
So... the descr_strat.txt entry I rebuilt must work! Finally! Some good news! Thank you both for that suggestion! Fixed my "intentional error" as well.Script Error in: bi/data/world/maps/campaign/barbarian_invasion/descr_strat.txt, at line 6497, column 14
Building specification type defense not found in building database
Okay, MasterOfNone or Aradan, I have a few questions about how to proceed with this:
--> For the 3 questions I ask below, in what order does the game access these files?
1. Due to the fact I've been at this for so much longer than I wanted, I want to test the entirety of this file. Do either of you have a suggested "error" I could introduce in the "diplomacy" segment of the descr_strat.txt so I could ensure that ENTIRE file is working?
2. The other place I know is very sensitive to mistakes is the export_descr_buildings.txt. It's the other place where if I'm going to make a mistake... it'll be there. What type of "error" should I introduce there into the last temple entry (the final building chain) to verify that one? I might find that the error is before this file too.
3. Since we eliminated the Ostrogoth "family tree" segment as suspect with that test, that leaves the 2 name files as the obvious suspects for the CTD error. How do I introduce an error to test that?! All name errors as far as I know are CTD errors... and therefore there is no means of testing the name files. Unless... do either of you know what file the game accesses AFTER the name files? I might be able to introduce an error there (and maybe the file before the names ones?) so I can be 100% sure the name files have the error.
Thanks guys! I know it's a tiny step, but it's the first step forward I've had in a week! What's next?