Hi
@Schlangan,
Mostly done with my edits and trying to import the TallTV resources into the Generator, as you suggested, by deleting the existing entries and then reimporting manually, so they all get selected together under one icon (For RearHair_p01, for example)
I've made several attempts, and they all didn't work - first try was to clear the Resources Folder, Import an empty MV folder structure, (except for the Gradient.png) and then add each resource. Got a crash.
Then tried by deleting all of the resources in the editor after a full MV import, once all were deleted, it crashed on me.
I discovered that the removal of the asset from the editor didn't delete the underlying files in the Resources editor, so I deleted those, except the .dat and the Gradients.png, still no dice.
Then, I tried a full import, and deleted just AccessoryA_p01, deleted underlying files for just that asset, then tried a manual add, but I get the red text, even though there are no assets under that name.
I even tried just having a standalone empty generator, adding just my template, and adding my own resources to it. It failed, but I suspect I hadn't copied the Gradient file in yet.
The only way I've been able to get my assets into the editor is to do a full import, add my template, then add my resources under a different name. This will work, but makes the editor a bit cumbersome, as you have to overlay body_p01 AND TallTV_body_p01 on the character, as well as each asset. The AccA_p01 and TallTV_AccA_p01 have identical icons, so the user would have to select both icons by sight.
Does the removal of the assets not remove the entry from the .dat file? Your generator is great, but it has too good a memory.
🙂
If you happen to dig back into the code, and are looking for any additional ideas for what to add, here are a few based on my use of it:
1. Add the ability to add new parts to existing templates. I created a few weapons (Back scabbards, bows and quivers) but can't add them to the base MV templates. I know they wouldn't work in the basic generator, but they would in yours.
2. Have it delete the underlying parts and records when you remove an entry from the Manage Resources window.
3. Give it the ability to rearrange the templates on the screen after they are added, somehow.
4. Definitely give it the ability to import custom template contents by folder and marry them into existing parts if they are named the same. Could even give the option to add a template before the MV import, then look for a folder in the MV Generator path with that name and contents.
Kudos on what you've done so far. Though the manual adds are a bit cumbersome, they do work, and the additional basic parts I've added (like beard_p12) have added seamlessly into all templates.
PS - If you would like another coder to assist in the effort, I do code for a living and have done multiple projects in VB.NET for work. I have VS 2013 installed on this machine, if you are interested drop me a direct message and we'll take that conversation offline.