Control Definition Error?

Run the game again, go into Hot-Seat setup where you see this occuring, and then open up your asserts.log and let me know if anything is in there. Mine is found here for example:

C:\Users\dennis\Documents\my games\Sid Meier's Civilization 5\Logs\
 
Lets try something new (mainly because we cannot seem to reproduce this). Open up the following file with Notepad:

C:\Program Files (x86)\Steam\SteamApps\common\Sid Meier's Civilization V\Assets\DLC\Expansion2\UI\Styles_Expansion2.xml

And paste the following lines at the end of the other entries in that file (INSIDE the stylesheet tags like the other entries).

<MenuTopTreatment Anchor="C,T" AnchorSide="O.O">
<Image Anchor="C,B" Offset="0,-33" Texture="Assets/UI/Art/Controls/topframe.dds" Size="512,128" />
</MenuTopTreatment>

<MenuBottomTreatment Anchor="C,B" AnchorSide="O.O">
<Image Anchor="C,T" Offset="0,-109" Texture="Assets/UI/Art/Controls/bottomframe.dds" Size="512,128" />
</MenuBottomTreatment>


The finished XML should look like this:

Code:
<?xml version="1.0" encoding="utf-8"?>
<StyleSheet>

  <MenuTitleCaption Anchor="C,T" Offset="0,20" Font="TwCenMT20" ColorSet="MenuTitleColors" FontStyle="SoftShadow" />

  <!-- The bits that go on the left and right outer edge of menu boxes -->
  <MenuLeftSideTreatment Anchor="L,C" AnchorSide="O.I">
    <Image Anchor="R,C" Offset="-17,0" Texture="Dec32x64Left.dds" Size="32,64" />
  </MenuLeftSideTreatment>

  <MenuRightSideTreatment Anchor="R,C" AnchorSide="O.I">
    <Image Anchor="L,C" Offset="-16,0" Texture="Dec32x64Right.dds" Size="32,64" />
  </MenuRightSideTreatment>

  <MenuTopTreatment Anchor="C,T" AnchorSide="O.O">
    <Image Anchor="C,B" Offset="0,-33" Texture="Assets/UI/Art/Controls/topframe.dds" Size="512,128" />
  </MenuTopTreatment>

  <MenuBottomTreatment Anchor="C,B" AnchorSide="O.O">
    <Image Anchor="C,T" Offset="0,-109" Texture="Assets/UI/Art/Controls/bottomframe.dds" Size="512,128" />
  </MenuBottomTreatment>

</StyleSheet>

Then start the game and see if this coaxes it to read them in. Thanks, and let me know.
 
Run the game again, go into Hot-Seat setup where you see this occuring, and then open up your asserts.log and let me know if anything is in there. Mine is found here for example:

C:\Users\dennis\Documents\my games\Sid Meier's Civilization 5\Logs\

I can't seem to find the file you're talking about. I have ten files in there, but that isn't one of them.
 
Lets try something new (mainly because we cannot seem to reproduce this). Open up the following file with Notepad:

C:\Program Files (x86)\Steam\SteamApps\common\Sid Meier's Civilization V\Assets\DLC\Expansion2\UI\Styles_Expansion2.xml

And paste the following lines at the end of the other entries in that file.

<MenuTopTreatment Anchor="C,T" AnchorSide="O.O">
<Image Anchor="C,B" Offset="0,-33" Texture="Assets/UI/Art/Controls/topframe.dds" Size="512,128" />
</MenuTopTreatment>

<MenuBottomTreatment Anchor="C,B" AnchorSide="O.O">
<Image Anchor="C,T" Offset="0,-109" Texture="Assets/UI/Art/Controls/bottomframe.dds" Size="512,128" />
</MenuBottomTreatment>


Then restart the game and see if this coaxes it to read them in. Thanks, and let me know.

So like this?

Code:
<?xml version="1.0" encoding="utf-8"?>
<StyleSheet>

  <MenuTitleCaption Anchor="C,T" Offset="0,20" Font="TwCenMT20" ColorSet="MenuTitleColors" FontStyle="SoftShadow" />

  <!-- The bits that go on the left and right outer edge of menu boxes -->
  <MenuLeftSideTreatment Anchor="L,C" AnchorSide="O.I">
    <Image Anchor="R,C" Offset="-17,0" Texture="Dec32x64Left.dds" Size="32,64" />
  </MenuLeftSideTreatment>

  <MenuRightSideTreatment Anchor="R,C" AnchorSide="O.I">
    <Image Anchor="L,C" Offset="-16,0" Texture="Dec32x64Right.dds" Size="32,64" />
  </MenuRightSideTreatment>

</StyleSheet>

<MenuTopTreatment Anchor="C,T" AnchorSide="O.O">
<Image Anchor="C,B" Offset="0,-33" Texture="Assets/UI/Art/Controls/topframe.dds" Size="512,128" />
</MenuTopTreatment>

<MenuBottomTreatment Anchor="C,B" AnchorSide="O.O">
<Image Anchor="C,T" Offset="0,-109" Texture="Assets/UI/Art/Controls/bottomframe.dds" Size="512,128" />
</MenuBottomTreatment>

EDIT: Didn't seem to work. :(

EDIT2: For reference, here is the only error message I get when I go into hotseat.

Spoiler :
attachment.php
 

Attachments

  • MultiErrorMessage.jpg
    MultiErrorMessage.jpg
    90.1 KB · Views: 2,398
Close, you need the code to be WITHIN the stylesheet tags, like this:

Code:
<?xml version="1.0" encoding="utf-8"?>
<StyleSheet>

  <MenuTitleCaption Anchor="C,T" Offset="0,20" Font="TwCenMT20" ColorSet="MenuTitleColors" FontStyle="SoftShadow" />

  <!-- The bits that go on the left and right outer edge of menu boxes -->
  <MenuLeftSideTreatment Anchor="L,C" AnchorSide="O.I">
    <Image Anchor="R,C" Offset="-17,0" Texture="Dec32x64Left.dds" Size="32,64" />
  </MenuLeftSideTreatment>

  <MenuRightSideTreatment Anchor="R,C" AnchorSide="O.I">
    <Image Anchor="L,C" Offset="-16,0" Texture="Dec32x64Right.dds" Size="32,64" />
  </MenuRightSideTreatment>

  <MenuTopTreatment Anchor="C,T" AnchorSide="O.O">
    <Image Anchor="C,B" Offset="0,-33" Texture="Assets/UI/Art/Controls/topframe.dds" Size="512,128" />
  </MenuTopTreatment>

  <MenuBottomTreatment Anchor="C,B" AnchorSide="O.O">
    <Image Anchor="C,T" Offset="0,-109" Texture="Assets/UI/Art/Controls/bottomframe.dds" Size="512,128" />
  </MenuBottomTreatment>

</StyleSheet>
 
Close, you need the code to be WITHIN the stylesheet tags, like this:

Code:
<?xml version="1.0" encoding="utf-8"?>
<StyleSheet>

  <MenuTitleCaption Anchor="C,T" Offset="0,20" Font="TwCenMT20" ColorSet="MenuTitleColors" FontStyle="SoftShadow" />

  <!-- The bits that go on the left and right outer edge of menu boxes -->
  <MenuLeftSideTreatment Anchor="L,C" AnchorSide="O.I">
    <Image Anchor="R,C" Offset="-17,0" Texture="Dec32x64Left.dds" Size="32,64" />
  </MenuLeftSideTreatment>

  <MenuRightSideTreatment Anchor="R,C" AnchorSide="O.I">
    <Image Anchor="L,C" Offset="-16,0" Texture="Dec32x64Right.dds" Size="32,64" />
  </MenuRightSideTreatment>

  <MenuTopTreatment Anchor="C,T" AnchorSide="O.O">
    <Image Anchor="C,B" Offset="0,-33" Texture="Assets/UI/Art/Controls/topframe.dds" Size="512,128" />
  </MenuTopTreatment>

  <MenuBottomTreatment Anchor="C,B" AnchorSide="O.O">
    <Image Anchor="C,T" Offset="0,-109" Texture="Assets/UI/Art/Controls/bottomframe.dds" Size="512,128" />
  </MenuBottomTreatment>

</StyleSheet>

Oh haha :crazyeye:
 
for me the errors dont seem to have any impact whatsoever on the actual game... in fact i just finished like a 3 hour session of playing and i forgot that the errors ever showed up in the first place
 
Let me know if this clears the errors for you. We're trying to track down why it's only happening for a handful of people.
 
for me the errors dont seem to have any impact whatsoever on the actual game... in fact i just finished like a 3 hour session of playing and i forgot that the errors ever showed up in the first place

I noticed they popup in trade route overview. But for single player gameplay they don't seem to actually prevent the game from functioning.

I pasted that into Styles_Expansion2.xml and the Menu Top and Bottom errors are gone! But I seem to get these errors now.

Spoiler :

attachment.php

attachment.php

attachment.php

attachment.php

attachment.php

attachment.php



What exactly did MenuTopTreatment do? I'd like to check if it works in game now.
 

Attachments

  • NE1.jpg
    NE1.jpg
    80.7 KB · Views: 2,386
  • NE2.jpg
    NE2.jpg
    80.8 KB · Views: 2,391
  • NE3.jpg
    NE3.jpg
    81.2 KB · Views: 2,324
  • NE4.jpg
    NE4.jpg
    81 KB · Views: 2,357
  • NE5.jpg
    NE5.jpg
    80.9 KB · Views: 2,328
  • NE6.jpg
    NE6.jpg
    81.3 KB · Views: 2,316
Nah that didn't work either. :( It is pretty much a flood of asset errors from the UI folder and its sub folders(specifically InGame, FrontEnd and Options) when you start up the game going to the main screen and when you start a civ. Also get it when clicking advanced settings when doing the world setup.
 
Nah that didn't work either. :( It is pretty much a flood of asset errors from the UI folder and its sub folders(specifically InGame, FrontEnd and Options) when you start up the game going to the main screen and when you start a civ. Also get it when clicking advanced settings when doing the world setup.

Are you getting the PopupSideTreatment errors now or is it still the MenuTreatment ones?
 
copied the lines exactly where you asked... nothing happened really exactly the same errors
 
Bear with me, I think we're on to something (and thanks for helping me test this).

Go ahead and copy the following into the file we're working with (Styles_Expansion2.xml). You can do a select-all, and then replace it with the following:

Code:
<?xml version="1.0" encoding="utf-8"?>
<StyleSheet>

  <MenuTitleCaption Anchor="C,T" Offset="0,20" Font="TwCenMT20" ColorSet="MenuTitleColors" FontStyle="SoftShadow" />

  <!-- The bits that go on the left and right outer edge of menu boxes -->
  <MenuLeftSideTreatment Anchor="L,C" AnchorSide="O.I">
    <Image Anchor="R,C" Offset="-17,0" Texture="Dec32x64Left.dds" Size="32,64" />
  </MenuLeftSideTreatment>

  <MenuRightSideTreatment Anchor="R,C" AnchorSide="O.I">
    <Image Anchor="L,C" Offset="-16,0" Texture="Dec32x64Right.dds" Size="32,64" />
  </MenuRightSideTreatment>

  <MenuTopTreatment Anchor="C,T" AnchorSide="O.O">
    <Image Anchor="C,B" Offset="0,-33" Texture="Assets/UI/Art/Controls/topframe.dds" Size="512,128" />
  </MenuTopTreatment>

  <MenuBottomTreatment Anchor="C,B" AnchorSide="O.O">
    <Image Anchor="C,T" Offset="0,-109" Texture="Assets/UI/Art/Controls/bottomframe.dds" Size="512,128" />
  </MenuBottomTreatment>

  <PopupLeftSideTreatment Anchor="L,C" AnchorSide="O.I">
    <Image Anchor="R,C" Offset="-17,0" Texture="Dec32x64Left.dds" Size="32.64" />
  </PopupLeftSideTreatment>

  <PopupRightSideTreatment Anchor="R,C" AnchorSide="O.I">
    <Image Anchor="L,C" Offset="-17,0" Texture="Dec32x64Right.dds" Size="32.64" />
  </PopupRightSideTreatment>

  <PopupNotificationTopTreatment Anchor="C,T" AnchorSide="I.O">
    <Image Anchor="C,B" Offset="0,-27" Size="256,64" Texture="DecTop256x64.dds"  >
      <Image Anchor="C,C" Offset="0,-6" Size="80,80" Texture="NotificationFrameBase.dds"  >
        <AlphaAnim Anchor="C,C" Offset="0,0" Size="80.80"  Texture="assets\UI\Art\Notification\NotificationGenericGlow.dds"  Pause="0" Cycle="Bounce" Speed="1" AlphaStart="1" AlphaEnd=".5"/>
      </Image>
    </Image>
  </PopupNotificationTopTreatment>

  <Font14or20 Font="TwCenMT14"/>
  <Font16or20 Font="TwCenMT16"/>
