Calamity escribió:monitor_specs_0 = "30000-95000, 50-150, 0.400, 1.000, 1.500, 0.011, 0.032, 0.491, 0, 0, 1200, 768"
La he probado aquí y funciona, al menos genera los modos esperables. He utilizado estos modos en ReslList:
Hum.
; VideoModeMaker - Options
; ------------------------
; 1. MAME
; -------
; Path for Mame executable, in case we want to extract xml information from it.
MameExe = "\Emuladores\Mame\mame.exe"
; Path for Mame ini folder, in case we want to create an ini file for each game.
; Important: existing ini files will be overwritten.
IniPath = "\Emuladores\Mame\ini\"
; Mame options.
ListFromXML = 0 ; Processes Mame XML and get video mode list from it
GenerateXML = 0 ; Extracts XML from Mame (only needed once)
GenerateInis = 0 ; Creates an ini file for each Mame game, in the IniPath folder
SDLMame = 0 ; Use SDLMame specific options
; Monitor orientation
MonitorHorizontal = 0 ; 0 = Rotating monitor: horizontal and vertical games at their native resolution
; Suitable for users that physically rotate their CRTs
; 1 = Horizontal monitor: horizontal games run at their native resolution and
; vertical games are rotated to fit in horizontal monitor
RotatingDesktop = 0 ; Specifies if both desktop and monitor are rotated
; Aspect ratio for vertical games on horizontal monitor
; 4:3 (keeps original aspect ratio)
; 3:3 (stretches to square format)
; 3:4 (stretches to full screen)
; h:v (custom aspect ratio)
VerticalAspect = "4:3"
; 2. MONITOR
; ----------
; Monitor Type. Valid types: D9800, D9400, D9200, EGA, VGA, MULTI, H9110, PAL, NTSC, GENERIC, CUSTOM
MonitorType = "CUSTOM"
; Monitor CUSTOM. These values will be used if MonitorType = "CUSTOM"
;
; monitor_specs_0-6 = "HfreqMin-HfreqMax, VfreqMin,VfreqMax, HFrontPorch, HSyncPulse, HBackPorch, VfrontPorch, VSyncPulse, VBackPorch, HSyncPol, VSyncPol, ActiveLinesLimit, VirtualLinesLimit"
;
; * HfreqMin-HfreqMax: Minimum and maximum horizontal frequency, in Hz. Defines the range of horizontal frequencies the monitor is capable to sync.
; The higher the horizontal frequency, the higher the vertical resolution available for the same vertical refresh.
; The higher the horizontal frequency, the higher the vertical refresh available for the same vertical resolution.
; The higher the horizontal frequency, the lower the horizontal amplitude of active video (narrower picture).
;
; * VFreqMin-VfreqMax: Minimum and maximum vertical frequency, in Hz, Defines the range of vertical frequencies the monitor is capable to sync.
;
; * HFrontPorch, HSyncPulse, HBackPorch: Horizontal timing and geometry, values in µs
;
; * VfrontPorch, VSyncPulse, VBackPorch: Vertical timing and geometry, values in ms
;
; * HSyncPol,VSyncPol: polarities, not in use! defaults to negative.
;
; * ActiveLinesLimit: Vertical resolutions until ActiveLinesLimit value included, are generated as progressive, regardless the possibility
; of obtaining the required vertical refresh value.
;
; * VirtualLinesLimit: Vertical resolutions above ActiveLinesLimit and below VirtualLinesLimit are virtualized, that is, an interlaced resolution
; bigger that the native one is generated, with the right refresh, and "hardware stretch" is applied.
; Vertical resolutions above VirtulaLinesLimit are generated as interlaced, without any stretching.
monitor_specs_0 = "30000-95000, 50-150, 0.400, 1.000, 1.500, 0.011, 0.032, 0.491, 0, 0, 1200, 768"
; Tolerance for horizontal frequency, in kHz, enables extending the range defined by [ HfreqMin, HfreqMax ]
; The resulting allowed frequency range will be [ HfreqMin - HfreqTolerance, HfreqMax + HfreqTolerance ]
HfreqTolerance = 0.010
; 3. MODELINE GENERATOR
; ---------------------
; Total number of modelines to generate. Here are the recommended values for each driver version:
; CRT_Emudriver, based on Catalyst 6.5: 160 modes (accepts up to 200, but above 160 HyperSpin will refuse to load)
; CRT_Emudriver, based on Catalyst 9.3: 120 modes (accepts some more but above 120 you can get some blue screens)
; Regular Catalyst : 60 modes (won't accept any more)
TotalModes = 160
; If enabled, only creates modes with 32 bits per pixel color depth
Only32BPPModes = 0
; Method for mode table generation. If Mame xml is processed, that will create a lot of different video modes, so the mode table
; will be optimized keeping the most relevant ones, and dropping the rest, to keep below the TotalModes value.
ModeTableMethod = 0 ; 0 = Static table: modelines are generated keeping their original vertical refresh. This
; method is intended to be used in combination with ini files for each game.
; 1 = Dynamic table: a table of dummy modes is created using xres and yres values while ignoring
; vfreq. This method is intended to be used in combination with Switchres or Groovymame. No ini
; files are required using this method (you should disable the GenerateInis option).
; Minimum resolution values (these will be used instead of lower values)
XresMin = 496
YresMin = 384
; Minimum dotclock value allowed by the video card, in MHz (i.e. DotClockMin = 7.010)
DotClockMin = 0
; Number of iterations used by the mode generator [0,5]. The higher the number of iterations, the bigger the accuracy of the vertical
; refreshed obtained, normally at the cost of increasing the horizontal frequency strictly required.
Iterations = 0
; Specifies if the refresh label is multiplied by 10 before rounding (experimental).
VFreqLabelx10 = 0
; 4. DRIVER
; ---------
; Path for the driver folder
DriverPath = "..\crt_emudriver_6.5_1.2_xp32_multisync\Driver\"
; If UpdateRegistry is enabled, UpdateDriver will only work if the driver version found in DriverPath matches the one installed
; in the system.
UpdateRegistry = 1 ; Specifies if the video card registry section will be updated with the new video modes
; (will only work in combination with CRT_EMUDriver).
UpdateDriver = 1 ; Specifies if the driver files in DriverPath will be updated with the new video modes, for
; future installations.
AnyCatalyst = 0 ; Allows modelines to be installed for any Catalyst version. This option is experimental and
; known to produce some problems.
## Desktop ##
640 x 480 @ 60.000000 desktop
640 x 480 @ 75.000000 desktop
800 x 600 @ 60.000000 desktop
800 x 600 @ 75.000000 desktop
1024 x 768 @ 60.000000 desktop
1024 x 768 @ 75.000000 desktop
## Sharp X-68000 ##
512 x 512 @ 55.450000 x68000
640 x 480 @ 55.450000 x68000
768 x 512 @ 55.450000 x68000
## ARC - misc ##
496 x 384 @ 57.524160 System 24
496 x 384 @ 60.000000 Model 2/3
512 x 384 @ 60.000000 GTI Club
496 x 384 @ 60.096154 APB
512 x 400 @ 57.134789 Midway Zeus
512 x 400 @ 57.349016 Cruis'n USA
512 x 400 @ 60.000000 Taito JC
512 x 448 @ 60.000000 HNG64
576 x 432 @ 60.000000 Radical Bikers
640 x 480 @ 57.000000 Seattle
## extra ##
512 x 480 @ 60.000000 FMT
640 x 400 @ 50.000000 PC88
640 x 480 @ 60.050000 WIN
## aux ##
496 x 400 @ 57.524160 System 24
496 x 400 @ 60.000000 Model 2/3
512 x 400 @ 60.000000 GTI Clib
496 x 400 @ 60.096154 APB
Modeline "496x384_57 29.99KHz 57.44Hz" 16.340 496 504 520 544 384 445 446 522 -hsync -vsync
Modeline "496x384_60 29.99KHz 59.97Hz" 16.340 496 504 520 544 384 434 435 500 -hsync -vsync
Modeline "497x384_60 30.09KHz 60.18Hz" 16.350 496 504 520 544 384 434 435 500 -hsync -vsync
Modeline "496x400_57 29.99KHz 57.44Hz" 16.340 496 504 520 544 400 453 454 522 -hsync -vsync
Modeline "496x400_60 29.99KHz 59.97Hz" 16.340 496 504 520 544 400 442 443 500 -hsync -vsync
Modeline "497x400_60 30.09KHz 60.18Hz" 16.350 496 504 520 544 400 442 443 500 -hsync -vsync
Modeline "512x384_60 30.00KHz 60.00Hz" 16.830 512 520 536 560 384 434 435 500 -hsync -vsync
Modeline "512x400_57 30.00KHz 57.15Hz" 16.830 512 520 536 560 400 455 456 525 -hsync -vsync
Modeline "513x400_57 30.00KHz 57.37Hz" 16.830 512 520 536 560 400 454 455 523 -hsync -vsync
Modeline "512x400_60 30.00KHz 60.00Hz" 16.830 512 520 536 560 400 442 443 500 -hsync -vsync
Modeline "512x448_60 30.00KHz 60.00Hz" 16.830 512 520 536 560 448 466 467 500 -hsync -vsync
Modeline "512x480_60 30.00KHz 60.00Hz" 16.830 512 520 536 560 480 482 483 500 -hsync -vsync
Modeline "512x512_55 30.00KHz 55.46Hz" 16.830 512 520 536 560 512 519 520 541 -hsync -vsync
Modeline "576x432_60 29.96KHz 59.93Hz" 18.940 576 584 600 632 432 458 459 500 -hsync -vsync
Modeline "640x400_50 29.96KHz 49.94Hz" 21.130 640 648 672 704 400 492 493 600 -hsync -vsync
Modeline "640x480_55 29.96KHz 55.38Hz" 21.130 640 648 672 704 480 503 504 541 -hsync -vsync
Modeline "640x480_57 30.10KHz 57.11Hz" 21.140 640 648 672 704 480 496 497 527 -hsync -vsync
Modeline "640x480_60 29.96KHz 59.92Hz" 21.130 640 648 672 704 480 482 483 500 -hsync -vsync
Modeline "640x480_75 37.50KHz 75.00Hz" 26.700 640 648 672 712 480 481 482 500 -hsync -vsync
Modeline "768x512_55 30.00KHz 55.45Hz" 25.200 768 776 800 840 512 519 520 541 -hsync -vsync
Modeline "800x600_60 37.20KHz 60.00Hz" 33.330 800 816 848 896 600 601 602 620 -hsync -vsync
Modeline "800x600_75 46.88KHz 75.01Hz" 43.130 800 816 856 920 600 601 602 625 -hsync -vsync
Modeline "1024x768_60 47.58KHz 60.00Hz" 56.720 1024 1048 1104 1192 768 769 771 793 -hsync -vsync
Modeline "1024x768_75 60.00KHz 75.00Hz" 74.400 1024 1056 1128 1240 768 769 771 800 -hsync -vsync
Modeline.txt muestra [muchos] 'modelines' que Arcade OSD definitivamente no me ¿reconoce? Ningún modo de 512 líneas, ninguno de f. hztal. < 60 Hz, etc. Lo único que he ganado es algunos modos de 384 líneas. Te lo cuento porque tiene pinta de que estoy cayendo en algún error tonto que no soy capaz de detectar. Si necesitas saber cuáles se ignoran, lo intento trasladar.
La imagen sigue saliéndose por el margen izquierdo, por cierto. ¿Cambio el valor HBackPorch, a ver?
Y te adelanto la siguiente cuestión -- ¿con la línea 'custom' primera (editada como te comenté) aparentemente conseguí el modo 640 x 480 a 60 Hz 'exactos', según medición de Arcade OSD, y no lo he vuelto a conseguir (el valor más cercano es de 59,92 Hz). Es un modo fundamental para muchos juegos de gran precisión, tanto de WIN como emulados, de modo que estaría bien tenerlo, o aproximarnos más. ¿La vía es la que contabas aquí [ > ] o con la línea 'custom' podemos hacer algo?
Y enhorabuena por seguir ampliando el catálogo...