FULLSCREEN VX ACE

Posts

Pages: 1
Are there any good fullscreen scripts for VX ace that doesn't stretch the screen at certain resolutions?
I've tried "Fullscreen++ v1.0" by Zeus81 but it's really buggy, so that is not an option.
Try this one. Hide wouldn't work fffff

#==============================================================================
# ★ RGSS3-Extension
# LNX25_ゲーム画面倍率切替
#  ゲーム中、F5 キーでゲーム画面の表示倍率を切り替えます。
#
#  version : 1.00 (12/02/27)
#  author : ももまる
#  reference : [url]http://peachround.blog.fc2.com/blog-entry-20.html[/url]
#
#==============================================================================

module LNX25
#--------------------------------------------------------------------------
# ● 切替キー
#--------------------------------------------------------------------------
RESIZE_KEY = :F5 # 規定値: :F5
end

#==============================================================================
# ■ LNXスクリプト導入情報
#==============================================================================
$lnx_include = {} if $lnx_include == nil
$lnx_include[:lnx25] = 100 # version
p "OK:LNX25_ウィンドウサイズ変更"

#==============================================================================
# ■ Graphics
#==============================================================================
module Graphics
@screen_zoom = 1
#--------------------------------------------------------------------------
# ● ゲーム画面の表示倍率取得
#--------------------------------------------------------------------------
def self.screen_zoom
@screen_zoom
end
#--------------------------------------------------------------------------
# ● ゲーム画面の表示倍率変更
#--------------------------------------------------------------------------
def self.screen_zoom=(rate)
self.rgssplayer_resize(rate)
@screen_zoom = rate
end
#--------------------------------------------------------------------------
# ● ウィンドウハンドルの取得(Win32API)
#--------------------------------------------------------------------------
def self.rgssplayer
Win32API.new("user32", "FindWindow", "pp", "i").call("RGSS Player", 0)
end
#--------------------------------------------------------------------------
# ● ウィンドウのリサイズ(Win32API)
#--------------------------------------------------------------------------
def self.rgssplayer_resize(rate)
move_w = Win32API.new("user32", "MoveWindow", "liiiil", "l")
get_sm = Win32API.new("user32", "GetSystemMetrics", "i", "i")
# サイズ計算
frame_w = get_sm.call(7) * 2 # ウィンドウ枠(横方向)
frame_h = get_sm.call(8) * 2 # ウィンドウ枠(縦方向)
caption_h = get_sm.call(4) # タイトルバーの高さ
width = self.width * rate + frame_w
height = self.height * rate + frame_h + caption_h
x = (get_sm.call(0) - width ) / 2
y = (get_sm.call(1) - height) / 2
# ウィンドウ位置・サイズ変更(ウィンドウ, X, Y, 幅, 高さ, 更新フラグ)
move_w.call(self.rgssplayer, x, y, width, height, 1)
end
end
class << Graphics
#--------------------------------------------------------------------------
# ● フレーム更新
#--------------------------------------------------------------------------
alias :lnx25_update :update
def update
# 元のメソッドを呼ぶ
lnx25_update
# F5 キーが押されたらリサイズ
if Input.trigger?(LNX25::RESIZE_KEY)
self.screen_zoom = (self.screen_zoom == 1 ? 2 : 1)
end
end
end
Close but no cigar. That script kinda just resize the screen when you press F5. It doesn't do anything to fullscreen mode.
Works like a charm.

unless $keybd
$keybd = Win32API.new 'user32.dll', 'keybd_event', , 'v' #Recognizes keyboard
$keybd.call 0xA4, 0, 0, 0
$keybd.call 13, 0, 0, 0
$keybd.call 13, 0, 2, 0
$keybd.call 0xA4, 0, 2, 0
end

Edit: Oh, I see what you mean now... The problem is GPU specific...
author=SnowOwl
Are there any good fullscreen scripts for VX ace that doesn't stretch the screen at certain resolutions?
I've tried "Fullscreen++ v1.0" by Zeus81 but it's really buggy, so that is not an option.

Sounds like the GPU is doing the scaling for full screen applications that don't run at your monitor's aspect ratio. The option to control this should be somewhere in the GPU control panel. Actually enabling it on the other hand... well let's just say this feature isn't well supported. You may have to scale your screen resolution to the Ace full screen resolution, enable it, then change back to your normal desktop resolution.

e: what the hell happened to the font?
author=GreatRedSpirit
Sounds like the GPU is doing the scaling for full screen applications that don't run at your monitor's aspect ratio. The option to control this should be somewhere in the GPU control panel. Actually enabling it on the other hand... well let's just say this feature isn't well supported. You may have to scale your screen resolution to the Ace full screen resolution, enable it, then change back to your normal desktop resolution.

That's pretty much the problem. I don't want to force people to change to a shitty resolution just to be able to play my game in fullscreen (without the screen stretching and blurring the sprites).
Fullscreen++
As i said, this script does it, but it's a bit buggy. Try putting it in a game and press F5, the windowed mode doesn't work correctly.

I'm aware you can make changes to alter the behavior of full-screened 4:3 applications, but not everyone have done this.
Which is why I still want to know if there is a script that circumvents this, and works correctly.
Umm. What is the problem with windowed mode, and this script? Works fine for me with VXAce (v1.01a trial mode)

(I think, that not many gpu will do that stretch thing... plus there are options to run the engine in 640*480, you should consider that also.)
author=Scalytank
Umm. What is the problem with windowed mode, and this script?
Going into fullscreen mode and then exiting it erases part of the screen in windowed mode, and removes the window border.

author=Scalytank
(I think, that not many gpu will do that stretch thing... plus there are options to run the engine in 640*480, you should consider that also.)
I assume you mean something like this:
Graphics.resize_screen(640 , 480)
That has nothing to do with the fact that the window stretches in fullscreen.
author=SnowOwl
author=Scalytank
(I think, that not many gpu will do that stretch thing... plus there are options to run the engine in 640*480, you should consider that also.)
I assume you mean something like this:
Graphics.resize_screen(640 , 480)
That has nothing to do with the fact that the window stretches in fullscreen.

That would be a problem with the video card at this point.
I can work it properly in my laptop but in my Nvidia video card desktop it's annoying because it stretches :v (Aspect Ratio Scaling)
author=Archeia_Nessiah
author=SnowOwl
author=Scalytank
(I think, that not many gpu will do that stretch thing... plus there are options to run the engine in 640*480, you should consider that also.)

I assume you mean something like this:
Graphics.resize_screen(640 , 480)

That has nothing to do with the fact that the window stretches in fullscreen.
That would be a problem with the video card at this point.
I can work it properly in my laptop but in my Nvidia video card desktop it's annoying because it stretches :v (Aspect Ratio Scaling)

Yeah I know. I just thought that since there is one script that does fix it (buggy as it is), there might be another better one.
Pages: 1