Advertisement
Guest User

VMMaker.ini

a guest
Jan 11th, 2015
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.66 KB | None | 0 0
  1. ; VideoModeMaker - Options
  2. ; ------------------------
  3.  
  4. ; 1. MAME
  5. ; -------
  6.  
  7. ; Path for Mame executable, in case we want to extract xml information from it.
  8.  
  9. MameExe = "C:\Games\MAME\MAME 0.152\MAMEUI32.exe"
  10.  
  11. ; Path for Mame ini folder, in case we want to create an ini file for each game.
  12. ; Important: existing ini files will be overwritten.
  13.  
  14. IniPath = "C:\Games\MAME\MAME 0.152\INI"
  15.  
  16. ; Mame options.
  17.  
  18. ListFromXML = 1 ; Processes Mame XML and get video mode list from it
  19. GenerateXML = 1 ; Extracts XML from Mame (only needed once)
  20. OnlyListMain = 0 ; Only list resolutions for games contained in MameMain.txt
  21. GenerateInis = 0 ; Creates an ini file for each Mame game, in the IniPath folder
  22. SDLMame = 0 ; Use SDLMame specific options
  23.  
  24. ; Monitor orientation
  25.  
  26. MonitorHorizontal = 1 ; 0 = Rotating monitor: horizontal and vertical games at their native resolution
  27. ; Suitable for users that physically rotate their CRTs
  28. ; 1 = Horizontal monitor: horizontal games run at their native resolution and
  29. ; vertical games are rotated to fit in horizontal monitor
  30.  
  31. RotatingDesktop = 0 ; Specifies if both desktop and monitor are rotated
  32.  
  33. ; Aspect ratio for vertical games on horizontal monitor
  34. ; 4:3 (keeps original aspect ratio)
  35. ; 3:3 (stretches to square format)
  36. ; 3:4 (stretches to full screen)
  37. ; h:v (custom aspect ratio)
  38.  
  39. VerticalAspect = "4:3"
  40.  
  41.  
  42. ; 2. MONITOR
  43. ; ----------
  44.  
  45. ; Monitor Type. Valid types: D9800, D9400, D9200, EGA, VGA, MULTI, H9110, PAL, NTSC, GENERIC, CUSTOM
  46.  
  47. MonitorType = "CUSTOM"
  48.  
  49.  
  50. ; Monitor CUSTOM. These values will be used if MonitorType = "CUSTOM"
  51. ;
  52. ; monitor_specs_0-6 = "HfreqMin-HfreqMax, VfreqMin,VfreqMax, HFrontPorch, HSyncPulse, HBackPorch, VfrontPorch, VSyncPulse, VBackPorch, HSyncPol, VSyncPol, ActiveLinesLimit, VirtualLinesLimit"
  53. ;
  54. ; * HfreqMin-HfreqMax: Minimum and maximum horizontal frequency, in Hz. Defines the range of horizontal frequencies the monitor is capable to sync.
  55. ; The higher the horizontal frequency, the higher the vertical resolution available for the same vertical refresh.
  56. ; The higher the horizontal frequency, the higher the vertical refresh available for the same vertical resolution.
  57. ; The higher the horizontal frequency, the lower the horizontal amplitude of active video (narrower picture).
  58. ;
  59. ; * VFreqMin-VfreqMax: Minimum and maximum vertical frequency, in Hz, Defines the range of vertical frequencies the monitor is capable to sync.
  60. ;
  61. ; * HFrontPorch, HSyncPulse, HBackPorch: Horizontal timing and geometry, values in µs
  62. ;
  63. ; * VfrontPorch, VSyncPulse, VBackPorch: Vertical timing and geometry, values in ms
  64. ;
  65. ; * HSyncPol,VSyncPol: polarities, not in use! defaults to negative.
  66. ;
  67. ; * ActiveLinesLimit: Vertical resolutions until ActiveLinesLimit value included, are generated as progressive, regardless the possibility
  68. ; of obtaining the required vertical refresh value.
  69. ;
  70. ; * VirtualLinesLimit: Vertical resolutions above ActiveLinesLimit and below VirtualLinesLimit are virtualized, that is, an interlaced resolution
  71. ; bigger that the native one is generated, with the right refresh, and "hardware stretch" is applied.
  72. ; Vertical resolutions above VirtulaLinesLimit are generated as interlaced, without any stretching.
  73.  
  74. monitor_specs0 15625-16200, 49.50-65.00, 2.000, 4.700, 8.000, 0.064, 0.160, 1.056, 0, 0, 288, 400
  75.  
  76. ; Tolerance for horizontal frequency, in kHz, enables extending the range defined by [ HfreqMin, HfreqMax ]
  77. ; The resulting allowed frequency range will be [ HfreqMin - HfreqTolerance, HfreqMax + HfreqTolerance ]
  78.  
  79. HfreqTolerance = 0.010
  80.  
  81.  
  82. ; 3. MODELINE GENERATOR
  83. ; ---------------------
  84.  
  85. ; Total number of modelines to generate. Here are the recommended values for each driver version:
  86. ; CRT_Emudriver, based on Catalyst 6.5: 160 modes (accepts up to 200, but above 160 HyperSpin will refuse to load)
  87. ; CRT_Emudriver, based on Catalyst 9.3: 120 modes (accepts some more but above 120 you can get some blue screens)
  88. ; Regular Catalyst : 60 modes (won't accept any more)
  89.  
  90. TotalModes = 120
  91.  
  92. ; If enabled, only creates modes with 32 bits per pixel color depth
  93.  
  94. Only32BPPModes = 0
  95.  
  96. ; Method for mode table generation. If Mame xml is processed, that will create a lot of different video modes, so the mode table
  97. ; will be optimized keeping the most relevant ones, and dropping the rest, to keep below the TotalModes value.
  98. ;
  99. ; 0 = Static table: modelines are generated keeping their original vertical refresh. This method is intended to be used in
  100. ; combination with ini files for each game.
  101. ;
  102. ; 1 = Dynamic table: a table of dummy modes is created using xres and yres values while ignoring vfreq. This method is intended
  103. ; to be used in combination with Switchres or Groovymame. No ini files are required using this method (you should disable the
  104. ; GenerateInis option).
  105. ;
  106. ; 2 = Magic table: a table of 'magic resolutions' is created, by ignoring xres and vfreq and just keeping yres. This method greatly reduces
  107. ; the total number of modes in the list. It's only supported by GroovyMAME, and is intended as a workaround for the Hyperspin issue.
  108.  
  109. ModeTableMethod_Custom = 0
  110. ModeTableMethod_XML = 1
  111.  
  112. ; Minimum resolution values (these will be used instead of lower values)
  113.  
  114. XresMin_XML = 240
  115. YresMin_XML = 240
  116. YresRound_XML = 4
  117.  
  118. XresMin_Custom = 240
  119. YresMin_Custom = 160
  120. YresRound_Custom = 0
  121.  
  122. ; Minimum dotclock value allowed by the video card, in MHz (i.e. DotClockMin = 7.010)
  123.  
  124. DotClockMin = 0
  125.  
  126. ; Number of iterations used by the mode generator [0,5]. The higher the number of iterations, the bigger the accuracy of the vertical
  127. ; refreshed obtained, normally at the cost of increasing the horizontal frequency strictly required.
  128.  
  129. Iterations = 0
  130.  
  131. ; Specifies if the refresh label is multiplied by 10 before rounding (experimental).
  132.  
  133. VFreqLabelx10 = 0
  134.  
  135. ; 4. DRIVER
  136. ; ---------
  137.  
  138. ; Display name to use as target
  139.  
  140. DisplayName = "\\.\DISPLAY1"
  141.  
  142. ; Path for the driver folder
  143.  
  144. DriverPath = ".\Driver\"
  145.  
  146. ; If UpdateRegistry is enabled, UpdateDriver will only work if the driver version found in DriverPath matches the one installed
  147. ; in the system.
  148.  
  149. UpdateRegistry = 1 ; Specifies if the video card registry section will be updated with the new video modes
  150. ; (will only work in combination with CRT_EMUDriver).
  151.  
  152. UpdateDriver = 0 ; Specifies if the driver files in DriverPath will be updated with the new video modes, for
  153. ; future installations.
  154.  
  155. AnyCatalyst = 0 ; Allows modelines to be installed for any Catalyst version. This option is experimental and
  156. ; known to produce some problems.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement