Text Error

Strudo76

Chieftain
Joined
Jun 4, 2013
Messages
5
Location
Adelaide, Australia
I have been working with one of the moderators on the 2K Forums to try and solve this, but we've hit a brick wall at this point, so I'm asking here.

http://steamcommunity.com/id/strudo76/screenshot/867219838522724062

I have previously used mods, but none are active for this game (started game from first menu). I have tried verifying the game files through Steam with no effect in an existing game, or a new game started after the verify. This is using G&K. I don't tend to look at the promotion descriptions very often, so I don't know how long this has been a problem. I've only noticed it recently though, and about 8 weeks ago re-installed everything onto a new PC, so I don't know if it was occurring on the old PC or not.

For reference:
  • The error appears in game as shown in the screen shot, and also in Civilopedia entry.
  • If I disable G&K, the caravel entry reverts to the vanilla description, which displays correctly, re-enabling G&K goes back to the G&K description with the error.
  • I have done a verification through Steam. Verify always shows all files verified, downloads 7.9 meg, without any effect
  • I have deleted the cache folder in My Games/Sid Meier's Civilization 5, without any effect
  • I have confirmed that both Steam and the game are both set to English language
  • I have deleted or unsubscribed from all mod file I previously used
  • I have used the Steam delete local content option, deleted the Civ folders in SteamApps/common and My Games, and re-installed from a Steam backup, without any effect
  • I have done that again, but re-downloaded the game files instead of using the backup, without any effect
For each attempt, I have tried using an existing game, and also starting a new game, or checking the Civilopedia without loading a game at all.

There are these errors relating to TXT_KEY_PROMOTION_WITHDRAW_BEFORE_MELEE in the database log file
Code:
(83077.812) Invalid Reference on UnitPromotions.PediaEntry - "TXT_KEY_PROMOTION_WITHDRAW_BEFORE_MELEE" does not exist in Language_en_US
(83077.828) Invalid Reference on UnitPromotions.Help - "TXT_KEY_PROMOTION_WITHDRAW_BEFORE_MELEE_HELP" does not exist in Language_en_US
(83077.859) Invalid Reference on UnitPromotions.Description - "TXT_KEY_PROMOTION_WITHDRAW_BEFORE_MELEE" does not exist in Language_en_US

