AM2R-Community-Developers / AM2R-Community-Updates

Source code for AM2R 1.5.2+, free of copyrighted assets and trademarks.
https://www.reddit.com/r/AM2R/
Other
137 stars 25 forks source link

Use a checksum to detemine if the custom palette shader needs to be loaded. (Alternative fix for issue #77) #89

Closed Jesright73 closed 2 years ago

Jesright73 commented 3 years ago

The palette shader is always active, resulting in poor performance on some systems.

When the game is launched, run a checksum on the custom palette image files in\*AM2Rprofile*\mods\palettes\. If the checksum matches that of the original palette files that are packaged in the _AM2R11.zip source, the shader is not turned on.

The result should be less system resources required when not using custom palettes, better performance on low-spec hardware

Could be a possible alternative solution to the problem identified in Issue#77

Lojemiru commented 3 years ago

That would be awesome if we could do checksums in GM:S, but we unfortunately can't without external utilities which then become another maintenance nightmare. The toggle is likely a better solution for our use case.

Lojemiru commented 3 years ago

Never mind, Miles has informed me that I am very very wrong. This plus a toggle would probably be the best solution.

Miepee commented 2 years ago

Considering #77 has been closed, I don't think this alternative is necessary anymore.