Hmm, that makes a lot more sense than it did when I read an earlier version of that you posted in a modder's thread somewhere. Thank's for clarifying (; I'm not running that test tonight - but I will, and I'll post what results I find.
For reference, the only things I changed were X/Y grid positions, and it broke pre-reqs randomly, to the point of causing CTDs if you clicked on specific techs.
Using your technique, you can identify non-modular fields... but if you modify even a single field, don't you have to include all fields in a modular XML entry? That said, if the non-modular fields are required for an item (like Prereqs for techs) wouldn't that make all mods of that item nonmodular by default?
For reference, the only things I changed were X/Y grid positions, and it broke pre-reqs randomly, to the point of causing CTDs if you clicked on specific techs.
Using your technique, you can identify non-modular fields... but if you modify even a single field, don't you have to include all fields in a modular XML entry? That said, if the non-modular fields are required for an item (like Prereqs for techs) wouldn't that make all mods of that item nonmodular by default?
I haven't touched Technologies yet, except having them enable things, which is fairly indirect. So I can't say for certain. But I can tell you the quick way to check what does and doesn't load.
Every element in the XML is <something></something>. Many of them are not used in each item, so will be either <something>0</something> or <something>NONE</something>. By changing all of the >0< & >NONE< to just ><, you can create a "Dummy Index" entry. It should basically say nothing about nothing.
Now, form a dummy index as a standalone module, then load the game. In some certain cases the system absolutely REFUSES to have a blank space, so will yell at you. Fill that one in, then load again and repeat that until it doesn't yell at you anymore. Then go back and copy your properly (minimally) filled Dummy Index about 10 times (really 2 is sufficient, but I like lots, just in case).
Now load the game again, and check the Civlopedia for the relevant section. Look at the first few entries and see if there are any random blanks popping up (ie - A Pre-req or "leads to" space that shows up on mouseover as a nameless, pictureless tech, or "Technology enables____". Those are your entries which aren't loading properly for Modular Files.