Fullscreen++ (new version 4)

Tried adding the two lines but no effect on the result.


Will see what updates will be made to the script.
In fact the borders visibility is guessed based on the fullscreen mode.

That's why the window isn't resized correctly.
We need to rewrite more function in order to separate them.

Spoiler
Code:
class << Graphics  @border_hidden = false    def toggle_border    return if vx_fullscreen?    initialize_fullscreen_rects    @border_hidden ? show_borders : hide_borders    self.ratio += 0  end    def hide_borders    @border_hidden = true    SetWindowLong.call(HWND, -16, 0x14000000)  end    def show_borders    @border_hidden = false    SetWindowLong.call(HWND, -16, 0x14CA0000)  end    def resize_window(w, h)    unless @border_hidden      w += @borders_size.width      h += @borders_size.height    end    if @fullscreen      x, y, z = (@fullscreen_rect.width-w)/2, (@fullscreen_rect.height-h)/2, -1    else      x = @workarea_rect.x + (@workarea_rect.width  - w) / 2      y = @workarea_rect.y + (@workarea_rect.height - h) / 2      z = -2    end    SetWindowPos.call(HWND, z, x, y, w, h, 0)  end    def ratio=(r)    return if vx_fullscreen?    initialize_fullscreen_rects    r = 0 if r < 0    if @fullscreen      @fullscreen_ratio = r      w_max, h_max = @fullscreen_rect.width, @fullscreen_rect.height    else      @windowed_ratio = r      w_max, h_max = @workarea_rect.width, @workarea_rect.height    end    unless @border_hidden      w_max -= @borders_size.width      h_max -= @borders_size.height    end    if r == 0      w, h = w_max, w_max * height / width      h, w = h_max, h_max * width / height if h > h_max    else      w, h = width * r, height * r      return self.ratio = 0 if w > w_max or h > h_max    end    resize_window(w, h)    save_fullscreen_settings  end    def update    release_alt if Disable_VX_Fullscreen and Input.trigger?(Input::ALT)    zeus_fullscreen_update    toggle_fullscreen if Input.trigger?(Input::F5)    toggle_ratio      if Input.trigger?(Input::F6)    toggle_border     if Input.trigger?(Input::F8)  endend
Hello. I was looking for solution to RPGMaker games lagging in fullscreen mode in Windows 8, and searching led me to this script wchic was reported to help with this issue. However - i only know rpgmaker from gamer side, and i have no clue hov to use/run this script with already existing game. Could anyone help me with his   🙂 ? (or maybe there is another way to solve the Fullscreen lags problems in windows 8?) thanks in advance
Hello. I was looking for solution to RPGMaker games lagging in fullscreen mode in Windows 8, and searching led me to this script wchic was reported to help with this issue. However - i only know rpgmaker from gamer side, and i have no clue hov to use/run this script with already existing game. Could anyone help me with his   🙂 ? (or maybe there is another way to solve the Fullscreen lags problems in windows 8?) thanks in advance
You can use this awesome script. Simply start the game in window mode, then hit "F5" instead of "ALT & ENTER" and everything should be fine. 😉

I'm using myself Windows 10, what has the same issues then Windows 8.1 so it should work fine. 😀 (\s/)
You can use this awesome script. Simply start the game in window mode, then hit "F5" instead of "ALT & ENTER" and everything should be fine. 😉

I'm using myself Windows 10, what has the same issues then Windows 8.1 so it should work fine. 😀 (\s/)
Yeah, but i assume i have to somehow "put" the script in the game? On pasetbin i have raw code, what have i to do with it then 😀 ? i want to use it with a completed game made by somone else. I think i propably sound noobish, but sorry i never did anything with rpgamaker beside gaming 😀
You need to put it below "materials" but above "main".
There is where you put all costum scripts. 😉  

You can press "F11" to open up script editor. 🙂
But you need to open the game in RPG Maker. If it's encrypted, it don't work. :'( (\s/)
I have this file - Game.rgss2a But I can't open it in rpgamaker VX since it opens only project files, is there anything i can do if there is not any .rvproj file in the game folder?
You need to open the game.rvproj2. If that doesn't exist, it means, that's encrypted. For that I can't help, because it's illegal for sure too. 😉 (\s/)
You need to open the game.rvproj2. If that doesn't exist, it means, that's encrypted. For that I can't help, because it's illegal for sure too. 😉 (\s/)
It is free game so i don't think it is illegal 🙂 So there is no hope to run it properly in the full screen on win8?
You can't put it in a game made by someone else.

I suggest talking to the creator and asking them to update it with this script.
I need some help with this script, I use an options menu script when I select the fullscreen on the options menu in my game it loads the default fullscreen.
I need some help with this script, I use an options menu script when I select the fullscreen on the options menu in my game it loads the default fullscreen.
With this script, you just press F5. Disable the fullscreen on the options menu.
With this script, you just press F5. Disable the fullscreen on the options menu.
I use a options menu script, Basic Options Menu By Vlue, and I would I want to make it that when I choose the Fullscreen option it will make it go to fullscreen++, I am sure my players won't know that you have to use F5 to get fullscreen
I did some investigating with SakifX9 - this might be interesting information for your update, too.


I am using Windows 7, he is using Windows 8.


When you start the game with anything that increases the resolution,the game window appears at a resolution of XXXX*768 - but this does NOT happen on Windows 8. As a result, the game starts big and blurry on Windows 7 as per this screenshot:

Spoiler
00qSDmS.png
But Sakif will show you what it looks like on Windows 8.


Is this also part of what your new update entails in terms of fixes/solutions?


Thanks!
I did some investigating with SakifX9 - this might be interesting information for your update, too.

I am using Windows 7, he is using Windows 8.

When you start the game with anything that increases the resolution,the game window appears at a resolution of XXXX*768 - but this does NOT happen on Windows 8. As a result, the game starts big and blurry on Windows 7 as per this screenshot:

But Sakif will show you what it looks like on Windows 8.

Is this also part of what your new update entails in terms of fixes/solutions?

Thanks!
Spoiler
bzvcT.jpg
I'm not sure, if that has to do with windows 8 again. 😀
Because I got it like Hotfirelegend and I run windows 10, which acts the same like 8.1. 😉
Guess it's again, what your drivers are doing. 😀 (\s/)
I'm not sure, if that has to do with windows 8 again. 😀


Because I got it like Hotfirelegend and I run windows 10, which acts the same like 8.1. 😉


Guess it's again, what your drivers are doing. 😀 (\s/)
Yes, the script relies on drivers. How could this be resolved though? A driver update? One specific to Win 8? or?
I use actually the most updated Windows 8.1 drivers. Because there are no official Windows 10 drivers. 😀
But I get the strange feeling, that it has nothing to do with the GPU or CPU, then it belongs to the Mainboard. :/ (\s/)
@SakifX9: What version are your relevant drivers?
Sakif X9: What version are your relevant drivers?
Dunno how do I find that out?

Original thread: https://forums.rpgmakerweb.com/threads/fullscreen-new-version-4.14081/