ME3Tweaks / LegendaryExplorer

Editor toolset for Mass Effect Trilogy and Mass Effect Legendary Edition
https://me3tweaks.com
GNU General Public License v3.0
125 stars 29 forks source link

Feature: Tool: Extract package stored textures to TFC #346

Open Mgamerz opened 1 year ago

Mgamerz commented 1 year ago

Is your feature request related to a problem? Please describe. When porting files across games, textures get stored as Package Stored as the texture storage system. A tool to extract these textures out to a TFC would be handy as doing it by hand is time consuming and can degrade the texture's quality on re-compress.

Describe the solution you'd like Maybe a menu item in Texture Studio or TFC Compactor. Texture studio is probably preferable as it already has the texture map that would be needed.

Describe alternatives you've considered I've done this by hand and it's quite tedious. Typically I don't even bother.

Additional context This would move textures to streaming mode which reduces package loading time (by offloading texture load to streaming) as well as reduce memory usage if the highest mips are never streamed in. It would only affect mips > 6.

Mgamerz commented 1 year ago

This tool is now available in Package Editor -> Experiments -> Mgamerz -> Find Externalizable Textures. You must select the DLC folder - not the CookedPCConsole directory. This will hopefully migrate out of experiments with some further refinement. Currently it stores duplicates, requiring a pass with TFC Compactor; if a lot of textures are duplicated this could exceed the 2GB limit on TFC and break stuff.