Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

Unified Asset Directory #26

Open
Kruithne opened this issue Dec 16, 2018 · 3 comments
Open

Unified Asset Directory #26

Kruithne opened this issue Dec 16, 2018 · 3 comments

Comments

@Kruithne
Copy link
Contributor

Hey,

How feasible would it be to allow a configurable directory that assets are dropped into for exports, and referenced in the 3D models from there? Over the course of time, I have a metric tonne of duplicated files all over the place, which isn't a problem but also not ideal.

Ideal scenario would be something like...

  • Define an asset directory in config, such as D:\assets
  • All M2 objects that are exported go into D:\assets\m2 without their WoW directory structures.
  • All WMO objects that are exported go into D:\assets\wmo without their WoW directory structures, and drop child M2 objects into D:\assets\m2
  • All textures for M2/WMOs are exported into D:\assets\tex without their WoW directory structures.
  • For ADT tiles, export into D:\assets\adt under a single directory for the map, such as D:\assets\adt\expansion01\expansion01_43_12_29.png

While losing the organization structure that the exporting currently provides, it would be far more beneficial for the following reasons.

  • Stops duplicated texture/object files all over the place, which saves a lot of disk space.
  • Moves texture files away from objects, making the directory with the objects less cluttered.
  • Easier for sustained import usage to filter one single directory containing all M2 objects, rather than having to navigate the WoW directory tree to find every item, and makes it searchable using the Blender import directory as opposed to having to Windows search and then still manually navigate.
  • Speeds up exporting if existing files are not overwritten since more re-use?
@Kruithne
Copy link
Contributor Author

Kruithne commented Dec 16, 2018

/assets/
  /m2/cheesewedge01.obj
  /m2/cheesewedge01.mtl
  /wmo/6hu_garrison_townhall_v2.obj
  /wmo/6hu_garrison_townhall_v2.mtl
  /wmo/6hu_garrison_townhall_v2_ModelPlacementInformation.csv
  /tex/6HU_GARRISON_ROCKWALL.png
  /tex/6HU_GARRISON_ROCKWALL2.png
  /tex/946134.png
  /adt/kultiras/kultiras_29_30.obj
  /adt/kultiras/kultiras_29_30.mtl
  /adt/kultiras/tiles/kultiras_29_30_0.png
  /adt/kultiras/tiles/kultiras_29_30_1.png
  /adt/kultiras/foilage/...

Something like this? Unify a lot of things while still maintaining some sensible organization.

@Marlamin
Copy link
Owner

Definitely easily doable, would just need to make it a setting as there's a bunch of tools already built around the current way things are. Will mull this over a bit after getting the next version out.

@Kruithne
Copy link
Contributor Author

This would be a super appreciated addition. My exports directory is getting a little beastly.

@Marlamin Marlamin transferred this issue from Marlamin/WoWFormatTest Mar 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants