Fullscreen++

Zeus81

Veteran
Veteran
Joined
Mar 17, 2012
Messages
164
Reaction score
150
First Language
French
Primarily Uses
Fullscreen++ v2.0
by Zeus81

New fullscreen mode that is more smart and make a better use of the screen surface (no black frame).
Alt+Enter still uses the old fullscreen mode, to use the new one press F5.
You can also press F6 to change the screen ratio, be it in fullscreen or windowed mode (both ratios are independents).
This script automatically saves the last configuration used in the Game.ini file (fullscreen mode & ratios) and restores it when you restart the game.
So before sharing your game do not forget to put the config you want by default, the first time we start your game.
The old fullscreen mode is still present, but you can disable it by setting true on line 9 (instead of false).
However it will also disable Alt+F4, and if you press Alt+Enter at the same time you can bypass the prohibition anyway.

Script
http://pastebin.com/raw.php?i=kc1hzBek
 
Last edited by a moderator:

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,421
Reaction score
3,407
First Language
English
def hide_borders() SetWindowLong.call(HWND, -16, 0x14000000) end


def show_borders() SetWindowLong.call(HWND, -16, 0x14CA0000) end
What are these borders?
 

Zeus81

Veteran
Veteran
Joined
Mar 17, 2012
Messages
164
Reaction score
150
First Language
French
Primarily Uses
The "frame" of the window + the title bar.
 

Napoleon

Veteran
Veteran
Joined
Dec 29, 2012
Messages
869
Reaction score
96
First Language
Dutch
Primarily Uses
Nice script. Sadly my busts look really bad when enlarging the screen. Because the busts are scaled from 2500+ down to 640 and then back up to 1920. Looks horrible (I want Ace in full hd...) but the script itself is good.
 
Joined
Apr 21, 2013
Messages
517
Reaction score
144
First Language
English
Primarily Uses
N/A
The option to resize to double resolution maintains the look of most graphics. Resizing to 1920 is like 2.3x the resolution, so you get some really jagged edges. Going exactly double your resolution keeps the pixels soft-looking.
 
Last edited by a moderator:

Helladen

Deviant Designer
Veteran
Joined
Jul 13, 2012
Messages
635
Reaction score
186
First Language
English
Very nice improvement over original script I was using. Thanks a lot.
 

gameus

Villager
Member
Joined
Dec 11, 2012
Messages
7
Reaction score
0
First Language
English
Primarily Uses
This script only disables the Left Alt key, it doesn't disable the Right Alt key as I can still press Alt + Enter to enter fullscreen.
 

Zeus81

Veteran
Veteran
Joined
Mar 17, 2012
Messages
164
Reaction score
150
First Language
French
Primarily Uses
Have you enabled this option line 9 ?
 

gameus

Villager
Member
Joined
Dec 11, 2012
Messages
7
Reaction score
0
First Language
English
Primarily Uses
Yeah I did. Like I said, when I press Left Alt + Enter it doesn't do the fullscreen like it's supposed to. That works great, however, whenever I press Right Alt + Enter, it still goes fullscreen. I'm pretty sure Right Alt and Left Alt have different key codes.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
30,406
Reaction score
7,227
First Language
German
Primarily Uses
RMMV
Yeah I did. Like I said, when I press Left Alt + Enter it doesn't do the fullscreen like it's supposed to. That works great, however, whenever I press Right Alt + Enter, it still goes fullscreen. I'm pretty sure Right Alt and Left Alt have different key codes.
Of course they have different key codes - they are two different key and have different labels (Alt, Alt Gr) on regular keyboards.

Or - to be more precise - the right Alt Gr key is wired to behave the same way as if the left/regular Alt and the Control- Key are pressed at the same time.
 

Zeus81

Veteran
Veteran
Joined
Mar 17, 2012
Messages
164
Reaction score
150
First Language
French
Primarily Uses
In fact with my keyboard Alt Gr + Enter never go fullscreen (I mean even without this script).

Anyway you may try to modify the lines 114 & 115 like this :

    inputs = [1,18,2, 1,164,2, 1,165,2].pack('LSx2Lx16'*3)    SendInput.call(3, inputs, 28)And tell me if it changes something so I know if I have to add it to the script. ;)
 

gameus

Villager
Member
Joined
Dec 11, 2012
Messages
7
Reaction score
0
First Language
English
Primarily Uses
Still seems to be happening. 

EDIT: However, it did disable Right Alt + F4.
 
Last edited by a moderator:

wethefallen

Villager
Member
Joined
May 16, 2013
Messages
10
Reaction score
2
First Language
english
Primarily Uses
I LIKE THIS SCRIPT! It has a staggeringly better frame rate then the default system for my game. Is there a simple way to disable the f5 as well? I'd like to lock my game in Fullscreen mode when the time comes.
 

Zeus81

Veteran
Veteran
Joined
Mar 17, 2012
Messages
164
Reaction score
150
First Language
French
Primarily Uses
No I didn't provide such a feature, because we should always let people play as they like. :p

@gameus, one last test maybe, try to modify the line 169 like that :

release_alt if Disable_VX_FullscreenIf it still doesn't work then no idea.
 

Zeus81

Veteran
Veteran
Joined
Mar 17, 2012
Messages
164
Reaction score
150
First Language
French
Primarily Uses
I've made a small update :

Code:
  Log Change :    2.1 :      - ratio is corrected when out of range of our screen      - new functions to setup ratio      - new functions to setup vx default fullscreen mode
 
Last edited by a moderator:

Nosleinad

Storyteller
Veteran
Joined
Dec 12, 2012
Messages
351
Reaction score
29
First Language
Portuguese
Primarily Uses
Zeus, is there a way to simple override the defaul fullscreen method? Like if the player press alt+enter or F5 your fullscreen++ will be used instead.

In my opinion, there's no reason to keep both fullscreen methods for the player  :) .

Sorry about the above comment, i didnt read all the new features of your script =). It's already implemented.

PS: About the link of the script, i think you didnt pasted it all as the script only has commentaries and ends on line 40 =).
 
Last edited by a moderator:

Zeus81

Veteran
Veteran
Joined
Mar 17, 2012
Messages
164
Reaction score
150
First Language
French
Primarily Uses
Oh sh*t. x)

I've fixed it, thanks.

There is one reason to keep the default fullscreen : It's pretier.

The new fullscreen can give good result with x2 ratio but when it fit screen it's dirtier because of the nearest neighbour stretching.
 

Zeus81

Veteran
Veteran
Joined
Mar 17, 2012
Messages
164
Reaction score
150
First Language
French
Primarily Uses
Well isn't it already compatible ?

Anyway there is nothing I can do in this script to make it more compatible, that's the others scripts that need to be modified. :/
 

diegobh

Warper
Member
Joined
Aug 9, 2013
Messages
2
Reaction score
0
Primarily Uses
It isnt =(

When i use F5 and get fullscreen the mouse and the icons at bar stops works =(

I dont knew the language, so i cant do it by myself.

All the two scripts are the best i've tried, it would be wonderfull if the 2 works together...

Anyway, very thankz for ur script, its amazing ;)

UPDATED: i tried again.

When the game start the mouse isnt working so ive to get out the mouse of the game screen and slowly get back the mouse, near the borders.

One time the mouse will enter the screen and will works.

But if the mouse is too near from borders, the mouse stops to work...

It would be perfect if the mouse starts working when the fullscreen starts ;)
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

And back. Trying to work online with no internet for 1.5 days was...interesting. I felt like a character in a old Sierra game trying to find internet due to all the hoops I had to jump through just to get online for work.
grief... if MV didn't have certain plugins already, I think I'd upgrade to MZ. seeing like 10 MV plugins in 1 MZ one is hilariously convenient lol.
Have you already checkes out my mapping tutorial on the blog? I would love to hear your feedback and things you'd like to see in the future!

one of character for my upcoming game idk how to design o_O

Designing patches that can 'augmented' to clothing based armor. Such good fun. A bit time consuming due to the need to create image displays, but the patches are limited so it's not too tiring.
Note: lol, posting this made me find a couple mistakes.

Forum statistics

Threads
100,736
Messages
978,938
Members
132,359
Latest member
PhilKeepItReal
Top