Uploaded February 2017 | Updated November 2026, 3 hours ago
This one was way easier than adding widescreen: There are three functions that handle sprite blitting, and part of the blitting process involves calculating a rectangle, to determine where in the sprite sheet to grab data from. Simply multiply this rectangle by two, and suddenly the game can use sheets with twice the resolution, such as these Cave Story+ ones. Had to perform some trickery to get the text working properly again, but I eventually got there.
The only other so-called '2x hack' I'm aware of is private, so this had to be figured out alone. Apparently that other hack has some deep-rooted problems, so I wonder if those have crept into this one, too.
Theoretically, this can be taken even further: possibly leading to supporting sprite sheets with quadruple the resolution. I'd need to find sheets to test that with, though. Or maybe a good upscaler.
cavestory.org/forums/threads/graphics-enhancement-pack-mod.13920
This one was way easier than adding widescreen: There are three functions that handle sprite blitting, and part of the blitting process involves calculating a rectangle, to determine where in the sprite sheet to grab data from. Simply multiply this rectangle by two, and suddenly the game can use sheets with twice the resolution, such as these Cave Story+ ones. Had to perform some trickery to get the text working properly again, but I eventually got there.
The only other so-called '2x hack' I'm aware of is private, so this had to be figured out alone. Apparently that other hack has some deep-rooted problems, so I wonder if those have crept into this one, too.
Theoretically, this can be taken even further: possibly leading to supporting sprite sheets with quadruple the resolution. I'd need to find sheets to test that with, though. Or maybe a good upscaler.
cavestory.org/forums/threads/graphics-enhancement-pack-mod.13920










