iOrange / sh2tex

Silent Hill 2 Textures Explorer
MIT License
14 stars 3 forks source link

Software caches texture previews #5

Closed Polymega closed 5 months ago

Polymega commented 5 months ago

Hi there!

I was doing some tests with Maria's model. For the game, she has several models as seen here:

image

...and for all these models, they all use the same textures. Well, I found that if I replace a texture for one of these models, save, then open a new Maria model, the texture cache isn't flushed, so I'm seeing my edited texture on the new .mdl file, which I've yet to actually touch/do anything with.

Polymega commented 5 months ago

Update: There's a little more at play with this. While messing with the Maria .mdl files, for example, whenever I open a new one, the program isn't actually opening the new one and is instead staying on the previous file. I noticed this from the title bar in the software; despite opening new .mdl files, the name of the new file I opened isn't being shown here:

image

It doesn't appear to do this for the item directory, as an example. This weird behavior also happens in the jms directory.

Update 2: For the Maria .mdl files, the program will only open these two files (highlighted yellow):

image

Polymega commented 5 months ago

Nevermind, I'm a dummy. You did nothing wrong; the files it's not opening are not good to open. I didn't realize that and was confused as I incorrectly thought the program was opening them.

iOrange commented 5 months ago

Those other models I guess have no textures ?

iOrange commented 5 months ago

Maybe I should show just empty window then? What would be the best behaviour ?

Polymega commented 5 months ago

Um, that's totally up to you. I will admit I was confused at first as the tool didn't provide any sort of feedback that the file was invalid for opening (so it just stayed on the previously opened file). That's what got me confused as I thought it opened it since nothing really changed upon trying.

Then again, I wasn't being all that observant at first. So it's totally up to you!