Ren'Py Video Scaling Issue in Ren'Py

Golden.Nyks

Newbie
May 24, 2020
43
45
Hello,

I am upscaling an old Ren'Py game to 4K resolution for a better experience. For images, I successfully used Ren'Py's " " feature by adding @x to the filenames, which allowed them to scale correctly. However, the same method does not work for videos.

The problem:
The game is set to a lower resolution, either 720p or 1080p, so my 4K upscaled videos do not scale correctly in the game.
Ren'Py does not resize the videos to fit the screen properly but instead displays only a portion of them.
Changing the game's resolution would be a simple fix, and I can solve it this way in non-sandbox games, but in sandbox games, the GUI glitches.

I also see some people sharing their projects where they upscale the game's images and convert the videos to 4K 60FPS.

Additionally, in many games, I notice that the images and videos are 1080p or higher, while the game resolution is set to 1280x720 in the .rpy files, yet they still display correctly.

My question: How can I make my upscaled (4K) videos display correctly in Ren'Py without breaking the game’s resolution?
 
Last edited: