alloystorm / dvvr

A versatile character model viewer and motion player that supports a range of model and motion formats including PMX (MMD) & XNALara/XPS models, as well as VMD/BVH motion formats.
http://vrstormlab.com/
71 stars 2 forks source link

Support for Separated Texture Folders, Shubaruu Nested Additional Texture folders #267

Closed Judas87Swiff closed 11 months ago

Judas87Swiff commented 1 year ago

Is your feature request related to a problem? Please describe. Currently within DanceXR using additional textures stored in seperate folders is not possible.

Describe the solution you'd like A way to use the additional texture folders with DanceXR's new Wardrobe Dressing System, and adding the ability to add more custom slots.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context For: "DOAXVV Honoka Cardamom" by Shuubaru Being able to use materials in the same upper folder, on models located in subfolders... "Cardamom" (Yellow) or changing the color scheme to "Clove" or "Nutmeg" would be one purpose, another would be using the included textures "Face blush", "Tan Lines", "Wet Textures" on each of the different hair style separated models, which are also each in a separate folder would also be nice. Each additional texture is located within a different folder and properly labeled but, DanceXR is not setup to do anything with that at the moment, I guess?

Example: DOAXVV Honoka Cardamom by Shuubaru - Screenshot 2023-04-27 212431

Source: https://www.deviantart.com/shuubaru/art/DOAXVV-Honoka-Cardamom-DL-788565378

alloystorm commented 1 year ago

Try zip it into a zip package. It's going to search for all files in the package for alternative textures, rather than only subfolders in directories.

This is because we have to limit the search range otherwise it can be endless. Imagine it goes to its parent folder then then there's 1000 other models in there...

Judas87Swiff commented 1 year ago

Could it still become a non-default option to enable manually? (Under Advanced Settings) Would it still take forever when reading the data from a SSD, which can read multiple files at once?

Example: Bandizip - "Parallel Extraction", has the ability to extract several files simultaneously, using the multiple threads available on modern day CPUs.

Source: https://en.bandisoft.com/bandizip/help/parallel-extraction/

The Limitations for how Bandizip does this are listed at the bottom of the Source provided.

Judas87Swiff commented 1 year ago

AlloyStorm: "Try zip it into a zip package. It's going to search for all files in the package for alternative textures, rather than only subfolders in directories."

Zipping Honoka Cardamom into a .Zip works as you explained but, is there a way to load alternate textures from "similar" models onto a model, most of Shuubaru's DOAXVV models of the same character name share body texture compatibility (probably?) For example any Honoka model generally that relates to swimwear has a texture file call Tan Lines, when applied adds Tan Lines based on the specific swimwear that Tan Line texture file is from. So, is it possible to load Tan Line Texture files from other swimwear onto a different but same named base model? Example: Load Honoka Cardamom, then apply a Tan Line texture from "Sandwich" that DOA bare Overall outfit, so you end up with Tan Lines for Sandwich on Honoka Cardamom model. Does DanceXR have that ability now?

Also, a new problem exists when zipping that file all the .XPS files show up as the same name basically, I have to manually load each one so that I can see which hairstyle that specific model is for.

alloystorm commented 1 year ago

Thanks. We'll look into that naming issue and think about sharing alternative textures across different packages.

alloystorm commented 1 year ago

If you have access to 1.4.4, can you try refresh the library and see if the xps model names inside zip are still just "xps"? We did some test and it seems 1.4.4 should be able to handle this properly.

Judas87Swiff commented 1 year ago

If you have access to 1.4.4, can you try refresh the library and see if the xps model names inside zip are still just "xps"? We did some test and it seems 1.4.4 should be able to handle this properly.

Just gained 1.4.4.924 access recently, in danceXr once at the folder about to select which XPS model's hairstyles (how they are divided) I wanna load, the names just appear as "DOAXVV Honoka Cardamom Xps" for each XPS. The Folder containing them's name appears as "DOAXVV Honoka - Cardamom".

Here is a the file in question: (See Attached) 5 Files due to 25MB upload limit. For this one .zip please leave the .zip extension on, unlike what is required for the of 4 parts of the file then your file extracter of choice will be able to unzip it properly since they all form a single file. XPS Issue Example File - Honoka Cardamom (Plus Alternate Textures) XPS.zip

***Please remove .Zip from the files below to reassemble properly: Github won't accept ".z0X" file extensions, Windows has a setting to enable seeing file extensions. "X" = Whatever Number of the separated compressed files

XPS Issue Example File - Honoka Cardamom (Plus Alternate Textures) XPS.z01.zip XPS Issue Example File - Honoka Cardamom (Plus Alternate Textures) XPS.z02.zip XPS Issue Example File - Honoka Cardamom (Plus Alternate Textures) XPS.z03.zip XPS Issue Example File - Honoka Cardamom (Plus Alternate Textures) XPS.z04.zip

If needed I can try a smaller different file.

Additionally, This Honoka Cardamom (Shuubaru) model has 3 or 4 textures for the tan lines (other swimsuit tan line skin effects) adding to the strange size.

alloystorm commented 1 year ago

Let us know if 1.4.5 works as expected.

Judas87Swiff commented 1 year ago

Let us know if 1.4.5 works as expected.

I do not have access to 1.4.5 only 1.4.4. (Itch.io & Steam DanceXR Public Beta channel)