7 Days To Die

File information

Last updated

Original upload

Created by

wrathmaniac

Uploaded by

wrathmaniac

Virus scan

Safe to use

62 comments

  1. junrall
    junrall
    • supporter
    • 2 kudos
    Using the editor, how can I select a specific element by number?

    For example, when I try to edit a player_stats_entry I get the following xml:
    <set xpath="/windows/window[@name='CharacterFrameWindow']/grid[@visible='{showstats}']/player_stats_entry[@backgroundcolor='[darkestGrey]']/@textcontent">fiststrength</set>
    The above changes ALL player_stats_entry elements.

    What I want is to select element 15 within the editor, so that the XML looks like this:
    <set xpath="/windows/window[@name='CharacterFrameWindow']/grid[@visible='{showstats}']/player_stats_entry[15][@backgroundcolor='[darkestGrey]']/@textcontent">fiststrength</set>
    Notice the [15] after player_stats_entry. This xml line does what I want it to but, I have to manually edit the file and add [15] to it.

    Thanks in advance!
    1. wrathmaniac
      wrathmaniac
      • premium
      • 28 kudos
      Ahh, you have encountered one of the shortcomings of the app and also the solution yourself! The app is pretty cool but the auto-generated XML leaves much to be desired. It is great for simple generations but anything that becomes complex requires manual edits. This is of course unfortunate, I wanted it to be more robust but hey it is, what it is. Heck even targeting different tag attributes is not possible (*sigh), functionality I've wanted implemented but haven't had the time or motivation. If you are familiar with C# WPF the project is on a public repo and PR's are always welcome.  Unfortunately, I was not well versed in WPF when I started and made some serious design flaws. The project is a bit of a glass house at this point. And even worse still I never wrote tests (again *sigh). Insert meme *DAMN YOU HINDSIGHT*!  

      If you need multiple lines like that unfortunately the only choice you have is generate them as is and manually edit where needed. 
  2. wrathmaniac
    wrathmaniac
    • premium
    • 28 kudos
    Locked
    With the release of Visual Studio Community I have been able to continue working on this application. 

    Version 1.7.4 comes with a bunch of new features that I have wanted to add for some time. These are things that have bothered me when using the app and should improve the experience significantly. 

    Some of the more important new features:

    Find and replace in the direct edit views.
    I am so happy this was added, I've have been wanting it for some time and seemed like the biggest shortcoming of the app's direct edit views.

    Check box to lock the Mod Output Xml view from Auto Updating.
    This use to bother me sometimes because with the file combo boxes that view displays the xml and I would want to look at the file and it would auto update.

    ModInfo xml version 2.
    This is nice because with the new version some fields are validated and I added in automatic validation where necessary. It also supports v1 if authors want to ignore the new version.

    Removed the auto copy to clipboard from search boxes in the TreeView. Now when clicking into a search box it will not copy that value.
    This use to bother me all the time because you would click a tag for searching, click into the search box and the search box value would replace it. 

    Added a custom ICON. 
    Need I say more.

    Enjoy! 

    And don't hesitate to report bugs. I want to squash em!

    For developers:

    If you are feeling motivated and want to help with the application all code is on a Public repo on Github. Just create a branch and new PR and I'll review the changes. It is a WPF application created with Visual Studio Community.

    https://github.com/corvettelover66/7d2dModEdit
  3. DevonKnight
    DevonKnight
    • supporter
    • 0 kudos
    A feature that really needs to be implemented is the ability to search the tree added at the right side. Files like loot.txt are very disorganized and gigantic, to find sections manually in that mess is painful to say the least...
    But a very interesting tool this be.
    1. wrathmaniac
      wrathmaniac
      • premium
      • 28 kudos
      You can search by top tag, main attribute (typically tag name) but I agree the search trees leave a lot to be desired. To search just click in the top box and type the value you are looking for. It's really useful, if you want all rifles in the items.xml just type 'rifle' for example. I've wanted advance search features as well, ie searching within children tags and advanced queries. The context options are what make the search trees really powerful IMO. The auto generated xpath is far from perfect but it is often adequate for basic edits. The copy feature has also been very useful for me. For the loot file there is a bug in a21 files and you can't click the drop down but you can still click in to type and search top tags. It is a contains search so it matches any tags for the value. It also auto completes for existing ttags.

      I've also really wanted the ability to have the app auto generate more complicated xpath things like contains, and/or queries but there are a ton of features that I want to implement *sigh if only I had the time.

      If I ever do start working on it again my priority will be the bugs and better a21 compatibility. All in all I find managing modlets pretty streamline in the app though. I use it heavily for my modlets. I manage about 5 to 10 right now and i find it easier to modify things in it rather than having 5 items.xml open in notepad or even an ide like eclipse. Personally,  it's easier on my head. 
  4. jonirex44
    jonirex44
    • member
    • 0 kudos
    hello question can I make a mod in unity 3d in this case something simple like an apple and make my own mod you can
    1. wrathmaniac
      wrathmaniac
      • premium
      • 28 kudos
      I have no idea what you are asking.......

      This application is for creating/editing the XML side of 7d2d mods. So if you want to create something in unity and add it to the game then yes, this application can help you with the XML side.
  5. EvilGeoff
    EvilGeoff
    • member
    • 0 kudos
    Quick question - last update to this was more than a year ago (Feb 2021).  Is it still working for Alpha 20?  If so, might be a good idea to update the description or rename it with a (A19/A20) or something.

    1. wrathmaniac
      wrathmaniac
      • premium
      • 28 kudos
      For the most part yes. It is even working for Alpha 21. Though some of the features are dated. The modinfo.xml is going to be in legacy format, which is not a problem at the moment but in the next major release I believe it will be a problem. Also some of the game configurations are not working properly. For example, the loot xml will crash the app if you attempt to open the search tree search combo box. The loot search tree still works fine otherwise but crashing in the app can be frustrating. I still used it heavily to update my mods to A21, but as the developer I know the inner workings and can workaround some of the current issues. Unfortunately without a .net licence further development on the app is halted.
  6. noteza5555
    noteza5555
    • member
    • 1 kudos
    in this TOOLS can i edit or mod localization in game ?
    1. wrathmaniac
      wrathmaniac
      • premium
      • 28 kudos
      yes
  7. Demonwars
    Demonwars
    • member
    • 0 kudos
    Could you make a tutorial how to add objects and custom textures for them?
    1. wrathmaniac
      wrathmaniac
      • premium
      • 28 kudos
      Outside my realm of expertise in this game. You could try the discords. 
      Guppy's server is full of 3d modelers who should be able to help you. 
      https://discord.com/invite/q7uUqSw4w8
  8. Joe5689
    Joe5689
    • member
    • 0 kudos
    Hello, successful tool.
    Now I have watched your introduction videos, and I am trying to change an existing mod. But I miss the edit object function in the right window, as seen in episode 3 at position: https://youtu.be/uphS_j0yjPE?t=454. I am using version 1.7.3 64bit. Or has this been changed. With a new mod create I have no problems, this works wonderfully!
    1. wrathmaniac
      wrathmaniac
      • premium
      • 28 kudos
      The edit function is essentially a copy of an existing object and will only appear on full objects. It should be present on any top level objects and will not be available for xpath commands or children objects. In other words you can "edit" a recipe but not the ingredients. There is another possibility of the edit being effectively hidden when the main file is not loaded in the app. There is a warning when generating the tree if that is the case. For example if you want to "edit" a recipe ypu must first load the recipes.xml GAME file. Read the pop-ups carefully especially the error ones as they will assist with these issues. 

      I hope that helps and thank you. I'm glad you like it.
    2. wrathmaniac
      wrathmaniac
      • premium
      • 28 kudos
      Also send me a screenshot of the object you are trying to edit. It could be a bug. 
  9. Wolfynator
    Wolfynator
    • supporter
    • 0 kudos
    The exe refuses to start at all. This has been happening a few times already but I still can't find a reliable solution. Cleared the appdata files and extracted to another directory but to no avail.
    1. wrathmaniac
      wrathmaniac
      • premium
      • 28 kudos
      This is something I've seen and needed to look into.  I actually put something in the app that should spit out an error. Is there a log file?
      Check folder permissions.
      Run app as administrator.

      With you error I might be able to fix it if there is one. I've been unable to replicate. 
    2. Wolfynator
      Wolfynator
      • supporter
      • 0 kudos
      Sorry for the late reply, I ended up modding manually since it was just a few simple edits. Anyways, there was no log file created in the appdata folder when I ran it multiple times as admin.
    3. wrathmaniac
      wrathmaniac
      • premium
      • 28 kudos
      Understandable. I uploaded 3 separate versions now. The problem could be that you are on 32 bit. If that isn't the problem try the NSC version. 
  10. PinkLuver
    PinkLuver
    • member
    • 0 kudos
    I can't seem to get it to work. I got it to open once after initial download and it seemed fine at the time, didn't play too much then...

    Now it won't open at all. O_o

    OS: Windows 10 Home
    Compatibility Check: Windows 8, Windows 7, Run as Administrator
    Program Location: Downloads, Desktop, Documents, 7DtD Root
    .NET: 3.5, 4.0, 4.5, 4.8

    Not much more I can say... :/
    1. wrathmaniac
      wrathmaniac
      • premium
      • 28 kudos
      INORDER steps to try:
      1)Send me the end of the log file.
      2)Delete local directories and reload game files/mods. Or just make new clean directory for the application.
      3)Clear application properties by deleting C:\Users\USERNAME\AppData\Local\wrathmaniac\"Everything within or just the folder".
      IF I don't respond in time, my apologies Getting late here. Step 2 should fix most problems. If Step 2 doesn't work. Starting with a clean directory and deleting the properties should fix it. Good Luck!
    2. PinkLuver
      PinkLuver
      • member
      • 0 kudos
      There is no log file being generated,
      Made clean directory to no avail,
      wrathmaniac folder doesn't exist in my AppData directories at all.
    3. wrathmaniac
      wrathmaniac
      • premium
      • 28 kudos
      I mistyped before and the settings for step 2 should be at "C:\Users\USERNAME\AppData\Local\7d2dModEditor", NOT "C:\Users\USERNAME\AppData\Local\wrathmaniac"

      So if you put the app in a clean directory it could take a little while on a slow computer to start up the first time. If it does not start at all (especially after deleting the properties), try version 1.7.1 and report back. 

      Also for a direct line you can jump on guppies discord: https://discord.gg/UP8qadke where I have a channel specifically for this application. I'm sure to respond quicker.
    4. PinkLuver
      PinkLuver
      • member
      • 0 kudos
      Retried 1.7.2 with clean install including Registry wipe. That didn't work.
      However 1.7 worked fine but I couldn't use it very well (probably need lessons/tutorial).
      I ended up writing my mod from scratch which modifies Items, Recipes and Progression for its effect.

      Thanks for the help.