ata4 / disunity

An experimental toolset for Unity asset and asset bundle files.
The Unlicense
2.69k stars 662 forks source link

Feature request: Preseve folder structure #102

Open CarlLee opened 9 years ago

CarlLee commented 9 years ago

It would be nice if there's option to preserve folder structure in AssetBundle. Some games use folder names to link resources.

ata4 commented 9 years ago

Hm... how is the folder structure not preserved right now? The asset bundle extraction should extract the files exactly as they appear internally in the bundles.

CarlLee commented 9 years ago

For example, if a file is in string first = "final/assets/game/cards/07 pe1/part_007/hs3-070_d.psd"

This is a line in AssetBundle/000001.txt extracted from Hearthstone files using extract-txt. Then, if I use extract command to retrieve hs3-070_d.psd, it would be stored like Texture2D/hs3-070_d.dds. The important ID number in the folder structure is missing, but that's how Hearthstone retrieve this card textures.

mink365 commented 9 years ago

yes, folder info is very impotent for many games, so please help to preserve it. Thanks.