Re: [問題] Dosbox更換視窗大小
看板Old-Games (懷舊遊戲 - 經典遊戲 - 老遊戲)作者jans0204 (jans0204)時間1年前 (2023/03/27 07:15)推噓3(3推 0噓 0→)留言3則, 3人參與討論串2/3 (看更多)
w hx h +(16,38)
-------------- ------------
640 480 400 ( 656, 438) - original
1024 768 640 (1040, 678)
1280 960 800 (1296, 838)
1360 1020 850 (1376, 888)
1600 1200 1000 (1616,1038)
--------------
8 : 6 : 5
1080-38=1042
1000/5*8=1600
1000/5*6=1200
(1600,1200) for DOSBox command line windows.
windowresolution=w,h
actual screen size dominated by MIN(w/8,h/5)
------------------------
ex. aspect:(1920:1080)=(16:9)=(1360:765)
MIN(1360/8,765/5)=MIN(170,153) dom. by h
(w:765)=(8:5) -> w=1224 ie.(1224,765)
windowresolution=1360,765 equal
windowresolution=1224,765 with window frame +(16,38)=(1240,803)
monitor resolution:
------------ -----------
( 640, 480) ( 640, 400) - original
( 800, 600) ( 800, 500)
(1024, 768) (1024, 640)
(1152, 864) (1152, 720)
(1280, 600)
(1280, 720)
(1280, 768)
(1280, 800)
(1280, 960) (1280, 800)
(1280,1024)
(1360, 768) (1360, 850)
(1400,1050) (1400, 875)
*(1440,1080) (1440, 900)
(1440, 900)
(1600, 900)
(1600,1200) (1600,1000)
------------ -----------
*(1680,1050) (1680,1050)
*(1920,1080) (1728,1080) - fullscreen
*(1920,1200)
實測,截圖,計算:
https://github.com/jans0204/GAME/tree/main/DOSBox/dosbox-MAX
https://raw.githubusercontent.com/jans0204/GAME/main/DOSBox/DOSBox-X/size_calc.txt
dosbox.conf:
[sdl]
fullscreen=false
fulldouble=false
# fullresolution=original
# fullresolution=800x600
fullresolution=1920x1080
# windowresolution=original
# windowresolution=800x500
##windowresolution=800x600
# windowresolution=1024x640
##windowresolution=1024x768
windowresolution=1280x800
##windowresolution=1280x960
# windowresolution=1360x850
##windowresolution=1360x1020
# windowresolution=1600x1000
##windowresolution=1600x1200
output=opengl
# output=overlay
autolock=false
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper-0.74.map
usescancodes=true
THAT'S ALL
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 124.218.31.163 (臺灣)
※ 文章網址: https://www.ptt.cc/bbs/Old-Games/M.1679872520.A.16C.html
推
03/27 09:01,
1年前
, 1F
03/27 09:01, 1F
推
03/27 13:12,
1年前
, 2F
03/27 13:12, 2F
推
03/27 14:44,
1年前
, 3F
03/27 14:44, 3F
討論串 (同標題文章)
完整討論串 (本文為第 2 之 3 篇):
Old-Games 近期熱門文章
PTT遊戲區 即時熱門文章
15
26