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

Restoring converted streaming textures #11

Open
LMauricius opened this issue Jan 2, 2024 · 4 comments
Open

Restoring converted streaming textures #11

LMauricius opened this issue Jan 2, 2024 · 4 comments

Comments

@LMauricius
Copy link

I am working on a texture mod for Sonic Frontiers. To edit most textures I needed to convert them using NeedleTextureStreamingPackage. However, after re-packing the edited textures into a mod, the game runs several times slower than before. While I haven't exhausted all other possibilities, due to longer load times I was wondering if there is a possibility that processing the textures with NeedleTextureStreamingPackage causes them all to load into memory on gameplay start, instead of being streamed dynamically. The mod was supposed to reduce VRAM usage, but it doesn't, which is another clue in favor of my hypothesis.
Is there a way to re-enable the streaming for textures after editing them? NeedleTextureStreamingPackage seems to be a one-way conversion tool. Thanks in advance.

@blueskythlikesclouds
Copy link
Owner

I made this tool earlier this year for this purpose but apparently, the mod loader is not able to load .ntsp files from mods. You'll have to pester HE2ML's developer to support this.

If you want to try it regardless I can make a release for that tool and explain how it can be used.

@LMauricius
Copy link
Author

LMauricius commented Jan 3, 2024

Considering I only need to edit existing textures, does it matter that the mod loader can't load ntsp files? I assume the ntsp file data does not need to be edited, unless it contains texture resolution data. Other than that, I only need to restore the dds files to their previous format. If you would be so kind to make a release of the ntspMaker it would be awesome.

@blueskythlikesclouds
Copy link
Owner

.ntsp files contain the actual texture data. .dds files contained in .pac files contain just the header of the original .dds file.

@LMauricius
Copy link
Author

Aha, understood, thanks.

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

No branches or pull requests

2 participants