and one reference to this entry in
Code:
C:\Apps\Steam\SteamApps\common\Sid Meier's Civilization V\Assets\DLC\Expansion\Gameplay\XML\Units\CIV5UnitPromotions_Expansion.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Anton Strenger (Firaxis Games) -->
<GameData>
	<UnitPromotions>
		<!--Entries below this are intrinsic special Unit abilities, and never awarded for gaining XP/levels-->
		<Row>
			<Type>PROMOTION_NAVAL_BONUS</Type>
			<Description>TXT_KEY_PROMOTION_NAVAL_BONUS</Description>
			<Help>TXT_KEY_PROMOTION_NAVAL_BONUS</Help>
			<LostWithUpgrade>true</LostWithUpgrade>
			<Sound>AS2D_IF_LEVELUP</Sound>
			<PortraitIndex>59</PortraitIndex>
			<IconAtlas>ABILITY_ATLAS</IconAtlas>
			<PediaType>PEDIA_ATTRIBUTES</PediaType>
			<PediaEntry>TXT_KEY_PROMOTION_NAVAL_BONUS</PediaEntry>
		</Row>
		<Row>
			<Type>PROMOTION_FEARED_ELEPHANT</Type>
			<Description>TXT_KEY_PROMOTION_FEARED_ELEPHANT</Description>
			<Help>TXT_KEY_PROMOTION_FEARED_ELEPHANT_HELP</Help>
			<LostWithUpgrade>true</LostWithUpgrade>
			<Sound>AS2D_IF_LEVELUP</Sound>
			<CannotBeChosen>true</CannotBeChosen>
			<NearbyEnemyCombatMod>-10</NearbyEnemyCombatMod>
			<NearbyEnemyCombatRange>1</NearbyEnemyCombatRange>
			<PortraitIndex>59</PortraitIndex>
			<IconAtlas>ABILITY_ATLAS</IconAtlas>
			<PediaType>PEDIA_ATTRIBUTES</PediaType>
			<PediaEntry>TXT_KEY_PROMOTION_FEARED_ELEPHANT</PediaEntry>
		</Row>
		<Row>
			<Type>PROMOTION_FLANK_ATTACK_BONUS</Type>
			<Description>TXT_KEY_PROMOTION_FLANK_ATTACK_BONUS</Description>
			<Help>TXT_KEY_PROMOTION_FLANK_ATTACK_BONUS_HELP</Help>
			<Sound>AS2D_IF_LEVELUP</Sound>
			<CannotBeChosen>true</CannotBeChosen>
			<FlankAttackModifier>50</FlankAttackModifier>
			<PortraitIndex>59</PortraitIndex>
			<IconAtlas>ABILITY_ATLAS</IconAtlas>
			<PediaType>PEDIA_ATTRIBUTES</PediaType>
			<PediaEntry>TXT_KEY_PROMOTION_FLANK_ATTACK_BONUS</PediaEntry>
		</Row>
		<Row>
			<Type>PROMOTION_DEFEND_NEAR_CAPITAL</Type>
			<Description>TXT_KEY_PROMOTION_DEFEND_NEAR_CAPITAL</Description>
			<Help>TXT_KEY_PROMOTION_DEFEND_NEAR_CAPITAL_HELP</Help>
			<Sound>AS2D_IF_LEVELUP</Sound>
			<CannotBeChosen>true</CannotBeChosen>
			<CapitalDefenseModifier>30</CapitalDefenseModifier>
			<CapitalDefenseFalloff>-3</CapitalDefenseFalloff>
			<PortraitIndex>59</PortraitIndex>
			<IconAtlas>ABILITY_ATLAS</IconAtlas>
			<PediaType>PEDIA_ATTRIBUTES</PediaType>
			<PediaEntry>TXT_KEY_PROMOTION_DEFEND_NEAR_CAPITAL</PediaEntry>
		</Row>
		<Row>
			<Type>PROMOTION_EMBARKED_SIGHT</Type>
			<Description>TXT_KEY_PROMOTION_EMBARKED_SIGHT</Description>
			<Help>TXT_KEY_PROMOTION_EMBARKED_SIGHT_HELP</Help>
			<Sound>AS2D_IF_LEVELUP</Sound>
			<CannotBeChosen>true</CannotBeChosen>
			<EmbarkExtraVisibility>2</EmbarkExtraVisibility>
			<PortraitIndex>59</PortraitIndex>
			<IconAtlas>ABILITY_ATLAS</IconAtlas>
			<PediaType>PEDIA_ATTRIBUTES</PediaType>
			<PediaEntry>TXT_KEY_PROMOTION_EMBARKED_SIGHT</PediaEntry>
		</Row>
		<Row>
			<Type>PROMOTION_MOVEMENT_TO_GENERAL</Type>
			<Description>TXT_KEY_PROMOTION_MOVEMENT_TO_GENERAL</Description>
			<Help>TXT_KEY_PROMOTION_MOVEMENT_TO_GENERAL_HELP</Help>
			<Sound>AS2D_IF_LEVELUP</Sound>
			<CannotBeChosen>true</CannotBeChosen>
			<GreatGeneralReceivesMovement>true</GreatGeneralReceivesMovement>
			<PortraitIndex>59</PortraitIndex>
			<IconAtlas>ABILITY_ATLAS</IconAtlas>
			<PediaType>PEDIA_ATTRIBUTES</PediaType>
			<PediaEntry>TXT_KEY_PROMOTION_MOVEMENT_TO_GENERAL</PediaEntry>
		</Row>
		<Row>
			<Type>PROMOTION_GENERAL_STACKING</Type>
			<Description>TXT_KEY_PROMOTION_GENERAL_STACKING</Description>
			<Help>TXT_KEY_PROMOTION_GENERAL_STACKING_HELP</Help>
			<Sound>AS2D_IF_LEVELUP</Sound>
			<CannotBeChosen>true</CannotBeChosen>
			<GreatGeneralCombatModifier>15</GreatGeneralCombatModifier>
			<PortraitIndex>59</PortraitIndex>
			<IconAtlas>ABILITY_ATLAS</IconAtlas>
			<PediaType>PEDIA_ATTRIBUTES</PediaType>
			<PediaEntry>TXT_KEY_PROMOTION_GENERAL_STACKING</PediaEntry>
		</Row>
		<Row>
			<Type>PROMOTION_ONLY_ATTACKS_CITIES</Type>
			<Description>TXT_KEY_PROMOTION_ONLY_ATTACKS_CITIES</Description>
			<Help>TXT_KEY_PROMOTION_ONLY_ATTACKS_CITIES_HELP</Help>
			<LostWithUpgrade>true</LostWithUpgrade>
			<Sound>AS2D_IF_LEVELUP</Sound>
			<CannotBeChosen>true</CannotBeChosen>
			<CityAttackOnly>true</CityAttackOnly>
			<PortraitIndex>57</PortraitIndex>
			<IconAtlas>ABILITY_ATLAS</IconAtlas>
			<PediaType>PEDIA_ATTRIBUTES</PediaType>
			<PediaEntry>TXT_KEY_PROMOTION_ONLY_ATTACKS_CITIES</PediaEntry>
		</Row>
		<Row>
			<Type>PROMOTION_WAR_CANOES</Type>
			<Description>TXT_KEY_PROMOTION_WAR_CANOES</Description>
			<Help>TXT_KEY_PROMOTION_WAR_CANOES_HELP</Help>
			<Sound>AS2D_IF_LEVELUP</Sound>
			<CannotBeChosen>true</CannotBeChosen>
			<EmbarkDefenseModifier>100</EmbarkDefenseModifier>
			<EmbarkExtraVisibility>2</EmbarkExtraVisibility>
			<PortraitIndex>59</PortraitIndex>
			<IconAtlas>ABILITY_ATLAS</IconAtlas>
			<PediaType>PEDIA_ATTRIBUTES</PediaType>
			<PediaEntry>TXT_KEY_PROMOTION_WAR_CANOES</PediaEntry>
		</Row>
		<Row>
			<Type>PROMOTION_PRIZE_SHIPS</Type>
			<Description>TXT_KEY_PROMOTION_PRIZE_SHIPS</Description>
			<Help>TXT_KEY_PROMOTION_PRIZE_SHIPS_HELP</Help>
			<Sound>AS2D_IF_LEVELUP</Sound>
			<CaptureDefeatedEnemy>true</CaptureDefeatedEnemy>
			<PortraitIndex>59</PortraitIndex>
			<IconAtlas>ABILITY_ATLAS</IconAtlas>
			<PediaType>PEDIA_ATTRIBUTES</PediaType>
			<PediaEntry>TXT_KEY_PROMOTION_PRIZE_SHIPS</PediaEntry>
		</Row>
		<Row>
			<Type>PROMOTION_GREAT_ADMIRAL</Type>
			<Description>TXT_KEY_PROMOTION_GREAT_ADMIRAL</Description>
			<Help>TXT_KEY_PROMOTION_GREAT_ADMIRAL_HELP</Help>
			<Sound>AS2D_IF_LEVELUP</Sound>
			<GreatAdmiral>true</GreatAdmiral>
			<PortraitIndex>59</PortraitIndex>
			<IconAtlas>ABILITY_ATLAS</IconAtlas>
			<PediaType>PEDIA_ATTRIBUTES</PediaType>
			<PediaEntry>TXT_KEY_PROMOTION_GREAT_ADMIRAL</PediaEntry>
		</Row>
		<Row>
			<Type>PROMOTION_UNWELCOME_EVANGELIST</Type>
			<Description>TXT_KEY_PROMOTION_UNWELCOME_EVANGELIST</Description>
			<Help>TXT_KEY_PROMOTION_UNWELCOME_EVANGELIST_HELP</Help>
			<Sound>AS2D_IF_LEVELUP</Sound>
			<CannotBeChosen>true</CannotBeChosen>
			<ReligiousStrengthLossRivalTerritory>25</ReligiousStrengthLossRivalTerritory>
			<PortraitIndex>57</PortraitIndex>
			<IconAtlas>ABILITY_ATLAS</IconAtlas>
			<PediaType>PEDIA_ATTRIBUTES</PediaType>
			<PediaEntry>TXT_KEY_PROMOTION_UNWELCOME_EVANGELIST</PediaEntry>
		</Row>
		<InsertOrAbort>
			<Type>PROMOTION_WITHDRAW_BEFORE_MELEE</Type>
			<Description>TXT_KEY_PROMOTION_WITHDRAW_BEFORE_MELEE</Description>
			<Help>TXT_KEY_PROMOTION_WITHDRAW_BEFORE_MELEE_HELP</Help>
			<Sound>AS2D_IF_LEVELUP</Sound>
			<ExtraWithdrawal>80</ExtraWithdrawal>
			<PortraitIndex>59</PortraitIndex>
			<IconAtlas>ABILITY_ATLAS</IconAtlas>
			<PediaType>PEDIA_ATTRIBUTES</PediaType>
			<PediaEntry>TXT_KEY_PROMOTION_WITHDRAW_BEFORE_MELEE</PediaEntry>
		</InsertOrAbort>
	</UnitPromotions>
	<UnitPromotions_UnitCombatMods>
		<Row>
			<PromotionType>PROMOTION_NAVAL_BONUS</PromotionType>
			<UnitCombatType>UNITCOMBAT_NAVALRANGED</UnitCombatType>
			<Modifier>50</Modifier>
		</Row>
		<Row>
			<PromotionType>PROMOTION_NAVAL_BONUS</PromotionType>
			<UnitCombatType>UNITCOMBAT_NAVALMELEE</UnitCombatType>
			<Modifier>50</Modifier>
		</Row>
	</UnitPromotions_UnitCombatMods>
