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: simplify texture replacement #90

Open
Trass3r opened this issue Jan 17, 2025 · 0 comments
Open

Feature: simplify texture replacement #90

Trass3r opened this issue Jan 17, 2025 · 0 comments

Comments

@Trass3r
Copy link

Trass3r commented Jan 17, 2025

https://keeperklan.com/threads/220-DK2-texture-format/page6?p=40807#post40807

Further experimentation reveals that, while DK2 will preferentially load textures from the texture cache, if (and ONLY if) an entry for any of the mipmaps of, say, Bar_Table is not present in the texture cache, it will attempt to load Data\EngineTextures\Bar_Table.png instead. I'm writing a small program to disable texture cache entries that have counterparts on disk; this should make life easier for texture pack creators.
DK2Recache.zip
You will have to run it once every time you add or remove a "patch" texture.

That check should be removed so it prefers the png if present. Just like it does for other resources.
See #61 #67.

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

2 participants