</StyleSheet>

Let me know if this leads to any other errors.
 
Nah that didn't work either. :( It is pretty much a flood of asset errors from the UI folder and its sub folders(specifically InGame, FrontEnd and Options) when you start up the game going to the main screen and when you start a civ. Also get it when clicking advanced settings when doing the world setup.

copied the lines exactly where you asked... nothing happened really exactly the same errors

Same and same.

Thanks for the effort though dshirk and keep at it. :scan: Your efforts are appreciated!!
 
Bear with me, I think we're on to something (and thanks for helping me test this).

Go ahead and copy the following into the file we're working with (Styles_Expansion2.xml). You can do a select-all, and then replace it with the following:

Code:
<?xml version="1.0" encoding="utf-8"?>
<StyleSheet>

  <MenuTitleCaption Anchor="C,T" Offset="0,20" Font="TwCenMT20" ColorSet="MenuTitleColors" FontStyle="SoftShadow" />

  <!-- The bits that go on the left and right outer edge of menu boxes -->
  <MenuLeftSideTreatment Anchor="L,C" AnchorSide="O.I">
    <Image Anchor="R,C" Offset="-17,0" Texture="Dec32x64Left.dds" Size="32,64" />
  </MenuLeftSideTreatment>

  <MenuRightSideTreatment Anchor="R,C" AnchorSide="O.I">
    <Image Anchor="L,C" Offset="-16,0" Texture="Dec32x64Right.dds" Size="32,64" />
  </MenuRightSideTreatment>

  <MenuTopTreatment Anchor="C,T" AnchorSide="O.O">
    <Image Anchor="C,B" Offset="0,-33" Texture="Assets/UI/Art/Controls/topframe.dds" Size="512,128" />
  </MenuTopTreatment>

  <MenuBottomTreatment Anchor="C,B" AnchorSide="O.O">
    <Image Anchor="C,T" Offset="0,-109" Texture="Assets/UI/Art/Controls/bottomframe.dds" Size="512,128" />
  </MenuBottomTreatment>

  <PopupLeftSideTreatment Anchor="L,C" AnchorSide="O.I">
    <Image Anchor="R,C" Offset="-17,0" Texture="Dec32x64Left.dds" Size="32.64" />
  </PopupLeftSideTreatment>

  <PopupRightSideTreatment Anchor="R,C" AnchorSide="O.I">
    <Image Anchor="L,C" Offset="-17,0" Texture="Dec32x64Right.dds" Size="32.64" />
  </PopupRightSideTreatment>

  <PopupNotificationTopTreatment Anchor="C,T" AnchorSide="I.O">
    <Image Anchor="C,B" Offset="0,-27" Size="256,64" Texture="DecTop256x64.dds"  >
      <Image Anchor="C,C" Offset="0,-6" Size="80,80" Texture="NotificationFrameBase.dds"  >
        <AlphaAnim Anchor="C,C" Offset="0,0" Size="80.80"  Texture="assets\UI\Art\Notification\NotificationGenericGlow.dds"  Pause="0" Cycle="Bounce" Speed="1" AlphaStart="1" AlphaEnd=".5"/>
      </Image>
    </Image>
  </PopupNotificationTopTreatment>

  <Font14or20 Font="TwCenMT14"/>
  <Font16or20 Font="TwCenMT16"/>
</StyleSheet>

Let me know if this leads to any other errors.

No more errors on the startup at least, but hotseat is still messed up.

Any specific things I should check the functionality of.
 
Bear with me, I think we're on to something (and thanks for helping me test this).

Go ahead and copy the following into the file we're working with (Styles_Expansion2.xml). You can do a select-all, and then replace it with the following:

Code:
<?xml version="1.0" encoding="utf-8"?>
<StyleSheet>

  <MenuTitleCaption Anchor="C,T" Offset="0,20" Font="TwCenMT20" ColorSet="MenuTitleColors" FontStyle="SoftShadow" />

  <!-- The bits that go on the left and right outer edge of menu boxes -->
  <MenuLeftSideTreatment Anchor="L,C" AnchorSide="O.I">
    <Image Anchor="R,C" Offset="-17,0" Texture="Dec32x64Left.dds" Size="32,64" />
  </MenuLeftSideTreatment>

  <MenuRightSideTreatment Anchor="R,C" AnchorSide="O.I">
    <Image Anchor="L,C" Offset="-16,0" Texture="Dec32x64Right.dds" Size="32,64" />
  </MenuRightSideTreatment>

  <MenuTopTreatment Anchor="C,T" AnchorSide="O.O">
    <Image Anchor="C,B" Offset="0,-33" Texture="Assets/UI/Art/Controls/topframe.dds" Size="512,128" />
  </MenuTopTreatment>

  <MenuBottomTreatment Anchor="C,B" AnchorSide="O.O">
    <Image Anchor="C,T" Offset="0,-109" Texture="Assets/UI/Art/Controls/bottomframe.dds" Size="512,128" />
  </MenuBottomTreatment>

  <PopupLeftSideTreatment Anchor="L,C" AnchorSide="O.I">
    <Image Anchor="R,C" Offset="-17,0" Texture="Dec32x64Left.dds" Size="32.64" />
  </PopupLeftSideTreatment>

  <PopupRightSideTreatment Anchor="R,C" AnchorSide="O.I">
    <Image Anchor="L,C" Offset="-17,0" Texture="Dec32x64Right.dds" Size="32.64" />
  </PopupRightSideTreatment>

  <PopupNotificationTopTreatment Anchor="C,T" AnchorSide="I.O">
    <Image Anchor="C,B" Offset="0,-27" Size="256,64" Texture="DecTop256x64.dds"  >
      <Image Anchor="C,C" Offset="0,-6" Size="80,80" Texture="NotificationFrameBase.dds"  >
        <AlphaAnim Anchor="C,C" Offset="0,0" Size="80.80"  Texture="assets\UI\Art\Notification\NotificationGenericGlow.dds"  Pause="0" Cycle="Bounce" Speed="1" AlphaStart="1" AlphaEnd=".5"/>
      </Image>
    </Image>
  </PopupNotificationTopTreatment>

  <Font14or20 Font="TwCenMT14"/>
  <Font16or20 Font="TwCenMT16"/>
</StyleSheet>

Let me know if this leads to any other errors.



That WORKED!!!!!! :goodjob:

You're the king

edit: haven't checked hotseat
 
oh thank you so much dude this fixed it!! awesome

EDIT havent checked hotseat eather...
 
Okay, now we're getting somewhere. Shut down the game, and open up your config.ini (mine is located here):

C:\Users\dennis\Documents\my games\Sid Meier's Civilization 5\

Find and change the following variable:

LooseFilesOverridePAK = 1

Let me know how it goes. Based on what we're seeing above, you guys might have a pak file that has an older version of the file floating around.
 
Back
Top Bottom