FFXIV_Modding_Tool icon indicating copy to clipboard operation
FFXIV_Modding_Tool copied to clipboard

[Feature] Export specific textures / models

Open fosspill opened this issue 5 years ago • 5 comments

fosspill avatar May 05 '19 19:05 fosspill

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...
  1. searches for user filled in name
  2. multiple choices offered to user if string matches more than one item
  3. export wanted data based on switches, maybe offer choices if nothing is defined?
  4. export to directory defined in config? savedirectory?
  5. model can be object, materials or both (all)
  6. texture can be diffuse, normal, specular, multi, mask, colorset, icon or hq icon
  7. need to figure out primary/secondary and part a/b/c/d differentiation
  8. some items have special textures as well for special effects, but those have unique names

shinnova avatar Sep 13 '19 08:09 shinnova

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:

.....

fosspill avatar Sep 13 '19 10:09 fosspill

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...

shinnova avatar Sep 13 '19 10:09 shinnova

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

CasualSuperman avatar Jun 01 '21 23:06 CasualSuperman

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!

fosspill avatar Jun 03 '21 20:06 fosspill