Announcement

Collapse

Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.



In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.



All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

[Bug] Panorama UI Compiler failed

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Bug] Panorama UI Compiler failed

    I have the following manifest
    Code:
    <root>
      <script>
        // Uncomment any of the following lines in order to disable that portion of the default UI
    
        //GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_TOP_TIMEOFDAY, false );      //Time of day (clock).
        //GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_TOP_HEROES, false );     //Heroes and team score at the top of the HUD.
        //GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_FLYOUT_SCOREBOARD, false );      //Lefthand flyout scoreboard.
        //GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_ACTION_PANEL, false );     //Hero actions UI.
        //GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_ACTION_MINIMAP, false );     //Minimap.
        //GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_INVENTORY_PANEL, false );      //Entire Inventory UI
        //GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_INVENTORY_SHOP, false );     //Shop portion of the Inventory.
        //GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_INVENTORY_ITEMS, false );      //Player items.
        //GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_INVENTORY_QUICKBUY, false );     //Quickbuy.
        //GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_INVENTORY_COURIER, false );      //Courier controls.
        //GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_INVENTORY_PROTECT, false );      //Glyph.
        //GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_INVENTORY_GOLD, false );     //Gold display.
        //GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_SHOP_SUGGESTEDITEMS, false );      //Suggested items shop panel.
        //GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_HERO_SELECTION_TEAMS, false );     //Hero selection Radiant and Dire player lists.
        //GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_HERO_SELECTION_GAME_NAME, false );     //Hero selection game mode name display.
        //GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_HERO_SELECTION_CLOCK, false );     //Hero selection clock.
        //GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_TOP_MENU_BUTTONS, false );     //Top-left menu buttons in the HUD.
        //GameUI.SetDefaultUIEnabled( DotaDefaultUIElement_t.DOTA_DEFAULT_UI_ENDGAME, false );      //Endgame scoreboard.    
    
    
        // These lines set up the panorama colors used by each team (for game select/setup, etc)
        GameUI.CustomUIConfig().team_colors = {}
        GameUI.CustomUIConfig().team_colors[DOTATeam_t.DOTA_TEAM_GOODGUYS] = "#3dd296;";
        GameUI.CustomUIConfig().team_colors[DOTATeam_t.DOTA_TEAM_BADGUYS ] = "#F3C909;";
        GameUI.CustomUIConfig().team_colors[DOTATeam_t.DOTA_TEAM_CUSTOM_1] = "#c54da8;";
        GameUI.CustomUIConfig().team_colors[DOTATeam_t.DOTA_TEAM_CUSTOM_2] = "#FF6C00;";
        GameUI.CustomUIConfig().team_colors[DOTATeam_t.DOTA_TEAM_CUSTOM_3] = "#3455FF;";
        GameUI.CustomUIConfig().team_colors[DOTATeam_t.DOTA_TEAM_CUSTOM_4] = "#65d413;";
        GameUI.CustomUIConfig().team_colors[DOTATeam_t.DOTA_TEAM_CUSTOM_5] = "#815336;";
        GameUI.CustomUIConfig().team_colors[DOTATeam_t.DOTA_TEAM_CUSTOM_6] = "#1bc0d8;";
        GameUI.CustomUIConfig().team_colors[DOTATeam_t.DOTA_TEAM_CUSTOM_7] = "#c7e40d;";
        GameUI.CustomUIConfig().team_colors[DOTATeam_t.DOTA_TEAM_CUSTOM_8] = "#8c2af4;";  
      
      </script>
     
      <Panel>  
    	<CustomUIElement type="Hud" layoutfile="file://{resources}/layout/custom_game/barebones_hud_base.xml" />
     	<CustomUIElement type="Hud" layoutfile="file://{resources}/layout/custom_game/quest.xml" /> 
     	<CustomUIElement type="Hud" layoutfile="file://{resources}/layout/custom_game/interactable.xml" /> 
      </Panel> 
    </root>
    In the middle of the vConsole startup spew, I find this

    Code:
    [   AssetSystem            ]: On-demand recompile of asset panorama/layout/custom_game/custom_ui_manifest.vxml
    [   AssetSystem            ]:  -> reason: Invalid Dependency Information
    [   AssetSystem            ]: Recompiling resource asset: 'panorama/layout/custom_game/custom_ui_manifest.vxml'
    [   ResourceCompilerSystem ]: - dota_addons\rpg_tests_new\panorama\layout\custom_game\custom_ui_manifest.xml
    [ W PanoramaCompiler       ]: CompileLayoutResource: Unknown extension for "panorama/layout/custom_game/barebones_hud_base.xml"
    [ W PanoramaCompiler       ]: CompileLayoutResource: Unknown extension for "panorama/layout/custom_game/quest.xml"
    [   AssetSystem            ]: Reloading Resource [1/1]: panorama/layout/custom_game/custom_ui_manifest.vxml
    Now, whenever I attempt to re-save the manifest file, i get this

    Code:
    [   AssetSystem            ]: Reloading Resource [1/1]: panorama/layout/custom_game/custom_ui_manifest.vxml
    [   AssetSystem            ]: On-demand recompile of asset panorama/layout/custom_game/custom_ui_manifest.vxml
    [   AssetSystem            ]:  -> reason: At least one out-of-date dependency: panorama/layout/custom_game/custom_ui_manifest.xml (file CRC changed)
    [   AssetSystem            ]: Recompiling resource asset: 'panorama/layout/custom_game/custom_ui_manifest.vxml'
    [   ResourceCompilerSystem ]: - dota_addons\rpg_tests_new\panorama\layout\custom_game\custom_ui_manifest.xml
    [ W PanoramaCompiler       ]: CompileLayoutResource: Unknown extension for "panorama/layout/custom_game/barebones_hud_base.xml"
    [ W PanoramaCompiler       ]: CompileLayoutResource: Unknown extension for "panorama/layout/custom_game/quest.xml"
    [ W PanoramaCompiler       ]: CompileLayoutResource: Unknown extension for "panorama/layout/custom_game/interactable.xml"
    [   General                ]: Panel CustomUI is reloading layout panorama\layout\custom_game\custom_ui_manifest.xml
    [   AssetSystem            ]: Reloading Resource [1/1]: panorama/layout/custom_game/custom_ui_manifest.vxml
    and nothing, besides the xml file, is being tested for crc changes. No UI shows up ingame besides defaults

    this happened after I tried to add

    <CustomUIElement type="Hud" layoutfile="file://{resources}/layout/custom_game/quest.xml" />

    to add a second UI element.

    Restarted DotA, nothing. Restarting comp atm.

    any help?

    E/ Restarted my computer, no help. Switching projects, no hlep. Restarting to the default UI, no help, still didn't work. Tried to use ui_example and it gave me the same error and din't show up.

    2E/ uninstalled and reinstalled dota, still nothing.
    Last edited by arhowk; 07-01-2015, 08:59 PM.
    Every time you have an issue, spend at least 5 minutes on each of these four sites Google, Wiki, Github, and ModDota
    If you still can't figure out your issue, post your issue on moddota in as much detail as possible with a SSCCE. If you do not complete these requirements, than you will be rejected by the community. Try not to contact individual users for help as we are very busy.

  • #2
    Hi - the "Unknown extension" warnings about XML files can be disregarded, and will hopefully be removed in a future update. I think I need more info to help you resolve your problem - are you seeing any additional console warnings related to XML files when you enter the game? Since your XML files are registered as "Hud" elements, they won't be loaded (and thus won't be CRC'ed) until you are ingame and have selected a hero.

    Comment


    • #3
      Ok I think i fixed it. Two different issues.

      Firstly, I tried to include dotastyles.css as a script instead of a style, which silently ticked off the compiler. This caused me to flip out and start rushing various things to test it, which led me to not select any unit when testing UI's

      Originally posted by michaelc View Post
      Since your XML files are registered as "Hud" elements, they won't be loaded (and thus won't be CRC'ed) until you are ingame and have selected a hero.
      which is this issue.

      Well, after that I feel as if my IQ has dropped atleast 30 points. Sorry about that, after a week straight of non-stop panorama modding my common sense widget seemed to have shut off.

      Might as well report a bug (if you haven't added it already) - Create Addon From Existing doesn't allow -'s in filenames (in my case i had a bunch of images with like Item-51 and i had to change them all)
      Every time you have an issue, spend at least 5 minutes on each of these four sites Google, Wiki, Github, and ModDota
      If you still can't figure out your issue, post your issue on moddota in as much detail as possible with a SSCCE. If you do not complete these requirements, than you will be rejected by the community. Try not to contact individual users for help as we are very busy.

      Comment

      Working...
      X