Prince of Persia 1 mod - Widescreen support
🕑 Added 2021-12-09 17:11:37 +0000 UTCThis is a mod I made for SDL-PoP (a fan-made, reverse-engineered port of DOS Prince of Persia). This is one of my favourite games ever, but one thing I dislike is that you don't get any preview of what the next screen looks like as you run through the game. You could be running full speed into a screen... but then the next screen starts off with a bottomless pit.
This mod makes the game capable of rendering multiple screens every frame, so when using a widescreen resolution you get a preview of what the first tiles are like for the screens left and right. I also implemented smooth transitions between screens.
This is a work-in-progress so there are some issues. But I feel it works good enough for a release.
Install instructions:
- Install v1.22 of SDL-PoP
- You can download SDL-PoP from here: https://www.popot.org/get_the_games.php?game=SDLPoP
- Edit SDLPoP.ini and change the resolution. I suggest 2140x1200 (16:9-ish with uniform pixel size)
- Download FluffyMod executable: https://github.com/FluffyQuack/SDLPoP/releases/tag/v0.1
- Copy over the FluffyMod executable to where you installed SDLPoP and run it
As mentioned earlier, there are some known issues. These are the biggest issues:
- Resizing the window while the game is running doesn't update rendering position and size.
- Flash effects don't cover the entire width of the screen.
- The pause menu might not always be centred.
- Support for fuzzy and blurry scaling is broken.
- 1:1.2 pixel ratio is currently enforced.
- Older quicksaves won't work (this is due to trobs size limit being increased).
- Older replays won't work (this is due to random() being called more often due to changes to room switching and the higher count of trobs being loaded).
One feature I want to add is vertical scrolling, as right now the scrolling is only horizontal. I'll probably try to implement that for the next release.