CriticalGames

Veteran
Veteran
Joined
Aug 8, 2014
Messages
220
Reaction score
65
First Language
English
Primarily Uses
Hi guys,

One of the big problems with RPG Maker is that when you force it into Full Screen on a modern 16:9 monitor, everything gets very...stretched. And with sprites, this can severely degrade the visual quality.

I've done some research, and the way to deal with this is to force your graphics card to maintain the aspect ratio. This means that you get black bars on the side of the screen, and the image is simply scaled up rather than stretched. The problem is, most players don't know about this, or how to fix it - and really, it shouldn't be their job anyway. So I was wondering - has there has ever been a script which forces Maintain Aspect Ratio when going into full screen? Would this even be possible?

This is the most recent topic I've been able to find on the subject, which explains how to do it via your graphics card settings: http://forums.rpgmakerweb.com/index.php?/topic/20904-tired-of-your-full-screen-looking-stretchy/

I'd really appreciate any info on this topic. Thanks in advance!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,356
Reaction score
8,390
First Language
German
Primarily Uses
RMMV
No chance - the program cannot access your graphic driver and therefore no script can change those settings.


Theoretically it would be possible to change data anywhere by directly accessing windows functions, but you would need to know the memory adresses for those setting. And that adress is different for each graphic card, so you would first need to be able to identify the graphic card, and then look up a list of several thousand cards in existance to find the correct adresses...
 

CriticalGames

Veteran
Veteran
Joined
Aug 8, 2014
Messages
220
Reaction score
65
First Language
English
Primarily Uses
Thanks a lot for the explanation. This definitely sounds like a more complicated issue than I thought! It just seems bizarre that we can't do something as simple as have a proper resolution in full screen mode.

What about circumventing the issue? I know that resolution changing scripts exist (although they increase the size of the game screen, rather than just scaling the image), so could there be a way to fake full screen and incorporate the 'Maintain Aspect Ratio' setting through that? Or for that matter, could a script be created which takes precedence over the graphics driver settings?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,356
Reaction score
8,390
First Language
German
Primarily Uses
RMMV
Yes, and that complexity is the reason why the other topic provided screenshots of different drivers - if all cards would have been able to react to the same command, that would not have been needed.


You cannot make the "maintain aspect ratio" by the resolution scripts directly, but you can ask the player what resolution he wants and then change the game to that resolution - and if a resolution is correctly supported by the monitor, then the graphic card won't stretch.
 

CriticalGames

Veteran
Veteran
Joined
Aug 8, 2014
Messages
220
Reaction score
65
First Language
English
Primarily Uses
The problem with using resolution scripts, though, is that it resizes the game rather than simply scaling it. So you don't just get 640x480 scaled up to, say, 1280x960 - instead, the player can now see double the amount of game world. This can cause major performance issues and doesn't work very well with small maps. Or are you referring to something else (I'm thinking of ForeverZer0's script)?

If anyone else has any ideas, I'd love to hear them. But from what you're saying Andar, it sounds like this is never going to happen. Thanks a lot, though - I really appreciate the explanation!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,356
Reaction score
8,390
First Language
German
Primarily Uses
RMMV

CriticalGames

Veteran
Veteran
Joined
Aug 8, 2014
Messages
220
Reaction score
65
First Language
English
Primarily Uses
Sorry, that's my poor explanation. I can't actually use that particular variant (it's for VX Ace, not XP), but regardless it's doing exactly what I was trying to explain. I don't want the viewport to increase - I just want to scale the standard 640x480 image up.
 

Latest Threads

Latest Posts

Latest Profile Posts

would i get in trouble if i didn't take out the computer icons on my fake computer screen i had Discord, Messanger, and rpg maker up
Auto-Adjust Text Outline, Run Common Events on Transfer | RPG Maker News #111

I sweep the floor. My brother, "You didn't do a good job. There are dust bunnies everywhere." He sweeps the floor weeks later. "I just swept. Why are there dust bunnies everywhere?" Me," Guess you didn't do a good enough job."
Today, I tortured my internet by downloading 20 files at once and then I played a guessing game as to which would finish their download first :kaojoy:
Oh god, just watched HawkZombie's stream of my game and realised that *none* of the branching scenes work properly. One has no character graphic, one soft locks due to a passability issue, and one doesn't have its autorun set to the right trigger. I've got first prize in the bag, baby.

Forum statistics

Threads
113,791
Messages
1,077,504
Members
147,835
Latest member
Shadow1818
Top