FFXIV_Modding_Tool
FFXIV_Modding_Tool copied to clipboard
[Feature] Export specific textures / models
Quick notes on how it should potentially work:
> ffmt mod export "Voeburtite Necklace" --model all
Searching for Voeburtite Necklace...
Multiple items found:
1 - Voeburtite Necklace of Aiming
2 - Voeburtite Necklace of Casting
3 - Voeburtite Necklace of Fending
Choose one (eg: 0 1 2 3):
> 2
Exporting object and materials of Voeburtite Necklace of Casting...
- searches for user filled in name
- multiple choices offered to user if string matches more than one item
- export wanted data based on switches, maybe offer choices if nothing is defined?
- export to directory defined in config? savedirectory?
- model can be object, materials or both (all)
- texture can be diffuse, normal, specular, multi, mask, colorset, icon or hq icon
- need to figure out primary/secondary and part a/b/c/d differentiation
- some items have special textures as well for special effects, but those have unique names
Playing around with command ideas.
# -Mo = Model object
# - TnsMm = Texture normal specular multi mask
> ffmt mod export --name "Voeburtite Necklace" -Mo -TnsMm
Searching for Voeburtite Necklace...
Multiple items found:
.....
Or..
# -Mo = Model object
# - TnsMm = Texture normal specular multi mask
> ffmt mod export --name "Voeburtite Necklace" -M o -T nsMm
Searching for Voeburtite Necklace...
Multiple items found:
.....
Or we could maybe make it binary based?
# -Mo = Model object
# - TnsMm = Texture normal specular multi mask
> ffmt mod export --name "Voeburtite Necklace" -M 10 -T 01111000
Searching for Voeburtite Necklace...
Multiple items found:
.....
Maybe like this? This will prevent the need for a lot of switches and allow the picking of different parts of a model
> ffmt mod export --name "Voeburtite Necklace"
Searching for Voeburtite Necklace...
Multiple items found:
1 - Voeburtite Necklace of Aiming
2 - Voeburtite Necklace of Casting
3 - Voeburtite Necklace of Fending
Choose one (eg: 0 1 2 3)
> 2
Voeburtite Necklace of Casting chosen.
What would you like to export?
1 - Textures, Normal
2 - Textures, Multi
3 - Textures, ColorSet
4 - Textures, Icon
5 - Textures, HQ Icon
6 - Model, DAE File + Materials
7 - Model, DAE File
8 - Model, OBJ Files
Choose one or multiple (eg: 1 2 3, 0-3, *)
> 6
Exporting DAE file and materials for Voeburtite Necklace of Casting...
I'm not sure if this belongs in a separate issue, but I would also like to be able to extract a direct path - for example, ui/uld/myccategory2_hr1.tex
Indeed, that is what we've worked a bit on! A Wizard for guided exporting and some query for exporting specific path. Would be awesome if we could then also have some smart tabcompletion!