Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: ReslList.txt information being ignored?  (Read 3532 times)

0 Members and 1 Guest are viewing this topic.

jimmy2x2x

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1216
  • Last login:December 19, 2018, 01:29:48 am
ReslList.txt information being ignored?
« on: February 15, 2012, 07:14:03 pm »
I am very probably doing something wrong here, but cant figure out quite what.

VMMaker.ini
Code: [Select]
; VideoModeMaker - Options
; ------------------------
   
; 1. MAME
; -------

; Path for Mame executable, in case we want to extract xml information from it.

MameExe = "..\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 = "\Emu\Mame\ini\"

; Mame options.

ListFromXML = 1 ; 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 = 1 ; 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-40000, 47.00-90.00, 0.600, 2.500, 2.800, 0.032, 0.096, 0.448, 0, 0, 640, 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 XP32: 160 modes (accepts up to 200, but above 160 HyperSpin will refuse to load)
; CRT_Emudriver, based on Catalyst 6.5 XP64: 120 modes
; CRT_Emudriver, based on Catalyst 9.3 XP32/64: 120 modes (accepts some more but above 120 you can get some blue screens)
; Regular Catalyst: 60 modes (won't accept any more)

TotalModes = 100

; 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 = 1 ; 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 = 208
YresMin = 192

; Minimum dotclock value allowed by the video card, in MHz (i.e. DotClockMin = 7.010)

DotClockMin = 18.500

; 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 = 2

; Specifies if the refresh label is multiplied by 10 before rounding (experimental).

VFreqLabelx10 = 0

; 4. DRIVER
; ---------

; Path for the driver folder

DriverPath = ".\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 = 0 ; 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.
Only32BPPModes = 1

And my ReslList.txt
Code: [Select]
## Commodore ##

640 x 480 @ 50.000000 c64
1280 x1024 @ 50.000000 amiga

As far as I can see neither resolution at the requested refresh has been added after I run VMMaker.exe and reset.

Any help appreciated, Thanks!
« Last Edit: February 15, 2012, 10:44:10 pm by jimmy2x2x »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: ReslList.txt information being ignored?
« Reply #1 on: February 16, 2012, 05:05:55 am »
The ReslList.txt file is very picky with spacing, just copy and paste these lines:

Code: [Select]
## Commodore ##

 640 x 480 @ 50.000000 c64
1280 x1024 @ 50.000000 amiga

Now, if you use ModeTableMethod = 1, your requested refresh is likely to be ignored and instead, the first one found for that resolution will be used. This will be the case for 640x480@50, it will probably be created with 60 Hz. You can set ModeTableMethod = 0, but that will create a mess of mode list when listing MAME's XML. I'll fix this in next release, by having independent options for ReslList.txt and MAME.xml. By now, you can create the modeline with ModeTableMethod = 0; grab it from Modeline.txt, redo everything now with ModeTableMethod = 1 and then use Winmodelines to install the previously generated modeline.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

Paradroid

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 687
  • Last login:April 12, 2024, 04:50:06 pm
    • SCART Hunter
Re: ReslList.txt information being ignored?
« Reply #2 on: February 16, 2012, 06:10:23 am »
I'll fix this in next release, by having independent options for ReslList.txt and MAME.xml. By now, you can create the modeline with ModeTableMethod = 0; grab it from Modeline.txt, redo everything now with ModeTableMethod = 1 and then use Winmodelines to install the previously generated modeline.

Cool. Good news and a good trick all in one post. :) Thanks.
My MAME/SCART/CRT blog: SCART Hunter

jimmy2x2x

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1216
  • Last login:December 19, 2018, 01:29:48 am
Re: ReslList.txt information being ignored?
« Reply #3 on: February 16, 2012, 01:42:14 pm »
Thanks for the help!

For me, the above method does not quite work as when I try to add a 640x480x50hz modeline in Winmodelines it tells me it already exists (the res does exist, but at a different frequency) - this is the same situation with 1280x1024x50hz - however I have solved my particular problem with a 720x576x50hz modeline - added with winmodelines - this works great with winvice (c64) and winuae (amiga) for rock solid 50hz refresh!




Paradroid

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 687
  • Last login:April 12, 2024, 04:50:06 pm
    • SCART Hunter
Re: ReslList.txt information being ignored?
« Reply #4 on: February 16, 2012, 04:27:23 pm »
a 720x576x50hz modeline - added with winmodelines - this works great with winvice (c64) and winuae (amiga) for rock solid 50hz refresh!

Cool. I really need to get around to trying this. C64 was the big one in my life when I was younger (as you can probably tell by my username ;) ). I also got deep into the Amiga. Haven't actually tried running any Commodore emulators since I got into using CRTs attached to emulators. I seem to remember WinVICE being a particularly good emulator...
My MAME/SCART/CRT blog: SCART Hunter

jimmy2x2x

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1216
  • Last login:December 19, 2018, 01:29:48 am
Re: ReslList.txt information being ignored?
« Reply #5 on: February 16, 2012, 04:48:30 pm »
Vice is a great emulator and very easy to configure, winuae takes a lot more time to get the best from it.

Just been playing Delta, Sanxion, Uridium and Hunters Moon ;)

Paradroid

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 687
  • Last login:April 12, 2024, 04:50:06 pm
    • SCART Hunter
Re: ReslList.txt information being ignored?
« Reply #6 on: February 16, 2012, 05:14:07 pm »
Just been playing Delta, Sanxion, Uridium and Hunters Moon ;)

Excellent choices. :)
My MAME/SCART/CRT blog: SCART Hunter