gonetz / GLideN64

A new generation, open-source graphics plugin for N64 emulators.
Other
754 stars 174 forks source link

Add "Use strong CRC for texture dump" option. #2820

Closed gonetz closed 3 months ago

gonetz commented 4 months ago

Problem: RiceCRC fails to calculate different CRC for some textures, see #2806

Solution: add new dump mode: "Use strong CRC for texture dump". If some textures fail to dump with RiceCRC, texture artist should use alternative dump mode. Texture format remains the same, only checksum in texture name is different. During textures load, graphics plugin will first try to load HD texture as usual, with RiceCRC. If load fails, the plugin calculates alternative CRC and tries to load HD texture with it.

GhostlyDark commented 3 months ago

I am stumbling into crashing issues with these changes. Most easily reproducible is running GoldenEye with HD textures on and firing a gun. This does not happen with latest master it seems.

gonetz commented 3 months ago

I am stumbling into crashing issues with these changes. Most easily reproducible is running GoldenEye with HD textures on and firing a gun. This does not happen with latest master it seems.

I'll check it, thanks!

gonetz commented 3 months ago

I am stumbling into crashing issues with these changes. Most easily reproducible is running GoldenEye with HD textures on and firing a gun. This does not happen with latest master it seems.

I'll check it, thanks!

Fixed.