0 of 0

File information

Last updated

Original upload

Created by

truepatch

Uploaded by

truepatch

Virus scan

Safe to use

18 comments

  1. truepatch
    truepatch
    • member
    • 0 kudos
    Locked
    Sticky

    /////////////////////////////// Typical errors /////////////////////////////////////////////
    Xbox UI Tool not incompatible below blocks in Dying Light hud.xui (need's remove/fix):
    ////////////////////////////////////////////////////////////////////////////////////////////

    Spoiler:  
    Show

    <Timeline>
        <Id>Intro_boom</Id>  <---find this line
        <TimelineProp>Play</TimelineProp>  ----- change to ---->  <TimelineProp>Show</TimelineProp>
        <KeyFrame>
            <Time>0</Time>
            <Interpolation>0</Interpolation>
            <Prop>false</Prop>
        </KeyFrame>
        <KeyFrame>
            <Time>2</Time>
            <Interpolation>0</Interpolation>
            <Prop>true</Prop>
        </KeyFrame>
        <KeyFrame>
            <Time>61</Time>
            <Interpolation>0</Interpolation>
            <Prop>true</Prop>
        </KeyFrame>
        <KeyFrame>
            <Time>62</Time>
            <Interpolation>0</Interpolation>
            <Prop>false</Prop>
        </KeyFrame>
        <KeyFrame>
            <Time>1148</Time>
            <Interpolation>0</Interpolation>
            <Prop>false</Prop>
        </KeyFrame>
    </Timeline>
     <Timeline>
        <Id>countdown_beep1</Id>  <---find this line
        <TimelineProp>Play</TimelineProp>  ----- change to ---->  <TimelineProp>Show</TimelineProp>
        <KeyFrame>
            <Time>0</Time>
            <Interpolation>0</Interpolation>
            <Prop>false</Prop>
        </KeyFrame>
        <KeyFrame>
            <Time>76</Time>
            <Interpolation>0</Interpolation>
            <Prop>true</Prop>
        </KeyFrame>
        <KeyFrame>
            <Time>468</Time>
            <Interpolation>0</Interpolation>
            <Prop>false</Prop>
        </KeyFrame>
        <KeyFrame>
            <Time>1148</Time>
            <Interpolation>0</Interpolation>
            <Prop>false</Prop>
        </KeyFrame>
    </Timeline>
    <Timeline>
        <Id>intro_end</Id>  <---find this line
        <TimelineProp>Play</TimelineProp>  ----- change to ---->  <TimelineProp>Show</TimelineProp>
        <KeyFrame>
            <Time>0</Time>
            <Interpolation>0</Interpolation>
            <Prop>false</Prop>
        </KeyFrame>
        <KeyFrame>
            <Time>256</Time>
            <Interpolation>0</Interpolation>
            <Prop>true</Prop>
        </KeyFrame>
        <KeyFrame>
            <Time>469</Time>
            <Interpolation>0</Interpolation>
            <Prop>false</Prop>
        </KeyFrame>
        <KeyFrame>
            <Time>1148</Time>
            <Interpolation>0</Interpolation>
            <Prop>false</Prop>
        </KeyFrame>
    </Timeline>
    <Timeline>
        <Id>countdown_beep2</Id>  <---find this line
        <TimelineProp>Play</TimelineProp>  ----- change to ---->  <TimelineProp>Show</TimelineProp>
        <KeyFrame>
            <Time>0</Time>
            <Interpolation>0</Interpolation>
            <Prop>false</Prop>
        </KeyFrame>
        <KeyFrame>
            <Time>137</Time>
            <Interpolation>0</Interpolation>
            <Prop>true</Prop>
        </KeyFrame>
        <KeyFrame>
            <Time>468</Time>
            <Interpolation>0</Interpolation>
            <Prop>false</Prop>
        </KeyFrame>
        <KeyFrame>
            <Time>1148</Time>
            <Interpolation>0</Interpolation>
            <Prop>false</Prop>
        </KeyFrame>
    </Timeline>
    <Timeline>
        <Id>countdown_beep3</Id>  <---find this line
        <TimelineProp>Play</TimelineProp>  ----- change to ---->  <TimelineProp>Show</TimelineProp>
        <KeyFrame>
            <Time>0</Time>
            <Interpolation>0</Interpolation>
            <Prop>false</Prop>
        </KeyFrame>
        <KeyFrame>
            <Time>197</Time>
            <Interpolation>0</Interpolation>
            <Prop>true</Prop>
        </KeyFrame>
        <KeyFrame>
            <Time>468</Time>
            <Interpolation>0</Interpolation>
            <Prop>false</Prop>
        </KeyFrame>
        <KeyFrame>
            <Time>1148</Time>
            <Interpolation>0</Interpolation>
            <Prop>false</Prop>
        </KeyFrame>
    </Timeline>
    <MyText> ----- change to ----> <IUIProgressText>
        <Properties>
            <Id>T_DeathPenalty</Id>  <---find this line
            <Width>600.000000</Width>
            <Height>60.333344</Height>
            <Position>340.799927,400.000000,0.000000</Position>
            <Opacity>0.000000</Opacity>
            <Anchor>16</Anchor>
            <Text>
                ERROR
                ERROR
            </Text>
            <TextColor>0xfff90f36</TextColor>
            <Font>boxed_r_17</Font>
            <TextStyle>1024</TextStyle>
            <ClassOverride>IUIProgressText</ClassOverride>
            <MultiLine>true</MultiLine>
            <Uppercase>true</Uppercase>
            <AutoSizeToText>true</AutoSizeToText>
        </Properties>
    </MyText> ----- change to ----> </IUIProgressText>
    <MyText> ----- change to ----> <IUIProgressText>
        <Properties>
            <Id>T_Dead</Id>  <---find this line
            <Width>404.093170</Width>
            <Height>70.000389</Height>
            <Position>437.953430,324.999817,0.000000</Position>
            <Opacity>0.000000</Opacity>
            <Anchor>16</Anchor>
            <Text>&MissionEnd_PlayerDeadComment&</Text>
            <TextColor>0xffefefef</TextColor>
            <Font>boxed_s_42</Font>
            <TextStyle>4352</TextStyle>
            <ClassOverride>IUIProgressText</ClassOverride>
            <Uppercase>true</Uppercase>
            <AutoSizeToText>true</AutoSizeToText>
        </Properties>
    </MyText> ----- change to ----> </IUIProgressText>

    <id> -----rename----> <Id>
    <Prop>fals</Prop> -----rename---->  <Prop>false</Prop>



    There are skin files, XBox UI Tool can map skins to components if you have access to graphics resources. 
    _hud\DyingLightElements (XUI Extension)\skin1_menuskin.xui
    _hud\DyingLightElements (XUI Extension)\skin2_gamespecificmenuskin.xui

    I don't know how to unpack the *.rpack, if you know how to unpack, please let me know.
  2. Ninja11o
    Ninja11o
    • member
    • 3 kudos
    If I open a not edit hud.xui and edit it in XboxUiTool, will it work well and not crash?
    1. truepatch
      truepatch
      • member
      • 0 kudos
      If you open an unedited <namefile>.XUI, 99% of the time it will open, the original hud.xui contains errors that do not comply with the XML schema and they are described in the first sticked message.
      So I fixed the errors and named the file default_hud.xui.
      The description states that only elements with new icons should be used, as I was able to recognize these elements in the game files and create a configuration for the XBox UI Tool.
  3. hindercanrun
    hindercanrun
    • member
    • 0 kudos
    Is it normal that any UI modified with this tool crashes in-game?
    1. truepatch
      truepatch
      • member
      • 0 kudos
      No, you only need to use those items with new icons, as they are typical xml structures found in .xui files. If you add some unknown ones, DyingLight parser will not recognise them and will exit with an error.

      Panels with elements can be moved, sometimes you just can't see some of the new elements, for this you need to close other panels on the top left.
    2. hindercanrun
      hindercanrun
      • member
      • 0 kudos
      Sorry for the late reply, I meant is it normal that anything modified with the tool crashes in-game? like for example; default_hud.xui crashes when I try loading it in-game.
    3. truepatch
      truepatch
      • member
      • 0 kudos
      You are doing something wrong, I just tested default_hud.xui and I have everything working fine. DL version 1.49.
      Most likely you have a bug elsewhere.
    4. hindercanrun
      hindercanrun
      • member
      • 0 kudos
      Yeah I probably am doing something wrong, I'll keep trying. Thanks.
  4. XotaBbl
    XotaBbl
    • supporter
    • 4 kudos
    Where have u been before truepatch:(

    The program cannot open almost all xui files, but it still makes it much easier to work with individual elements. But it doesnt support colors???
    The only assumption is uppercase, because in a normal game, the color is written as 0xffffffff, but i have 0xFFFFFF. In support of this theory, i can also say that she did not like the difference in register properties. For example, if the property started with <width> and ended with </Width>, the program refused to open the file.

    And if there is at least some opportunity to display icons, please do it, u will become a hero for all people who do good huds(3-4 people at most). After all, rpak files can be decrypted and the contents can be viewed

    
    1. XotaBbl
      XotaBbl
      • supporter
      • 4 kudos
      блядь я только сейчас заметил что ты русский:(
    2. truepatch
      truepatch
      • member
      • 0 kudos
      Первым делом нужно отформатировать файл расширением, указанным в описании.
      Extension  Pretty XML  - formating and check error xml files
      Оно покажет типичные ошибки - неправильную структуру, теги в различных регистрах, дальше проще CTRL+H, что бы заменить неправильные тёги на правильные. 

      Проверил, пишешь цвета хоть в верхнем, хоть в нижнем регистре, Xbox UI Tool распознаёт цвет правильно, и самостоятельно конвертирует  в нижний регистр.
      Пример <Color>0xff8080bc</Color> альфаканалцвет - с эти проблем нет
      Скорее всего <Color></Color> находится в неправильном элементе, тогда нужно удалить данное свойство. Данное свойство туда попало, потому что руками туда кто то его запихнул. 

      Лучше линк кинь на файл с ошибкой, я сам проверю.
    3. truepatch
      truepatch
      • member
      • 0 kudos
      *.rpack файлы я не знаю как правильно распаковывать, что бы  изображения начали отображаться, скорее всего их нужно кинуть на единый уровень с редактируемым *.hud файлом, что бы прога пути не прописывала.
    4. XotaBbl
      XotaBbl
      • supporter
      • 4 kudos
      Свойство color запихнул туда я:) И удалять его замучеешься тк я его добавил многим элементам худа. Как приду с учебы скину файл с ошибкой, либо ты можешь зайти ко мне в профиль и скачать violet void. В своем сообщении выше я использовал почти точно такой же худ
    5. XotaBbl
      XotaBbl
      • supporter
      • 4 kudos
      https://dropmefiles.com/zdmtS
  5. XotaBbl
    XotaBbl
    • supporter
    • 4 kudos
    WOWOWOWOWOWOWOOWOWOWOW I THINK ITS IMPOSSIBLE TO USE A XBOX UI TOOL
  6. Ninja11o
    Ninja11o
    • member
    • 3 kudos
    COOOL
    1. truepatch
      truepatch
      • member
      • 0 kudos
      Thanks, I tried to do my best
    2. Ninja11o
      Ninja11o
      • member
      • 3 kudos
      Why evereytime I edit something it crashes?
    3. truepatch
      truepatch
      • member
      • 0 kudos
      If the *.xui file opens without error, the elements are recognised correctly.
      If the editable file was modified in another programme, the Xbox UI Tool will prompt you to re-read the file.

      Send me a screenshot of the error.
      Win+R -> eventvwr.msc -> Event Viewer --> Journal Windows --> Application (crash reason)