作者jans0204 (jans0204)
看板Old-Games
標題Re: [問題] Dosbox更換視窗大小
時間Mon Mar 27 07:15:14 2023
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://webptt.com/m.aspx?n=bbs/Old-Games/M.1679872520.A.16C.html
1F:推 cult2: 專業必須推! 03/27 09:01
2F:推 if4: 推 03/27 13:12
3F:推 skyhawkptt: 專業設定!推! 03/27 14:44
4F:推 dcnsam: 先推 03/31 07:53