- Joined
- Feb 22, 2015
- Messages
- 1,034
- Reaction score
- 184
- First Language
- Meowish
- Primarily Uses
This is for the request here.
But since it's only a demonstration of how things works. This script only force the game to run in full screen mode with no black borders. No window mode provided. Script writers, feel free to change it as you like.
Features:
[1] Force the game to run at full screen at game start.
[2] Remove all black borders the default full screen has.
How to Use:
Script is plug & play. Paste it below Material and above Main
Compatibility:
Shouldn't be a problem since it's using a new method.
Terms of Use:
Free for use in both commercial and non-commercial projects.
Please credit Vlue as well since i got the idea of resizing window from his window resize script.
Script writers are welcome to modify this script to suits whatever situation you have in mind. Just don't forget the credits.
Script:
But since it's only a demonstration of how things works. This script only force the game to run in full screen mode with no black borders. No window mode provided. Script writers, feel free to change it as you like.
Features:
[1] Force the game to run at full screen at game start.
[2] Remove all black borders the default full screen has.
How to Use:
Script is plug & play. Paste it below Material and above Main
Compatibility:
Shouldn't be a problem since it's using a new method.
Terms of Use:
Free for use in both commercial and non-commercial projects.
Please credit Vlue as well since i got the idea of resizing window from his window resize script.
Script writers are welcome to modify this script to suits whatever situation you have in mind. Just don't forget the credits.
Script:
Code:
#==============================================================================# ■ Meow Face Force Full Screen#------------------------------------------------------------------------------# Force the game to run in Full Screen (with no black border)#==============================================================================# How to Use:# Plug & Play, Put this script below Material and above Main#==============================================================================MF_GPPSA = Win32API.new('kernel32', 'GetPrivateProfileStringA', 'PPPPLP', 'L')MF_FW = Win32API.new('user32', 'FindWindow', 'pp', 'l')MF_SWL = Win32API.new('user32', 'SetWindowLong', 'iii', 'i')MF_SWP = Win32API.new 'user32', 'SetWindowPos', ['l','i','i','i','i','i','p'], 'i'MF_FWE = Win32API.new 'user32', 'FindWindowEx', ['l','l','p','p'], 'i'MF_GSM = Win32API.new 'user32', 'GetSystemMetrics', ['i'], 'i'MF_TITLE = " " * 256MF_GPPSA.call('Game','Title','',MF_TITLE,256,".\\Game.ini")MF_TITLE.delete!(" ")MF_HWND = MF_FW.call('RGSS Player', MF_TITLE)MF_SWL.call(MF_HWND, -16, 0x14000000)module MEOW_RESIZE def self.set width = MF_GSM.call(0) height = MF_GSM.call(1) exwin = MF_FWE.call(0,0,"RGSS Player",0) MF_SWP.call(exwin,0,0,0,width,height,0) endendMEOW_RESIZE.set


