Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Mgamerz opened this issue Sep 26, 2022 · 1 comment
Open

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

Mgamerz opened this issue Sep 26, 2022 · 1 comment

Comments

@Mgamerz
Copy link
Member

Mgamerz commented Sep 26, 2022

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
Copy link
Member Author

Mgamerz commented Feb 10, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant