Jump to content
  • ModInfo.xml v2 Format Error

    • Version: A21

    Summary: Error when updating Mods Modinfo.xml to v2 format

    Game Version: (A21 b324)

    OS/Version: Windows

    CPU Model: NA

    System Memory: NA

    GPU Model and VRAM: NA

    Screen Resolution: NA

    Video Settings: NA

    Game mode: SP


    Did you wipe old saves? NA


    Did you start a new game? NA


    Did you validate your files? NA


    Are you using any mods? Yes, obviously


    EAC on or off? NA


    Status: NEW


    Bug Description:


    Detailed steps to reproduce the bug:

    1)Use any mod that still is using modinfo.xml v1 format

    2)open mod's modinfo.xml and edit to reflect current v2 format and save

    3)launch game and immediately get the command console open (WITHOUT having to press F1) and get error stating the DisplayName is an unknown element.


    Actual result: Read detailed steps. Not retyping what happens.


    Expected result: Expected game to load normally with no errors

    Link to Pastebin Output Log:



    Also fix your insert image from imgur so that it does not RED out and refuse to post into report or provide reason why it has errored out when adding link. So for now since I can not use the "Insert image from URL" button to post a link:


    User Feedback

    Recommended Comments

    <?xml version="1.0" encoding="UTF-8"?>
                <Name value="Advanced-HUD"/>
                <!--DisplayName value="Dracconis69's-Advanced-HUD" /-->
                <Version value="2.0"/>
                <Description value="A21 HUD that adds more info yet is simple."/>
                <Author value="Developer: AGF (AuroraGiggleFairy) Co-Developer: Dracconis69"/>
                <Website value="Original Mod Website: https://www.nexusmods.com/7daystodie/mods/870"/>

    Currently the line is commented out so that it will stop erroring out and preventing the game from loading up at the start.

    Link to comment
    Share on other sites

    Hi, I'm able to load a modlet using without issue using the below code in the modinfo.xml.  Try this format. If that doesn't resolve it, I noticed you have multiple mods installed so I'd try eliminating each one as a potential cause. However that line is non-functional in A21 and can be safely commented out without issue as a worst case.

    <?xml version="1.0" encoding="UTF-8" ?>
        <Name value="Xpath_Test"/>
        <DisplayName value="Dracconis69's-Advanced-HUD" />
        <Version value="1.0" />
        <Description value="Xpath Test"/>
        <Author value="Xpath Test"/>
        <Website value="www.7daystodie.com" />


    Link to comment
    Share on other sites

    NM I just found my mistake and feel like an idiot for it. In the code I sent it has the:
    <?xml version="1.0" encoding="UTF-8"?>

    line of code that should have been excluded from the file.


    Link to comment
    Share on other sites

    1 thing of note that needs to be addressed. Not all versions should be required to be in the 0.0 style format to prevent the game from throwing a warning message. 

    <Version value="1" />

    Should work exactly the same as this:

    <Version value="1.0" />
    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

  • Create New...