I’m working on merging some mods, but I’m having a probably basic issue and I’m wondering if anyone can point me in the right direction. I’ve mostly got the merge working, but I just noticed that a few skills have turned into the red x. I backtracked and found that even just decompiling/rebuilding single mods (no merging) has this effect for a couple skills. It always happens to the same skills. I’ve tested two different skill-altering mods (reborn and apocalypse) and had a few broken skills. Does anyone know what might be causing this? I’d appreciate any help.
My method has been:
- extract arz and arc files using ArchiveTool
- organize the resulting files into “database” and “source” for use in AssetManager
- copy/paste files from “source” to “resources” (for archive build)
- AssetManager -> Build -> Build to make the database arz file
- AssetManager -> Archive -> Build to make the resources arc files
Edit: I did some more troubleshooting and discovered:
- Linking a broken ability’s ui dbr to a working skill dbr creates a working duplicate of that skill - this suggests that the ui side of things is fine
- Linking a working ability’s ui dbr to the broken ability’s skill dbr creates another broken skill - this suggests that the issue is in the skill dbr
- Replacing a working ability’s skill dbr with the contents of the broken ability’s dbr creates a working copy of the broken skill - this was surprising because it means that the skill dbr is fine and suggests that the specific skill number/filename is the issue
- Looks like the broken skills are always last in the skilltree dbr - not yet sure what this means but at least it’s a pattern
Edit2: Mystery solved. The skilltree templates didn’t have enough entries so anything past a certain point broke. I’m not sure why the original mods didn’t have this issue, but it’s an easy fix. One mod even included a modified skilltree template that didn’t have enough entries and still somehow worked.