Let’s try this with an example
in records/items/loottables/geartorso/tdyn_torsocaster_a01.dbr you find the following data (amongst other data…)
lootName1,records/items/geartorso/a00_torso004.dbr,
prefixTableName1,records/items/lootaffixes/prefix/prefixtables/prefixa01_base_armor.dbr,
prefixTableName2,records/items/lootaffixes/prefix/prefixtables/prefixa01_resistshigh.dbr,
rarePrefixTableName1,records/items/lootaffixes/prefix/prefixtables/prefixb01_armor_all.dbr,
rareSuffixTableName1,records/items/lootaffixes/suffix/suffixtables/suffixb01_armor_all.dbr,
suffixTableName1,records/items/lootaffixes/suffix/suffixtables/suffixa01_ch_armor_ability01.dbr,
The first entry tells you which item(s) the affixes in this table are for, the other 4 tell you different tables that all contain affixes
Then there are entries which tell you which combinations are allowed
bothPrefixSuffix,4000,
normalPrefixRareSuffix,92,
rarePrefixNormalSuffix,108,
rareBothPrefixSuffix,4,
As long as the value is larger 0, there is a chance for this combination, however small, so that is what decides which combinations are allowed. Here all combinations of normal and rare pre- and suffix are allowed.
The table entries, e.g.
prefixTableName1,records/items/lootaffixes/prefix/prefixtables/prefixa01_base_armor.dbr,
point to a list of affixes
randomizerName1,records/items/lootaffixes/prefix/aa004a_cunmod_01.dbr,
randomizerName10,records/items/lootaffixes/prefix/aa007a_lifemod_02.dbr,
randomizerName2,records/items/lootaffixes/prefix/aa005a_phymod_01.dbr,
randomizerName3,records/items/lootaffixes/prefix/aa006a_spimod_01.dbr,
randomizerName4,records/items/lootaffixes/prefix/aa007a_lifemod_01.dbr,
randomizerName5,records/items/lootaffixes/prefix/aa008a_energymod_01.dbr,
randomizerName6,records/items/lootaffixes/prefix/aa010a_damod_01.dbr,
randomizerName7,records/items/lootaffixes/prefix/aa004a_cunmod_02.dbr,
randomizerName8,records/items/lootaffixes/prefix/aa005a_phymod_02.dbr,
randomizerName9,records/items/lootaffixes/prefix/aa006a_spimod_02.dbr,
So I look for all loot tables that contain the item, then for all the affixes referenced in the affix tables the loot table refers to and consider which combinations the loot table allows
This gives me all prefixes, all suffixes and all allowed combinations for an item
In fact it gives me more than that (unfortunately) as some of the loot tables are not actually used in game, but there is no reliable way to determine which ones are not based on database.arz data alone (I tried…)
I noticed the first time I imported the DAIL database it said it couldn’t find a bunch of stuff, restarting GD Stash and then importing again got me no errors the second time. Perhaps the 32 bit version offered through the installer is choking on the massive DAIL database and not getting everything in in one attempt, so maybe I just need to try importing yet again?
importing again will not help, I always wipe the existing data at the beginning of each import, so you cannot gradually get there
If you do not get a heap overflow, then everything should be fine during the first import. I cannot really explain your experience of the import working the second time but not the first.