</GameData>

That's essentially where I'm at. Link to 2K Forums Thread in case you want to see my process so far.

Possibly related is the Cradle of Civ: Mesopotamia DLC with now shows in my Steam account, but I never purchased. I don't remember accepting it as a gift from anyone, and I don't think it was included as a bonus with anything else I have purchased through Steam.

EDIT: Possibly related 2, I use the achievement log to track some of the longer term achievements. I've noticed that the unit count increases when I build units, however the number of wonders count doesn't. I have built big ben several times, trying to get that one ticked off, but the count remains at zero. I have used both rushing the wonder and building it completely with hammers, but it doesn't change the log file output when starting the game the next time.

Anyone have anything to suggest?
 
I replied in your 2K thread, I asked if you had any other DLC than G&K and Mesopotamia. Particularly, the Spain and Inca DLC.
 
Thanks for your reply, I have replied on 2K, and reposted here for benefit of anyone else following.

No, the only DLC I have is G&K and the Mongols (that came free) and the Meso map. I wonder if this is related to Spain being included in G&K, but not having the Spain and Inca DLC?

EDIT: Maybe let's keep the discussion on CFC, and I'll add any results I get to the 2K one in case anyone is looking for answers there at some point. Save us posting between multiple forums.
 
My guess is that the game is looking for the file from the DLC, but since you don't have it, the game isn't finding it.

Is there an Assets\DLC\DLC_02\ folder in the Civ folder?
 
I can't guarantee that would work either. I think you need one of the devs to check it out, if it's the DLC.

I threw together a quick mod that replaces the missing text, you could try that out. I just threw it together and haven't tested it, though. Just adds those two text strings in.

http://steamcommunity.com/sharedfiles/itemedittext/?id=150658414
 
Your mod does fix the text problem. I've been chasing some achievements at the moment so I'd rather not use a mod to fix it at this point though. How do I get a dev's attention to this, and does the mod solution offer any help in getting it fixed properly?
 
The mod confirms that your game doesn't have those text strings. I wonder if you could manually put the file in, and how it would affect things.

The Firaxis staff do read posts on the 2K forums and here, it's just a matter of one seeing your post. Or you could open a support ticket.
 
For the benefit of others on CFC, I've been in correspondence with 2K David on the 2K Forums, he's brought it up with the devs, and there should be a solution in the works to be included in a patch.

Thanks again for your help with this Ragan
 
Glad I could help.
 
Back
Top Bottom