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,304
Reaction score
8,371
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,304
Reaction score
8,371
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,304
Reaction score
8,371
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

Ugh, I opened MV after a few weeks and I'm completely lost on what I was working on.
Does it happen to someone else or am I the only disorganized one around? :kaoswt:
xH5Fk2f.jpg
Today was not a really productive day, but at least i got some bust sketches going <3
E7QXZHNXoAIkpG8
hmm in exploring MZ with FOSSIL... I see I'll probably need to stick with MV for now as none of the menu altering plugins I use work on MZ lol. and I don't have the money to dump into what I would need in some cases to update plugins to their MZ versions. Everytime I think of converting, 5 or more reasons popup on why I shouldn't.
Hmm... Game has 91 views, 25 downloads, 5 reviews and netted me 7 additional followers. Meanwhile the image I posted just yesterday on Imgur to showcase it has 45,197 views. Interesting, I think I have a new advertising idea. Also Twitter? The post got 16 retweets, 20 likes, and 1,683 views.... And a whole 3 hits to my game, completely valueless. I am glad I did this game jam, this information is quite valuable.
We're playing another Touch the Stars game jam entry, come join us! :D

Forum statistics

Threads
113,661
Messages
1,076,499
Members
147,681
Latest member
antales
Top