Advertisement
Guest User

Untitled

a guest
Dec 24th, 2020
542
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 121.72 KB | None | 0 0
  1. [code]
  2. 01:09:39:795 | RL | INFO | +N/A | Main - RocketLauncher v1.2.0.1 (www.rlauncher.com)
  3. 01:09:39:995 | RL | INFO | +203 | Main - System Specs:
  4. RocketLauncher Dir: C:\RocketLauncher
  5. RocketLauncher is: 32-bit
  6. OS: Microsoft Windows 10 Pro
  7. SKU: Professional
  8. Total Memory: 16318.01 MB
  9. Free Memory: 10139.51 MB
  10. Used Memory: 6178.500 MB
  11. SystemType: 64-bit
  12. Physical Processors: 1
  13. Logical Processors: 12
  14. GPU 1 Name: NVIDIA GeForce GTX 1650
  15. GPU 1 RAM: -1.00 MB
  16. GPU 1 Driver Version: 27.21.14.6089
  17. Sound 1 Device: NVIDIA High Definition Audio
  18. Sound 1 Status: Enabled
  19. Sound 2 Device: Realtek High Definition Audio
  20. Sound 2 Status: Enabled
  21. Sound 3 Device: NVIDIA Virtual Audio Device (Wave Extensible) (WDM)
  22. Sound 3 Status: Enabled
  23. OS Language: English_United_States
  24. System Locale: en-US
  25. Formats Locale: en-US
  26. Windows UI Language: en-US
  27. Text Encoding: Windows-1252
  28. OS Admin Status: No
  29. RL Compatibility Flags:
  30. Latest .Net Version: v4.0.30319
  31. Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x999 work) [32bit] [60hz] [Landscape] (Primary)
  32. Current AHK Desktop Width: 1920
  33. Current AHK Desktop Height: 1080
  34. Monitor #1 DPI: 100
  35. ErrorMode: 0
  36. AutoHotkey Path:
  37. AHK Version: 1.1.13.00
  38. Unicode: No
  39. 01:09:39:996 | RL | INFO | +0 | CheckFile - Checking if C:\RocketLauncher\RocketLauncher.exe exists
  40. 01:09:39:996 | RL | INFO | +0 | Main - Raw CLI received: "-s MAME -r kf2k3pcb -f C:\Hyperspin\HyperSpin.exe -p HyperPin -c 1 -o 1"
  41. 01:09:39:996 | RL | INFO | +0 | Main - Loading Front End Plugin: "HyperPin"
  42. 01:09:39:996 | RL | INFO | +0 | Main - RocketLauncher received "MAME" and "kf2k3pcb"
  43. 01:09:39:000 | RL | INFO | +0 | Main - Did not find a "C:\RocketLauncher\Settings\MAME\Game Options.ini" file, skipping any game-specific options.
  44. 01:09:40:000 | RL | INFO | +0 | Main - kf2k3pcb is using the default emulator: MAME
  45. 01:09:40:000 | RL | INFO | +0 | Main - Checking for a [MAME] section in C:\RocketLauncher\Settings\MAME\Emulators.ini
  46. 01:09:40:001 | RL | INFO | +0 | Main - Checking for a [MAME] section in C:\RocketLauncher\Settings\Global Emulators.ini
  47. 01:09:40:001 | RL | INFO | +0 | Main - Found [MAME] in C:\RocketLauncher\Settings\Global Emulators.ini
  48. 01:09:40:001 | RL | INFO | +0 | CheckFile - Checking if C:\RocketLauncher\Modules\MAME\MAME.ahk exists
  49. 01:09:40:005 | RL | INFO | +16 | Main - CRC Check - CRC matches, this is an official unedited module.
  50. 01:09:40:005 | RL | INFO | +0 | Main - kf2k3pcb will use module: C:\RocketLauncher\Modules\MAME\MAME.ahk
  51. 01:09:40:014 | RL | INFO | +0 | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
  52. 01:09:40:017 | RL | INFO | +15 | CheckFile - Checking if C:\Hyperspin\Emulators\Mame\mame64.exe exists
  53. 01:09:40:018 | RL | INFO | +0 | Main - INI Keys read
  54. 01:09:40:018 | RL | INFO | +0 | CheckFile - Checking if C:\RocketLauncher\Module Extensions\7z.exe exists
  55. 01:09:40:018 | RL | INFO | +0 | CheckFile - Checking if C:\RocketLauncher\Module Extensions\7z.dll exists
  56. 01:09:40:022 | RL | INFO | +0 | Main - "kf2k3pcb" does not qualify for MultiGame. Only roms with any of these strings in their name are acceptable: \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side
  57. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Started
  58. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.7z
  59. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.7z
  60. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Rom not found
  61. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.rar
  62. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.rar
  63. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Rom not found
  64. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.zip
  65. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.zip
  66. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Rom not found
  67. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.chd
  68. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.chd
  69. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Rom not found
  70. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.cue
  71. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.cue
  72. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Rom not found
  73. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.32x
  74. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.32x
  75. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Rom not found
  76. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.a26
  77. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.a26
  78. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Rom not found
  79. 01:09:40:022 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.a52
  80. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.a52
  81. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Rom not found
  82. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.a78
  83. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.a78
  84. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Rom not found
  85. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.bin
  86. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.bin
  87. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Rom not found
  88. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.caq
  89. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.caq
  90. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Rom not found
  91. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.col
  92. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.col
  93. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Rom not found
  94. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.cpr
  95. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.cpr
  96. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Rom not found
  97. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.gg
  98. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.gg
  99. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Rom not found
  100. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.gb
  101. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.gb
  102. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Rom not found
  103. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.gba
  104. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.gba
  105. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Rom not found
  106. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.gbc
  107. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.gbc
  108. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Rom not found
  109. 01:09:40:023 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.int
  110. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.int
  111. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Rom not found
  112. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.lnx
  113. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.lnx
  114. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Rom not found
  115. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.rom
  116. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.rom
  117. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Rom not found
  118. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.sms
  119. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.sms
  120. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Rom not found
  121. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.st2
  122. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.st2
  123. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Rom not found
  124. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.md
  125. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.md
  126. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Rom not found
  127. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.j64
  128. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.j64
  129. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Rom not found
  130. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.n64
  131. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.n64
  132. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Rom not found
  133. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.nes
  134. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.nes
  135. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Rom not found
  136. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.ngc
  137. 01:09:40:024 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.ngc
  138. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Rom not found
  139. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.ngp
  140. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.ngp
  141. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Rom not found
  142. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.pce
  143. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.pce
  144. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Rom not found
  145. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.sfc
  146. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.sfc
  147. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Rom not found
  148. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.sv
  149. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.sv
  150. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Rom not found
  151. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.vb
  152. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.vb
  153. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Rom not found
  154. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.vec
  155. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.vec
  156. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Rom not found
  157. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.ws
  158. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.ws
  159. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Rom not found
  160. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Roms\Mame\kf2k3pcb.wsc
  161. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Roms\Mame\kf2k3pcb\kf2k3pcb.wsc
  162. 01:09:40:025 | RL | INFO | +0 | CheckPaths - Rom not found
  163. 01:09:40:026 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Emulators\Mame\roms\kf2k3pcb.7z
  164. 01:09:40:026 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Emulators\Mame\roms\kf2k3pcb\kf2k3pcb.7z
  165. 01:09:40:026 | RL | INFO | +0 | CheckPaths - Rom not found
  166. 01:09:40:026 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Emulators\Mame\roms\kf2k3pcb.rar
  167. 01:09:40:026 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: C:\Hyperspin\Emulators\Mame\roms\kf2k3pcb\kf2k3pcb.rar
  168. 01:09:40:026 | RL | INFO | +0 | CheckPaths - Rom not found
  169. 01:09:40:026 | RL | INFO | +0 | CheckPaths - Looking for rom: C:\Hyperspin\Emulators\Mame\roms\kf2k3pcb.zip
  170. 01:09:40:026 | RL | INFO | +0 | CheckPaths - Found rom: C:\Hyperspin\Emulators\Mame\roms\kf2k3pcb.zip
  171. 01:09:40:026 | RL | INFO | +0 | CheckPaths - Ended
  172. 01:09:40:026 | RL | INFO | +0 | BuildScript - User Variables:
  173. ;----------------------------------------------------------------------------
  174. ; INJECTED VARIABLES
  175. ;----------------------------------------------------------------------------
  176.  
  177. #NoTrayIcon
  178. #InstallKeybdHook
  179. MiscUtils.DetectHiddenWindows("On")
  180. SetTitleMatchMode, 2
  181. SendMode, Event
  182. Global RLLog
  183. Global RLObject
  184. 0 := "12"
  185. rlPath := "C:\RocketLauncher"
  186. pluginPath := "C:\RocketLauncher\Plugins"
  187. pluginName := "HyperPin"
  188. pluginExt := ".plugin"
  189. contextOnExit := "1"
  190. rlMode := ""
  191. rlTitle := "RocketLauncher"
  192. rlVersion := "1.2.0.1"
  193. rlAuthor := "djvj"
  194. rlURL := "www.rlauncher.com"
  195. langFile := "C:\RocketLauncher\Data\Language\Localization.ini"
  196. primMonitor := "1"
  197. frontendPID := ""
  198. frontendPath := "C:\Hyperspin"
  199. frontendExe := "HyperSpin.exe"
  200. frontendExt := "exe"
  201. frontendName := "HyperSpin"
  202. frontendDrive := "C"
  203. exitEmulatorKey := "~Esc"
  204. restoreFE := "false"
  205. exitScriptKey := "~q & ~s"
  206. toggleCursorKey := "~e & ~t"
  207. emuFullPath := "C:\Hyperspin\Emulators\Mame\mame64.exe"
  208. emuPath := "C:\Hyperspin\Emulators\Mame"
  209. emuName := "MAME"
  210. emuExt := "exe"
  211. baseRomPath := "C:\Hyperspin\Roms\MAME"
  212. romPath := "C:\Hyperspin\Emulators\Mame\roms"
  213. romPathFromIni := "C:\Hyperspin\Roms\Mame|C:\Hyperspin\Emulators\Mame\roms"
  214. romExtension := ".zip"
  215. romExtensionOrig := ".zip"
  216. romExtensions := "7z|rar|zip|chd|cue|32x|a26|a52|a78|bin|caq|col|cpr|gg|gb|gba|gbc|int|lnx|rom|sms|st2|md|j64|n64|nes|ngc|ngp|pce|sfc|sv|vb|vec|ws|wsc"
  217. executable := "mame64.exe"
  218. systemDbName := "MAME"
  219. systemName := "MAME"
  220. dbPath := ""
  221. dbName := "kf2k3pcb"
  222. dbExt := ""
  223. romFoundByExt := ""
  224. romName := "kf2k3pcb"
  225. romMapPath := ""
  226. romMappingEnabled := "false"
  227. romMappingLaunchMenuEnabled := "false"
  228. romMappingFirstMatchingExt := "false"
  229. romMappingShowAllRomsInArchive := "true"
  230. romMappingNumberOfGamesByScreen := "7"
  231. romMappingHideParent := "false"
  232. romMappingMenuWidth := "400"
  233. romMappingMenuMargin := "65"
  234. romMappingTextFont := "Bebas Neue"
  235. romMappingTextOptions := "cFFFFFFFF r4 s60 Bold"
  236. romMappingDisabledTextColor := "ff888888"
  237. romMappingTextSizeDifference := "7"
  238. romMappingTextMargin := "15"
  239. romMappingTitleTextFont := "Bebas Neue"
  240. romMappingTitleTextOptions := "cFFFFFFFF r4 s90 Bold"
  241. romMappingTitle2TextFont := "Bebas Neue"
  242. romMappingTitle2TextOptions := "cFFFFFFFF r4 s22 Bold"
  243. romMappingGameInfoTextFont := "Bebas Neue"
  244. romMappingGameInfoTextOptions := "cFFFFFFFF r4 s22 Regular"
  245. romMappingGameNameTextFont := "Bebas Neue"
  246. romMappingGameNameTextOptions := "cFFFFFFFF r4 s40 Regular"
  247. romMappingBackgroundBrush := "aa000000"
  248. romMappingColumnBrush := "33000000"
  249. romMappingButtonBrush1 := "6f000000"
  250. romMappingButtonBrush2 := "33000000"
  251. romMappingBackgroundAlign := "Stretch and Lose Aspect"
  252. romMappingMenuFlagWidth := "55"
  253. romMappingMenuFlagSeparation := "7"
  254. romMappingDefaultMenuList := "FullList"
  255. romMappingSingleFilteredRomAutomaticLaunch := "false"
  256. altArchiveNameOnly := ""
  257. altRomNameOnly := ""
  258. altArchiveAndRomName := ""
  259. altArchiveAndManyRomNames := ""
  260. altRomNamesOnly := ""
  261. romMapScenario := ""
  262. skipchecks := "false"
  263. romMatchExt := "false"
  264. blockInputTime := "0"
  265. blockInputFile := "C:\RocketLauncher\Module Extensions\BlockInput.exe"
  266. errorLevelReporting := "false"
  267. lockLaunch := "false"
  268. lockLaunchGame := ""
  269. screenRotationAngle := "0"
  270. screenRotationAngleGame := ""
  271. setResolution := "1|1920|1080|32|60&2|640|480|32|60"
  272. logFile := ""
  273. logLabel := [" INFO"," WARNING"," ERROR"," DEBUG"," TRACE"]
  274. logLevel := "3"
  275. logShowDebugConsole := "false"
  276. logShowCommandWindow := "false"
  277. logCommandWindow := "false"
  278. logIncludeModule := "true"
  279. logIncludeFileProperties := "true"
  280. logIncludeDLLLogs := "false"
  281. errorSounds := "true"
  282. rlDebugConsoleStdout := ""
  283. sysLang := "English_United_States"
  284. sysType := "64-bit"
  285. broadcastWindowTitle := ""
  286. navUpKey := "Up"
  287. navDownKey := "Down"
  288. navLeftKey := "Left"
  289. navRightKey := "Right"
  290. navSelectKey := "Enter"
  291. navP2UpKey := "Numpad8"
  292. navP2DownKey := "Numpad2"
  293. navP2LeftKey := "Numpad4"
  294. navP2RightKey := "Numpad6"
  295. navP2SelectKey := "NumpadEnter"
  296. originalWidth := "1920"
  297. originalHeight := "1080"
  298. vdEnabled := "false"
  299. vdFullPath := ""
  300. vdUseSCSI := "true"
  301. vdDriveLetter := ""
  302. vdDriveLetterScsi := ""
  303. vdAddDrive := "true"
  304. demulShooterPath := ""
  305. servoStikEnabled := "false"
  306. servoStikExitMode := "false"
  307. ledblinkyEnabled := "false"
  308. ledblinkySystemName := ""
  309. ledblinkyFullPath := ""
  310. ledblinkyProfilePath := "C:\RocketLauncher\Profiles\LEDBlinky"
  311. ledblinkyRLProfile := "C:\RocketLauncher\Profiles\LEDBlinky\RocketLauncher"
  312. winIPACFullPath := ""
  313. ultraMapEnabled := "false"
  314. ultraMapFullPath := ""
  315. emuIdleShutdown := "0"
  316. launchPasswordHash := "UpUpDownDownLeftRightLeftRight"
  317. cursorSize := ""
  318. hideCursor := "false"
  319. hideEmu := "false"
  320. hideFE := "false"
  321. suspendFE := "false"
  322. fadeIn := "false"
  323. fadeInDuration := "500"
  324. fadeInTransitionAnimation := "DefaultAnimateFadeIn"
  325. fadeInDelay := "0"
  326. fadeInExitDelay := "0"
  327. fadeOutExitDelay := "0"
  328. fadeOut := "false"
  329. fadeOutExtraScreen := "false"
  330. fadeOutDuration := "500"
  331. fadeOutTransitionAnimation := "DefaultAnimateFadeOut"
  332. fadeOutDelay := "0"
  333. fadeLyrInterpolation := "7"
  334. fadeMuteEmulator := "false"
  335. fadeUseBackgrounds := "false"
  336. fadeClickThrough := "false"
  337. fadeSounds := "true"
  338. fade7zProgressMode := "extraction"
  339. fadeWidthBaseRes := "1920"
  340. fadeHeightBaseRes := "1080"
  341. fadeLyr1Color := "FF000000"
  342. fadeLyr1AlignImage := "Stretch and Lose Aspect"
  343. fadeLyr2Pos := "Stretch and Lose Aspect"
  344. fadeLyr2X := "0"
  345. fadeLyr2Y := "0"
  346. fadeLyr2W := ""
  347. fadeLyr2H := ""
  348. fadeLyr2Adjust := "1"
  349. fadeLyr2PicPad := "0"
  350. fadeLyr2Prefix := "Extra Layer 1 - Console"
  351. fadeLyr3Pos := "Center"
  352. fadeLyr3X := "450"
  353. fadeLyr3Y := "450"
  354. fadeLyr3W := ""
  355. fadeLyr3H := ""
  356. fadeLyr3Adjust := "1"
  357. fadeLyr3PicPad := "0"
  358. fadeLyr3Speed := "750"
  359. fadeLyr3Animation := "DefaultFadeAnimation"
  360. fadeLyr37zAnimation := "DefaultFadeAnimation"
  361. fadeLyr3Type := "imageandbar"
  362. fadeLyr3ImgFollow7zProgress := "true"
  363. fadeLyr3Repeat := "1"
  364. fadeLyr3BackImageTransparency := "30"
  365. fadeLyr3StaticPos := "No Alignment"
  366. fadeLyr3StaticX := "0"
  367. fadeLyr3StaticY := "870|1575"
  368. fadeLyr3StaticW := ""
  369. fadeLyr3StaticH := ""
  370. fadeLyr3StaticAdjust := "1"
  371. fadeLyr3StaticPicPad := "0"
  372. fadeLyr3StaticPrefix := "Info Bar"
  373. fadeLyr4Adjust := "1"
  374. fadeLyr4X := "1792|952"
  375. fadeLyr4Y := "891|1596"
  376. fadeLyr4W := "128"
  377. fadeLyr4H := ""
  378. fadeLyr4Pos := "No Alignment"
  379. fadeLyr4FPS := "50"
  380. fadeLyr4PicPad := "0"
  381. fadeTranspGifColor := "FFFFFF"
  382. fadeBarWindow := "Image"
  383. fadeBarWindowX := ""
  384. fadeBarWindowY := ""
  385. fadeBarWindowW := "900"
  386. fadeBarWindowH := ""
  387. fadeBarWindowR := "30"
  388. fadeBarWindowM := "30"
  389. fadeBarWindowHatchStyle := "8"
  390. fadeBar := "7zOnly"
  391. fadeProgressDuration := "0"
  392. fadeBarBack := "true"
  393. fadeBarBackColor := "FF555555"
  394. fadeBarH := "30"
  395. fadeBarR := "10"
  396. fadeBarColor := "DD00BFFF"
  397. fadeBarHatchStyle := "8"
  398. fadeBarPercentageText := "true"
  399. fadeBarInfoText := "true"
  400. fadeBarXOffset := "0"
  401. fadeBarYOffset := "150"
  402. fadeRomInfoDescription := "filtered text"
  403. fadeRomInfoSystemName := "image"
  404. fadeRomInfoYear := "text with label"
  405. fadeRomInfoDeveloper := "disabled"
  406. fadeRomInfoPublisher := "disabled"
  407. fadeRomInfoGenre := "disabled"
  408. fadeRomInfoRating := "image"
  409. fadeRomInfoOrder := "Description|SystemName|Year|Developer|Genre|Rating|Publisher"
  410. fadeRomInfoTextPlacement := "User Defined"
  411. fadeRomInfoTextMargin := "7"
  412. fadeRomInfoText1Options := "w1600|787 h90 x165 y870|1575 cFFE1E1E1 r4 s90 Left Regular"
  413. fadeRomInfoText2Options := "w400 x8 y15 cFF555555 r4 s60 Bold"
  414. fadeRomInfoText3Options := "w310 x165 y960|1665 cFFE1E1E1 r4 s66 Left Regular"
  415. fadeRomInfoText4Options := "w1305|492 h66 x460 y960|1665 cFFE1E1E1 r4 s66 Left Regular"
  416. fadeRomInfoText5Options := "cFF555555 r4 s42 Bold"
  417. fadeRomInfoText6Options := "h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular"
  418. fadeRomInfoText7Options := "h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular"
  419. fadeStats_Number_of_Times_Played := "text with label"
  420. fadeStats_Last_Time_Played := "text with label"
  421. fadeStats_Average_Time_Played := "text with label"
  422. fadeStats_Total_Time_Played := "text with label"
  423. fadeStats_System_Total_Played_Time := "text with label"
  424. fadeStats_Total_Global_Played_Time := "text with label"
  425. fadeStatsInfoOrder := "Number_of_Times_Played|Last_Time_Played|Average_Time_Played|Total_Time_Played|System_Total_Played_Time|Total_Global_Played_Time"
  426. fadeStatsInfoTextPlacement := "topRight"
  427. fadeStatsInfoTextMargin := "7"
  428. fadeStatsInfoText1Options := "cFFB4B4B4 r4 s22 Bold"
  429. fadeStatsInfoText2Options := "cFFB4B4B4 r4 s22 Bold"
  430. fadeStatsInfoText3Options := "cFFB4B4B4 r4 s22 Bold"
  431. fadeStatsInfoText4Options := "cFFB4B4B4 r4 s22 Bold"
  432. fadeStatsInfoText5Options := "cFFB4B4B4 r4 s22 Bold"
  433. fadeStatsInfoText6Options := "cFFB4B4B4 r4 s22 Bold"
  434. fadeText1X := "0"
  435. fadeText1Y := "0"
  436. fadeText1Options := "cFFB4B4B4 r4 s30 Right Bold"
  437. fadeText1 := "Loading Game"
  438. fadeText2X := "0"
  439. fadeText2Y := "0"
  440. fadeText2Options := "cFFB4B4B4 r4 s30 Right Bold"
  441. fadeText2 := "Extraction Complete, Ready"
  442. fadeText3 := "Loading Game"
  443. fadeText4 := "Loading Complete"
  444. fadeFont := "Bebas Neue"
  445. fadeSystemAndRomLayersOnly := "false"
  446. fadeExtractionTime := "disabled"
  447. fadeExtractionTimeTextX := "0"
  448. fadeExtractionTimeTextY := "0"
  449. fadeExtractionTimeTextOptions := "cFF555555 r4 s20 Bold"
  450. fadeInterruptKey := ""
  451. detectFadeErrorEnabled := "true"
  452. fadeImgPath := "C:\RocketLauncher\Media\Fade"
  453. RLDataPath := "C:\RocketLauncher\Data"
  454. RLMediaPath := "C:\RocketLauncher\Media"
  455. RLErrSoundPath := "C:\RocketLauncher\Media\Sounds\Error"
  456. modulesPath := "C:\RocketLauncher\Modules"
  457. moduleFullName := "C:\RocketLauncher\Modules\MAME\MAME.ahk"
  458. moduleName := "MAME"
  459. modulePath := "C:\RocketLauncher\Modules\MAME"
  460. moduleExtension := "ahk"
  461. moduleExtensionsPath := "C:\RocketLauncher\Module Extensions"
  462. libPath := "C:\RocketLauncher\Lib"
  463. sevenZEnabled := "false"
  464. sevenZPath := "C:\RocketLauncher\Module Extensions\7z.exe"
  465. sevenZDllPath := "C:\RocketLauncher\Module Extensions\7z.dll"
  466. sevenZExtractPath := "C:\Rocketlauncher Temp"
  467. sevenZExtractPathOrig := ""
  468. sevenZAttachSystemName := "false"
  469. sevenZDelTemp := "true"
  470. sevenZFormats := ".zip|.rar|.7z|.lha|.lzh|.gzip|.tar"
  471. sevenZFormatsNoP := "zip|rar|7z|lha|lzh|gzip|tar"
  472. sevenZFormatsRegEx := "\.zip|\.rar|\.7z|\.lha|\.lzh|\.gzip|\.tar"
  473. sevenZGamesToKeep := ""
  474. sevenZDeletePerSystem := "false"
  475. sevenZExtensions := "zip|rar|7z|lha|lzh|gzip|tar"
  476. 7zExtractPath := "C:\Rocketlauncher Temp"
  477. mgEnabled := "false"
  478. mgKey := "~NumpadSub"
  479. mgBackgroundColor := "FF000000"
  480. mgSidePadding := "0.2"
  481. mgWidthBaseRes := "1920"
  482. mgHeightBaseRes := "1080"
  483. mgYOffset := "500|800"
  484. mgFont := "Arial"
  485. mgText1Options := "x10p y250|500 w80p Center cBBFFFFFF r4 s100 BoldItalic"
  486. mgText1Text := "Please select a game"
  487. mgText2Options := "w96p cFFFFFFFF r4 s50 Center BoldItalic"
  488. mgText2Offset := "100"
  489. mgUseSound := "true"
  490. mgSoundfreq := "300"
  491. mgExitEffect := "none"
  492. mgSelectedEffect := "rotate"
  493. mgUseGameArt := "false"
  494. mgCandidate := ""
  495. mgValidTypes := "\(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side"
  496. mgOnLaunch := "false"
  497. pauseEnabled := "false"
  498. pauseKey := "~NumpadAdd"
  499. pauseBackToMenuBarKey := "X"
  500. pauseZoomInKey := "C"
  501. pauseZoomOutKey := "V"
  502. pauseScreenshotKey := "~PrintScreen"
  503. pauseHiToTextPath := "C:\RocketLauncher\Module Extensions\HiToText.exe"
  504. pauseSaveStateKeyCodes := "{shift down}{F7 down}{F7 up}{shift up}{800}{a down}{a up}|{shift down}{F7 down}{F7 up}{shift up}{800}{b down}{b up}|{shift down}{F7 down}{F7 up}{shift up}{800}{c down}{c up}|{shift down}{F7 down}{F7 up}{shift up}{800}{d down}{d up}|{shift down}{F7 down}{F7 up}{shift up}{800}{e down}{e up}|{shift down}{F7 down}{F7 up}{shift up}{800}{f down}{f up}|{shift down}{F7 down}{F7 up}{shift up}{800}{g down}{g up}|{shift down}{F7 down}{F7 up}{shift up}{800}{h down}{h up}|{shift down}{F7 down}{F7 up}{shift up}{800}{i down}{i up}|{shift down}{F7 down}{F7 up}{shift up}{800}{j down}{j up}"
  505. pauseLoadStateKeyCodes := "{F7 down}{F7 up}{800}{a down}{a up}|{F7 down}{F7 up}{800}{b down}{b up}|{F7 down}{F7 up}{800}{c down}{c up}|{F7 down}{F7 up}{800}{d down}{d up}|{F7 down}{F7 up}{800}{e down}{e up}|{F7 down}{F7 up}{800}{f down}{f up}|{F7 down}{F7 up}{800}{g down}{g up}|{F7 down}{F7 up}{800}{h down}{h up}|{F7 down}{F7 up}{800}{i down}{i up}|{F7 down}{F7 up}{800}{j down}{j up}"
  506. keyboardEncoder := ""
  507. keyboardEncoderEnabled := "false"
  508. keymapperEnabled := "false"
  509. keymapperAHKMethod := "false"
  510. keymapper := "xpadder"
  511. xpadderFullPath := "C:\Utilities\Xpadder\xpadder.exe"
  512. joyToKeyFullPath := "C:\Utilities\JoyToKey\JoyToKey.exe"
  513. profilePath := "C:\RocketLauncher\Profiles"
  514. keymapperProfilePath := "C:\RocketLauncher\Profiles\xpadder"
  515. keymapperFrontEndProfileName := "RocketLauncherUI"
  516. keymapperFrontEndProfile := "false"
  517. keymapperRocketLauncherProfileEnabled := "false"
  518. joyIDsEnabled := "false"
  519. joyIDsPreferredControllersGlobal := ""
  520. joyIDsPreferredControllersSystem := "use_global"
  521. joyIDsPreferredControllersOnExit := ""
  522. CustomJoyNamesEnabled := "false"
  523. CustomJoyNames := ""
  524. rotateMethod := "false"
  525. FEProfile := "C:\RocketLauncher\Profiles\xpadder\RocketLauncherUI"
  526. defaultProfile := "C:\RocketLauncher\Profiles\xpadder\_Default"
  527. systemProfile := "C:\RocketLauncher\Profiles\xpadder\MAME"
  528. xPadderSystemProfile := "C:\RocketLauncher\Profiles\xpadder\MAME\_Default"
  529. emuProfile := "C:\RocketLauncher\Profiles\xpadder\MAME\MAME"
  530. romProfile := "C:\RocketLauncher\Profiles\xpadder\MAME\kf2k3pcb"
  531. RocketLauncherProfile := "C:\RocketLauncher\Profiles\xpadder\RocketLauncher"
  532. blankProfile := "C:\RocketLauncher\Profiles\xpadder\_Default\blank"
  533. ahkFEProfile := "C:\RocketLauncher\Profiles\AHK\RocketLauncherUI"
  534. ahkDefaultProfile := "C:\RocketLauncher\Profiles\AHK\_Default"
  535. ahkSystemProfile := "C:\RocketLauncher\Profiles\AHK\MAME"
  536. ahkEmuProfile := "C:\RocketLauncher\Profiles\AHK\MAME\MAME"
  537. ahkRomProfile := "C:\RocketLauncher\Profiles\AHK\MAME\kf2k3pcb"
  538. ahkRocketLauncherProfile := "C:\RocketLauncher\Profiles\AHK\RocketLauncher"
  539. bezelEnabled := "true"
  540. bezelICEnabled := "false"
  541. shaderName := "false"
  542. shaderColor := ""
  543. shaderTransparency := ""
  544. statisticsEnabled := "true"
  545. pressDuration := "-1"
  546. emuVolume := "1"
  547. dxwndIni := "C:\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini"
  548. dxwndFullPath := "C:\RocketLauncher\Module Extensions\dxwnd\dxwnd.exe"
  549. qResFullPath := "C:\RocketLauncher\Module Extensions\QRes.exe"
  550. mon1O := ""
  551. pacDrivedllFile := "C:\RocketLauncher\Module Extensions\PacDrive32.dll"
  552. userFadeAnimIniFile := "C:\RocketLauncher\Lib\User Fade Animations.ini"
  553. testFile := ""
  554. testDuration := ""
  555. initialErrorMode := "0"
  556.  
  557. 01:09:40:027 | RL | INFO | +0 | BuildScript - Loaded XHotkey Init.ahk scripts
  558. 01:09:40:027 | RL | INFO | +0 | BuildScript - Loaded Statistics Init.ahk scripts
  559. 01:09:40:027 | RL | INFO | +0 | BuildScript - Validating module
  560. 01:09:40:031 | RL | INFO | +0 | BuildScript - Validation complete
  561. 01:09:40:032 | RL | INFO | +0 | BuildScript - Module:
  562. MEmu := "MAME"
  563. MEmuV := "v0.166"
  564. MURL := ["http://www.mame.net/"]
  565. MAuthor := ["djvj","faahrev","brolly","Tomkun"]
  566. MVersion := "2.3.10"
  567. MCRC := "2C606685"
  568. iCRC := "8566ED91"
  569. MID := "635746812784197028"
  570. MSystem := ["AAE","Aamber Pegasus","Acorn Electron","Amstrad CPC","Amstrad GX4000","APF Imagination Machine","Apple II","Apple IIGS","Applied Technology MicroBee","Arcade","Arcade Classics","Atari 8-Bit","Atari 2600","Atari 5200","Atari 7800","Atari Classics","Atari Jaguar","Atari Lynx","Bally Astrocade","Bandai Super Vision 8000","Bandai WonderSwan","Bandai WonderSwan Color","Bit Corporation Gamate","Camputers Lynx","Capcom","Capcom Classics","Capcom Play System","Capcom Play System II","Capcom Play System III","Casio PV-1000","Casio PV-2000","Cave","Coleco ADAM","ColecoVision","Commodore 64","Commodore MAX Machine","Creatronic Mega Duck","Data East Classics","EACA EG2000 Colour Genie","Emerson Arcadia 2001","Entex Adventure Vision","Epoch Game Pocket Computer","Epoch Super Cassette Vision","Exidy Sorcerer","Fairchild Channel F","Fujitsu FM-7","Fujitsu FM Towns","Fujitsu FM Towns Marty","Funtech Super Acan","GamePark 32","GCE Vectrex","Hartung Game Master","HBMAME","Interton VC 4000","Irem Classics","JungleTac Sport Vii","Jupiter Ace","Konami Classics","LaserDisc","Magnavox Odyssey 2","MAME","Matra & Hachette Alice","Mattel Aquarius","Mattel Intellivision","MGT Sam Coupe","Midway Classics","Milton Bradley MicroVision","Namco Classics","Namco System 22","NEC PC-8801","NEC PC Engine","NEC PC Engine-CD","NEC SuperGrafx","NEC TurboGrafx-16","NEC TurboGrafx-CD","Nintendo 64","Nintendo 64DD","Nintendo Arcade Systems","Nintendo Classics","Nintendo Entertainment System","Nintendo Famicom","Nintendo Famicom Disk System","Nintendo Game Boy","Nintendo Game Boy Advance","Nintendo Game Boy Color","Nintendo Pokemon Mini","Nintendo Satellaview","Nintendo Super Famicom","Nintendo Super Game Boy","Nintendo Virtual Boy","Othello Multivision","PacMAME","Philips CD-i","Philips VG 5000","Philips Videopac Plus G7400","RCA Studio II","Sega 32X","Sega CD","Sega Classics","Sega Game Gear","Sega Genesis","Sega Master System","Sega Mega Drive","Sega Model 1","Sega Pico","Sega Saturn","Sega SC-3000","Sega SG-1000","Sega ST-V","Sega VMU","Sharp X1","Sinclair ZX81","SNK Classics","SNK Neo Geo","SNK Neo Geo AES","SNK Neo Geo AES","SNK Neo Geo CD","SNK Neo Geo MVS","SNK Neo Geo Pocket","SNK Neo Geo Pocket Color","Sony PlayStation","Sony PocketStation","Sord M5","Soundic Victory MPT-02","Super Nintendo Entertainment System","Taito Classics","Tandy TRS-80 Color Computer","Texas Instruments TI 99-4A","Thomson MO5","Tiger Game.com","Tomy Tutor","VTech CreatiVision","VTech Socrates","Watara Supervision","Williams Classics"]
  571. ;----------------------------------------------------------------------------
  572. ; Notes:
  573. ; This module now includes everything from the legacy MAME and MESS modules, but combined to match the merge of the 2 emulators that occured on version 0.162.
  574. ;
  575. ; Exit fade will only work correctly if you don't have Esc, the default MAME exit key, as your exit key. If you use Esc, turn off the ExitScreen
  576. ; This module will set your rom paths on the fly via CLI, but you must make sure the RLUI module setting for this module "MAME_BIOS_Path" is correctly set. It defaults to your roms subfolder where MAME.exe is found.
  577. ; This module assumes you have bios zip in your MAME "roms" directory, which might be different than your actual roms directory, for each system you need this module for. All tested systems listed below
  578. ; If MAME has a problem reading the bios zips, try archving them with "no compression"
  579. ; This site can help a ton with details for the various systems supported: http://www.progettoemma.net/mess/index.html
  580. ; You may get a black screen or MAME may close w/o notice if you do not have a bios rom for your system when one is needed.
  581. ; If you use bezel, it is recommended to set the module bezel mode to normal, and go to your MAME.ini file, on your emulator folder, and choose these options: artwork_crop 1, use_backdrops 1, use_overlays 1, use_bezels 0
  582. ;
  583. ; Command Line Options - http://easyemu.mameworld.info/mameguide/mameguide-options.html
  584. ; High Scores DO NOT SAVE when cheats are enabled!
  585. ; HLSL Documentation: http://mamedev.org/source/docs/hlsl.txt.html
  586. ; If you use MAME for AAE, create a vector.ini in mame's ini subfolder and paste these HLSL settings in there: http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=309968&page=&view=&sb=5&o=&vc=1
  587. ;
  588. ; Be aware that several systems will require a BIOS zip with their roms inside. They all come bundled in the MAME set so make sure you add your MAME roms folder to the
  589. ; roms path for that system. If you have doubts about their filenames check the mTypeVar module variable content.
  590. ;
  591. ; Following systems will also require some specific files to operate properly:
  592. ; APF Imagination Machine - apfimag (tape games), apfm1000 (cart games)
  593. ; Camputers Lynx - lynx64k, lynx96k, lynx128k
  594. ; Coleco ADAM - adam, adam_ddp, adam_fdc, adam_kb, adam_prn, adam_spi
  595. ; NEC PC Engine-CD - "Super CD-ROM2 System V3.0 (J).pce" [262,656 bytes] (placed in the roms subfolder in the emuPath)
  596. ; NEC TurboGrafx-CD - "Super CD-ROM2 System V3.01 (U).pce" [262,144 bytes] (placed in the roms subfolder in the emuPath)
  597. ; Sega CD - segacd, megacd, megacd2j (megacd2j seems to be more compatible over megacdj)
  598. ; Sony PlayStation - psa, pse, psj, psu
  599. ;
  600. ; Tape Control:
  601. ; MAME tape/cassette emulation is terrible because normally it means you need to manually start and stop the tapes yourself so it's highly suggested that you use another emulator for such systems.
  602. ; Tape control commands are accessible through the UI, press tab and then select Tape Control and you can start/stop the loaded tape from there.
  603. ; The following hotkeys can also be used:
  604. ; F2 - Start Tape
  605. ; Left Shift + F2 - Stop Tape
  606. ; Insert - While held, runs the game with throttling disabled and with the maximum frameskip. Useful to speedup the long tape loading process.
  607. ;
  608. ; Be aware that tape games are normally used on PC systems therefore it's likely that full keyboard emulation is enabled which means that you'll need to disable it in order to use any of the above
  609. ; hotkeys. To disable it press the Scroll Lock key, press it again to enable it back.
  610. ;
  611. ; 7z Support:
  612. ; Make sure you have 7z disabled for all MAME Arcade systems. Their roms are supposed to be archived, if you have 7z enabled then your games will fail to load. It's
  613. ; fine to enable 7z to non-arcade systems.
  614. ;
  615. ; Custom Configuration Files:
  616. ; If you want to use custom configuration files (.cfg files) for some games you will need to store them inside your MAME cfg folder using the following structure:
  617. ; cfg\mame_system_name\database_rom_name\mame_system_name.cfg
  618. ; An example of a game that requires specific settings is ICBM Attack for the Bally Astrocade, in this case special cfg file should be:
  619. ; cfg\astrocde\I.C.B.M. Attack (USA) (Unl)\astrocde.cfg
  620. ;
  621. ; Ini Files:
  622. ; Module will set most settings through command line which will override any settings you might have on your MAME ini files. Everything else will be read from
  623. ; those. MAME supports a hierarchical ini file structure and will load settings from several ini files following a specific order:
  624. ;- mame.ini
  625. ;- <mymame>.ini (i.e. if MAME was renamed mame060.exe, MAME parses mame060.ini here)
  626. ;- debug.ini (if the debugger is enabled)
  627. ;- <parent>.ini (for clones only, may be called recursively)
  628. ;- <gamename>.ini
  629. ;- vertical.ini (for games with vertical monitor orientation)
  630. ;- horizont.ini (for games with horizontal monitor orientation)
  631. ;- vector.ini (for vector games only)
  632. ;- <driver>.ini (based on the source filename of the driver)
  633. ;
  634. ; The settings in the later ini's override those in the earlier ini's.
  635. ;
  636. ; It's highly recommended that you set skipchecks to 'Rom Only" for MAME otherwise RocketLauncher won't be able to launch several games due
  637. ; to the way MAME roms are packaged. This will be even more noticeable for those using merged sets.
  638. ;
  639. ; Bally Astrocade:
  640. ; ICBM requires a soft reset (even on the real hardware) to launch. You can read about it here: http://www.ballyalley.com/ballyalley/articles/Playing_ICBM_Attack_Using_MESS.pdf
  641. ; Other games might require this as well, you can enable this in the module's settings so the machine is reset automatically on launch, otherwise you need to press F3 to start the game.
  642. ; Also ICBM Attack uses different controls then the rest of the games. Make sure you follow the procedure explained above under "Custom Configuration Files" to create such file.
  643. ;
  644. ; GCE Vectrex:
  645. ; Requires a vectrex.lay and a png overlay for each game. These all need to be placed in the MAME\artwork\vectrex folder.
  646. ; You can download all these pngs and the lay file in my ftp folder. You need to use the HyperList XML to match the pngs.
  647. ;
  648. ; Jupiter Ace:
  649. ; Set mame to 48k ram
  650. ;
  651. ; Magnavox Odyssey 2:
  652. ; Euro games should use the videopac bios instead of the odyssey2 one or you'll get some timing issues.
  653. ; Use the systemName ini file in the folder with this module for this, example:
  654. ; [Moto-Crash (France)]
  655. ; Bios=videopac
  656. ;
  657. ; RCA Studio 2:
  658. ; Most of the games require you to press a button to start the game, like 1 or 2 (refer to the game's manual).
  659. ; The game screen will be black until you do.
  660. ;
  661. ; Texas Instruments TI 99/4A:
  662. ; This system requires full keyboard emulation to work properly
  663. ; Split cart dumps are not supported since MESS .145 so you'll have to convert them to RPK format or use an earlier version of MESS (and a different module)
  664. ; You can check how to convert split cart dumps to RPK here:
  665. ; http://www.ninerpedia.org/index.php/MESS_multicart_system
  666. ; For floppy games make sure you have a RPK dump of an extended basic rom on your roms folder. It should be named "extended_basic.rpk"
  667. ; This system requires you to use a MAME build with Direct Input enabled in order to auto start the games. Most games will require commands to be typed to start
  668. ; and it's normally too complex to be able to do it through the -ab switch so SendCommand is used instead which means a Direct Input enabled MAME version is required.
  669. ;
  670. ; Bezels:
  671. ; Module settings control whether RocketLauncher or MAME bezels are shown
  672. ; In the bezel normal mode only RocketLauncher Bezels will be show and the MAME use_bezels option will be forced disbaled
  673. ; In the bezel layout mode, RocketLauncher Bezels will be drawn only when you do not have a layout file on your MAME folders for the current game
  674. ;
  675. ; ServoStik:
  676. ; The module will automatically control any connected ServoStiks found on the system.
  677. ; It does this by reading the xml info from MAME. If that XML info has directional info at 4 or less, 4-way mode will be enabled. All others get 8-way mode.
  678. ;
  679. ; Per game controller types:
  680. ; MAME allows you to change the controller type for each game by using slot devices. Slot devices are highly customizable and vary greatly from system to
  681. ; system so to avoid adding a huge complexity to the module this must be done through the Parameters settings.
  682. ; Slot devices are stored in the MAME ini file you are using, so the best way to find the command line you need to use is to start your game set the slot devices
  683. ; through the MAME UI (Press tab while in MAME) exit and then open the MAME ini file and search for a section named SLOT DEVICES.
  684. ; This is an example for Atari 2600 for a game using wheel controllers on both joy ports:
  685. ; #
  686. ; # SLOT DEVICES
  687. ; #
  688. ; joyport1 wheel
  689. ; joyport2 wheel
  690. ; The suggested method is to set the desired controllers you want to use by default in the Module Global Settings, in this case under the Atari 2600 tab you would
  691. ; set Parameters=-joyport1 joy -joyport2 joy
  692. ; And then for specific games do the same under Module Specific Settings for that system, if a game requires the wheel controller you'd set
  693. ; Parameters=-joyport1 wheel -joyport2 wheel
  694. ;
  695. ; Another option is to set the default values in the MAME ini file and make sure you also set writeconfig to 0.
  696. ; Swapping slot devices wipes out SYSTEM custom configs on the unplugged controllers, so to avoid any customised controls getting erased everytime you change slot devices,
  697. ; ensure you set your controls in the main MAME config file (MAME.ini), not the system one (ex. Atari 2600.ini).
  698. ;
  699. ; Linking/NetPlay:
  700. ; The module will automatically set correct network ports for linked games.
  701. ; Up to 8 players on the same PC are supported. Multiple copies of MAME will be launched.
  702. ; Placement of the screens are automatic but can be controlled in RocketLauncherUI MAME module settings. Windowed mode is required when more than one copy of mame is launched and is set automatically.
  703. ; Each player will use a different cfg and nvram folder in your MAME folder. Player 1 will always use .\cfg and .\nvram.
  704. ; Players 2 through 8 will use .\cfg2, .\cfg3, etc and .\nvram2, .\nvram3, etc
  705. ; These folders and cfg/nvram files will be automatically created for you on launch so you do not need to create them manually.
  706. ; Global inputs is automatically turned on for you but it is your job to setup individual controls for each instance. MAME only supports raw-input in this mode however.
  707. ; Over a LAN/WAN connection only 2 players are supported due to the way the ports are designated, it's impossible to automate port allocation because there is no 1 server where all hosts connect to.
  708. ; Default starting port for the Master is 15111 and consecutively goes up from there upto 15119 for 8 players. You can change the default starting port in the module settings if it conflicts with used ports on your network.
  709. ; There are other network related settings in the module settings to assist with starting IPs and connectivity, so check them out as well.
  710. ;
  711. ; NVRAM Automation for linked games:
  712. ; When launching linked games on the same pc NVRAM settings are automatically set for you so each player will be unique.
  713. ; For instance, in Virtua Racing, Player 1 is red, player 2 is blue, player 3 is yellow, etc.
  714. ; To do this, some other options are also set automatically for you as well, like region, difficulty, countr, course, etc
  715. ; I set these to defaults, but prefer USA region. If you do not like these, you will have to disable NVRAM automation in the module settings in RocketLauncherUI.
  716. ;
  717. ; Additional Link info that may be of some importance:
  718. ; The original Model-1 has a max Bandwidth of 6 MBit/s (TOTX173/TORX173).
  719. ; One Board sends about 20 KByte/s.
  720. ; So bandwidth CLIENTSIDE is like...
  721. ; 2 Boards - 20 KByte/s inbound and 20 KByte/s outbound.
  722. ; 3 Boards - 40 KByte/s inbound and 20 KByte/s outbound.
  723. ; 4 Boards - 60 KByte/s inbound and 20 KByte/s outbound.
  724. ; etc.
  725. ; Some good info on Linking: http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=297577&page=0
  726. ; also http://forum.arcadecontrols.com/index.php/topic,130136.msg1331485.html
  727. ;----------------------------------------------------------------------------
  728. StartModule()
  729. BezelGUI()
  730.  
  731. primaryExe := new Emulator(emuPath . "\" . executable) ; instantiate emulator executable object
  732. emuPrimaryWindow := new Window(new WindowTitle(,"MAME")) ; instantiate primary emulator window object
  733. emuOpenWindow := new Window(new WindowTitle(dialogOpen,"ConsoleWindowClass"))
  734. emuConsoleWindow := new Window(new WindowTitle(,"ConsoleWindowClass"))
  735. emuDebugWindow := new Window(new WindowTitle(,"MAMEDebugWindow"))
  736. emuOutputWindow := new Window(new WindowTitle(,"MAMEOutput"))
  737.  
  738. ; This object controls how the module reacts to different systems. MAME can play a lot of systems, but needs to know what system you want to run, so this module has to adapt.
  739. mTypeVar := "
  740. ( LTrim
  741. Aamber Pegasus|pegasus
  742. Acorn Electron|electron
  743. Amstrad CPC|cpc664
  744. Amstrad GX4000|gx4000
  745. APF Imagination Machine|apfimag
  746. Apple II|apple2ep
  747. Apple IIGS|apple2gs
  748. Applied Technology MicroBee|mbeeic
  749. Atari 8-Bit|a800
  750. Atari 2600|a2600
  751. Atari 5200|a5200
  752. Atari 7800|a7800
  753. Atari Jaguar|jaguar
  754. Atari Lynx|lynx
  755. Bally Astrocade|astrocde
  756. Bandai Super Vision 8000|sv8000
  757. Bandai WonderSwan|wswan
  758. Bandai WonderSwan Color|wscolor
  759. Bit Corporation Gamate|gamate
  760. Camputers Lynx|lynx128k
  761. Casio PV-1000|pv1000
  762. Casio PV-2000|pv2000
  763. Coleco ADAM|adam
  764. ColecoVision|coleco
  765. Commodore 64|c64
  766. Commodore MAX Machine|vic10
  767. Creatronic Mega Duck|megaduck
  768. EACA EG2000 Colour Genie|cgenie
  769. Emerson Arcadia 2001|arcadia
  770. Entex Adventure Vision|advision
  771. Epoch Game Pocket Computer|gamepock
  772. Epoch Super Cassette Vision|scv
  773. Exidy Sorcerer|sorcerer
  774. Fairchild Channel F|channelf
  775. Fujitsu FM-7|fmnew7
  776. Fujitsu FM Towns|fmtowns
  777. Fujitsu FM Towns Marty|fmtmarty
  778. Funtech Super Acan|supracan
  779. GamePark 32|gp32
  780. GCE Vectrex|vectrex
  781. Hartung Game Master|gmaster
  782. Interton VC 4000|vc4000
  783. JungleTac Sport Vii|vii
  784. Jupiter Ace|jupace
  785. Magnavox Odyssey 2|odyssey2
  786. Matra & Hachette Alice|alice32
  787. Mattel Aquarius|aquarius
  788. Mattel Intellivision|intv
  789. MGT Sam Coupe|samcoupe
  790. Milton Bradley MicroVision|microvsn
  791. NEC PC-8801|pc8801
  792. NEC PC Engine|pce
  793. NEC PC Engine-CD|pce
  794. NEC SuperGrafx|sgx
  795. NEC TurboGrafx-16|tg16
  796. NEC TurboGrafx-CD|tg16
  797. Nintendo 64|n64
  798. Nintendo 64DD|n64dd
  799. Nintendo Entertainment System|nes
  800. Nintendo Famicom|famicom
  801. Nintendo Famicom Disk System|fds
  802. Nintendo Game Boy|gameboy
  803. Nintendo Game Boy Advance|gba
  804. Nintendo Game Boy Color|gbcolor
  805. Nintendo Pokemon Mini|pokemini
  806. Nintendo Satellaview|snes
  807. Nintendo Super Famicom|snes
  808. Nintendo Super Game Boy|supergb
  809. Nintendo Virtual Boy|vboy
  810. Othello Multivision|omv1000
  811. Philips CD-i|cdimono1
  812. Philips Videopac Plus G7400|g7400
  813. Philips VG 5000|vg5k
  814. RCA Studio II|studio2
  815. Sega 32X|32x
  816. Sega CD|segacd
  817. Sega Game Gear|gamegear
  818. Sega Genesis|genesis
  819. Sega Master System|sms
  820. Sega Mega Drive|megadriv
  821. Sega Pico|pico
  822. Sega Saturn|saturn
  823. Sega SC-3000|sc3000
  824. Sega SG-1000|sg1000
  825. Sega VMU|svmu
  826. Sharp X1|x1turbo40
  827. Sinclair ZX81|zx81
  828. SNK Neo Geo AES|aes
  829. SNK Neo Geo CD|neocdz
  830. SNK Neo Geo Pocket|ngp
  831. SNK Neo Geo Pocket Color|ngpc
  832. Sony PlayStation|psx
  833. Sony PocketStation|pockstat
  834. Sord M5|m5
  835. Soundic Victory MPT-02|mpt02
  836. Super Nintendo Entertainment System|snes
  837. Tandy TRS-80 Color Computer|coco3
  838. Texas Instruments TI 99-4A|ti99_4a
  839. Thomson MO5|mo5
  840. Tiger Game.com|gamecom
  841. Tomy Tutor|tutor
  842. VTech CreatiVision|crvision
  843. VTech Socrates|socrates
  844. Watara Supervision|svision
  845. )"
  846. mType := Object()
  847. Loop, Parse, mTypeVar, `n, `r
  848. {
  849. obj := {}
  850. Loop, Parse, A_LoopField, |
  851. If (A_Index = 1)
  852. obj.System := A_LoopField
  853. Else ; 2
  854. obj.mameID := A_LoopField
  855. mType.Insert(obj["System"], obj)
  856. }
  857. RLLog.Debug("Module - Finished building the " . MEmu . " object")
  858. ; For easier use throughout the module
  859. mameSystem := mType[systemName].System
  860. mameID := mType[systemName].mameID
  861.  
  862. If !mameSystem {
  863. If (!ArrayUtils.ArrayContains(MSystem,systemName)) {
  864. RLLog.Warning("Module - """ . systemName . """ is not a known console or computer system. Defaulting to MAME's Arcade mode for the remainder of this " . MEmu . " module.")
  865. } Else {
  866. RLLog.Debug("Module - Defaulting to MAME's Arcade mode for the remainder of this " . MEmu . " module.")
  867. }
  868. mameSystem := systemName
  869. mameID := "MAME"
  870. }
  871.  
  872. Fullscreen := moduleIni.Read("Settings", "Fullscreen","true",,1) ; Set fullscreen mode
  873. legacyMode := moduleIni.Read(romName . "|" . mameSystem . "|Settings", "LegacyMode","false",,1)
  874. mameBiosPath := moduleIni.Read("Settings", "MAME_BIOS_Path", emuPath . "\roms",,1)
  875. Videomode := moduleIni.Read("Settings", "Videomode","d3d",,1) ; Choices are gdi,ddraw,d3d. If left blank, MAME uses d3d by default
  876. pauseMethod := moduleIni.Read("Settings", "PauseMethod",1,,1) ; set the pause method that works better on your machine (preferred methods 1 and 2) 1 = Win7 and Win8 OK - Problems with Win XP, 2 = preferred method for WinXP - Problems in Win7, 3 and 4 = same as 1 and 2, 5 = only use If you have a direct input version of mame, 6 = suspend mame process method, it could crash mame in some computers
  877. bilinearFilter := moduleIni.Read(mameSystem . "|Settings", "BilinearFilter","false",,1)
  878. hlsl := moduleIni.Read(romName . "|" . mameSystem . "|Settings", "HLSL","false",,1)
  879. glsl := moduleIni.Read(romName . "|" . mameSystem . "|Settings", "GLSL","false",,1)
  880. bezelMode := moduleIni.Read(romName . "|" . mameSystem . "|Settings", "BezelMode","layout",,1) ; "layout" or "normal"
  881. verticalRotationMode := moduleIni.Read(romName . "|" . mameSystem . "|Settings", "VerticalRotationMode","none",,1)
  882. cheatMode := moduleIni.Read("Settings", "CheatMode","false",,1)
  883. cheatModeKey := moduleIni.Read("Settings", "CheatModeKey",,,1) ; user defined key to be held down before launching a mame rom.
  884. UseSoftwareList := moduleIni.Read(romName . "|" . mameSystem, "UseSoftwareList","false",,1)
  885. sysStaticParams := moduleIni.Read(mameSystem, "StaticParameters",,,1)
  886. sysParams := moduleIni.Read(mameSystem, "Parameters",,,1)
  887. romParams := moduleIni.Read(romName, "Parameters", sysParams,,1)
  888. mameRomName := moduleIni.Read(romName, "MameRomName",,,1)
  889. autosave := moduleIni.Read(romName . "|" . mameSystem, "Autosave", "false",,1)
  890. volume := moduleIni.Read(romName . "|" . mameSystem . "|Settings", "Volume",,,1)
  891. Artwork_Crop := moduleIni.Read(romName . "|" . mameSystem, "Artwork_Crop", "true",,1)
  892. Use_Bezels := moduleIni.Read(romName . "|" . mameSystem, "Use_Bezels", "false",,1)
  893. Use_Overlays := moduleIni.Read(romName . "|" . mameSystem, "Use_Overlays", "true",,1)
  894. Use_Backdrops := moduleIni.Read(romName . "|" . mameSystem, "Use_Backdrops", "true",,1)
  895. Use_Cpanels := moduleIni.Read(romName . "|" . mameSystem, "Use_Cpanels", "false",,1)
  896. Use_Marquees := moduleIni.Read(romName . "|" . mameSystem, "Use_Marquees", "false",,1)
  897. inipath := moduleIni.Read(mameSystem, "IniPath",,,1)
  898. hashpath := moduleIni.Read(mameSystem, "HashPath",,,1)
  899. UseControllerRemap := moduleIni.Read(mameSystem . "|Settings", "UseControllerRemap", "true",,1)
  900. ControllerRemapPath := moduleIni.Read(mameSystem . "|Settings", "ControllerRemapPath", emuPath . "\ControllerRemap\ControllerRemap.exe",,1)
  901. CtrlRemapFile := new File(ControllerRemapPath)
  902. ControllerRemapConfigPath := moduleIni.Read( mameSystem . "|Settings", "ControllerRemapConfigPath", CtrlRemapFile.FilePath . "\ctrlr\",,1)
  903. MAMECtrlrPath := moduleIni.Read(mameSystem . "|Settings", "MAMECtrlrPath", emuPath . "\ctrlr",,1)
  904.  
  905. mameBiosPath := GetFullName(mameBiosPath)
  906.  
  907. ; Loop, 8
  908. ; car%A_Index%Color := moduleIni.Read(romName, "Car_" . A_Index . "_Color",,,1)
  909.  
  910. enableLinkPlay := moduleIni.Read(romName . "|Link/Network", "Enable_Link_Play", "false",,1)
  911. networkSession := ""
  912. If (enableLinkPlay != "false") {
  913. RLLog.Info("Module - Link/Network Multi-Player is an available option for " . romName)
  914. getWANIP := moduleIni.Read("Link/Network", "Get_WAN_IP","false",,1)
  915. myIP := If getWANIP = "true" ? GetPublicIP() : "127.0.0.1" ; use local ip by default if user does not want to get the WAN IP as MAME needs this for linked games
  916. networkPlayers := enableLinkPlay ; Max amount of networkable players
  917. localLink := 1 ; Tell Multiplayer menu to enable menu option for local linking
  918.  
  919. enableNVRAMAutomation := moduleIni.Read(romName . "|Link/Network", "Enable_NVRAM_Automation","true",,1)
  920. maxPlayersPerMonitor := moduleIni.Read(romName . "|Link/Network", "Max_Players_Per_monitor","1|1|1|1|1|1|1|1",,1)
  921. splitScreen2PlayersMode := moduleIni.Read(romName . "|Link/Network", "SplitScreen_2_Players","Horizontal",,1) ;horizontal or vertical
  922. splitScreen3PlayersMode := moduleIni.Read(romName . "|Link/Network", "SplitScreen_3_Players","P1top",,1) ; For Player1 screen to be on left: P1left. For Player1 screen to be on top: P1top. For Player1 screen to be on bottom: P1bottom. For Player1 screen to be on right: P1right.
  923. localPort := moduleIni.Read("Link/Network", "Local_Port","15111",,1)
  924.  
  925. defaultServerIP := moduleIni.Read("Link/Network", "Default_Server_IP", myIP,,1)
  926. defaultServerPort := moduleIni.Read("Link/Network", "Default_Server_Port","15111",,1)
  927. lastIP := moduleIni.Read("Link/Network", "Last_IP", defaultServerIP,,1) ; also known as the Remote IP in mame. Does not need to be on the ISD
  928. lastPort := moduleIni.Read("Link/Network", "Last_Port", defaultServerPort,,1) ; also known as the Remote Port in mame. Does not need to be on the ISD
  929.  
  930. MultiplayerMenu(lastIP, lastPort, networkType, networkPlayers,,,,,,localLink,"ipAndPort")
  931.  
  932. ;MultiPlayer Menu Result
  933. ; If !(networkType)
  934. ; MsgBox, % "Single Player Game"
  935. ; Else If (networkType="localLink")
  936. ; MsgBox, % "Local Link selected with the number of players equal to: " . networkPlayers
  937. ; Else If (networkType="server")
  938. ; MsgBox, % "WAN IP Address=" . networkIP . " | LAN IP Address=" . localIP[1,2] . " | Port=" . networkPort . " | networkPlayers=" . networkPlayers . " | networkRequiresSetup=" . networkRequiresSetup
  939. ; Else If (networkType="client")
  940. ; MsgBox, % "NetworkIP=" . networkIP . " | Port Number=" . networkPort . " | networkRequiresSetup=" . networkRequiresSetup
  941.  
  942. If networkSession {
  943. RLLog.Info("Module - Using a Network for " . romName)
  944. multiPlayerObj := Object() ; initialize object to store the multiplayer options
  945. If (networkType="localLink") {
  946. RLLog.Info("Module - Setting remote host to 127.0.0.1 to support local link mode as it is running on this PC.")
  947. linkEnabledGame := 1
  948. If networkPlayers > 1
  949. { RLLog.Info("Module - Local link mode was selected and " . networkPlayers . " sessions will be launched.")
  950. fullscreen := "false" ; must turn off fullscreen if running multiple MAMEs on the same machine
  951. Loop % networkPlayers {
  952. multiPlayerObj[A_Index,"Player"] := A_Index
  953. multiPlayerObj[A_Index,"CfgDir"] := " -cfg_directory cfg" . (If A_Index = 1 ? "" : A_Index)
  954. multiPlayerObj[A_Index,"NvramDir"] := " -nvram_directory nvram" . (If A_Index = 1 ? "" : A_Index)
  955. If (A_Index = 1) { ; Player 1
  956. initialLocalPort := localPort ; must be stored for last player
  957. multiPlayerObj[A_Index,"LocalHost"] := " -comm_localhost 0.0.0.0"
  958. multiPlayerObj[A_Index,"LocalPort"] := " -comm_localport " . localPort
  959. localPort++
  960. multiPlayerObj[A_Index,"RemotePort"] := " -comm_remoteport " . localPort
  961. } Else { ; Players 2+
  962. multiPlayerObj[A_Index,"LocalPort"] := " -comm_localport " . localPort
  963. localPort++
  964. multiPlayerObj[A_Index,"RemoteHost"] := " -comm_remotehost 127.0.0.1"
  965. multiPlayerObj[A_Index,"RemotePort"] := " -comm_remoteport " . (If A_Index = networkPlayers ? initialLocalPort : localPort) ; must set remote port to first port on last player
  966. }
  967.  
  968. ; msgbox % "Player: " . multiPlayerObj[A_Index]["Player"] . "`nLocalHost: " . multiPlayerObj[A_Index]["LocalHost"] . "`nLocalPort: " . multiPlayerObj[A_Index]["LocalPort"] . "`nRemoteHost: " . multiPlayerObj[A_Index]["RemoteHost"] . "`nRemotePort: " . multiPlayerObj[A_Index]["RemotePort"] . "`nCfgDir: " . multiPlayerObj[A_Index]["CfgDir"] . "`nNvramDir: " . multiPlayerObj[A_Index]["NvramDir"]
  969. }
  970. } Else
  971. RLLog.Info("Module - Local link mode was selected but user only chose 1 player. Launch will be a normal session.")
  972. } Else If (networkType = "client") {
  973. RLLog.Info("Module - Remote host is running on another PC, module will use remote link mode.")
  974. moduleIni.Write(networkIP,"GlobalModuleIni","Link/Network","Last_IP") ; Save last used IP and Port for quicker launching next time
  975. moduleIni.Write(networkPort,"GlobalModuleIni","Link/Network","Last_Port")
  976. linkType := "Slave"
  977. networkPlayers := 1
  978. multiPlayerObj[1,"Player"] := 1
  979. multiPlayerObj[1,"CfgDir"] := " -cfg_directory cfg"
  980. multiPlayerObj[1,"NvramDir"] := " -nvram_directory nvram"
  981. multiPlayerObj[1,"LocalHost"] := " -comm_localhost 0.0.0.0" ; don't really need to set this but just in case
  982. multiPlayerObj[1,"LocalPort"] := " -comm_localport " . localPort
  983. multiPlayerObj[1,"RemoteHost"] := " -comm_remotehost " . networkIP
  984. multiPlayerObj[1,"RemotePort"] := " -comm_remoteport " . networkPort
  985. } Else { ; server
  986. RLLog.Info("Module - This PC is acting as the host, telling mame to listen for incoming connections on port: " . localPort)
  987. moduleIni.Write(networkIP,"GlobalModuleIni","Link/Network","Last_IP") ; Save last used IP and Port for quicker launching next time
  988. moduleIni.Write(networkPort,"GlobalModuleIni","Link/Network","Last_Port")
  989. linkType := "Master"
  990. networkPlayers := 1
  991. multiPlayerObj[1,"Player"] := 1
  992. multiPlayerObj[1,"CfgDir"] := " -cfg_directory cfg"
  993. multiPlayerObj[1,"NvramDir"] := " -nvram_directory nvram"
  994. multiPlayerObj[1,"LocalHost"] := " -comm_localhost 0.0.0.0" ; don't really need to set this but just in case
  995. multiPlayerObj[1,"LocalPort"] := " -comm_localport " . networkPort
  996. multiPlayerObj[1,"RemoteHost"] := " -comm_remotehost " . networkIP
  997. multiPlayerObj[1,"RemotePort"] := " -comm_remoteport " . networkPort
  998. }
  999. RLLog.Info("Module - Starting a network session using the IP """ . networkIP . """ and PORT """ . networkPort . """")
  1000. } Else {
  1001. RLLog.Info("Module - User chose Single Player mode for this session")
  1002. }
  1003. }
  1004.  
  1005. FadeInStart()
  1006.  
  1007. If inipath
  1008. inipath := AbsoluteFromRelative(EmuPath, inipath)
  1009. If hashpath
  1010. hashpath := AbsoluteFromRelative(EmuPath, hashpath)
  1011.  
  1012. artworkCrop := If (Artwork_Crop = "true") ? " -artwork_crop" : " -noartwork_crop"
  1013. useBezels := If (Use_Bezels = "true") ? " -use_bezels" : " -nouse_bezels"
  1014. useOverlays := If (Use_Overlays = "true") ? " -use_overlays" : " -nouse_overlays"
  1015. useBackdrops := If (Use_Backdrops = "true") ? " -use_backdrops" : " -nouse_backdrops"
  1016. useCpanels := If (Use_Cpanels = "true") ? " -use_cpanels" : " -nouse_cpanels"
  1017. useMarquees := If (Use_Marquees = "true") ? " -use_marquees" : " -nouse_marquees"
  1018. autosave := If autosave = "true" ? " -autosave" : ""
  1019. volume := If volume != "" ? " -volume " . volume : ""
  1020. inipath := If inipath != "" ? " -inipath """ . inipath . """" : ""
  1021. hashpath := If hashpath != "" ? " -hashpath """ . hashpath . """" : ""
  1022.  
  1023. If (verticalRotationMode = "none")
  1024. verticalRotationMode := ""
  1025.  
  1026. ; Process mame's ListXML for certain features
  1027. If (bezelEnabled = "true" || servoStikEnabled = "auto" || verticalRotationMode || UseControllerRemap = "true") {
  1028. ListXMLObject := Object()
  1029. ListXMLObject := ListXMLInfo(If mameID = "MAME" ? (If mameRomName ? mameRomName : romName) : mameID) ;For non-Arcade systems we cannot use romName for listxml
  1030.  
  1031. Angle := ListXMLObject["Angle"].Value
  1032. If (bezelEnabled = "true") {
  1033. If (networkPlayers > 1) {
  1034. useBezels := " -nouse_bezels" ; force disabling MAME built-in bezels
  1035. BezelStart(networkPlayers)
  1036. } Else {
  1037. If (bezelMode = "layout"){
  1038. BezelStart("layout",ListXMLObject["Parent"].Value,Angle,romName)
  1039. } Else { ;bezel mode = normal
  1040. useBezels := " -nouse_bezels" ; force disabling MAME built-in bezels
  1041. BezelStart(,,Angle)
  1042. }
  1043. }
  1044. }
  1045. If (servoStikEnabled = "auto") {
  1046. ServoStik(If ListXMLObject["Ways"].Value <= 4 ? 4 : 8) ; If "ways" in the xml is set to 4 or less, the servo will go into 4-way mode, else 8-way mode will be enabled
  1047. }
  1048. If (verticalRotationMode && Angle) {
  1049. RLLog.Info("Setting rotation mode to " . verticalRotationMode . " - Game's angle is " . Angle)
  1050. If (verticalRotationMode = "original")
  1051. verticalRotationMode := " -norotate"
  1052. Else If (verticalRotationMode = "right")
  1053. verticalRotationMode := " -ror"
  1054. Else If (verticalRotationMode = "left")
  1055. verticalRotationMode := " -rol"
  1056. Else
  1057. verticalRotationMode := ""
  1058. }
  1059. Else
  1060. verticalRotationMode := ""
  1061.  
  1062. ;Controller Remap
  1063. If (UseControllerRemap = "true") {
  1064. RLLog.Info("Controller Remap: Start")
  1065. romProfileName := (mameRomName ? mameRomName : romName)
  1066. romParentName := ListXMLObject["Parent"].Value
  1067.  
  1068. If ControllerRemapPath
  1069. ControllerRemapPath := AbsoluteFromRelative("", ControllerRemapPath)
  1070. If ControllerRemapConfigPath
  1071. ControllerRemapConfigPath := AbsoluteFromRelative("", ControllerRemapConfigPath)
  1072. If MAMECtrlrPath
  1073. MAMECtrlrPath := AbsoluteFromRelative(emuPath, MAMECtrlrPath)
  1074.  
  1075. ctrlrPath := ""
  1076. RLLog.Info("Controller Remap: ControllerRemapConfigPath: " . ControllerRemapConfigPath)
  1077.  
  1078. ;~ ;1- Check for Rom. 2- Check for Rom Parent. 3- Check for System default
  1079. If (FileExist(ControllerRemapConfigPath . "\" . systemName . "\" . romProfileName . ".cfg")) {
  1080. RLLog.Info("Controller Remap: Rom Config File Found: " . ControllerRemapConfigPath . "\" . systemName . "\" . romProfileName . ".cfg")
  1081. ctrlrPath := new File(ControllerRemapConfigPath . "\" . systemName . "\" . romProfileName . ".cfg")
  1082. }
  1083. else if (romParentName and FileExist(ControllerRemapConfigPath . "\" . systemName . "\" . romParentName . ".cfg")) {
  1084. RLLog.Info("Controller Remap: Parent Rom Config File Found: " . ControllerRemapConfigPath . "\" . systemName . "\" . romParentName . ".cfg")
  1085. ctrlrPath := new File(ControllerRemapConfigPath . "\" . systemName . "\" . romParentName . ".cfg")
  1086. }
  1087. else If (FileExist(ControllerRemapConfigPath . "\" . systemName . "\_Default.cfg")) {
  1088. RLLog.Info("Controller Remap: System Config File Found: " . ControllerRemapConfigPath . "\" . systemName . "\_Default.cfg")
  1089. ctrlrPath := new File(ControllerRemapConfigPath . "\" . systemName . "\_Default.cfg")
  1090. }
  1091. else If (FileExist(ControllerRemapConfigPath . "\_Default.cfg")) {
  1092. RLLog.Info("Controller Remap: Global Config File Found: " . ControllerRemapConfigPath . "\_Default.cfg")
  1093. ctrlrPath := new File(ControllerRemapConfigPath . "\_Default.cfg")
  1094. }
  1095.  
  1096. ; Is there a controller file?
  1097. if (ctrlrPath) {
  1098. ctrlrFile := " -ctrlr RocketLauncher"
  1099.  
  1100. ;Replace <system name="default"> with the Right mameID in the RocketLauncher.cfg file
  1101. if(mameID != "MAME") {
  1102. ctrlrPath.Read()
  1103. rocketLauncherCfgFile := new File(MAMECtrlrPath . "\RocketLauncher.cfg")
  1104. rocketLauncherCfgFile.Delete()
  1105. rocketLauncherCfgFile.Append(StringUtils.Replace(ctrlrPath.Text, "<system name=""default"">", "<system name=""" . mameID . """>"))
  1106. }
  1107. else {
  1108. ctrlrPath.Copy(MAMECtrlrPath . "\RocketLauncher.cfg",1)
  1109. }
  1110.  
  1111. RLLog.Info("Controller Remap: Running """ . ControllerRemapPath . """ /remap:""" . MAMECtrlrPath . "\RocketLauncher.cfg""")
  1112. ControllerRemapProcess := new Process(ControllerRemapPath)
  1113. ControllerRemapProcess.Run(" /remap:""" . MAMECtrlrPath . "\RocketLauncher.cfg""","Hide")
  1114. }
  1115. else {
  1116. RLLog.Info("Controller Remap: No Controller config file found.")
  1117. }
  1118. RLLog.Info("Controller Remap: End")
  1119. }
  1120. }
  1121.  
  1122. winstate := If (Fullscreen = "true") ? "Hide UseErrorLevel" : "UseErrorLevel"
  1123. fullscreenParam := If (Fullscreen = "true") ? " -nowindow" : " -window"
  1124.  
  1125. hideEmuObj := Object(emuOpenWindow,0,emuDebugWindow,0,emuOutputWindow,0,emuPrimaryWindow,1)
  1126. 7z(romPath, romName, romExtension, sevenZExtractPath)
  1127.  
  1128. ; Get MAME version from executable, this is needed since some CLI switches are not available in older MAME versions
  1129. exeAtrib := FileGetVersionInfo_AW(emuPath . "\" . executable, "FileVersion|ProductVersion", "|")
  1130. Loop, Parse, exeAtrib, |%A_Tab%, %A_Space%
  1131. A_Index & 1 ? ( _ := A_LoopField ) : ( %_% := A_LoopField )
  1132. If ProductVersion
  1133. MAMEVersion := StringUtils.Right(ProductVersion, StringUtils.StringLength(ProductVersion) - 2)
  1134. RLLog.Info("Module - Detected MAME Product Version from '" . EmuPath . "\" . executable . "' is " . MAMEVersion)
  1135.  
  1136. If (videomode = "opengl") {
  1137. hlsl := " -nohlsl_enable"
  1138. If (MAMEVersion > 159)
  1139. glsl := If glsl = "true" ? " -gl_glsl" : (If glsl = "ini" ? "" : " -nogl_glsl")
  1140. Else
  1141. glsl := ""
  1142. } Else {
  1143. hlsl := If hlsl = "true" ? " -hlsl_enable" : (If hlsl = "ini" ? "" : " -nohlsl_enable")
  1144. If (MAMEVersion > 159)
  1145. glsl := If videomode = "ini" ? "" : " -nogl_glsl"
  1146. Else
  1147. glsl := ""
  1148.  
  1149. If (videomode = "ini")
  1150. videomode := ""
  1151. }
  1152. videomode := If (Videomode != "" ) ? " -video " . videomode : ""
  1153.  
  1154. param1 := " -cart """ . romPath . "\" . romName . romExtension . """" ; default param1 used for launching most systems.
  1155. If (romExtension = ".txt") ; This can be applied to all systems
  1156. param1 := ""
  1157.  
  1158. If (mameID = "apfimag") ; APF Imagination Machine
  1159. If (romExtension != ".tap")
  1160. mameID := "apfm1000" ; cart games for APF Imagination Machine require a different bios to be loaded
  1161.  
  1162. If (UseSoftwareList != "true")
  1163. { ; Now that we know the system we are loading, determine if we use an ini assocated with that system for custom game configs a user might need. Then load the configs associated to that game.
  1164. If StringUtils.Contains(mameID,"ti99_4a|aes|apple2gs|electron|mbeeic|odyssey2|astrocde|samcoupe|vic10|cpc664|mo5") ; these systems will use an ini to store game specific settings
  1165. {
  1166. If !SystemModuleIni.Exist()
  1167. SystemModuleIni.Append() ; create a blank file if it does not exist
  1168.  
  1169. If (mameID = "ti99_4a") ; Texas Instruments TI 99-4A
  1170. {
  1171. ExpansionCartLocation := moduleIni.Read("Settings", "ExpansionCartLocation", romPathOrig . "\System",,1)
  1172. ExpansionCartLocation := GetFullName(ExpansionCartLocation)
  1173. CommandWaitOffset := moduleIni.Read("Settings", "CommandWaitOffset", 0,,1)
  1174.  
  1175. ExpansionCart := moduleIni.Read(romName, "Expansion_Cart","extended_basic.rpk",,1) ; user can specify a rom specific cart instead of the default basic one
  1176. Command := moduleIni.Read(romName, "Command",,,1)
  1177.  
  1178. ; Now set the parameters to send to MAME
  1179. If (romExtension = ".dsk") ; Expansion Disk
  1180. {
  1181. ; If using the mainCart , send expansionLocation to MAME. This will require DirectInput to be enabled on the MAME build! Else we are loading a Disk game
  1182. param1 := " -nat -gromport single -cart1"
  1183. param2 := " """ . ExpansionCartLocation . "\" . ExpansionCart . """"
  1184. param3 := " -peb:slot2 32kmem -peb:slot3 speech -peb:slot6 tirs232 -peb:slot8 hfdc"
  1185. param4 := " -flop1"
  1186. param5 := " """ . romPath . "\" . romName . romExtension . """"
  1187. If StringUtils.Contains(romName, "\(Disk")
  1188. {
  1189. TimerUtils.Sleep(50)
  1190. If (romTable.MaxIndex() = 2)
  1191. {
  1192. param4 := " -flop1 " . " """ . romTable[1,1] . """"
  1193. param5 := " -flop2 " . " """ . romTable[2,1] . """"
  1194. }
  1195. }
  1196. } Else If (romExtension = ".rpk") ; Cart Game (RPK Format)
  1197. param1 := " -nat -gromport single -cart1", param2:=" """ . romPath . "\" . romName . romExtension . """", param3:=" -peb:slot3 speech" ;-cart will also work here
  1198. param6 := " -ui_active" ;Enable partial keyboard mode at startup
  1199. } Else If (mameID = "aes") ; SNK Neo Geo AES
  1200. { biosRegion := moduleIni.Read(romName, "BIOS_Region","asia",,1)
  1201. param1 := " -bios " . biosRegion ; can also be japan, but the asian one has english menus for most games
  1202. param2 := " -cart " . romName
  1203. }Else If (mameID = "apple2gs") ; Apple IIGS
  1204. { externalOS := moduleIni.Read(romName, "External_OS","false",,1)
  1205. 2gsSystemFile := "System6.2mg" ;For games without OS included, always force this name and error out if not found
  1206. multipartTable := CreateRomTable(multipartTable)
  1207.  
  1208. If (externalOS = "true")
  1209. { CheckFile(romPath . "\" . 2gsSystemFile)
  1210. param1 := " -flop3", param2:=" """ . romPath . "\" . 2gsSystemFile . """", param3:=" -flop4", param4:=" """ . romPath . "\" . romName . romExtension . """"
  1211. } Else {
  1212. param1 := " -flop3", param2:=" """ . romPath . "\" . romName . romExtension . """"
  1213. If (multipartTable.MaxIndex() > 1)
  1214. param3 := " -flop4", param4 := " """ . multipartTable[2,1] . """"
  1215. }
  1216. param5 := " -ui_active" ;Enable partial keyboard mode at startup
  1217. }Else If (mameID = "electron") ; Acorn Electron
  1218. { AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2",,1) ; Read delay from config.
  1219. AutoBootDelay := " -autoboot_delay " . AutoBootDelay
  1220. If StringUtils.Contains(romExtension,"\.ssd|\.bbc\|\.img|\.dsd|\.adf|\.ads|\.adm|\.adl")
  1221. {
  1222. mediaDeviceType := "flop"
  1223. autoBootMethod := " -autoboot_command ""*mount 0\n\n\n\n\nch.""""run""""""\n"""""
  1224. }
  1225. Else If StringUtils.Contains(romExtension,"\.bin|\.rom")
  1226. mediaDeviceType := "cart"
  1227. Else
  1228. {
  1229. mediaDeviceType := "cass"
  1230. autoBootMethod := " -autoboot_command ""*tape\nchain""""""""""""\n"""
  1231. }
  1232. param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """" . autoBootMethod . AutoBootDelay . ""
  1233. }Else If (mameID = "sc3000") ; Sega SC-3000
  1234. { AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2",,1) ; Read delay from config.
  1235. AutoBootDelay := " -autoboot_delay " . AutoBootDelay
  1236. If StringUtils.Contains(romExtension,"\.bin|\.sg\|.sc")
  1237. mediaDeviceType := "cart"
  1238. Else ; any other format
  1239. mediaDeviceType := "cass"
  1240. param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""chain""""""""""""\n""" . AutoBootDelay . ""
  1241. }Else If (mameID = "c64") ; Commodore 64
  1242. { AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2",,1) ; Read delay from config.
  1243. AutoBootDelay := " -autoboot_delay " . AutoBootDelay
  1244. If StringUtils.Contains(romExtension,"\.d64|\.g64|\.g41|\.d77|\.d88|\.1dd|\.dfi|\.imd|\.ipf|\.mfi|\.mfm|\.td0|\.cqm|\.cqi|\.dsk")
  1245. mediaDeviceType := "flop1"
  1246. Else If StringUtils.Contains(romExtension,"\.wav|\.tap")
  1247. mediaDeviceType := "cass1"
  1248. Else If StringUtils.Contains(romExtension,"\.80|\.a0|\.e0|\.crt")
  1249. mediaDeviceType := "cart1"
  1250. Else If StringUtils.Contains(romExtension,"\.p00|\.prg|\.t64")
  1251. mediaDeviceType := "quik1"
  1252. param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""chain""""""""""""\n""" . AutoBootDelay . ""
  1253. }Else If mameID = mbeeic ; Applied Technology MicroBee
  1254. { microbeeModel := moduleIni.Read(romName, "MicroBee_Model","mbeeic",,1)
  1255. If !StringUtils.Contains(microbeeModel,"mbee|mbeeic|mbeepc|mbeepc85|mbee56")
  1256. ScriptError("This is not a known MicroBee model value: " . microbeeModel)
  1257. Else If (microbeeModel != "mbeeic")
  1258. mameID := microbeeModel
  1259. If StringUtils.Contains(romExtension,"\.mwb|\.com|\.bee")
  1260. mediaDeviceType := "quik1"
  1261. Else If StringUtils.Contains(romExtension,"\.wav|\.tap")
  1262. mediaDeviceType := "cass"
  1263. Else If StringUtils.Contains(romExtension,"\.rom")
  1264. mediaDeviceType := "cart"
  1265. Else If StringUtils.Contains(romExtension,"\.dsk")
  1266. mediaDeviceType := "flop1"
  1267. Else ; .bin format
  1268. mediaDeviceType := "quik2"
  1269. param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """"
  1270. }Else If (mameID = "odyssey2") ; Magnavox Odyssey 2
  1271. {
  1272. VoiceModule := moduleIni.Read(romname, "VoiceModule","false","",1)
  1273. If (VoiceModule = "true")
  1274. param1 := " -cart1 voice -cart2 """ . romPath . "\" . romName . romExtension . """"
  1275. param2 := " -ui_active" ;Enable partial keyboard mode at startup
  1276.  
  1277. If romName not contains (USA
  1278. mameID := "videopac"
  1279. }Else If (mameID = "astrocde") ; Bally Astrocade
  1280. {
  1281. BlueRAMBasicRom := moduleIni.Read("Settings", "BlueRAMBasicRom","Blue RAM Basic v1.1 (USA).bin",,1) ; Blue RAM Basic rom
  1282. RequiresReset := moduleIni.Read(romname, "RequiresReset","false",,1) ; Check if game requires a reset
  1283.  
  1284. BlueRAMBasicRomPath := new File(romPath . "\" . BlueRAMBasicRom)
  1285. If (romExtension = ".script") {
  1286. ; Will require blue ram basic
  1287. If !BlueRAMBasicRomPath.Exist() {
  1288. ; Blue RAM Basic games might be in their own sub-folders since they have several files, so let's try to find the Blue RAM cart in the parent folder as well
  1289. StringUtils.SplitPath(romPath,,romBasePath) ; grab path one level up
  1290. BlueRAMBasicRomPath.__Delete()
  1291. BlueRAMBasicRomPath := new File(romBasePath . "\" . BlueRAMBasicRom)
  1292. BlueRAMBasicRomPath.CheckFile("Couldn't find " . BlueRAMBasicRom . " on any of these paths:" . romBasePath . "|" . romPath)
  1293. }
  1294.  
  1295. ScriptFile := new File(romPath . "\" . romName . romExtension)
  1296. param1 := " -cart """ . BlueRAMBasicRomPath.FileFullPath . """"
  1297.  
  1298. ; Replace rompath variable in script
  1299. ScriptFile.Read()
  1300. ScriptFile.Text := StringUtils.Replace(ScriptFile.Text, "{romPath}", romPath, "all")
  1301.  
  1302. ; Create cmd file to send to MESS
  1303. RomCMDFile := new File(romPath . "\" . romName . ".cmd")
  1304. RomCMDFile.Delete()
  1305. RomCMDFile.Append(ScriptFile.Text)
  1306. param2 := " -exp blue_ram_16k -debug -debugscript """ . RomCMDFile.FileFullPath . """"
  1307.  
  1308. closeDebugWindow := "true"
  1309. }
  1310. }Else If (mameID = "samcoupe") ; MGT Sam Coupe
  1311. { AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2",,1) ; Read delay from config.
  1312. AutoBootDelay := " -autoboot_delay " . AutoBootDelay
  1313.  
  1314. If StringUtils.Contains(romExtension,"\.mgt|\.dsk|\.d77|\.d88|\.1dd|\.dfi|\.imd|\.ipf|\.mfi|\.mfm|\.td0|\.cqm|\.cqi")
  1315. mediaDeviceType := "flop1"
  1316. param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""\nBOOT\n""" . AutoBootDelay . ""
  1317. }Else If (mameID = "vic10") ; Commodore MAX Machine
  1318. { AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2",,1) ; Read delay from config.
  1319. AutoBootDelay := " -autoboot_delay " . AutoBootDelay
  1320.  
  1321. If StringUtils.Contains(romExtension,"\.e0|\.80")
  1322. param1 := " -cart """ . romPath . "\" . romName . romExtension . """"
  1323. Else If StringUtils.Contains(romExtension,"\.wav|\.tap|\.fd")
  1324. param1 := " -cass """ . romPath . "\" . romName . romExtension . """"
  1325. Else If StringUtils.Contains(romExtension,"\.t64|\.prg|\.p00")
  1326. {
  1327. mediaDeviceType := "quik"
  1328. param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""RUN""" . AutoBootDelay . ""
  1329. }
  1330. }Else If (mameID = "mo5") ; Thomson MO5
  1331. { AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2","",1) ; Read delay from config.
  1332. AutoBootDelay := " -autoboot_delay " . AutoBootDelay
  1333.  
  1334. If StringUtils.Contains(romExtension,"\.bin|\.m5|\.rom")
  1335. param1 := " -cart """ . romPath . "\" . romName . romExtension . """"
  1336. Else If StringUtils.Contains(romExtension,"\.wav|\.k5|\.k7")
  1337. param1 := " -cass """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""RUN \""\""\n""" . AutoBootDelay . ""
  1338. Else If StringUtils.Contains(romExtension,"\.fd|\.dsk|\.d77|\.d88")
  1339. param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""DOS\nLOAD\n""" . AutoBootDelay . ""
  1340. }Else If (mameID = "cpc664") ; Amstrad CPC
  1341. { LaunchProgram := moduleIni.Read(romName, "LaunchProgram","disk",,1) ; Read command from config.
  1342. LaunchProgram := " -autoboot_command " . """RUN \""" . LaunchProgram . "\n"""
  1343. AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2",,1) ; Read delay from config.
  1344. AutoBootDelay := " -autoboot_delay " . AutoBootDelay
  1345.  
  1346. If StringUtils.Contains(romExtension,"\.d77|\.d88|\.1dd|\.dfi|\.imd|\.ipf|\.mfi|\.mfm|\.td0|\.cqm|\.cqi|\.dsk")
  1347. mediaDeviceType := "flop1"
  1348. param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """" . LaunchProgram . AutoBootDelay
  1349. }
  1350.  
  1351. ;Use a different bios if needed (This must be done after the above if conditions since the mameID will change)
  1352. iniBios := moduleIni.Read(romName, "Bios",mameID,,1) ; for all games, we use the default bios. Some games might require different bios like Odyssey2's Jopac games use the videopac bios instead, which should be defined in the ini
  1353. If (iniBios != "")
  1354. mameID := iniBios ; need to change the bios name for some games
  1355. }
  1356.  
  1357. ; These systems don't use an ini, but do require parameters to be changed from the default method of launching MAME
  1358. If (mameID = "neocdz" || mameID = "cdimono1" || mameID = "segacd" || mameID = "saturn" || mameID = "psx" || (mameID = "tg16" && mameSystem = "NEC TurboGrafx-CD") || (mameID = "pce" && mameSystem = "NEC PC Engine-CD")) ; SNK Neo Geo CD, Philips CD-i, Sega CD, Sega Saturn, Sony PlayStation, NEC PC Engine-CD or NEC TurboGrafx-CD
  1359. { If !StringUtils.Contains(romExtension,"\.chd|\.cue")
  1360. ScriptError("MAME only supports " . mameSystem . " games in chd and cue format. It does not support:`n" . romExtension)
  1361. If (mameSystem = "NEC TurboGrafx-CD") { ; NEC TurboGrafx-CD needs an additional bios mounted as a cart to run
  1362. tgcdBios := moduleIni.Read("Settings", "TGCDSystemCard", emuPath . "\roms\Super CD-ROM2 System V3.01 (U).pce",,1)
  1363. tgcdBios := GetFullName(tgcdBios)
  1364. tgcdBios := CheckFile(tgcdBios)
  1365. param2 := " -cart " . """" . tgcdBios . """"
  1366. } Else If (mameSystem = "NEC PC Engine-CD") { ; NEC PC Engine-CD needs an additional bios mounted as a cart to run
  1367. pcecdBios := moduleIni.Read("Settings", "PCECDSystemCard", emuPath . "\roms\Super CD-ROM2 System V3.0 (J).pce",,1)
  1368. pcecdBios := GetFullName(pcecdBios)
  1369. pcecdBios := CheckFile(pcecdBios)
  1370. param2 := " -cart " . """" . pcecdBios . """"
  1371. } Else If (mameID = "psx") { ; Sony PlayStation
  1372. mameID := "psu" ; changing mameID sent to MAME to use the USA bios
  1373. ; SelectMemCard() ; future function to swap around memcards
  1374. ; Usage: mc1 "J:\MAME\software\psu\card1.mc"
  1375. } If (mameSystem = "Sega CD") { ;
  1376. If StringUtils.InStr(romName,"(Jap") ; Mega CD Japanese v2
  1377. mameID := "megacd2j"
  1378. Else If StringUtils.InStr(romName,"(Euro") ; Mega CD European (PAL)
  1379. mameID := "megacd"
  1380. }
  1381. param1 := " -cdrm """ . romPath . "\" . romName . romExtension . """"
  1382. }Else If (mameID = "gamecom") ; Tiger Game.com
  1383. { If (romExtension != ".txt")
  1384. param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"
  1385. }Else If (mameID = "genesis") ; Sega Genesis
  1386. { If (StringUtils.InStr(romName, "(Europe") || StringUtils.InStr(romName, "(PAL")) ; if rom is from europe, tell MAME to boot a Mega Drive instead
  1387. mameID := "megadriv"
  1388. }Else If (mameID = "megadriv") ; Sega Mega Drive
  1389. { If (StringUtils.InStr(romName, "(USA") || StringUtils.InStr(romName, "(NTSC")) ; if rom is from America, tell MAME to boot a Genesis instead
  1390. mameID := "genesis"
  1391. }Else If (mameID = "vii") ; JungleTac Sport Vii
  1392. { If (romName = "Built-In Games (China)") ; Has some built-in games, gotta launch just BIOS for it.
  1393. param1 := ""
  1394. }Else If (mameID = "alice32") ; Matra & Hachette Alice
  1395. { If (romExtension != ".txt")
  1396. param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
  1397. }Else If (mameID = "cgenie") ; EACA EG2000 Colour Genie
  1398. { If (romExtension != ".txt")
  1399. param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
  1400. }Else If (mameID = "pockstat") ; Sony PocketStation
  1401. { If (romExtension != ".gme")
  1402. param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"
  1403. }Else If (mameID = "coco3") ; Tandy TRS-80 Color Computer
  1404. { If (romExtension != ".txt")
  1405. param1 := " -cart """ . romPath . "\" . romName . romExtension . """"
  1406. }Else If (mameID = "zx81") ; Sinclair ZX81
  1407. { If (romExtension != ".txt")
  1408. param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
  1409. }Else If (mameID = "lynx128k") ; Camputers Lynx
  1410. { If (romExtension != ".txt")
  1411. param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
  1412. }Else If (mameID = "vg5k") ; Philips VG 5000
  1413. { If (romExtension != ".txt")
  1414. param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
  1415. }Else If (mameID = "sorcerer") ; Exidy Sorcerer
  1416. { If (romExtension = ".snp") ; Snapshot file
  1417. param1 := " -dump """ . romPath . "\" . romName . romExtension . """"
  1418. Else If (romExtension = ".bin")
  1419. param1 := " -quik """ . romPath . "\" . romName . romExtension . """"
  1420. }Else If (messID = "jupace") ; jupiter ace
  1421. { If (romExtension = ".ace")
  1422. param1 := " -dump """ . romPath . "\" . romName . romExtension . """"
  1423. }Else If (mameID = "a800" || mameID = "fds") ; Atari 8-Bit, Nintendo Famicom Disk System
  1424. { If (romExtension != ".txt")
  1425. param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
  1426. }Else If (mameID = "vectrex") ; GCE Vectrex
  1427. { If (romName = "Mine Storm (World)") ; MAME dumps an error if you try to launch Mine Storm using a rom instead of just booting vectrex w/o a game in it (Mine Storm is built into vectrex)
  1428. param1 := ""
  1429. }Else If (mameID = "apfm1000") ; APF Imagination Machine/APF M1000
  1430. { If (romName = "Rocket Patrol (USA)") ; Rocket Patrol is built into the APF M1000 ROM.
  1431. param1 := ""
  1432. }Else If (mameID = "adam") ; Coleco ADAM
  1433. param1 := (If romExtension = ".ddp" ? " -cass1" : (If romExtension = ".dsk" ? " -flop1" : " -cart1")) . " """ . romPath . "\" . romName . romExtension . """" ; Decide if tape, disk, or cart game
  1434. Else If (mameID = "pegasus") ; Aamber Pegasus
  1435. { If (romExtension != ".txt")
  1436. param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"
  1437. }Else If (mameID = "gp32") ; GamePark 32
  1438. { If (romExtension != ".txt")
  1439. param1 := " -memc """ . romPath . "\" . romName . romExtension . """"
  1440. }Else If (mameID = "svmu") ; Sega VMU
  1441. {
  1442. param1 := " -quik """ . romPath . "\" . romName . romExtension . """"
  1443. }Else If (mameID = "x1turbo40") ; Sharp X1
  1444. { If StringUtils.Contains(romExtension,"\.bin|\.rom")
  1445. param1 := " -cart """ . romPath . "\" . romName . romExtension . """"
  1446. Else If StringUtils.Contains(romExtension,"\.wav|\.tap")
  1447. param1 := " -cass """ . romPath . "\" . romName . romExtension . """"
  1448. Else
  1449. param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
  1450. }Else If (mameID = "pc8801") ; NEC PC-8801
  1451. { If (romExtension = ".d88")
  1452. param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
  1453. }Else If (mameID = "fmnew7") ; Fujitsu FM-7
  1454. { If StringUtils.Contains(romExtension,"\.fdi|\.td0|\.imd|\.cqm|\.dsk|\.d77|\.d88|\.1dd")
  1455. param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
  1456. Else If StringUtils.Contains(romExtension,"\.wav|\.t77")
  1457. param1 := " -cass """ . romPath . "\" . romName . romExtension . """"
  1458. }Else If (mameID = "apple2ep") ; Apple II
  1459. { If StringUtils.Contains(romExtension,"\.dsk|\.do|\.po|\.rti|\.edd|\.d77|\.d88|\.1dd|\.dfi|\.imd|\.i pf|\.mfi|\.mfm|\.td0|\.cqm|\.cqi")
  1460. param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
  1461. Else If StringUtils.Contains(romExtension,"\.wav")
  1462. param1 := " -cass """ . romPath . "\" . romName . romExtension . """"
  1463. }Else If (mameID = "n64dd") ; Nintendo 64DD
  1464. {
  1465. N64RomFile := new FIle(romPath . "\" . romName . ".n64")
  1466. If N64RomFile.Exist()
  1467. param1 := " -cart """ . N64RomFile.FileFullPath . """ -quik """ . romPath . "\" . romName . romExtension . """"
  1468. Else
  1469. param1 := " -quik """ . romPath . "\" . romName . romExtension . """"
  1470. }Else If StringUtils.Contains(mameID,"studio2|mpt02") ; RCA Studio 2
  1471. {
  1472. If (romExtension != ".txt")
  1473. param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"
  1474. Else {
  1475. If StringUtils.Contains(romName,"Doodle")
  1476. button2 := "A 1" ; Press 1 on P1 controller
  1477. If StringUtils.Contains(romName,"Patterns")
  1478. button2 := "A 2" ; Press 2 on P1 controller
  1479. If StringUtils.Contains(romName,"Bowling")
  1480. button2 := "A 3" ; Press 3 on P1 controller
  1481. If StringUtils.Contains(romName,"Freeway")
  1482. button2 := "A 4" ; Press 4 on P1 controller
  1483. If StringUtils.Contains(romName,"Addition")
  1484. button2 := "A 5" ; Press 5 on P1 controller
  1485. }
  1486.  
  1487. ; Generate a lua script to press the Clear button so games will start
  1488. ScriptFileName := GeneratePressButtonScript("Clear",button2)
  1489. bootscript := " -script """ . ScriptFileName . """ -autoboot_delay 1"
  1490. }Else If (mameID = "fmtowns" || mameID = "fmtmarty") ; Fujitsu FM Towns
  1491. {
  1492. If StringUtils.Contains(romExtension,"\.chd|\.cue")
  1493. mediaDeviceType := "cdrm"
  1494. Else
  1495. mediaDeviceType := "flop1"
  1496.  
  1497. param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """"
  1498. }
  1499. } Else { ; Use Software List
  1500. hashname := mameID
  1501. param1 := " """ . romName . """" ; param1 used for launching from software lists
  1502.  
  1503. If (mameID = "aes") ; SNK Neo Geo AES
  1504. { hashname := "neogeo"
  1505. biosRegion := moduleIni.Read(romName, "BIOS_Region","asia",,1)
  1506. param2 := " -bios " . biosRegion ; can also be japan, but the asian one has english menus for most games
  1507. }
  1508. CheckFile(emuPath . "\hash\" . hashname . ".xml","Could not find a software list for the system " . mameID) ;Check if software list for selected system exists
  1509. }
  1510.  
  1511. If (mameID = "vectrex") { ; GCE Vectrex
  1512. VectrexArtFile := new File(emuPath . "\artwork\Vectrex\" . romName . ".png")
  1513. param2 := " -view " . (If VectrexArtFile.Exist() ? ("""" . romName . """") : "standard") ; need overlays extracted in the artwork\vectres folder. PNGs must match romName
  1514. }
  1515.  
  1516. sysStaticParams := If sysStaticParams != "" ? A_Space . sysStaticParams : "" ; tacking on a space in case user forgot to add one
  1517. romParams := If romParams != "" ? A_Space . romParams : "" ; tacking on a space in case user forgot to add one
  1518.  
  1519. mameRomPaths := StringUtils.Replace(romPathFromIni,"|",`"`;`",1) ; replace all instances of | to ; in the Rom_Path from RL's Emulators.ini so MAME knows where to find your roms
  1520. mameRomPaths := " -rompath """ . (If mameRomName ? romPath : mameRomPaths) . (If mameBiosPath ? ";" . mameBiosPath : "") . """" ; If using an alt rom, only supply mame with the path to that rom so it doesn't try to use the original rom. If a bios path was supplied, add it into the rom paths sent to MAME
  1521.  
  1522. If StringUtils.InStr(romParams,"-rompath")
  1523. ScriptError("""-rompath"" is defined as a parameter for " . romName . ". The MAME module fills this automatically so please remove this from Params in the module's settings.")
  1524. If StringUtils.InStr(sysStaticParams,"-rompath")
  1525. ScriptError("""-rompath"" is defined as a parameter for " . mameSystem . ". The MAME module fills this automatically so please remove this from Params in the module's settings.")
  1526.  
  1527. ; use a custom rom name, not the one from the db
  1528. If mameRomName {
  1529. MameRomOriginalFile := new File(romPath . "\" . romName . romExtension)
  1530. MameRomCustomFile := new File(romPath . "\" . mameRomName . romExtension)
  1531. errLvl := MameRomOriginalFile.Move(MameRomCustomFile.FileFullPath) ; rename rom to match what mame needs
  1532. originalRomName := romName ; store romName from database so we know what to rename it back to later
  1533. romName := mameRomName
  1534. If errLvl
  1535. ScriptError("There was a problem renaming " . romName . " to " . mameRomName . " in " . romPath . ". Please check you have write permission to this folder/file and you don't already have a file named """ . mameRomName . """ in your rom folder.",8)
  1536. Else ; if rename was successful, set var so we know to move it back later
  1537. fileRenamed := 1
  1538. }
  1539.  
  1540. ; use a custom cfg file if it exists and append it to param1
  1541. CustomCFGPath := new Folder(emuPath . "\cfg\" . mameID . "\" . dbName)
  1542. If CustomCFGPath.Exist()
  1543. param1 := " -cfg_directory """ . CustomCFGPath.FileFullPath . """" . param1
  1544.  
  1545. If (bilinearFilter = "true")
  1546. bilinearEnabled := " -filter"
  1547. Else
  1548. bilinearEnabled := " -nofilter"
  1549.  
  1550. If (cheatMode = "true") {
  1551. CheatZipFile := new File(emuPath . "\cheat.zip")
  1552. Cheat7zFile := new File(emuPath . "\cheat.7z")
  1553. If (!CheatZipFile.Exist() && !Cheat7zFile.Exist())
  1554. RLLog.Warning("Module - You have cheats enabled for " . MEmu . " but could not locate a ""cheat.zip"" or ""cheat.7z"" in " . emuPath)
  1555. Else {
  1556. RLLog.Info("Module - Cheat file found in " . emuPath)
  1557. If cheatModeKey ; if user wants to use a key to enable CheatMode
  1558. cheatEnabled := If XHotkeyAllKeysPressed(cheatModeKey) ? " -cheat" : "" ; only enables cheatMode when key is held down on launch
  1559. Else ; no cheat mode key defined
  1560. cheatEnabled := " -cheat"
  1561. }
  1562. }
  1563.  
  1564. If (RequiresReset = "true")
  1565. { ; Generate a lua script to send a system soft reset
  1566. ScriptFileName := GenerateSoftResetScript()
  1567. bootscript := " -script """ . ScriptFileName . """ -autoboot_delay 1"
  1568. }
  1569.  
  1570. HideAppStart(hideEmuObj,hideEmu)
  1571.  
  1572.  
  1573.  
  1574. If (legacyMode = "true")
  1575. { RLLog.Info("Module - Running MAME in legacy Mode")
  1576. errLvl := primaryExe.Run(" " . (If mameID = "MAME" ? romName : mameID . param1 . param2 . param3 . param4 . param5 . param6) . fullscreenParam . cheatEnabled . volume . mameRomPaths . sysStaticParams . romParams, winstate,,,,1) ; wrap quotes around exe
  1577. } Else {
  1578. RLLog.Info("Module - Running MAME in non-legacy mode")
  1579. ; If (networkPlayers = 1 || !linkEnabledGame) {
  1580. If !networkSession {
  1581. RLLog.Info("Module - SinglePlayer session")
  1582. errLvl := primaryExe.Run(" " . (If mameID = "MAME" ? romName : mameID . param1 . param2 . param3 . param4 . param5 . param6 ) . ctrlrFile . mameRomPaths . sysStaticParams . romParams . fullscreenParam . hlsl . glsl . cheatEnabled . volume . inipath . hashpath . verticalRotationMode . videomode . artworkCrop . useBezels . useOverlays . useBackdrops . useCpanels . useMarquees . autosave . bootscript . bilinearEnabled . " -skip_gameinfo", winstate,,,,1) ; wrap quotes around exe
  1583. } Else { ; multiplayer game run
  1584. RLLog.Info("Module - Network/MultiPlayer session")
  1585. BuildNVRAMObject() ; build nvram object
  1586. ;screen positions
  1587. screenPos := []
  1588. screenPos := SplitScreenPos(networkPlayers,splitScreen2PlayersMode,splitScreen3PlayersMode,maxPlayersPerMonitor)
  1589. If (networkType="localLink")
  1590. globalInputs := " -global_inputs" ; tell mame to accept inputs when its window is not focused
  1591. Loop % networkPlayers
  1592. {
  1593. currentPlayer := A_Index
  1594. ; Update NVRAM setting(s)
  1595. If (enableNVRAMAutomation = "true") {
  1596. If nvramSettings[romName]["Settings"]["Credit"]["Position"].MaxIndex() { ; If nvram settings exist for this game
  1597. NVRamFile%currentPlayer% := new File(emuPath . "\nvram" . (If currentPlayer = 1 ? "" : currentPlayer) . "\" . romName . "\" . nvramSettings[romName]["Settings"]["NVRAM"]["File"][1])
  1598. If NVRamFile%currentPlayer%.Exist() {
  1599. RLLog.Info("Module - Checking nvram file(s) for required changes")
  1600. If (networkType = "localLink") { ; only local link is supported for now
  1601. ; Parse through each setting of each player and lookup the position to write new setting to the nvram file
  1602. for playerOptionLabel, selectedPlayerOption in nvramSettings[romName]["Player"][currentPlayer] ;looping on each player selected options
  1603. for index, setting in nvramSettings[romName]["Settings"][playerOptionLabel]["Position"] ;Looping through hex values of the current option
  1604. HexCompareWrite(NVRamFile%currentPlayer%.FileFullPath,nvramSettings[romName]["Settings"][playerOptionLabel]["Position"][index],nvramSettings[romName]["Settings"][playerOptionLabel]["Option"][selectedPlayerOption][index])
  1605. for index, playerCRC in nvramSettings[romName]["CRC"]["Player"][currentPlayer] ;looping on each player selected options
  1606. HexCompareWrite(NVRamFile%currentPlayer%.FileFullPath,nvramSettings[romName]["Settings"]["CRC"]["Position"][index],nvramSettings[romName]["CRC"]["Player"][currentPlayer][index])
  1607. } Else If (networkType = "Server") {
  1608. RLLog.Info("Module - Converting this nvram to ""Master"" in: " . NVRamFile%currentPlayer%.FileFullPath)
  1609. ; RLLog.Info("Module - NVRAM automation for ""Server"" not supported at this time") ; only idea to get this to work is to duplicate nvram edit code from local link here but only set player 1
  1610. HexCompareWrite(NVRamFile%currentPlayer%.FileFullPath,nvramSettings[romName]["Settings"]["Link"]["Position"][1],nvramSettings[romName]["Settings"]["Link"]["Option"]["Master"][1])
  1611. } Else If (networkType = "Client") {
  1612. RLLog.Info("Module - Converting this nvram to ""Slave"" in: " . NVRamFile%currentPlayer%.FileFullPath)
  1613. ; RLLog.Info("Module - NVRAM automation for ""Client"" not supported at this time") ; only idea to get this to work is to duplicate nvram edit code from local link here but only set player 2
  1614. HexCompareWrite(NVRamFile%currentPlayer%.FileFullPath,nvramSettings[romName]["Settings"]["Link"]["Position"][1],nvramSettings[romName]["Settings"]["Link"]["Option"]["Slave"][1])
  1615. }
  1616. } Else
  1617. RLLog.Info("Module - Did not find an NVRAM file to update for player " . currentPlayer . " (Ignore this if this is the first time you are launching this rom): " . NVRamFile%currentPlayer%.FileFullPath)
  1618. } Else
  1619. RLLog.Info("Module - This rom does not contain an entry in the NVRAM object")
  1620. }
  1621. ;;Run Line for each of the multiplayer MAME instances using the nvramPath and cfgPath variables to the extra mames
  1622. MameMultiPlayer%currentPlayer%Exe := new Process(emuPath . "\" . executable) ; instantiate a new process for each player
  1623. errLvl := MameMultiPlayer%currentPlayer%Exe.Run(" " . (If mameID = "MAME" ? romName : mameID . param1 . param2 . param3 . param4 . param5 . param6) . ctrlrFile . mameRomPaths . multiPlayerObj[currentPlayer]["CfgDir"] . multiPlayerObj[currentPlayer]["NvramDir"] . globalInputs . multiPlayerObj[currentPlayer]["LocalHost"] . multiPlayerObj[currentPlayer]["LocalPort"] . multiPlayerObj[currentPlayer]["RemoteHost"] . multiPlayerObj[currentPlayer]["RemotePort"] . sysStaticParams . romParams . fullscreenParam . hlsl . glsl . cheatEnabled . volume . inipath . hashpath . verticalRotationMode . videomode . artworkCrop . useBezels . useOverlays . useBackdrops . useCpanels . useMarquees . autosave . bootscript . bilinearEnabled . " -skip_gameinfo", winstate,,,,1) ; wrap quotes around exe
  1624. MameMultiPlayer%currentPlayer%Exe.Process("Exist") ; get PID
  1625. MameMultiPlayer%currentPlayer%Window := new Window(new WindowTitle(,,,,MameMultiPlayer%currentPlayer%Exe.PID))
  1626. MameMultiPlayer%currentPlayer%Window.ExcludeTitle := "MAMEOutput" ; ignore the mame debug window
  1627. MameMultiPlayer%currentPlayer%Window.Wait()
  1628. }
  1629.  
  1630. Loop % networkPlayers
  1631. {
  1632. MameMultiPlayer%A_Index%Window.Get("ID")
  1633. MameMultiPlayer%A_Index%Window.RemoveTitlebar()
  1634. MameMultiPlayer%A_Index%Window.ToggleMenu()
  1635. MameMultiPlayer%A_Index%Window.RemoveBorder()
  1636. MameMultiPlayer%A_Index%Window.Move(screenPos[A_Index].X, screenPos[A_Index].Y, screenPos[A_Index].W, screenPos[A_Index].H)
  1637. TimerUtils.Sleep(50)
  1638. }
  1639. }
  1640. }
  1641.  
  1642. If errLvl {
  1643. If (errLvl = 1)
  1644. Error := "Failed Validity"
  1645. Else If(errLvl = 2)
  1646. Error := "Missing Files"
  1647. Else If(errLvl = 3)
  1648. Error := "Fatal Error"
  1649. Else If(errLvl = 4)
  1650. Error := "Device Error"
  1651. Else If(errLvl = 5)
  1652. Error := "Game Does Not Exist"
  1653. Else If(errLvl = 6)
  1654. Error := "Invalid Config"
  1655. Else If StringUtils.Contains(errLvl,"7|8|9")
  1656. Error := "Identification Error"
  1657. Else
  1658. Error := "MAME Error"
  1659. RLLog.Error("MAME Error - " . Error)
  1660. }
  1661.  
  1662. emuPrimaryWindow.Wait()
  1663. emuPrimaryWindow.WaitActive()
  1664.  
  1665. If (mameID = "ti99_4a") ; Texas Instruments TI 99-4A
  1666. {
  1667. KeyUtils.SendCommand("X",1000) ; To bypass the first screen
  1668. If (Command)
  1669. KeyUtils.SendCommand(Command,,,,,,CommandWaitOffset) ; Send command affect it with an offset if needed
  1670. }
  1671.  
  1672. ; Close the debugger window if exists
  1673. If (closeDebugWindow = "true") {
  1674. emuDebugWindow.Wait(2)
  1675. emuDebugWindow.Close()
  1676. }
  1677.  
  1678. BezelDraw()
  1679. HideAppEnd(hideEmuObj,hideEmu)
  1680.  
  1681. If (networkPlayers = 1 || !linkEnabledGame) {
  1682. emuPrimaryWindow.Show() ; Show the emulator
  1683. } Else {
  1684. Loop % networkPlayers
  1685. MameMultiPlayer%A_Index%Window.Show() ; Show the emulator
  1686. MameMultiPlayer1Window.Activate() ; Activate first player window so that first player can use keyboard instead of last player
  1687. }
  1688.  
  1689. FadeInExit()
  1690. primaryExe.Process("WaitClose")
  1691. 7zCleanUp()
  1692. BezelExit()
  1693.  
  1694. If fileRenamed { ; Rename file back to alternate name for next launch
  1695. errLvl := MameRomCustomFile.Move(MameRomOriginalFile.FileFullPath) ; Put original name back
  1696. If errLvl ; If rename was successful, set var so we know to move it back later
  1697. ScriptError("There was a problem renaming " . MameRomCustomFile.FileName . " back to " . MameRomOriginalFile.FileName)
  1698. }
  1699.  
  1700. FadeOutExit()
  1701. ExitModule()
  1702.  
  1703.  
  1704. ListXMLInfo(rom){ ; Returns MAME info about parent rom, orientation angle, resolution
  1705. Global emuFullPath,emuPath,RLLog
  1706. ListXMLObject := Object()
  1707. listXMLVarLog := ""
  1708. ComSpecProcess := new Process(ComSpec) ; instantiate cmd.exe process
  1709. ComSpecProcess.RunDirect(comspec . " /c " . """" . emuFullPath . """" . " -listxml " . rom . " > tempBezel.txt", emuPath, "Hide", 1) ; Run from emu's folder
  1710. TempBezelFile := new File(emuPath . "\tempBezel.txt")
  1711. TempBezelFile.Read()
  1712. StringUtils.RegExMatch(TempBezelFile.Text, "s)<(machine|game).*name=" . """" . rom . """" . ".*" . "cloneof=" . """" . "[^""""]*", parent)
  1713. StringUtils.RegExMatch(parent,"cloneof=" . """" . ".*", parent)
  1714. StringUtils.RegExMatch(parent,"""" . ".*", parent)
  1715. parent := StringUtils.TrimLeft(parent, 1)
  1716. StringUtils.RegExMatch(TempBezelFile.Text, "s)<display.*rotate=" . """" . "[0-9]+" . """", angle)
  1717. StringUtils.RegExMatch(angle,"[0-9]+", angle, "-6")
  1718. StringUtils.RegExMatch(TempBezelFile.Text, "s)<display.*width=" . """" . "[0-9]+" . """", width)
  1719. StringUtils.RegExMatch(width,"[0-9]+", width, "-6")
  1720. StringUtils.RegExMatch(TempBezelFile.Text, "s)<display.*height=" . """" . "[0-9]+" . """", Height)
  1721. StringUtils.RegExMatch(Height,"[0-9]+", Height, "-6")
  1722. StringUtils.RegExMatch(TempBezelFile.Text, "s)<control.*ways=" . """" . "[0-9]+" . """", Ways)
  1723. StringUtils.RegExMatch(Ways,"[0-9]+", Ways, "-6")
  1724. logVars := "Parent|Angle|Height|Width|Ways"
  1725. Loop, Parse, logVars, |
  1726. {
  1727. currentobj := {}
  1728. currentobj.Label := A_Loopfield
  1729. currentobj.Value := %A_Loopfield%
  1730. ListXMLObject.Insert(currentobj["Label"], currentobj)
  1731. listXMLLog .= "`r`n`t`t`t`t`t" . currentobj["Label"] . " = " . currentobj["Value"]
  1732. }
  1733. RLLog.Info("Module - MAME ListXML values: " . listXMLLog)
  1734. If (ListXMLObject["Height"].Value > ListXMLObject["Width"].Value) {
  1735. ListXMLObject["Angle"].Value := true
  1736. RLLog.Info("Module - This game's height is greater than its width, forcing vertical mode")
  1737. }
  1738. TempBezelFile.Delete()
  1739. Return ListXMLObject
  1740. }
  1741.  
  1742. GenerateSoftResetScript(){ ; Generates a lua script to send a soft reset to MAME
  1743. Global emuPath
  1744.  
  1745. SoftScriptFile := new File(emuPath . "\soft_reset.lua")
  1746. ScriptFileName := emuPath . "\soft_reset.lua"
  1747. SoftScriptFile.Delete()
  1748.  
  1749. AppendTxt :="
  1750. (
  1751. -- This script will reset the machine
  1752. local function reset_machine()
  1753. if resetcounter == nil then
  1754. manager:machine():soft_reset();
  1755. resetcounter = 1;
  1756. end
  1757. end
  1758. if resetcounter == nil then
  1759. emu.wait(1);
  1760. reset_machine();
  1761. end
  1762. )"
  1763. SoftScriptFile.Append(AppendTxt)
  1764. Return SoftScriptFile.FileFullPath
  1765. }
  1766.  
  1767. GeneratePressButtonScript(button1,button2=""){ ; Generates a lua script to send a soft reset to MAME
  1768. Global emuPath
  1769.  
  1770. PressScriptFile := new File(emuPath . "\press_button.lua")
  1771. PressScriptFile.Delete()
  1772. If (button2) {
  1773. button2str := "`n`t`temu.wait(1);`n`t`tioport[""" . button2 . """]:write(1);`n`t`temu.wait(1);`n`t`tioport[""" . button2 . """]:write(0);"
  1774. }
  1775.  
  1776. AppendTxt :="
  1777. (
  1778. local function press_button()
  1779. if resetcounter == nil then
  1780. ioport[""" . button1 . """]:write(1);
  1781. emu.wait(1);
  1782. ioport[""" . button1 . """]:write(0);
  1783. resetcounter = 1;" . button2str . "
  1784. end
  1785. end
  1786. if resetcounter == nil then
  1787. emu.wait(1);
  1788. press_button();
  1789. end
  1790. )"
  1791. PressScriptFile.Append(AppendTxt)
  1792. Return PressScriptFile.FileFullPath
  1793. }
  1794.  
  1795. BuildNVRAMObject() {
  1796. Global nvramSettings,RLLog
  1797. RLLog.Info("BuildNVRAMObject - Started")
  1798.  
  1799. nvramSettings := {}
  1800.  
  1801. nvramSettings["vr"] := {}
  1802. nvramSettings["vr"]["Settings"] := {"BiosCounter":{"Position":["248"], "Option":{0:["00"], 1:["01"], 2:["02"], 3:["03"]}}, "Cabinet":{"Position":["52"], "Option":{"Special":["00"], "Standard":["01"], "Upright":["02"], "2PLink":["03"]}}, "Color":{"Position":["68"], "Option":{"Red":["00"], "Blue":["01"], "Yellow":["02"], "Green":["03"], "Black":["04"], "Pink":["05"], "SkyBlue":["06"], "Orange":["07"]}}, "Country":{"Position":["54"], "Option":{"Japan":["00"], "USA":["01"], "Export":["02"]}}, "Course":{"Position":["66"], "Option":{"Vote":["00"], "Beginner":["01"], "Middle":["02"], "Expert":["03"]}}, "CRC":{"Position":["16","18"]}, "Credit":{"Position":["32","40"], "Option":{"1":["00","00"], "Freeplay":["1A","01"]}}, "Difficulty":{"Position":["64"], "Option":{"Easy":["00"], "Normal":["01"], "Hard":["02"], "Hardest":["03"]}}, "Link":{"Position":["24"], "Option":{"None":["00"], "Master":["01"], "Slave":["02"], "Live":["03"]}}, "Monitor":{"Position":["22"], "Option":{"Standard":["00"], "Wide":["01"]}}, "NVRAM":{"File":["nvram"]}, "Race":{"Position":["70"], "Option":{"Normal":["00"], "Grandprix":["01"]}}, "StartCoin":{"Position":["42"], "Option":{1:["01"], 2:["02"], 3:["03"], 4:["04"], 5:["05"]}}}
  1803.  
  1804. nvramSettings["vr"]["Player"] := {}
  1805. nvramSettings["vr"]["Player"].Insert(1, {"BiosCounter":"3", "Cabinet":"Standard", "Color":"Red", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Master", "Monitor":"Wide", "Race":"Normal", "StartCoin":"1"})
  1806. nvramSettings["vr"]["Player"].Insert(2, {"BiosCounter":"3", "Cabinet":"Standard", "Color":"Blue", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Monitor":"Wide", "Race":"Normal", "StartCoin":"1"})
  1807. nvramSettings["vr"]["Player"].Insert(3, {"BiosCounter":"3", "Cabinet":"Standard", "Color":"Yellow", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Monitor":"Wide", "Race":"Normal", "StartCoin":"1"})
  1808. nvramSettings["vr"]["Player"].Insert(4, {"BiosCounter":"3", "Cabinet":"Standard", "Color":"Green", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Monitor":"Wide", "Race":"Normal", "StartCoin":"1"})
  1809. nvramSettings["vr"]["Player"].Insert(5, {"BiosCounter":"3", "Cabinet":"Standard", "Color":"Black", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Monitor":"Wide", "Race":"Normal", "StartCoin":"1"})
  1810. nvramSettings["vr"]["Player"].Insert(6, {"BiosCounter":"3", "Cabinet":"Standard", "Color":"Pink", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Monitor":"Wide", "Race":"Normal", "StartCoin":"1"})
  1811. nvramSettings["vr"]["Player"].Insert(7, {"BiosCounter":"3", "Cabinet":"Standard", "Color":"SkyBlue", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Monitor":"Wide", "Race":"Normal", "StartCoin":"1"})
  1812. nvramSettings["vr"]["Player"].Insert(8, {"BiosCounter":"3", "Cabinet":"Standard", "Color":"Orange", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Monitor":"Wide", "Race":"Normal", "StartCoin":"1"})
  1813. nvramSettings["vr"]["CRC"] := {"Player":{1:["06","21"], 2:["3C","C7"], 3:["0E","5F"], 4:["FF","D8"], 5:["4B","7F"], 6:["BA","F8"], 7:["88","60"], 8:["79","E7"]}}
  1814.  
  1815. nvramSettings["vformula"] := {}
  1816. nvramSettings["vformula"]["Settings"] := {"BiosCounter":{"Position":["248"], "Option":{0:["00"], 1:["01"], 2:["02"], 3:["03"]}}, "Color":{"Position":["68"], "Option":{"Red":["00"], "Blue":["01"], "Yellow":["02"], "Green":["03"], "Black":["04"], "Pink":["05"], "SkyBlue":["06"], "Orange":["07"]}}, "Country":{"Position":["54"], "Option":{"Japan":["00"], "USA":["01"], "Export":["02"]}}, "Course":{"Position":["66"], "Option":{"Vote":["00"], "Beginner":["01"], "Middle":["02"], "Expert":["03"]}}, "CRC":{"Position":["16","18"]}, "Credit":{"Position":["32","40"], "Option":{"1":["00","00"], "Freeplay":["1A","01"]}}, "Difficulty":{"Position":["64"], "Option":{"Easy":["00"], "Normal":["01"], "Hard":["02"], "Hardest":["03"]}}, "Link":{"Position":["24"], "Option":{"None":["00"], "Master":["01"], "Slave":["02"], "Live":["03"]}}, "NVRAM":{"File":["nvram"]}, "Race":{"Position":["70"], "Option":{"Normal":["00"], "Grandprix":["01"]}}, "Sound":{"Position":["22"], "Option":{"On":["00"], "Off":["01"]}}, "StartCoin":{"Position":["42"], "Option":{1:["01"], 2:["02"], 3:["03"], 4:["04"], 5:["05"]}}}
  1817.  
  1818. nvramSettings["vformula"]["Player"] := {}
  1819. nvramSettings["vformula"]["Player"].Insert(1, {"BiosCounter":"1", "Color":"Red", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Master", "Race":"Normal", "Sound":"On", "StartCoin":"1"})
  1820. nvramSettings["vformula"]["Player"].Insert(2, {"BiosCounter":"1", "Color":"Blue", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Race":"Normal", "Sound":"On", "StartCoin":"1"})
  1821. nvramSettings["vformula"]["Player"].Insert(3, {"BiosCounter":"1", "Color":"Yellow", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Race":"Normal", "Sound":"On", "StartCoin":"1"})
  1822. nvramSettings["vformula"]["Player"].Insert(4, {"BiosCounter":"1", "Color":"Green", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Race":"Normal", "Sound":"On", "StartCoin":"1"})
  1823. nvramSettings["vformula"]["Player"].Insert(5, {"BiosCounter":"1", "Color":"Black", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Race":"Normal", "Sound":"On", "StartCoin":"1"})
  1824. nvramSettings["vformula"]["Player"].Insert(6, {"BiosCounter":"1", "Color":"Pink", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Race":"Normal", "Sound":"On", "StartCoin":"1"})
  1825. nvramSettings["vformula"]["Player"].Insert(7, {"BiosCounter":"1", "Color":"SkyBlue", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Race":"Normal", "Sound":"On", "StartCoin":"1"})
  1826. nvramSettings["vformula"]["Player"].Insert(8, {"BiosCounter":"1", "Color":"Orange", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Race":"Normal", "Sound":"On", "StartCoin":"1"})
  1827. nvramSettings["vformula"]["CRC"] := {"Player":{1:["F2","EB"], 2:["C8","0D"], 3:["FA","95"], 4:["0B","12"], 5:["BF","B5"], 6:["4E","32"], 7:["7C","AA"], 8:["8D","2D"]}}
  1828.  
  1829. RLLog.Info("BuildNVRAMObject - Ended")
  1830. }
  1831.  
  1832. BezelLabel:
  1833. emuConsoleWindow.Set("Transparent",0)
  1834. Return
  1835.  
  1836. HaltEmu:
  1837. If (pauseMethod = 1)
  1838. { disableSuspendEmu := "true"
  1839. disableRestoreEmu := "true"
  1840. emuPrimaryWindow.PostMessage("0x211",1)
  1841. } Else If (pauseMethod = 2)
  1842. { disableSuspendEmu := "true"
  1843. emuPrimaryWindow.PostMessage("0x211",1)
  1844. } Else If (pauseMethod = 3)
  1845. { disableSuspendEmu := "true"
  1846. disableRestoreEmu := "true"
  1847. emuPrimaryWindow.PostMessage(0x0400+6,1)
  1848. } Else If (pauseMethod = 4)
  1849. { disableSuspendEmu := "true"
  1850. emuPrimaryWindow.PostMessage(0x0400+6,1)
  1851. } Else If (pauseMethod = 5)
  1852. { disableSuspendEmu := "true"
  1853. KeyUtils.Send("{P down}")
  1854. TimerUtils.Sleep(1000)
  1855. KeyUtils.Send("{P up} ")
  1856. }
  1857. Return
  1858. RestoreEmu:
  1859. If (pauseMethod = 1)
  1860. emuPrimaryWindow.PostMessage("0x212",1)
  1861. Else If (pauseMethod = 2)
  1862. emuPrimaryWindow.PostMessage("0x212",1)
  1863. Else If (pauseMethod = 3)
  1864. emuPrimaryWindow.PostMessage(0x0400+6,0)
  1865. Else If (pauseMethod = 4)
  1866. emuPrimaryWindow.PostMessage(0x0400+6,0)
  1867. Else If (pauseMethod = 5) {
  1868. disableSuspendEmu := "true"
  1869. KeyUtils.Send("{P down}")
  1870. TimerUtils.Sleep(1000)
  1871. KeyUtils.Send("{P up} ")
  1872. }
  1873. emuPrimaryWindow.Activate()
  1874. Return
  1875.  
  1876. CloseProcess:
  1877. FadeOutStart()
  1878. If (networkSession && networkPlayers > 1) {
  1879. Loop % networkPlayers {
  1880. MameMultiPlayer%A_Index%Window.Close()
  1881. MameMultiPlayer%A_Index%Window.WaitClose()
  1882. }
  1883. } Else
  1884. emuPrimaryWindow.Close()
  1885. Return
  1886.  
  1887. 01:09:40:035 | RL | INFO | +16 | BuildScript - Loaded Multi-Player scripts
  1888. 01:09:40:035 | RL | INFO | +0 | BuildScript - Loaded Statistics.ahk script
  1889. 01:09:40:035 | RL | INFO | +0 | BuildScript - "C:\RocketLauncher\Lib\User Functions\Global.ahk" not found
  1890. 01:09:40:035 | RL | INFO | +0 | BuildScript - "C:\RocketLauncher\Lib\User Functions\MAME.ahk" not found
  1891. 01:09:40:035 | RL | INFO | +0 | BuildScript - "C:\RocketLauncher\Lib\User Functions\Emulators\MAME.ahk" not found
  1892. 01:09:40:035 | RL | INFO | +0 | BuildScript - "C:\RocketLauncher\Lib\User Functions\MAME\Emulators\MAME.ahk" not found
  1893. 01:09:40:035 | RL | INFO | +0 | BuildScript - "C:\RocketLauncher\Lib\User Functions\MAME\kf2k3pcb.ahk" not found
  1894. 01:09:40:035 | RL | INFO | +0 | BuildScript - Finished injecting functions into module
  1895. 01:09:40:035 | RL | INFO | +0 | Main - Module is built
  1896. 01:09:40:035 | RL | INFO | +0 | CheckFile - Checking if C:\RocketLauncher\AutoHotkey.dll exists
  1897. 01:09:40:036 | RL | INFO | +0 | Main - Running module
  1898. 01:09:40:180 | MD | INFO | +N/A | Module initialized
  1899. 01:09:40:181 | MD | INFO | +0 | StartModule - Started
  1900. 01:09:40:181 | MD | INFO | +0 | StartModule - MEmu: MAME
  1901. MEmuV: v0.166
  1902. MURL: http://www.mame.net/
  1903. MAuthor: djvj|faahrev|brolly|Tomkun
  1904. MVersion: 2.3.10
  1905. MCRC: 2C606685
  1906. iCRC: 8566ED91
  1907. MID: 635746812784197028
  1908. MSystem: AAE|Aamber Pegasus|Acorn Electron|Amstrad CPC|Amstrad GX4000|APF Imagination Machine|Apple II|Apple IIGS|Applied Technology MicroBee|Arcade|Arcade Classics|Atari 8-Bit|Atari 2600|Atari 5200|Atari 7800|Atari Classics|Atari Jaguar|Atari Lynx|Bally Astrocade|Bandai Super Vision 8000|Bandai WonderSwan|Bandai WonderSwan Color|Bit Corporation Gamate|Camputers Lynx|Capcom|Capcom Classics|Capcom Play System|Capcom Play System II|Capcom Play System III|Casio PV-1000|Casio PV-2000|Cave|Coleco ADAM|ColecoVision|Commodore 64|Commodore MAX Machine|Creatronic Mega Duck|Data East Classics|EACA EG2000 Colour Genie|Emerson Arcadia 2001|Entex Adventure Vision|Epoch Game Pocket Computer|Epoch Super Cassette Vision|Exidy Sorcerer|Fairchild Channel F|Fujitsu FM-7|Fujitsu FM Towns|Fujitsu FM Towns Marty|Funtech Super Acan|GamePark 32|GCE Vectrex|Hartung Game Master|HBMAME|Interton VC 4000|Irem Classics|JungleTac Sport Vii|Jupiter Ace|Konami Classics|LaserDisc|Magnavox Odyssey 2|MAME|Matra & Hachette Alice|Mattel Aquarius|Mattel Intellivision|MGT Sam Coupe|Midway Classics|Milton Bradley MicroVision|Namco Classics|Namco System 22|NEC PC-8801|NEC PC Engine|NEC PC Engine-CD|NEC SuperGrafx|NEC TurboGrafx-16|NEC TurboGrafx-CD|Nintendo 64|Nintendo 64DD|Nintendo Arcade Systems|Nintendo Classics|Nintendo Entertainment System|Nintendo Famicom|Nintendo Famicom Disk System|Nintendo Game Boy|Nintendo Game Boy Advance|Nintendo Game Boy Color|Nintendo Pokemon Mini|Nintendo Satellaview|Nintendo Super Famicom|Nintendo Super Game Boy|Nintendo Virtual Boy|Othello Multivision|PacMAME|Philips CD-i|Philips VG 5000|Philips Videopac Plus G7400|RCA Studio II|Sega 32X|Sega CD|Sega Classics|Sega Game Gear|Sega Genesis|Sega Master System|Sega Mega Drive|Sega Model 1|Sega Pico|Sega Saturn|Sega SC-3000|Sega SG-1000|Sega ST-V|Sega VMU|Sharp X1|Sinclair ZX81|SNK Classics|SNK Neo Geo|SNK Neo Geo AES|SNK Neo Geo AES|SNK Neo Geo CD|SNK Neo Geo MVS|SNK Neo Geo Pocket|SNK Neo Geo Pocket Color|Sony PlayStation|Sony PocketStation|Sord M5|Soundic Victory MPT-02|Super Nintendo Entertainment System|Taito Classics|Tandy TRS-80 Color Computer|Texas Instruments TI 99-4A|Thomson MO5|Tiger Game.com|Tomy Tutor|VTech CreatiVision|VTech Socrates|Watara Supervision|Williams Classics
  1909. 01:09:40:181 | MD | INFO | +0 | StartModule - You have a supported System Name for this module: "MAME"
  1910. 01:09:40:181 | MD | INFO | +0 | LocaleUtils.i18n - Started
  1911. 01:09:40:181 | MD | INFO | +0 | LocaleUtils.i18n - Ended, using "Open" for "dialog.open"
  1912. 01:09:40:181 | MD | INFO | +0 | LocaleUtils.i18n - Started
  1913. 01:09:40:181 | MD | INFO | +0 | LocaleUtils.i18n - Ended, using "Start" for "dialog.start"
  1914. 01:09:40:181 | MD | INFO | +0 | PluginInit - Started
  1915. 01:09:40:181 | MD | INFO | +0 | BuildAssetsTable - Started - Building Table for: Game Logo
  1916. 01:09:40:181 | MD | INFO | +0 | BuildAssetsTable - Ended
  1917. 01:09:40:181 | MD | INFO | +0 | BuildAssetsTable - Started - Building Table for: Table|Backglass
  1918. 01:09:40:181 | MD | INFO | +0 | BuildAssetsTable - Ended
  1919. 01:09:40:181 | MD | INFO | +0 | BuildAssetsTable - Started - Building Table for: Table
  1920. 01:09:40:181 | MD | INFO | +0 | BuildAssetsTable - Ended
  1921. 01:09:40:181 | MD | INFO | +0 | BuildAssetsTable - Started - Building Table for: Front|Page 1|Page 2|Page 3|Page 4|Page 5|Page 6|Back
  1922. 01:09:40:181 | MD | INFO | +0 | BuildAssetsTable - Ended
  1923. 01:09:40:181 | MD | INFO | +0 | CheckFile - Checking if C:\Hyperspin\Databases\Future Pinball\Future Pinball.xml exists
  1924. 01:09:42:303 | MD | ERROR | +2125 | ScriptError - Cannot find C:\Hyperspin\Databases\Future Pinball\Future Pinball.xml
  1925. 01:09:42:303 | MD | INFO | +0 | ExitModule - Started
  1926. 01:09:42:303 | MD | INFO | +0 | UpdateStatistics - Starting Updating Statistics
  1927. 01:09:42:364 | MD | INFO | +62 | UpdateStatistics - Game section statistics updated.
  1928. 01:09:42:364 | MD | INFO | +0 | ExitModule - Ended
  1929. End of Module Logs
  1930. 01:09:42:457 | RL | INFO | +2422 | Main - Module ended, exiting RocketLauncher normally
  1931. 01:09:42:457 | RL | INFO | +0 | ExitScript - Started
  1932. 01:09:42:460 | RL | INFO | +0 | ExitScript - Restoring taskbar
  1933. 01:09:42:578 | RL | INFO | +109 | SystemCursor - Restoring mouse cursor
  1934. 01:09:42:586 | RL | INFO | +16 | ExitScript - Restored cursor
  1935. 01:09:42:586 | RL | INFO | +0 | ExitScript - Ended
  1936. [/code]
  1937.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement