- Joined
- May 8, 2012
- Messages
- 129
- Reaction score
- 56
- First Language
- Portuguese
- Primarily Uses
- RMMV
Hello there, soldiers!
I have a little question... hmm, two little questions to ask here.
The first one is, basically, the title of this topic: How to, programmatically, know if the game is full screen? There's a "secret" built-in flag in the RGSS that determines it?
Back in time, I used a little trick in my custom resolution script [VX Toggle Fullscreen & Resolution v1.0]:
But... there's an alternative? It's because my solution is quite simple to "hack". Only is needed to set the desktop resolution to 640x480, and start playing the game (altougth it would be a little hard to play, actually).
If someone wants to investigate this too, let's begin. We can use WinAPI and technical knowledge to discover what happens when the user press Alt+Enter.
Well, the second question is: Where in system registry I can find the Game configurations (the ones that popup when you hit F1). If someone here already known this, I don't need to find it myself, heheh.
Answered by FenixFyreX. Thanks, dude!
Any help is appreciated. Thanks for attention and have a nice day,
RSM
I have a little question... hmm, two little questions to ask here.
The first one is, basically, the title of this topic: How to, programmatically, know if the game is full screen? There's a "secret" built-in flag in the RGSS that determines it?
Back in time, I used a little trick in my custom resolution script [VX Toggle Fullscreen & Resolution v1.0]:
Code:
def Graphics.fullscreen? # Property
screen_size = Win32API.new('user32', 'GetSystemMetrics', 'I', 'I')
screen_width = screen_size.call(0); screen_height = screen_size.call(1)
detect_fullscreen = false
detect_fullscreen = true if screen_width == 640 and screen_height == 480
return detect_fullscreen
end
If someone wants to investigate this too, let's begin. We can use WinAPI and technical knowledge to discover what happens when the user press Alt+Enter.
Well, the second question is: Where in system registry I can find the Game configurations (the ones that popup when you hit F1). If someone here already known this, I don't need to find it myself, heheh.
Answered by FenixFyreX. Thanks, dude!
Any help is appreciated. Thanks for attention and have a nice day,
RSM
Last edited by a moderator:
