Ancient Empires Pack 1 Bug Fix Attempt June 2023
This mod fixes many minor errors in first 15000 bugs listed by RPFM.
It is fully interchangeable with AEpack1 and will work with savegames.
Noticed many invalid references and empty rows.
Noticed bizarre insertions as if someone was not in their right might and had pasted fields from a spreadsheet into the wrong table.
Tried to fix all bugs related to buildings and bchs and superchains. Mostly in buildingeffectsjx and building_downgrade_jx
In some cases, I pointed them to buildings with similar names and levels. Names were often close., Did not change building_levels names at all.
Primarily, I fixed a cluster of tables involving CAI_Personalities and its dependencies. CAI_Personalities is the hub for numerous other cai tables.
• Significant time was spend on removing these personality types:
• Aggressive_Greeks Balanced_Greeks Defensive_Greeks Expansionist_Greeks …. for all 13 cultures.
• Moved these to a deprecated table so mod can be savegame compatible
• Corrected about 25 likes and dislikes across personalities.
• Removed a few superfluous "like dislike" personalities that wouldn’t figure into a normal campagin (britons vs easterners for ex)
Largest work was rebuilding the cai_personatlity_group_junctions
There were hundreds of errors in the table
The primary problem was that many of the listed personalities were never established in the personalities table.
Matched the personalities with exactly with those in this table.
The sum of all weights is supposed to be about 100.
I started to do a weight rebalance for each group, but that started to overwrite the original weights chosen by the creators.
So only adjusted the values in a few groups under Starting Weight.
THE TABLE WILL NEED SOMEONE TO CHOOSE HOW TO REWEIGHT EACH GROUP.
It should still work without the reweight.
Double-checked to make sure that at least the generic personalities and their weights matched the original table 100% (top 14-15 rows of each group)
The table was originally nearly 4000 rows long. Now 2509
Launched mod with Attila and Pack2 repeatedly15-8848 See if these uniforms are missing in pack 2
15-8848 See if these uniforms are missing in pack 28942 Set up the onager bastion correctly in like Scorpio bastion.
8855-9210 All units need to be listed in the variants table at the end. The AI and startpos depend on it.
9228-10066 duplicated befj double keys remove please
10174 Need to add _likes and _dislikes to all the errored factions and fix the cultural component entry to match in cai_personalities and these will fix themselves
10085-12686 db/cai_personality_group_overrides_tables/AE_cai_personality_group_overrides looks fine. This error may not cause a crash but it confuses the games ability to assign each faction a personality.
Primarily because the game depends on these being primary keys. The creator was reusing primary keys. Even though the rows were different, the game does not understand that and is likely randomly picking different versions of that key.
There should be only one group available per faction/difficulty level. I looked at all the best mods and no mods allow two. Please remove the duplicates so that only 3 entries per faction.
12692-15396 Spent a day trying to fix db/campaign_character_arts_tables/AE_wives_campaign_character_arts invalid references. Took far too much time. I am not sure this is game breaking but will cause instability when open up character windows.
Each uniform needs a full entry in agent_uniforms. Each invalid artsetid needs a full entry in campaign_character_art_sets
15398- db/campaign_character_attribute_effects_tables/campaign_character_attribute_effects I think these are ok. Just RPFM mistake.
15725 db/campaign_settlement_display_building_ids_tables/campaign_settlement_display_building_ids fix these
15668 db/campaign_map_attrition_unit_immunities_tables/campaign_map_attrition_unit_immunities fix it
15725 db/campaign_settlement_display_building_ids_tables/campaign_settlement_display_building_ids
db/campaign_settlement_display_building_model_ids_tables/campaign_settlement_display_building_model_ids
15771 db/campaign_settlement_display_buildings_tables/campaign_settlement_display_buildings several different error types
15843 db/cdir_events_dilemma_choice_details_tables/AE_MoH_cdir_events_dilemma_choice_details no reference
15848 db/cdir_events_incident_payloads_tables/AE_MoH_cdir_events_incident_payloads invalid ref
15877 db/cdir_military_generator_template_ratios_tables/@e_cdir_military_generator_template_ratios
15981 Delete this table as it has something wrong with the structure and was likely created incorrectly. It duplicates vanilia.
etc.
Factions: There are no valid errors in these tables despite those pointed out by RPFM.
I recommend right clicking on the error in RPFM and selecting "Ignore file"
Invalid reference "0" in column "movie_death_event" can be ignored.
Invalid reference "att_faction_false" in column "settler_rebellion_faction" can also be ignored.
Fixing invalid unit references is important to later builds (garrison, startpos)
Starting at 18086 unit_required_technology_junctions_tables/carthage_unit_required_technology_junctions
18091 db/unit_set_to_unit_junctions_tables/@e_brit_unit_set_to_unit_junctions
18111 db/unit_variants_colours_tables/@e_aor_unit_variants_colours
18321 db/units_to_exclusive_faction_permissions_tables/@e_units_to_exclusive_faction_permissions
https://steamcommunity.com/sharedfiles/filedetails/?id=1385069240