Advertisement
Guest User

MAME loads very slowly through RocketLauncher

a guest
May 12th, 2018
563
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 165.09 KB | None | 0 0
  1. [code]
  2. 07:35:34:026 | RL | INFO | +N/A | Main - RocketLauncher v1.2.0.1 (www.rlauncher.com)
  3. 07:35:34:098 | RL | WARNING | +78 | Main - Logging level is debug or higher and will cause slowdowns to RocketLauncher's performance. When troubleshooting is finished, please lower logging level to restore proper performance.
  4. 07:35:34:350 | RL | DEBUG | +250 | Registry.Read - Reading from Registry : RootKey=HKEY_LOCAL_MACHINE, SubKey=System\CurrentControlSet\Control\Windows, ValueName=ErrorMode,RegistryVersion=32
  5. 07:35:34:391 | RL | DEBUG | +47 | Registry.Read - Registry Read finished, returning 0
  6. 07:35:34:430 | RL | INFO | +31 | Main - System Specs:
  7. RocketLauncher Dir: E:\RocketLauncher
  8. RocketLauncher is: 32-bit
  9. OS: Microsoft Windows 10 Home
  10. SKU: Windows 8
  11. Total Memory: 8129.43 MB
  12. Free Memory: 4124.02 MB
  13. Used Memory: 4005.410 MB
  14. SystemType: 64-bit
  15. Physical Processors: 1
  16. Logical Processors: 4
  17. GPU 1 Name: NVIDIA GeForce GTX 960
  18. GPU 1 RAM: -2048.00 MB
  19. GPU 1 Driver Version: 23.21.13.8813
  20. Sound 1 Device: Razer Kraken 7.1 V2
  21. Sound 1 Status: Enabled
  22. Sound 2 Device: NVIDIA High Definition Audio
  23. Sound 2 Status: Enabled
  24. Sound 3 Device: Realtek High Definition Audio
  25. Sound 3 Status: Enabled
  26. OS Language: English_United_States
  27. System Locale: en-CA
  28. Formats Locale: en-CA
  29. Windows UI Language: en-US
  30. Text Encoding: Windows-1252
  31. OS Admin Status: No
  32. RL Compatibility Flags:
  33. Latest .Net Version: v4.0.30319
  34. Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1040 work) [32bit] [60hz] [Landscape] (Primary)
  35. Current AHK Desktop Width: 1920
  36. Current AHK Desktop Height: 1080
  37. Monitor #1 DPI: 100
  38. ErrorMode: 0
  39. AutoHotkey Path: C:\Program Files\AutoHotkey\AutoHotkey.exe
  40. AHK Version: 1.1.13.00
  41. Unicode: No
  42. 07:35:34:432 | RL | INFO | +0 | CheckFile - Checking if E:\RocketLauncher\RocketLauncher.exe exists
  43. 07:35:34:437 | RL | DEBUG | +16 | CheckFile - Attributes:
  44. FileDescription RocketLauncher
  45. FileVersion 1.2.0.1
  46. LegalCopyright ©2016 RocketLauncher
  47. ProductName djvj's one swell guy!
  48. ProductVersion 1.2.0.1
  49. CompanyName Your favorite Front End companion! Visit us @ www.rlauncher.com
  50. File Size: 2195456 bytes
  51. Created: 5/6/2018 - 4:29:37 PM
  52. Modified: 5/6/2018 - 4:29:39 PM
  53. 07:35:34:438 | RL | INFO | +0 | Main - Raw CLI received: "-s MAME -r 10yard -f E:\HyperSpin\HyperSpin.exe -p HyperSpin -c 1 -o 1"
  54. 07:35:34:442 | RL | TRACE | +0 | File.__New - Creating new file object of: "E:\RocketLauncher\Module Extensions\RocketLauncher.dll"
  55. 07:35:34:446 | RL | INFO | +0 | File.CheckFile - Checking if "E:\RocketLauncher\Module Extensions\RocketLauncher.dll" exists
  56. 07:35:34:447 | RL | TRACE | +0 | File.Exist - This file exists: E:\RocketLauncher\Module Extensions\RocketLauncher.dll
  57. 07:35:34:449 | RL | DEBUG | +0 | File.CheckFile - Attributes:
  58. FileDescription RocketLauncher Utils
  59. FileVersion 1.1.0.0
  60. InternalName RocketLauncher.dll
  61. LegalCopyright Copyright © RocketLauncher 2013-2016
  62. OriginalFilename RocketLauncher.dll
  63. ProductName RocketLauncher
  64. ProductVersion 1.1.0.0
  65. File Size: 81408 bytes
  66. Created: 5/6/2018 - 4:29:47 PM
  67. Modified: 5/6/2018 - 4:29:47 PM
  68. 07:35:34:456 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Extension: E:\RocketLauncher\Module Extensions\Array.ahk
  69. 07:35:34:458 | RL | DEBUG | +0 | CheckFile - Attributes:
  70. File Size: 4926 bytes
  71. Created: 5/6/2018 - 4:29:48 PM
  72. Modified: 5/6/2018 - 4:29:48 PM
  73. 07:35:34:463 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Module Extensions\BinHexRW.ahk
  74. 07:35:34:464 | RL | DEBUG | +0 | CheckFile - Attributes:
  75. File Size: 5112 bytes
  76. Created: 5/6/2018 - 4:23:26 PM
  77. Modified: 10/10/2016 - 2:25:10 AM
  78. 07:35:34:465 | RL | INFO | +0 | CheckFile - Checking if E:\RocketLauncher\Module Extensions\BlockInput.exe exists
  79. 07:35:34:469 | RL | DEBUG | +16 | CheckFile - Attributes:
  80. FileDescription
  81. FileVersion 1.1.09.04
  82. InternalName
  83. OriginalFilename
  84. ProductName
  85. ProductVersion 1.1.09.04
  86. File Size: 657920 bytes
  87. Created: 5/6/2018 - 4:23:26 PM
  88. Modified: 3/5/2016 - 1:03:57 AM
  89. 07:35:34:474 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Extension: E:\RocketLauncher\Module Extensions\CLR_L.ahk | vInterop
  90. 07:35:34:475 | RL | DEBUG | +0 | CheckFile - Attributes:
  91. File Size: 5503 bytes
  92. Created: 5/6/2018 - 4:29:40 PM
  93. Modified: 5/6/2018 - 4:29:40 PM
  94. 07:35:34:480 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Extension: E:\RocketLauncher\Module Extensions\Control_AniGif.ahk | vAniGif.ahk
  95. 07:35:34:482 | RL | DEBUG | +0 | CheckFile - Attributes:
  96. File Size: 5716 bytes
  97. Created: 5/6/2018 - 4:23:26 PM
  98. Modified: 3/5/2016 - 1:03:57 AM
  99. 07:35:34:488 | RL | ERROR | +16 | CRC Check - No CRC defined on the header for: E:\RocketLauncher\Module Extensions\gdip.ahk
  100. 07:35:34:489 | RL | DEBUG | +0 | CheckFile - Attributes:
  101. File Size: 88789 bytes
  102. Created: 5/6/2018 - 4:23:26 PM
  103. Modified: 3/5/2016 - 1:03:57 AM
  104. 07:35:34:494 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Module Extensions\gdip_alt.ahk
  105. 07:35:34:495 | RL | DEBUG | +0 | CheckFile - Attributes:
  106. File Size: 5955 bytes
  107. Created: 5/6/2018 - 4:23:26 PM
  108. Modified: 10/10/2016 - 2:25:23 AM
  109. 07:35:34:496 | RL | INFO | +0 | CheckFile - Checking if E:\RocketLauncher\Module Extensions\gsdll32.dll exists
  110. 07:35:34:500 | RL | DEBUG | +15 | CheckFile - Attributes:
  111. File Size: 13090816 bytes
  112. Created: 5/6/2018 - 4:23:26 PM
  113. Modified: 3/5/2016 - 1:03:58 AM
  114. 07:35:34:501 | RL | INFO | +0 | CheckFile - Checking if E:\RocketLauncher\Module Extensions\itextsharp.dll exists
  115. 07:35:34:506 | RL | DEBUG | +0 | CheckFile - Attributes:
  116. FileDescription iTextSharp
  117. FileVersion 5.4.2.0
  118. InternalName itextsharp.dll
  119. LegalCopyright Copyright (C) 1999-2013 by Bruno Lowagie and Paulo Soares. All Rights Reserved.
  120. OriginalFilename itextsharp.dll
  121. ProductName iTextSharp
  122. ProductVersion 5.4.2.0
  123. CompanyName 1T3XT BVBA
  124. File Size: 3743744 bytes
  125. Created: 5/6/2018 - 4:23:26 PM
  126. Modified: 3/5/2016 - 1:03:58 AM
  127. 07:35:34:511 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Module Extensions\Java.ahk
  128. 07:35:34:512 | RL | DEBUG | +0 | CheckFile - Attributes:
  129. File Size: 7859 bytes
  130. Created: 5/6/2018 - 4:23:27 PM
  131. Modified: 10/10/2016 - 2:25:36 AM
  132. 07:35:34:517 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Extension: E:\RocketLauncher\Module Extensions\JSON.ahk
  133. 07:35:34:519 | RL | DEBUG | +0 | CheckFile - Attributes:
  134. File Size: 9227 bytes
  135. Created: 5/6/2018 - 4:23:27 PM
  136. Modified: 3/9/2016 - 6:42:45 AM
  137. 07:35:34:523 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Module Extensions\Origin.ahk
  138. 07:35:34:524 | RL | DEBUG | +0 | CheckFile - Attributes:
  139. File Size: 4915 bytes
  140. Created: 5/6/2018 - 4:23:27 PM
  141. Modified: 10/10/2016 - 2:26:16 AM
  142. 07:35:34:529 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Extension: E:\RocketLauncher\Module Extensions\RegRW64.ahk
  143. 07:35:34:531 | RL | DEBUG | +15 | CheckFile - Attributes:
  144. File Size: 6915 bytes
  145. Created: 5/6/2018 - 4:23:27 PM
  146. Modified: 3/5/2016 - 1:03:57 AM
  147. 07:35:34:536 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Extension: E:\RocketLauncher\Module Extensions\RIni.ahk | v1.7
  148. 07:35:34:538 | RL | DEBUG | +0 | CheckFile - Attributes:
  149. File Size: 67872 bytes
  150. Created: 5/6/2018 - 4:23:27 PM
  151. Modified: 9/11/2016 - 2:40:14 PM
  152. 07:35:34:538 | RL | INFO | +0 | CheckFile - Checking if E:\RocketLauncher\Module Extensions\SevenZipSharp.dll exists
  153. 07:35:34:543 | RL | DEBUG | +0 | CheckFile - Attributes:
  154. FileDescription SevenZipSharp
  155. FileVersion 0.64.5717.6837
  156. InternalName SevenZipSharp.dll
  157. LegalCopyright Copyright (C) Markovtsev Vadim 2009, 2010, licenced under LGPLv3
  158. OriginalFilename SevenZipSharp.dll
  159. ProductName SevenZipSharp
  160. ProductVersion 0.64.5717.6837
  161. CompanyName Markovtsev Vadim
  162. File Size: 167424 bytes
  163. Created: 5/6/2018 - 4:23:27 PM
  164. Modified: 3/5/2016 - 1:03:57 AM
  165. 07:35:34:549 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Module Extensions\Steam.ahk
  166. 07:35:34:550 | RL | DEBUG | +0 | CheckFile - Attributes:
  167. File Size: 5517 bytes
  168. Created: 5/6/2018 - 4:23:27 PM
  169. Modified: 10/10/2016 - 2:26:25 AM
  170. 07:35:34:555 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Extension: E:\RocketLauncher\Module Extensions\VA.ahk
  171. 07:35:34:556 | RL | DEBUG | +0 | CheckFile - Attributes:
  172. File Size: 34688 bytes
  173. Created: 5/6/2018 - 4:23:27 PM
  174. Modified: 3/5/2016 - 1:03:57 AM
  175. 07:35:34:561 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Module Extensions\VA_Extension.ahk
  176. 07:35:34:562 | RL | DEBUG | +0 | CheckFile - Attributes:
  177. File Size: 3862 bytes
  178. Created: 5/6/2018 - 4:23:27 PM
  179. Modified: 10/10/2016 - 2:26:32 AM
  180. 07:35:34:567 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\7z.ahk
  181. 07:35:34:569 | RL | DEBUG | +0 | CheckFile - Attributes:
  182. File Size: 33916 bytes
  183. Created: 5/6/2018 - 4:29:55 PM
  184. Modified: 5/6/2018 - 4:29:55 PM
  185. 07:35:34:575 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Bezel.ahk
  186. 07:35:34:576 | RL | DEBUG | +0 | CheckFile - Attributes:
  187. File Size: 121257 bytes
  188. Created: 5/6/2018 - 4:29:45 PM
  189. Modified: 5/6/2018 - 4:29:45 PM
  190. 07:35:34:581 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Fade.ahk
  191. 07:35:34:582 | RL | DEBUG | +0 | CheckFile - Attributes:
  192. File Size: 39707 bytes
  193. Created: 5/6/2018 - 4:29:53 PM
  194. Modified: 5/6/2018 - 4:29:53 PM
  195. 07:35:34:587 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Fade Init.ahk
  196. 07:35:34:588 | RL | DEBUG | +0 | CheckFile - Attributes:
  197. File Size: 1140 bytes
  198. Created: 5/6/2018 - 4:23:24 PM
  199. Modified: 10/10/2016 - 2:27:47 AM
  200. 07:35:34:594 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Fade Animations.ahk
  201. 07:35:34:595 | RL | DEBUG | +0 | CheckFile - Attributes:
  202. File Size: 77961 bytes
  203. Created: 5/6/2018 - 4:23:24 PM
  204. Modified: 10/10/2016 - 2:27:37 AM
  205. 07:35:34:600 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Keymapper.ahk
  206. 07:35:34:602 | RL | DEBUG | +0 | CheckFile - Attributes:
  207. File Size: 33682 bytes
  208. Created: 5/6/2018 - 4:23:24 PM
  209. Modified: 10/10/2016 - 2:28:29 AM
  210. 07:35:34:607 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Keymapper Init.ahk
  211. 07:35:34:608 | RL | DEBUG | +0 | CheckFile - Attributes:
  212. File Size: 3966 bytes
  213. Created: 5/6/2018 - 4:23:24 PM
  214. Modified: 10/10/2016 - 2:28:17 AM
  215. 07:35:34:613 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\MultiGame.ahk
  216. 07:35:34:615 | RL | DEBUG | +0 | CheckFile - Attributes:
  217. File Size: 41583 bytes
  218. Created: 5/6/2018 - 4:23:24 PM
  219. Modified: 10/10/2016 - 2:28:47 AM
  220. 07:35:34:619 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\MultiGame Init.ahk
  221. 07:35:34:620 | RL | DEBUG | +0 | CheckFile - Attributes:
  222. File Size: 169 bytes
  223. Created: 5/6/2018 - 4:23:24 PM
  224. Modified: 10/10/2016 - 2:28:38 AM
  225. 07:35:34:626 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\MultiPlayer.ahk
  226. 07:35:34:627 | RL | DEBUG | +0 | CheckFile - Attributes:
  227. File Size: 67277 bytes
  228. Created: 5/6/2018 - 4:23:24 PM
  229. Modified: 10/10/2016 - 2:28:55 AM
  230. 07:35:34:636 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Pause.ahk
  231. 07:35:34:639 | RL | DEBUG | +0 | CheckFile - Attributes:
  232. File Size: 408415 bytes
  233. Created: 5/6/2018 - 4:29:52 PM
  234. Modified: 5/6/2018 - 4:29:52 PM
  235. 07:35:34:644 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Pause Init.ahk
  236. 07:35:34:645 | RL | DEBUG | +0 | CheckFile - Attributes:
  237. File Size: 563 bytes
  238. Created: 5/6/2018 - 4:23:24 PM
  239. Modified: 10/10/2016 - 2:29:15 AM
  240. 07:35:34:651 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Password.ahk
  241. 07:35:34:652 | RL | DEBUG | +0 | CheckFile - Attributes:
  242. File Size: 10131 bytes
  243. Created: 5/6/2018 - 4:23:24 PM
  244. Modified: 10/10/2016 - 2:29:07 AM
  245. 07:35:34:657 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\DLL\RocketLauncher.ahk
  246. 07:35:34:659 | RL | DEBUG | +0 | CheckFile - Attributes:
  247. File Size: 31509 bytes
  248. Created: 5/6/2018 - 4:29:46 PM
  249. Modified: 5/6/2018 - 4:29:47 PM
  250. 07:35:34:664 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Log\Logger.ahk
  251. 07:35:34:666 | RL | DEBUG | +0 | CheckFile - Attributes:
  252. File Size: 3558 bytes
  253. Created: 5/6/2018 - 4:23:23 PM
  254. Modified: 10/10/2016 - 2:32:18 AM
  255. 07:35:34:670 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\MiscUtils.ahk
  256. 07:35:34:672 | RL | DEBUG | +16 | CheckFile - Attributes:
  257. File Size: 6709 bytes
  258. Created: 5/6/2018 - 4:29:36 PM
  259. Modified: 5/6/2018 - 4:29:36 PM
  260. 07:35:34:676 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\Environment\Registry.ahk
  261. 07:35:34:678 | RL | DEBUG | +0 | CheckFile - Attributes:
  262. File Size: 2084 bytes
  263. Created: 5/6/2018 - 4:29:53 PM
  264. Modified: 5/6/2018 - 4:29:53 PM
  265. 07:35:34:682 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\Environment\ArrayUtils.ahk
  266. 07:35:34:684 | RL | DEBUG | +0 | CheckFile - Attributes:
  267. File Size: 306 bytes
  268. Created: 5/6/2018 - 4:29:51 PM
  269. Modified: 5/6/2018 - 4:29:51 PM
  270. 07:35:34:689 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\Environment\LocaleUtils.ahk
  271. 07:35:34:691 | RL | DEBUG | +0 | CheckFile - Attributes:
  272. File Size: 2104 bytes
  273. Created: 5/6/2018 - 4:29:53 PM
  274. Modified: 5/6/2018 - 4:29:53 PM
  275. 07:35:34:696 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\Environment\StringUtils.ahk
  276. 07:35:34:697 | RL | DEBUG | +0 | CheckFile - Attributes:
  277. File Size: 7754 bytes
  278. Created: 5/6/2018 - 4:29:45 PM
  279. Modified: 5/6/2018 - 4:29:45 PM
  280. 07:35:34:702 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\Environment\TimerUtils.ahk
  281. 07:35:34:704 | RL | DEBUG | +15 | CheckFile - Attributes:
  282. File Size: 2948 bytes
  283. Created: 5/6/2018 - 4:23:23 PM
  284. Modified: 10/10/2016 - 2:33:57 AM
  285. 07:35:34:709 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\File\ArchiveFile.ahk
  286. 07:35:34:710 | RL | DEBUG | +0 | CheckFile - Attributes:
  287. File Size: 346 bytes
  288. Created: 5/6/2018 - 4:29:41 PM
  289. Modified: 5/6/2018 - 4:29:41 PM
  290. 07:35:34:715 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\File\DemulShooter.ahk
  291. 07:35:34:716 | RL | DEBUG | +0 | CheckFile - Attributes:
  292. File Size: 786 bytes
  293. Created: 5/6/2018 - 4:29:48 PM
  294. Modified: 5/6/2018 - 4:29:49 PM
  295. 07:35:34:721 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\File\Emulator.ahk
  296. 07:35:34:722 | RL | DEBUG | +0 | CheckFile - Attributes:
  297. File Size: 1231 bytes
  298. Created: 5/6/2018 - 4:23:24 PM
  299. Modified: 10/10/2016 - 2:34:30 AM
  300. 07:35:34:727 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\File\File.ahk
  301. 07:35:34:729 | RL | DEBUG | +0 | CheckFile - Attributes:
  302. File Size: 9522 bytes
  303. Created: 5/6/2018 - 4:29:56 PM
  304. Modified: 5/6/2018 - 4:29:56 PM
  305. 07:35:34:734 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\File\FileUtils.ahk
  306. 07:35:34:735 | RL | DEBUG | +0 | CheckFile - Attributes:
  307. File Size: 339 bytes
  308. Created: 5/6/2018 - 4:29:49 PM
  309. Modified: 5/6/2018 - 4:29:49 PM
  310. 07:35:34:740 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\File\Folder.ahk
  311. 07:35:34:741 | RL | DEBUG | +0 | CheckFile - Attributes:
  312. File Size: 643 bytes
  313. Created: 5/6/2018 - 4:23:24 PM
  314. Modified: 10/10/2016 - 2:34:48 AM
  315. 07:35:34:746 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\File\IniFile.ahk
  316. 07:35:34:747 | RL | DEBUG | +0 | CheckFile - Attributes:
  317. File Size: 4364 bytes
  318. Created: 5/6/2018 - 4:23:24 PM
  319. Modified: 10/10/2016 - 2:34:57 AM
  320. 07:35:34:752 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\File\Process.ahk
  321. 07:35:34:754 | RL | DEBUG | +0 | CheckFile - Attributes:
  322. File Size: 9711 bytes
  323. Created: 5/6/2018 - 4:29:54 PM
  324. Modified: 5/6/2018 - 4:29:54 PM
  325. 07:35:34:759 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\File\PropertiesFile.ahk
  326. 07:35:34:761 | RL | DEBUG | +0 | CheckFile - Attributes:
  327. File Size: 4218 bytes
  328. Created: 5/6/2018 - 4:29:32 PM
  329. Modified: 5/6/2018 - 4:29:32 PM
  330. 07:35:34:766 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\File\RIniFile.ahk
  331. 07:35:34:767 | RL | DEBUG | +0 | CheckFile - Attributes:
  332. File Size: 3898 bytes
  333. Created: 5/6/2018 - 4:23:24 PM
  334. Modified: 10/10/2016 - 2:35:14 AM
  335. 07:35:34:772 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\File\XMLFile.ahk
  336. 07:35:34:774 | RL | DEBUG | +0 | CheckFile - Attributes:
  337. File Size: 331 bytes
  338. Created: 5/6/2018 - 4:29:52 PM
  339. Modified: 5/6/2018 - 4:29:52 PM
  340. 07:35:34:779 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\Input\KeyUtils.ahk
  341. 07:35:34:780 | RL | DEBUG | +0 | CheckFile - Attributes:
  342. File Size: 5426 bytes
  343. Created: 5/6/2018 - 4:23:24 PM
  344. Modified: 10/10/2016 - 2:35:23 AM
  345. 07:35:34:785 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\UI\Control.ahk
  346. 07:35:34:786 | RL | DEBUG | +0 | CheckFile - Attributes:
  347. File Size: 4603 bytes
  348. Created: 5/6/2018 - 4:23:24 PM
  349. Modified: 10/10/2016 - 2:35:32 AM
  350. 07:35:34:791 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\UI\Window.ahk
  351. 07:35:34:792 | RL | DEBUG | +0 | CheckFile - Attributes:
  352. File Size: 24655 bytes
  353. Created: 5/6/2018 - 4:29:42 PM
  354. Modified: 5/6/2018 - 4:29:42 PM
  355. 07:35:34:798 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Classes\Util\UI\WindowTitle.ahk
  356. 07:35:34:799 | RL | DEBUG | +0 | CheckFile - Attributes:
  357. File Size: 1171 bytes
  358. Created: 5/6/2018 - 4:23:24 PM
  359. Modified: 10/10/2016 - 2:35:49 AM
  360. 07:35:34:805 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Rom Mapping Launch Menu.ahk
  361. 07:35:34:806 | RL | DEBUG | +0 | CheckFile - Attributes:
  362. File Size: 72279 bytes
  363. Created: 5/6/2018 - 4:23:24 PM
  364. Modified: 10/10/2016 - 2:29:33 AM
  365. 07:35:34:811 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Shader.ahk
  366. 07:35:34:812 | RL | DEBUG | +16 | CheckFile - Attributes:
  367. File Size: 4183 bytes
  368. Created: 5/6/2018 - 4:23:24 PM
  369. Modified: 10/10/2016 - 2:29:51 AM
  370. 07:35:34:817 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Shader Init.ahk
  371. 07:35:34:819 | RL | DEBUG | +0 | CheckFile - Attributes:
  372. File Size: 412 bytes
  373. Created: 5/6/2018 - 4:23:24 PM
  374. Modified: 10/10/2016 - 2:29:40 AM
  375. 07:35:34:826 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Shared.ahk
  376. 07:35:34:828 | RL | DEBUG | +15 | CheckFile - Attributes:
  377. File Size: 173248 bytes
  378. Created: 5/6/2018 - 4:29:44 PM
  379. Modified: 5/6/2018 - 4:29:44 PM
  380. 07:35:34:833 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Statistics.ahk
  381. 07:35:34:834 | RL | DEBUG | +0 | CheckFile - Attributes:
  382. File Size: 27008 bytes
  383. Created: 5/6/2018 - 4:23:24 PM
  384. Modified: 10/10/2016 - 2:30:22 AM
  385. 07:35:34:839 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Statistics Init.ahk
  386. 07:35:34:840 | RL | DEBUG | +0 | CheckFile - Attributes:
  387. File Size: 43 bytes
  388. Created: 5/6/2018 - 4:23:24 PM
  389. Modified: 10/10/2016 - 2:30:14 AM
  390. 07:35:34:845 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\Virtual Drive.ahk
  391. 07:35:34:847 | RL | DEBUG | +0 | CheckFile - Attributes:
  392. File Size: 20294 bytes
  393. Created: 5/6/2018 - 4:23:24 PM
  394. Modified: 10/10/2016 - 2:30:47 AM
  395. 07:35:34:852 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\XHotkey.ahk
  396. 07:35:34:854 | RL | DEBUG | +0 | CheckFile - Attributes:
  397. File Size: 26615 bytes
  398. Created: 5/6/2018 - 4:23:24 PM
  399. Modified: 10/10/2016 - 2:31:04 AM
  400. 07:35:34:860 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Lib\XHotkey Init.ahk
  401. 07:35:34:861 | RL | DEBUG | +0 | CheckFile - Attributes:
  402. File Size: 1073 bytes
  403. Created: 5/6/2018 - 4:23:24 PM
  404. Modified: 10/10/2016 - 2:30:56 AM
  405. 07:35:34:863 | RL | DEBUG | +0 | Main - Received this dbName with no path via CLI: "10yard"
  406. 07:35:34:864 | RL | DEBUG | +0 | Main - dbName: 10yard
  407. 07:35:34:865 | RL | INFO | +0 | Main - Loading Front End Plugin: "HyperSpin"
  408. 07:35:34:870 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: E:\RocketLauncher\Plugins\HyperSpin.plugin
  409. 07:35:34:872 | RL | DEBUG | +0 | CheckFile - Attributes:
  410. File Size: 9590 bytes
  411. Created: 5/6/2018 - 4:29:55 PM
  412. Modified: 5/6/2018 - 4:29:55 PM
  413. 07:35:34:873 | RL | TRACE | +0 | Process.__New - Creating new process object for: "E:\HyperSpin\HyperSpin.exe"
  414. 07:35:34:874 | RL | TRACE | +0 | File.__New - Creating new file object of: "E:\HyperSpin\HyperSpin.exe"
  415. 07:35:34:878 | RL | INFO | +15 | Main - RocketLauncher received "MAME" and "10yard"
  416. 07:35:34:883 | RL | INFO | +0 | Main - Did not find a "E:\RocketLauncher\Settings\MAME\Game Options.ini" file, skipping any game-specific options.
  417. 07:35:34:884 | RL | INFO | +0 | Main - 10yard is using the default emulator: MAME
  418. 07:35:34:886 | RL | INFO | +0 | Main - Checking for a [MAME] section in E:\RocketLauncher\Settings\MAME\Emulators.ini
  419. 07:35:34:887 | RL | INFO | +0 | Main - Checking for a [MAME] section in E:\RocketLauncher\Settings\Global Emulators.ini
  420. 07:35:34:888 | RL | INFO | +0 | Main - Found [MAME] in E:\RocketLauncher\Settings\Global Emulators.ini
  421. 07:35:34:896 | RL | INFO | +16 | CheckFile - Checking if E:\RocketLauncher\Modules\MAME\MAME.ahk exists
  422. 07:35:34:900 | RL | DEBUG | +0 | CheckFile - Attributes:
  423. File Size: 79762 bytes
  424. Created: 5/6/2018 - 4:29:35 PM
  425. Modified: 5/6/2018 - 4:29:35 PM
  426. 07:35:34:904 | RL | INFO | +0 | Main - CRC Check - CRC matches, this is an official unedited module.
  427. 07:35:34:905 | RL | INFO | +0 | Main - 10yard will use module: E:\RocketLauncher\Modules\MAME\MAME.ahk
  428. 07:35:34:943 | RL | INFO | +47 | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
  429. 07:35:34:959 | RL | INFO | +15 | CheckFile - Checking if E:\HyperSpin\Emulators\MAME 0.197s\mame64.exe exists
  430. 07:35:34:963 | RL | DEBUG | +0 | CheckFile - Attributes:
  431. FileDescription MAME
  432. FileVersion 0, 197, 0, 0
  433. InternalName MAME
  434. LegalCopyright Copyright Nicola Salmoria and the MAME team
  435. OriginalFilename MAME
  436. ProductName MAME
  437. ProductVersion 0.197
  438. CompanyName MAME Team
  439. File Size: 314159464 bytes
  440. Created: 5/11/2018 - 10:32:24 PM
  441. Modified: 5/3/2018 - 9:46:22 AM
  442. 07:35:34:964 | RL | INFO | +0 | Main - INI Keys read
  443. 07:35:34:968 | RL | INFO | +0 | CheckFile - Checking if E:\RocketLauncher\Module Extensions\7z.exe exists
  444. 07:35:34:973 | RL | DEBUG | +16 | CheckFile - Attributes:
  445. FileDescription 7-Zip Console
  446. FileVersion 15.06 beta
  447. InternalName 7z
  448. LegalCopyright Copyright (c) 1999-2015 Igor Pavlov
  449. OriginalFilename 7z.exe
  450. ProductName 7-Zip
  451. ProductVersion 15.06 beta
  452. CompanyName Igor Pavlov
  453. File Size: 262144 bytes
  454. Created: 5/6/2018 - 4:23:26 PM
  455. Modified: 3/5/2016 - 1:03:57 AM
  456. 07:35:34:974 | RL | INFO | +0 | CheckFile - Checking if E:\RocketLauncher\Module Extensions\7z.dll exists
  457. 07:35:34:979 | RL | DEBUG | +0 | CheckFile - Attributes:
  458. FileDescription 7z Plugin
  459. FileVersion 15.06 beta
  460. InternalName 7z
  461. LegalCopyright Copyright (c) 1999-2015 Igor Pavlov
  462. OriginalFilename 7z.dll
  463. ProductName 7-Zip
  464. ProductVersion 15.06 beta
  465. CompanyName Igor Pavlov
  466. File Size: 1012224 bytes
  467. Created: 5/6/2018 - 4:23:26 PM
  468. Modified: 3/5/2016 - 1:03:57 AM
  469. 07:35:34:986 | RL | INFO | +16 | Main - "10yard" does not qualify for MultiGame. Only roms with any of these strings in their name are acceptable: \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side
  470. 07:35:34:987 | RL | INFO | +0 | CheckPaths - Started
  471. 07:35:34:989 | RL | INFO | +0 | CheckPaths - Looking for rom: E:\HyperSpin\Roms\MAME 0.197\10yard.7z
  472. 07:35:34:990 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: E:\HyperSpin\Roms\MAME 0.197\10yard\10yard.7z
  473. 07:35:34:991 | RL | INFO | +0 | CheckPaths - Rom not found
  474. 07:35:34:992 | RL | INFO | +0 | CheckPaths - Looking for rom: E:\HyperSpin\Roms\MAME 0.197\10yard.rar
  475. 07:35:34:994 | RL | INFO | +0 | CheckPaths - Looking for rom by name in subfolder: E:\HyperSpin\Roms\MAME 0.197\10yard\10yard.rar
  476. 07:35:34:995 | RL | INFO | +0 | CheckPaths - Rom not found
  477. 07:35:34:996 | RL | INFO | +0 | CheckPaths - Looking for rom: E:\HyperSpin\Roms\MAME 0.197\10yard.zip
  478. 07:35:34:997 | RL | INFO | +0 | CheckPaths - Found rom: E:\HyperSpin\Roms\MAME 0.197\10yard.zip
  479. 07:35:34:998 | RL | DEBUG | +0 | CheckPaths - Current romName: 10yard
  480. 07:35:34:000 | RL | DEBUG | +15 | CheckPaths - Current romPath: E:\HyperSpin\Roms\MAME 0.197
  481. 07:35:35:001 | RL | DEBUG | +0 | CheckPaths - Current romExtension: .zip
  482. 07:35:35:003 | RL | INFO | +0 | CheckPaths - Ended
  483. 07:35:35:004 | RL | INFO | +0 | BuildScript - User Variables:
  484. ;----------------------------------------------------------------------------
  485. ; INJECTED VARIABLES
  486. ;----------------------------------------------------------------------------
  487.  
  488. #NoTrayIcon
  489. #InstallKeybdHook
  490. MiscUtils.DetectHiddenWindows("On")
  491. SetTitleMatchMode, 2
  492. SendMode, Event
  493. Global RLLog
  494. Global RLObject
  495. 0 := "12"
  496. rlPath := "E:\RocketLauncher"
  497. pluginPath := "E:\RocketLauncher\Plugins"
  498. pluginName := "HyperSpin"
  499. pluginExt := ".plugin"
  500. contextOnExit := "1"
  501. rlMode := ""
  502. rlTitle := "RocketLauncher"
  503. rlVersion := "1.2.0.1"
  504. rlAuthor := "djvj"
  505. rlURL := "www.rlauncher.com"
  506. langFile := "E:\RocketLauncher\Data\Language\Localization.ini"
  507. primMonitor := "1"
  508. frontendPID := ""
  509. frontendPath := "E:\HyperSpin"
  510. frontendExe := "HyperSpin.exe"
  511. frontendExt := "exe"
  512. frontendName := "HyperSpin"
  513. frontendDrive := "E"
  514. exitEmulatorKey := "~Esc"
  515. restoreFE := "false"
  516. exitScriptKey := "~q & ~s"
  517. toggleCursorKey := "~e & ~t"
  518. emuFullPath := "E:\HyperSpin\Emulators\MAME 0.197s\mame64.exe"
  519. emuPath := "E:\HyperSpin\Emulators\MAME 0.197s"
  520. emuName := "MAME"
  521. emuExt := "exe"
  522. baseRomPath := ""
  523. romPath := "E:\HyperSpin\Roms\MAME 0.197"
  524. romPathFromIni := "E:\HyperSpin\Roms\MAME 0.197"
  525. romExtension := ".zip"
  526. romExtensionOrig := ".zip"
  527. 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"
  528. executable := "mame64.exe"
  529. systemDbName := "MAME"
  530. systemName := "MAME"
  531. dbPath := ""
  532. dbName := "10yard"
  533. dbExt := ""
  534. romFoundByExt := ""
  535. romName := "10yard"
  536. romMapPath := ""
  537. romMappingEnabled := "false"
  538. romMappingLaunchMenuEnabled := "false"
  539. romMappingFirstMatchingExt := "false"
  540. romMappingShowAllRomsInArchive := "true"
  541. romMappingNumberOfGamesByScreen := "7"
  542. romMappingHideParent := "false"
  543. romMappingMenuWidth := "400"
  544. romMappingMenuMargin := "65"
  545. romMappingTextFont := "Bebas Neue"
  546. romMappingTextOptions := "cFFFFFFFF r4 s60 Bold"
  547. romMappingDisabledTextColor := "ff888888"
  548. romMappingTextSizeDifference := "7"
  549. romMappingTextMargin := "15"
  550. romMappingTitleTextFont := "Bebas Neue"
  551. romMappingTitleTextOptions := "cFFFFFFFF r4 s90 Bold"
  552. romMappingTitle2TextFont := "Bebas Neue"
  553. romMappingTitle2TextOptions := "cFFFFFFFF r4 s22 Bold"
  554. romMappingGameInfoTextFont := "Bebas Neue"
  555. romMappingGameInfoTextOptions := "cFFFFFFFF r4 s22 Regular"
  556. romMappingGameNameTextFont := "Bebas Neue"
  557. romMappingGameNameTextOptions := "cFFFFFFFF r4 s40 Regular"
  558. romMappingBackgroundBrush := "aa000000"
  559. romMappingColumnBrush := "33000000"
  560. romMappingButtonBrush1 := "6f000000"
  561. romMappingButtonBrush2 := "33000000"
  562. romMappingBackgroundAlign := "Stretch and Lose Aspect"
  563. romMappingMenuFlagWidth := "55"
  564. romMappingMenuFlagSeparation := "7"
  565. romMappingDefaultMenuList := "FullList"
  566. romMappingSingleFilteredRomAutomaticLaunch := "false"
  567. altArchiveNameOnly := ""
  568. altRomNameOnly := ""
  569. altArchiveAndRomName := ""
  570. altArchiveAndManyRomNames := ""
  571. altRomNamesOnly := ""
  572. romMapScenario := ""
  573. skipchecks := "false"
  574. romMatchExt := "false"
  575. blockInputTime := "0"
  576. blockInputFile := "E:\RocketLauncher\Module Extensions\BlockInput.exe"
  577. errorLevelReporting := "false"
  578. lockLaunch := "false"
  579. lockLaunchGame := ""
  580. screenRotationAngle := "0"
  581. screenRotationAngleGame := ""
  582. setResolution := ""
  583. logFile := ""
  584. logLabel := [" INFO"," WARNING"," ERROR"," DEBUG"," TRACE"]
  585. logLevel := "10"
  586. logShowDebugConsole := "true"
  587. logShowCommandWindow := "false"
  588. logCommandWindow := "false"
  589. logIncludeModule := "true"
  590. logIncludeFileProperties := "true"
  591. logIncludeDLLLogs := "false"
  592. errorSounds := "true"
  593. rlDebugConsoleStdout := "956"
  594. sysLang := "English_United_States"
  595. sysType := "64-bit"
  596. broadcastWindowTitle := ""
  597. navUpKey := "Up"
  598. navDownKey := "Down"
  599. navLeftKey := "Left"
  600. navRightKey := "Right"
  601. navSelectKey := "Enter"
  602. navP2UpKey := "Numpad8"
  603. navP2DownKey := "Numpad2"
  604. navP2LeftKey := "Numpad4"
  605. navP2RightKey := "Numpad6"
  606. navP2SelectKey := "NumpadEnter"
  607. originalWidth := "1920"
  608. originalHeight := "1080"
  609. vdEnabled := "false"
  610. vdFullPath := ""
  611. vdUseSCSI := "true"
  612. vdDriveLetter := ""
  613. vdDriveLetterScsi := ""
  614. vdAddDrive := "true"
  615. demulShooterPath := ""
  616. servoStikEnabled := "false"
  617. servoStikExitMode := "false"
  618. ledblinkyEnabled := "false"
  619. ledblinkySystemName := ""
  620. ledblinkyFullPath := ""
  621. ledblinkyProfilePath := "E:\RocketLauncher\Profiles\LEDBlinky"
  622. ledblinkyRLProfile := "E:\RocketLauncher\Profiles\LEDBlinky\RocketLauncher"
  623. winIPACFullPath := ""
  624. ultraMapEnabled := "false"
  625. ultraMapFullPath := ""
  626. emuIdleShutdown := "0"
  627. launchPasswordHash := "UpUpDownDownLeftRightLeftRight"
  628. cursorSize := ""
  629. hideCursor := "false"
  630. hideEmu := "false"
  631. hideFE := "false"
  632. suspendFE := "false"
  633. fadeIn := "false"
  634. fadeInDuration := "500"
  635. fadeInTransitionAnimation := "DefaultAnimateFadeIn"
  636. fadeInDelay := "0"
  637. fadeInExitDelay := "0"
  638. fadeOutExitDelay := "0"
  639. fadeOut := "false"
  640. fadeOutExtraScreen := "false"
  641. fadeOutDuration := "500"
  642. fadeOutTransitionAnimation := "DefaultAnimateFadeOut"
  643. fadeOutDelay := "0"
  644. fadeLyrInterpolation := "7"
  645. fadeMuteEmulator := "false"
  646. fadeUseBackgrounds := "false"
  647. fadeClickThrough := "false"
  648. fadeSounds := "true"
  649. fade7zProgressMode := "extraction"
  650. fadeWidthBaseRes := "1920"
  651. fadeHeightBaseRes := "1080"
  652. fadeLyr1Color := "FF000000"
  653. fadeLyr1AlignImage := "Stretch and Lose Aspect"
  654. fadeLyr2Pos := "Stretch and Lose Aspect"
  655. fadeLyr2X := "0"
  656. fadeLyr2Y := "0"
  657. fadeLyr2W := ""
  658. fadeLyr2H := ""
  659. fadeLyr2Adjust := "1"
  660. fadeLyr2PicPad := "0"
  661. fadeLyr2Prefix := "Extra Layer 1 - Console"
  662. fadeLyr3Pos := "Center"
  663. fadeLyr3X := "450"
  664. fadeLyr3Y := "450"
  665. fadeLyr3W := ""
  666. fadeLyr3H := ""
  667. fadeLyr3Adjust := "1"
  668. fadeLyr3PicPad := "0"
  669. fadeLyr3Speed := "750"
  670. fadeLyr3Animation := "DefaultFadeAnimation"
  671. fadeLyr37zAnimation := "DefaultFadeAnimation"
  672. fadeLyr3Type := "imageandbar"
  673. fadeLyr3ImgFollow7zProgress := "true"
  674. fadeLyr3Repeat := "1"
  675. fadeLyr3BackImageTransparency := "30"
  676. fadeLyr3StaticPos := "No Alignment"
  677. fadeLyr3StaticX := "0"
  678. fadeLyr3StaticY := "870|1575"
  679. fadeLyr3StaticW := ""
  680. fadeLyr3StaticH := ""
  681. fadeLyr3StaticAdjust := "1"
  682. fadeLyr3StaticPicPad := "0"
  683. fadeLyr3StaticPrefix := "Info Bar"
  684. fadeLyr4Adjust := "1"
  685. fadeLyr4X := "1792|952"
  686. fadeLyr4Y := "891|1596"
  687. fadeLyr4W := "128"
  688. fadeLyr4H := ""
  689. fadeLyr4Pos := "No Alignment"
  690. fadeLyr4FPS := "50"
  691. fadeLyr4PicPad := "0"
  692. fadeTranspGifColor := "FFFFFF"
  693. fadeBarWindow := "Image"
  694. fadeBarWindowX := ""
  695. fadeBarWindowY := ""
  696. fadeBarWindowW := "900"
  697. fadeBarWindowH := ""
  698. fadeBarWindowR := "30"
  699. fadeBarWindowM := "30"
  700. fadeBarWindowHatchStyle := "8"
  701. fadeBar := "7zOnly"
  702. fadeProgressDuration := "0"
  703. fadeBarBack := "true"
  704. fadeBarBackColor := "FF555555"
  705. fadeBarH := "30"
  706. fadeBarR := "10"
  707. fadeBarColor := "DD00BFFF"
  708. fadeBarHatchStyle := "8"
  709. fadeBarPercentageText := "true"
  710. fadeBarInfoText := "true"
  711. fadeBarXOffset := "0"
  712. fadeBarYOffset := "150"
  713. fadeRomInfoDescription := "filtered text"
  714. fadeRomInfoSystemName := "image"
  715. fadeRomInfoYear := "text with label"
  716. fadeRomInfoDeveloper := "disabled"
  717. fadeRomInfoPublisher := "disabled"
  718. fadeRomInfoGenre := "disabled"
  719. fadeRomInfoRating := "image"
  720. fadeRomInfoOrder := "Description|SystemName|Year|Developer|Genre|Rating|Publisher"
  721. fadeRomInfoTextPlacement := "User Defined"
  722. fadeRomInfoTextMargin := "7"
  723. fadeRomInfoText1Options := "w1600|787 h90 x165 y870|1575 cFFE1E1E1 r4 s90 Left Regular"
  724. fadeRomInfoText2Options := "w400 x8 y15 cFF555555 r4 s60 Bold"
  725. fadeRomInfoText3Options := "w310 x165 y960|1665 cFFE1E1E1 r4 s66 Left Regular"
  726. fadeRomInfoText4Options := "w1305|492 h66 x460 y960|1665 cFFE1E1E1 r4 s66 Left Regular"
  727. fadeRomInfoText5Options := "cFF555555 r4 s42 Bold"
  728. fadeRomInfoText6Options := "h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular"
  729. fadeRomInfoText7Options := "h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular"
  730. fadeStats_Number_of_Times_Played := "text with label"
  731. fadeStats_Last_Time_Played := "text with label"
  732. fadeStats_Average_Time_Played := "text with label"
  733. fadeStats_Total_Time_Played := "text with label"
  734. fadeStats_System_Total_Played_Time := "text with label"
  735. fadeStats_Total_Global_Played_Time := "text with label"
  736. fadeStatsInfoOrder := "Number_of_Times_Played|Last_Time_Played|Average_Time_Played|Total_Time_Played|System_Total_Played_Time|Total_Global_Played_Time"
  737. fadeStatsInfoTextPlacement := "topRight"
  738. fadeStatsInfoTextMargin := "7"
  739. fadeStatsInfoText1Options := "cFFB4B4B4 r4 s22 Bold"
  740. fadeStatsInfoText2Options := "cFFB4B4B4 r4 s22 Bold"
  741. fadeStatsInfoText3Options := "cFFB4B4B4 r4 s22 Bold"
  742. fadeStatsInfoText4Options := "cFFB4B4B4 r4 s22 Bold"
  743. fadeStatsInfoText5Options := "cFFB4B4B4 r4 s22 Bold"
  744. fadeStatsInfoText6Options := "cFFB4B4B4 r4 s22 Bold"
  745. fadeText1X := "0"
  746. fadeText1Y := "0"
  747. fadeText1Options := "cFFB4B4B4 r4 s30 Right Bold"
  748. fadeText1 := "Loading Game"
  749. fadeText2X := "0"
  750. fadeText2Y := "0"
  751. fadeText2Options := "cFFB4B4B4 r4 s30 Right Bold"
  752. fadeText2 := "Extraction Complete, Ready"
  753. fadeText3 := "Loading Game"
  754. fadeText4 := "Loading Complete"
  755. fadeFont := "Bebas Neue"
  756. fadeSystemAndRomLayersOnly := "false"
  757. fadeExtractionTime := "disabled"
  758. fadeExtractionTimeTextX := "0"
  759. fadeExtractionTimeTextY := "0"
  760. fadeExtractionTimeTextOptions := "cFF555555 r4 s20 Bold"
  761. fadeInterruptKey := ""
  762. detectFadeErrorEnabled := "true"
  763. fadeImgPath := "E:\RocketLauncher\Media\Fade"
  764. RLDataPath := "E:\RocketLauncher\Data"
  765. RLMediaPath := "E:\RocketLauncher\Media"
  766. RLErrSoundPath := "E:\RocketLauncher\Media\Sounds\Error"
  767. modulesPath := "E:\RocketLauncher\Modules"
  768. moduleFullName := "E:\RocketLauncher\Modules\MAME\MAME.ahk"
  769. moduleName := "MAME"
  770. modulePath := "E:\RocketLauncher\Modules\MAME"
  771. moduleExtension := "ahk"
  772. moduleExtensionsPath := "E:\RocketLauncher\Module Extensions"
  773. libPath := "E:\RocketLauncher\Lib"
  774. sevenZEnabled := "false"
  775. sevenZPath := "E:\RocketLauncher\Module Extensions\7z.exe"
  776. sevenZDllPath := "E:\RocketLauncher\Module Extensions\7z.dll"
  777. sevenZExtractPath := "C:\RocketLauncher Temp"
  778. sevenZExtractPathOrig := ""
  779. sevenZAttachSystemName := "false"
  780. sevenZDelTemp := "true"
  781. sevenZFormats := ".zip|.rar|.7z|.lha|.lzh|.gzip|.tar"
  782. sevenZFormatsNoP := "zip|rar|7z|lha|lzh|gzip|tar"
  783. sevenZFormatsRegEx := "\.zip|\.rar|\.7z|\.lha|\.lzh|\.gzip|\.tar"
  784. sevenZGamesToKeep := ""
  785. sevenZDeletePerSystem := "false"
  786. sevenZExtensions := "zip|rar|7z|lha|lzh|gzip|tar"
  787. 7zExtractPath := "C:\RocketLauncher Temp"
  788. mgEnabled := "false"
  789. mgKey := "~NumpadSub"
  790. mgBackgroundColor := "FF000000"
  791. mgSidePadding := "0.2"
  792. mgWidthBaseRes := "1920"
  793. mgHeightBaseRes := "1080"
  794. mgYOffset := "500|800"
  795. mgFont := "Arial"
  796. mgText1Options := "x10p y250|500 w80p Center cBBFFFFFF r4 s100 BoldItalic"
  797. mgText1Text := "Please select a game"
  798. mgText2Options := "w96p cFFFFFFFF r4 s50 Center BoldItalic"
  799. mgText2Offset := "100"
  800. mgUseSound := "true"
  801. mgSoundfreq := "300"
  802. mgExitEffect := "none"
  803. mgSelectedEffect := "rotate"
  804. mgUseGameArt := "false"
  805. mgCandidate := ""
  806. mgValidTypes := "\(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side"
  807. mgOnLaunch := "false"
  808. pauseEnabled := "false"
  809. pauseKey := "~NumpadAdd"
  810. pauseBackToMenuBarKey := "X"
  811. pauseZoomInKey := "C"
  812. pauseZoomOutKey := "V"
  813. pauseScreenshotKey := "~PrintScreen"
  814. pauseHiToTextPath := "E:\RocketLauncher\Module Extensions\HiToText.exe"
  815. 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}"
  816. 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}"
  817. keyboardEncoder := ""
  818. keyboardEncoderEnabled := "false"
  819. keymapperEnabled := "false"
  820. keymapperAHKMethod := "false"
  821. keymapper := "xpadder"
  822. xpadderFullPath := "E:\Utilities\Xpadder\xpadder.exe"
  823. joyToKeyFullPath := "E:\RocketLauncher\JoyToKey_en\JoyToKey.exe"
  824. profilePath := "E:\RocketLauncher\Profiles"
  825. keymapperProfilePath := "E:\RocketLauncher\Profiles\xpadder"
  826. keymapperFrontEndProfileName := "RocketLauncherUI"
  827. keymapperFrontEndProfile := "false"
  828. keymapperRocketLauncherProfileEnabled := "false"
  829. joyIDsEnabled := "false"
  830. joyIDsPreferredControllersGlobal := ""
  831. joyIDsPreferredControllersSystem := "use_global"
  832. joyIDsPreferredControllersOnExit := ""
  833. CustomJoyNamesEnabled := "false"
  834. CustomJoyNames := ""
  835. rotateMethod := "false"
  836. FEProfile := "E:\RocketLauncher\Profiles\xpadder\RocketLauncherUI"
  837. defaultProfile := "E:\RocketLauncher\Profiles\xpadder\_Default"
  838. systemProfile := "E:\RocketLauncher\Profiles\xpadder\MAME"
  839. xPadderSystemProfile := "E:\RocketLauncher\Profiles\xpadder\MAME\_Default"
  840. emuProfile := "E:\RocketLauncher\Profiles\xpadder\MAME\MAME"
  841. romProfile := "E:\RocketLauncher\Profiles\xpadder\MAME\10yard"
  842. RocketLauncherProfile := "E:\RocketLauncher\Profiles\xpadder\RocketLauncher"
  843. blankProfile := "E:\RocketLauncher\Profiles\xpadder\_Default\blank"
  844. ahkFEProfile := "E:\RocketLauncher\Profiles\AHK\RocketLauncherUI"
  845. ahkDefaultProfile := "E:\RocketLauncher\Profiles\AHK\_Default"
  846. ahkSystemProfile := "E:\RocketLauncher\Profiles\AHK\MAME"
  847. ahkEmuProfile := "E:\RocketLauncher\Profiles\AHK\MAME\MAME"
  848. ahkRomProfile := "E:\RocketLauncher\Profiles\AHK\MAME\10yard"
  849. ahkRocketLauncherProfile := "E:\RocketLauncher\Profiles\AHK\RocketLauncher"
  850. bezelEnabled := "false"
  851. bezelICEnabled := "false"
  852. shaderName := "false"
  853. shaderColor := ""
  854. shaderTransparency := ""
  855. statisticsEnabled := "true"
  856. pressDuration := "-1"
  857. emuVolume := "1"
  858. dxwndIni := "E:\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini"
  859. dxwndFullPath := "E:\RocketLauncher\Module Extensions\dxwnd\dxwnd.exe"
  860. qResFullPath := "E:\RocketLauncher\Module Extensions\QRes.exe"
  861. mon1O := ""
  862. pacDrivedllFile := "E:\RocketLauncher\Module Extensions\PacDrive32.dll"
  863. userFadeAnimIniFile := "E:\RocketLauncher\Lib\User Fade Animations.ini"
  864. testFile := ""
  865. testDuration := ""
  866. initialErrorMode := "0"
  867.  
  868. 07:35:35:009 | RL | INFO | +0 | BuildScript - Loaded XHotkey Init.ahk scripts
  869. 07:35:35:010 | RL | INFO | +0 | BuildScript - Loaded Statistics Init.ahk scripts
  870. 07:35:35:011 | RL | DEBUG | +0 | BuildScript - Module starts on line: 2
  871. 07:35:35:013 | RL | INFO | +0 | BuildScript - Validating module
  872. 07:35:35:019 | RL | INFO | +16 | BuildScript - Validation complete
  873. 07:35:35:020 | RL | INFO | +0 | BuildScript - Module:
  874. MEmu := "MAME"
  875. MEmuV := "v0.166"
  876. MURL := ["http://www.mame.net/"]
  877. MAuthor := ["djvj","faahrev","brolly","Tomkun"]
  878. MVersion := "2.3.10"
  879. MCRC := "2C606685"
  880. iCRC := "8566ED91"
  881. MID := "635746812784197028"
  882. 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"]
  883. ;----------------------------------------------------------------------------
  884. ; Notes:
  885. ; 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.
  886. ;
  887. ; 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
  888. ; 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.
  889. ; 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
  890. ; If MAME has a problem reading the bios zips, try archving them with "no compression"
  891. ; This site can help a ton with details for the various systems supported: http://www.progettoemma.net/mess/index.html
  892. ; 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.
  893. ; 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
  894. ;
  895. ; Command Line Options - http://easyemu.mameworld.info/mameguide/mameguide-options.html
  896. ; High Scores DO NOT SAVE when cheats are enabled!
  897. ; HLSL Documentation: http://mamedev.org/source/docs/hlsl.txt.html
  898. ; 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
  899. ;
  900. ; 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
  901. ; roms path for that system. If you have doubts about their filenames check the mTypeVar module variable content.
  902. ;
  903. ; Following systems will also require some specific files to operate properly:
  904. ; APF Imagination Machine - apfimag (tape games), apfm1000 (cart games)
  905. ; Camputers Lynx - lynx64k, lynx96k, lynx128k
  906. ; Coleco ADAM - adam, adam_ddp, adam_fdc, adam_kb, adam_prn, adam_spi
  907. ; NEC PC Engine-CD - "Super CD-ROM2 System V3.0 (J).pce" [262,656 bytes] (placed in the roms subfolder in the emuPath)
  908. ; NEC TurboGrafx-CD - "Super CD-ROM2 System V3.01 (U).pce" [262,144 bytes] (placed in the roms subfolder in the emuPath)
  909. ; Sega CD - segacd, megacd, megacd2j (megacd2j seems to be more compatible over megacdj)
  910. ; Sony PlayStation - psa, pse, psj, psu
  911. ;
  912. ; Tape Control:
  913. ; 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.
  914. ; 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.
  915. ; The following hotkeys can also be used:
  916. ; F2 - Start Tape
  917. ; Left Shift + F2 - Stop Tape
  918. ; Insert - While held, runs the game with throttling disabled and with the maximum frameskip. Useful to speedup the long tape loading process.
  919. ;
  920. ; 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
  921. ; hotkeys. To disable it press the Scroll Lock key, press it again to enable it back.
  922. ;
  923. ; 7z Support:
  924. ; 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
  925. ; fine to enable 7z to non-arcade systems.
  926. ;
  927. ; Custom Configuration Files:
  928. ; 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:
  929. ; cfg\mame_system_name\database_rom_name\mame_system_name.cfg
  930. ; An example of a game that requires specific settings is ICBM Attack for the Bally Astrocade, in this case special cfg file should be:
  931. ; cfg\astrocde\I.C.B.M. Attack (USA) (Unl)\astrocde.cfg
  932. ;
  933. ; Ini Files:
  934. ; 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
  935. ; those. MAME supports a hierarchical ini file structure and will load settings from several ini files following a specific order:
  936. ;- mame.ini
  937. ;- <mymame>.ini (i.e. if MAME was renamed mame060.exe, MAME parses mame060.ini here)
  938. ;- debug.ini (if the debugger is enabled)
  939. ;- <parent>.ini (for clones only, may be called recursively)
  940. ;- <gamename>.ini
  941. ;- vertical.ini (for games with vertical monitor orientation)
  942. ;- horizont.ini (for games with horizontal monitor orientation)
  943. ;- vector.ini (for vector games only)
  944. ;- <driver>.ini (based on the source filename of the driver)
  945. ;
  946. ; The settings in the later ini's override those in the earlier ini's.
  947. ;
  948. ; It's highly recommended that you set skipchecks to 'Rom Only" for MAME otherwise RocketLauncher won't be able to launch several games due
  949. ; to the way MAME roms are packaged. This will be even more noticeable for those using merged sets.
  950. ;
  951. ; Bally Astrocade:
  952. ; 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
  953. ; 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.
  954. ; 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.
  955. ;
  956. ; GCE Vectrex:
  957. ; Requires a vectrex.lay and a png overlay for each game. These all need to be placed in the MAME\artwork\vectrex folder.
  958. ; 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.
  959. ;
  960. ; Jupiter Ace:
  961. ; Set mame to 48k ram
  962. ;
  963. ; Magnavox Odyssey 2:
  964. ; Euro games should use the videopac bios instead of the odyssey2 one or you'll get some timing issues.
  965. ; Use the systemName ini file in the folder with this module for this, example:
  966. ; [Moto-Crash (France)]
  967. ; Bios=videopac
  968. ;
  969. ; RCA Studio 2:
  970. ; Most of the games require you to press a button to start the game, like 1 or 2 (refer to the game's manual).
  971. ; The game screen will be black until you do.
  972. ;
  973. ; Texas Instruments TI 99/4A:
  974. ; This system requires full keyboard emulation to work properly
  975. ; 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)
  976. ; You can check how to convert split cart dumps to RPK here:
  977. ; http://www.ninerpedia.org/index.php/MESS_multicart_system
  978. ; 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"
  979. ; 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
  980. ; 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.
  981. ;
  982. ; Bezels:
  983. ; Module settings control whether RocketLauncher or MAME bezels are shown
  984. ; In the bezel normal mode only RocketLauncher Bezels will be show and the MAME use_bezels option will be forced disbaled
  985. ; 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
  986. ;
  987. ; ServoStik:
  988. ; The module will automatically control any connected ServoStiks found on the system.
  989. ; 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.
  990. ;
  991. ; Per game controller types:
  992. ; 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
  993. ; system so to avoid adding a huge complexity to the module this must be done through the Parameters settings.
  994. ; 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
  995. ; 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.
  996. ; This is an example for Atari 2600 for a game using wheel controllers on both joy ports:
  997. ; #
  998. ; # SLOT DEVICES
  999. ; #
  1000. ; joyport1 wheel
  1001. ; joyport2 wheel
  1002. ; 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
  1003. ; set Parameters=-joyport1 joy -joyport2 joy
  1004. ; 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
  1005. ; Parameters=-joyport1 wheel -joyport2 wheel
  1006. ;
  1007. ; Another option is to set the default values in the MAME ini file and make sure you also set writeconfig to 0.
  1008. ; 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,
  1009. ; ensure you set your controls in the main MAME config file (MAME.ini), not the system one (ex. Atari 2600.ini).
  1010. ;
  1011. ; Linking/NetPlay:
  1012. ; The module will automatically set correct network ports for linked games.
  1013. ; Up to 8 players on the same PC are supported. Multiple copies of MAME will be launched.
  1014. ; 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.
  1015. ; Each player will use a different cfg and nvram folder in your MAME folder. Player 1 will always use .\cfg and .\nvram.
  1016. ; Players 2 through 8 will use .\cfg2, .\cfg3, etc and .\nvram2, .\nvram3, etc
  1017. ; These folders and cfg/nvram files will be automatically created for you on launch so you do not need to create them manually.
  1018. ; 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.
  1019. ; 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.
  1020. ; 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.
  1021. ; There are other network related settings in the module settings to assist with starting IPs and connectivity, so check them out as well.
  1022. ;
  1023. ; NVRAM Automation for linked games:
  1024. ; When launching linked games on the same pc NVRAM settings are automatically set for you so each player will be unique.
  1025. ; For instance, in Virtua Racing, Player 1 is red, player 2 is blue, player 3 is yellow, etc.
  1026. ; To do this, some other options are also set automatically for you as well, like region, difficulty, countr, course, etc
  1027. ; 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.
  1028. ;
  1029. ; Additional Link info that may be of some importance:
  1030. ; The original Model-1 has a max Bandwidth of 6 MBit/s (TOTX173/TORX173).
  1031. ; One Board sends about 20 KByte/s.
  1032. ; So bandwidth CLIENTSIDE is like...
  1033. ; 2 Boards - 20 KByte/s inbound and 20 KByte/s outbound.
  1034. ; 3 Boards - 40 KByte/s inbound and 20 KByte/s outbound.
  1035. ; 4 Boards - 60 KByte/s inbound and 20 KByte/s outbound.
  1036. ; etc.
  1037. ; Some good info on Linking: http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=297577&page=0
  1038. ; also http://forum.arcadecontrols.com/index.php/topic,130136.msg1331485.html
  1039. ;----------------------------------------------------------------------------
  1040. StartModule()
  1041. BezelGUI()
  1042.  
  1043. primaryExe := new Emulator(emuPath . "\" . executable) ; instantiate emulator executable object
  1044. emuPrimaryWindow := new Window(new WindowTitle(,"MAME")) ; instantiate primary emulator window object
  1045. emuOpenWindow := new Window(new WindowTitle(dialogOpen,"ConsoleWindowClass"))
  1046. emuConsoleWindow := new Window(new WindowTitle(,"ConsoleWindowClass"))
  1047. emuDebugWindow := new Window(new WindowTitle(,"MAMEDebugWindow"))
  1048. emuOutputWindow := new Window(new WindowTitle(,"MAMEOutput"))
  1049.  
  1050. ; 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.
  1051. mTypeVar := "
  1052. ( LTrim
  1053. Aamber Pegasus|pegasus
  1054. Acorn Electron|electron
  1055. Amstrad CPC|cpc664
  1056. Amstrad GX4000|gx4000
  1057. APF Imagination Machine|apfimag
  1058. Apple II|apple2ep
  1059. Apple IIGS|apple2gs
  1060. Applied Technology MicroBee|mbeeic
  1061. Atari 8-Bit|a800
  1062. Atari 2600|a2600
  1063. Atari 5200|a5200
  1064. Atari 7800|a7800
  1065. Atari Jaguar|jaguar
  1066. Atari Lynx|lynx
  1067. Bally Astrocade|astrocde
  1068. Bandai Super Vision 8000|sv8000
  1069. Bandai WonderSwan|wswan
  1070. Bandai WonderSwan Color|wscolor
  1071. Bit Corporation Gamate|gamate
  1072. Camputers Lynx|lynx128k
  1073. Casio PV-1000|pv1000
  1074. Casio PV-2000|pv2000
  1075. Coleco ADAM|adam
  1076. ColecoVision|coleco
  1077. Commodore 64|c64
  1078. Commodore MAX Machine|vic10
  1079. Creatronic Mega Duck|megaduck
  1080. EACA EG2000 Colour Genie|cgenie
  1081. Emerson Arcadia 2001|arcadia
  1082. Entex Adventure Vision|advision
  1083. Epoch Game Pocket Computer|gamepock
  1084. Epoch Super Cassette Vision|scv
  1085. Exidy Sorcerer|sorcerer
  1086. Fairchild Channel F|channelf
  1087. Fujitsu FM-7|fmnew7
  1088. Fujitsu FM Towns|fmtowns
  1089. Fujitsu FM Towns Marty|fmtmarty
  1090. Funtech Super Acan|supracan
  1091. GamePark 32|gp32
  1092. GCE Vectrex|vectrex
  1093. Hartung Game Master|gmaster
  1094. Interton VC 4000|vc4000
  1095. JungleTac Sport Vii|vii
  1096. Jupiter Ace|jupace
  1097. Magnavox Odyssey 2|odyssey2
  1098. Matra & Hachette Alice|alice32
  1099. Mattel Aquarius|aquarius
  1100. Mattel Intellivision|intv
  1101. MGT Sam Coupe|samcoupe
  1102. Milton Bradley MicroVision|microvsn
  1103. NEC PC-8801|pc8801
  1104. NEC PC Engine|pce
  1105. NEC PC Engine-CD|pce
  1106. NEC SuperGrafx|sgx
  1107. NEC TurboGrafx-16|tg16
  1108. NEC TurboGrafx-CD|tg16
  1109. Nintendo 64|n64
  1110. Nintendo 64DD|n64dd
  1111. Nintendo Entertainment System|nes
  1112. Nintendo Famicom|famicom
  1113. Nintendo Famicom Disk System|fds
  1114. Nintendo Game Boy|gameboy
  1115. Nintendo Game Boy Advance|gba
  1116. Nintendo Game Boy Color|gbcolor
  1117. Nintendo Pokemon Mini|pokemini
  1118. Nintendo Satellaview|snes
  1119. Nintendo Super Famicom|snes
  1120. Nintendo Super Game Boy|supergb
  1121. Nintendo Virtual Boy|vboy
  1122. Othello Multivision|omv1000
  1123. Philips CD-i|cdimono1
  1124. Philips Videopac Plus G7400|g7400
  1125. Philips VG 5000|vg5k
  1126. RCA Studio II|studio2
  1127. Sega 32X|32x
  1128. Sega CD|segacd
  1129. Sega Game Gear|gamegear
  1130. Sega Genesis|genesis
  1131. Sega Master System|sms
  1132. Sega Mega Drive|megadriv
  1133. Sega Pico|pico
  1134. Sega Saturn|saturn
  1135. Sega SC-3000|sc3000
  1136. Sega SG-1000|sg1000
  1137. Sega VMU|svmu
  1138. Sharp X1|x1turbo40
  1139. Sinclair ZX81|zx81
  1140. SNK Neo Geo AES|aes
  1141. SNK Neo Geo CD|neocdz
  1142. SNK Neo Geo Pocket|ngp
  1143. SNK Neo Geo Pocket Color|ngpc
  1144. Sony PlayStation|psx
  1145. Sony PocketStation|pockstat
  1146. Sord M5|m5
  1147. Soundic Victory MPT-02|mpt02
  1148. Super Nintendo Entertainment System|snes
  1149. Tandy TRS-80 Color Computer|coco3
  1150. Texas Instruments TI 99-4A|ti99_4a
  1151. Thomson MO5|mo5
  1152. Tiger Game.com|gamecom
  1153. Tomy Tutor|tutor
  1154. VTech CreatiVision|crvision
  1155. VTech Socrates|socrates
  1156. Watara Supervision|svision
  1157. )"
  1158. mType := Object()
  1159. Loop, Parse, mTypeVar, `n, `r
  1160. {
  1161. obj := {}
  1162. Loop, Parse, A_LoopField, |
  1163. If (A_Index = 1)
  1164. obj.System := A_LoopField
  1165. Else ; 2
  1166. obj.mameID := A_LoopField
  1167. mType.Insert(obj["System"], obj)
  1168. }
  1169. RLLog.Debug("Module - Finished building the " . MEmu . " object")
  1170. ; For easier use throughout the module
  1171. mameSystem := mType[systemName].System
  1172. mameID := mType[systemName].mameID
  1173.  
  1174. If !mameSystem {
  1175. If (!ArrayUtils.ArrayContains(MSystem,systemName)) {
  1176. 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.")
  1177. } Else {
  1178. RLLog.Debug("Module - Defaulting to MAME's Arcade mode for the remainder of this " . MEmu . " module.")
  1179. }
  1180. mameSystem := systemName
  1181. mameID := "MAME"
  1182. }
  1183.  
  1184. Fullscreen := moduleIni.Read("Settings", "Fullscreen","true",,1) ; Set fullscreen mode
  1185. legacyMode := moduleIni.Read(romName . "|" . mameSystem . "|Settings", "LegacyMode","false",,1)
  1186. mameBiosPath := moduleIni.Read("Settings", "MAME_BIOS_Path", emuPath . "\roms",,1)
  1187. Videomode := moduleIni.Read("Settings", "Videomode","d3d",,1) ; Choices are gdi,ddraw,d3d. If left blank, MAME uses d3d by default
  1188. 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
  1189. bilinearFilter := moduleIni.Read(mameSystem . "|Settings", "BilinearFilter","false",,1)
  1190. hlsl := moduleIni.Read(romName . "|" . mameSystem . "|Settings", "HLSL","false",,1)
  1191. glsl := moduleIni.Read(romName . "|" . mameSystem . "|Settings", "GLSL","false",,1)
  1192. bezelMode := moduleIni.Read(romName . "|" . mameSystem . "|Settings", "BezelMode","layout",,1) ; "layout" or "normal"
  1193. verticalRotationMode := moduleIni.Read(romName . "|" . mameSystem . "|Settings", "VerticalRotationMode","none",,1)
  1194. cheatMode := moduleIni.Read("Settings", "CheatMode","false",,1)
  1195. cheatModeKey := moduleIni.Read("Settings", "CheatModeKey",,,1) ; user defined key to be held down before launching a mame rom.
  1196. UseSoftwareList := moduleIni.Read(romName . "|" . mameSystem, "UseSoftwareList","false",,1)
  1197. sysStaticParams := moduleIni.Read(mameSystem, "StaticParameters",,,1)
  1198. sysParams := moduleIni.Read(mameSystem, "Parameters",,,1)
  1199. romParams := moduleIni.Read(romName, "Parameters", sysParams,,1)
  1200. mameRomName := moduleIni.Read(romName, "MameRomName",,,1)
  1201. autosave := moduleIni.Read(romName . "|" . mameSystem, "Autosave", "false",,1)
  1202. volume := moduleIni.Read(romName . "|" . mameSystem . "|Settings", "Volume",,,1)
  1203. Artwork_Crop := moduleIni.Read(romName . "|" . mameSystem, "Artwork_Crop", "true",,1)
  1204. Use_Bezels := moduleIni.Read(romName . "|" . mameSystem, "Use_Bezels", "false",,1)
  1205. Use_Overlays := moduleIni.Read(romName . "|" . mameSystem, "Use_Overlays", "true",,1)
  1206. Use_Backdrops := moduleIni.Read(romName . "|" . mameSystem, "Use_Backdrops", "true",,1)
  1207. Use_Cpanels := moduleIni.Read(romName . "|" . mameSystem, "Use_Cpanels", "false",,1)
  1208. Use_Marquees := moduleIni.Read(romName . "|" . mameSystem, "Use_Marquees", "false",,1)
  1209. inipath := moduleIni.Read(mameSystem, "IniPath",,,1)
  1210. hashpath := moduleIni.Read(mameSystem, "HashPath",,,1)
  1211. UseControllerRemap := moduleIni.Read(mameSystem . "|Settings", "UseControllerRemap", "true",,1)
  1212. ControllerRemapPath := moduleIni.Read(mameSystem . "|Settings", "ControllerRemapPath", emuPath . "\ControllerRemap\ControllerRemap.exe",,1)
  1213. CtrlRemapFile := new File(ControllerRemapPath)
  1214. ControllerRemapConfigPath := moduleIni.Read( mameSystem . "|Settings", "ControllerRemapConfigPath", CtrlRemapFile.FilePath . "\ctrlr\",,1)
  1215. MAMECtrlrPath := moduleIni.Read(mameSystem . "|Settings", "MAMECtrlrPath", emuPath . "\ctrlr",,1)
  1216.  
  1217. mameBiosPath := GetFullName(mameBiosPath)
  1218.  
  1219. ; Loop, 8
  1220. ; car%A_Index%Color := moduleIni.Read(romName, "Car_" . A_Index . "_Color",,,1)
  1221.  
  1222. enableLinkPlay := moduleIni.Read(romName . "|Link/Network", "Enable_Link_Play", "false",,1)
  1223. networkSession := ""
  1224. If (enableLinkPlay != "false") {
  1225. RLLog.Info("Module - Link/Network Multi-Player is an available option for " . romName)
  1226. getWANIP := moduleIni.Read("Link/Network", "Get_WAN_IP","false",,1)
  1227. 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
  1228. networkPlayers := enableLinkPlay ; Max amount of networkable players
  1229. localLink := 1 ; Tell Multiplayer menu to enable menu option for local linking
  1230.  
  1231. enableNVRAMAutomation := moduleIni.Read(romName . "|Link/Network", "Enable_NVRAM_Automation","true",,1)
  1232. maxPlayersPerMonitor := moduleIni.Read(romName . "|Link/Network", "Max_Players_Per_monitor","1|1|1|1|1|1|1|1",,1)
  1233. splitScreen2PlayersMode := moduleIni.Read(romName . "|Link/Network", "SplitScreen_2_Players","Horizontal",,1) ;horizontal or vertical
  1234. 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.
  1235. localPort := moduleIni.Read("Link/Network", "Local_Port","15111",,1)
  1236.  
  1237. defaultServerIP := moduleIni.Read("Link/Network", "Default_Server_IP", myIP,,1)
  1238. defaultServerPort := moduleIni.Read("Link/Network", "Default_Server_Port","15111",,1)
  1239. 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
  1240. 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
  1241.  
  1242. MultiplayerMenu(lastIP, lastPort, networkType, networkPlayers,,,,,,localLink,"ipAndPort")
  1243.  
  1244. ;MultiPlayer Menu Result
  1245. ; If !(networkType)
  1246. ; MsgBox, % "Single Player Game"
  1247. ; Else If (networkType="localLink")
  1248. ; MsgBox, % "Local Link selected with the number of players equal to: " . networkPlayers
  1249. ; Else If (networkType="server")
  1250. ; MsgBox, % "WAN IP Address=" . networkIP . " | LAN IP Address=" . localIP[1,2] . " | Port=" . networkPort . " | networkPlayers=" . networkPlayers . " | networkRequiresSetup=" . networkRequiresSetup
  1251. ; Else If (networkType="client")
  1252. ; MsgBox, % "NetworkIP=" . networkIP . " | Port Number=" . networkPort . " | networkRequiresSetup=" . networkRequiresSetup
  1253.  
  1254. If networkSession {
  1255. RLLog.Info("Module - Using a Network for " . romName)
  1256. multiPlayerObj := Object() ; initialize object to store the multiplayer options
  1257. If (networkType="localLink") {
  1258. RLLog.Info("Module - Setting remote host to 127.0.0.1 to support local link mode as it is running on this PC.")
  1259. linkEnabledGame := 1
  1260. If networkPlayers > 1
  1261. { RLLog.Info("Module - Local link mode was selected and " . networkPlayers . " sessions will be launched.")
  1262. fullscreen := "false" ; must turn off fullscreen if running multiple MAMEs on the same machine
  1263. Loop % networkPlayers {
  1264. multiPlayerObj[A_Index,"Player"] := A_Index
  1265. multiPlayerObj[A_Index,"CfgDir"] := " -cfg_directory cfg" . (If A_Index = 1 ? "" : A_Index)
  1266. multiPlayerObj[A_Index,"NvramDir"] := " -nvram_directory nvram" . (If A_Index = 1 ? "" : A_Index)
  1267. If (A_Index = 1) { ; Player 1
  1268. initialLocalPort := localPort ; must be stored for last player
  1269. multiPlayerObj[A_Index,"LocalHost"] := " -comm_localhost 0.0.0.0"
  1270. multiPlayerObj[A_Index,"LocalPort"] := " -comm_localport " . localPort
  1271. localPort++
  1272. multiPlayerObj[A_Index,"RemotePort"] := " -comm_remoteport " . localPort
  1273. } Else { ; Players 2+
  1274. multiPlayerObj[A_Index,"LocalPort"] := " -comm_localport " . localPort
  1275. localPort++
  1276. multiPlayerObj[A_Index,"RemoteHost"] := " -comm_remotehost 127.0.0.1"
  1277. multiPlayerObj[A_Index,"RemotePort"] := " -comm_remoteport " . (If A_Index = networkPlayers ? initialLocalPort : localPort) ; must set remote port to first port on last player
  1278. }
  1279.  
  1280. ; 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"]
  1281. }
  1282. } Else
  1283. RLLog.Info("Module - Local link mode was selected but user only chose 1 player. Launch will be a normal session.")
  1284. } Else If (networkType = "client") {
  1285. RLLog.Info("Module - Remote host is running on another PC, module will use remote link mode.")
  1286. moduleIni.Write(networkIP,"GlobalModuleIni","Link/Network","Last_IP") ; Save last used IP and Port for quicker launching next time
  1287. moduleIni.Write(networkPort,"GlobalModuleIni","Link/Network","Last_Port")
  1288. linkType := "Slave"
  1289. networkPlayers := 1
  1290. multiPlayerObj[1,"Player"] := 1
  1291. multiPlayerObj[1,"CfgDir"] := " -cfg_directory cfg"
  1292. multiPlayerObj[1,"NvramDir"] := " -nvram_directory nvram"
  1293. multiPlayerObj[1,"LocalHost"] := " -comm_localhost 0.0.0.0" ; don't really need to set this but just in case
  1294. multiPlayerObj[1,"LocalPort"] := " -comm_localport " . localPort
  1295. multiPlayerObj[1,"RemoteHost"] := " -comm_remotehost " . networkIP
  1296. multiPlayerObj[1,"RemotePort"] := " -comm_remoteport " . networkPort
  1297. } Else { ; server
  1298. RLLog.Info("Module - This PC is acting as the host, telling mame to listen for incoming connections on port: " . localPort)
  1299. moduleIni.Write(networkIP,"GlobalModuleIni","Link/Network","Last_IP") ; Save last used IP and Port for quicker launching next time
  1300. moduleIni.Write(networkPort,"GlobalModuleIni","Link/Network","Last_Port")
  1301. linkType := "Master"
  1302. networkPlayers := 1
  1303. multiPlayerObj[1,"Player"] := 1
  1304. multiPlayerObj[1,"CfgDir"] := " -cfg_directory cfg"
  1305. multiPlayerObj[1,"NvramDir"] := " -nvram_directory nvram"
  1306. multiPlayerObj[1,"LocalHost"] := " -comm_localhost 0.0.0.0" ; don't really need to set this but just in case
  1307. multiPlayerObj[1,"LocalPort"] := " -comm_localport " . networkPort
  1308. multiPlayerObj[1,"RemoteHost"] := " -comm_remotehost " . networkIP
  1309. multiPlayerObj[1,"RemotePort"] := " -comm_remoteport " . networkPort
  1310. }
  1311. RLLog.Info("Module - Starting a network session using the IP """ . networkIP . """ and PORT """ . networkPort . """")
  1312. } Else {
  1313. RLLog.Info("Module - User chose Single Player mode for this session")
  1314. }
  1315. }
  1316.  
  1317. FadeInStart()
  1318.  
  1319. If inipath
  1320. inipath := AbsoluteFromRelative(EmuPath, inipath)
  1321. If hashpath
  1322. hashpath := AbsoluteFromRelative(EmuPath, hashpath)
  1323.  
  1324. artworkCrop := If (Artwork_Crop = "true") ? " -artwork_crop" : " -noartwork_crop"
  1325. useBezels := If (Use_Bezels = "true") ? " -use_bezels" : " -nouse_bezels"
  1326. useOverlays := If (Use_Overlays = "true") ? " -use_overlays" : " -nouse_overlays"
  1327. useBackdrops := If (Use_Backdrops = "true") ? " -use_backdrops" : " -nouse_backdrops"
  1328. useCpanels := If (Use_Cpanels = "true") ? " -use_cpanels" : " -nouse_cpanels"
  1329. useMarquees := If (Use_Marquees = "true") ? " -use_marquees" : " -nouse_marquees"
  1330. autosave := If autosave = "true" ? " -autosave" : ""
  1331. volume := If volume != "" ? " -volume " . volume : ""
  1332. inipath := If inipath != "" ? " -inipath """ . inipath . """" : ""
  1333. hashpath := If hashpath != "" ? " -hashpath """ . hashpath . """" : ""
  1334.  
  1335. If (verticalRotationMode = "none")
  1336. verticalRotationMode := ""
  1337.  
  1338. ; Process mame's ListXML for certain features
  1339. If (bezelEnabled = "true" || servoStikEnabled = "auto" || verticalRotationMode || UseControllerRemap = "true") {
  1340. ListXMLObject := Object()
  1341. ListXMLObject := ListXMLInfo(If mameID = "MAME" ? (If mameRomName ? mameRomName : romName) : mameID) ;For non-Arcade systems we cannot use romName for listxml
  1342.  
  1343. Angle := ListXMLObject["Angle"].Value
  1344. If (bezelEnabled = "true") {
  1345. If (networkPlayers > 1) {
  1346. useBezels := " -nouse_bezels" ; force disabling MAME built-in bezels
  1347. BezelStart(networkPlayers)
  1348. } Else {
  1349. If (bezelMode = "layout"){
  1350. BezelStart("layout",ListXMLObject["Parent"].Value,Angle,romName)
  1351. } Else { ;bezel mode = normal
  1352. useBezels := " -nouse_bezels" ; force disabling MAME built-in bezels
  1353. BezelStart(,,Angle)
  1354. }
  1355. }
  1356. }
  1357. If (servoStikEnabled = "auto") {
  1358. 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
  1359. }
  1360. If (verticalRotationMode && Angle) {
  1361. RLLog.Info("Setting rotation mode to " . verticalRotationMode . " - Game's angle is " . Angle)
  1362. If (verticalRotationMode = "original")
  1363. verticalRotationMode := " -norotate"
  1364. Else If (verticalRotationMode = "right")
  1365. verticalRotationMode := " -ror"
  1366. Else If (verticalRotationMode = "left")
  1367. verticalRotationMode := " -rol"
  1368. Else
  1369. verticalRotationMode := ""
  1370. }
  1371. Else
  1372. verticalRotationMode := ""
  1373.  
  1374. ;Controller Remap
  1375. If (UseControllerRemap = "true") {
  1376. RLLog.Info("Controller Remap: Start")
  1377. romProfileName := (mameRomName ? mameRomName : romName)
  1378. romParentName := ListXMLObject["Parent"].Value
  1379.  
  1380. If ControllerRemapPath
  1381. ControllerRemapPath := AbsoluteFromRelative("", ControllerRemapPath)
  1382. If ControllerRemapConfigPath
  1383. ControllerRemapConfigPath := AbsoluteFromRelative("", ControllerRemapConfigPath)
  1384. If MAMECtrlrPath
  1385. MAMECtrlrPath := AbsoluteFromRelative(emuPath, MAMECtrlrPath)
  1386.  
  1387. ctrlrPath := ""
  1388. RLLog.Info("Controller Remap: ControllerRemapConfigPath: " . ControllerRemapConfigPath)
  1389.  
  1390. ;~ ;1- Check for Rom. 2- Check for Rom Parent. 3- Check for System default
  1391. If (FileExist(ControllerRemapConfigPath . "\" . systemName . "\" . romProfileName . ".cfg")) {
  1392. RLLog.Info("Controller Remap: Rom Config File Found: " . ControllerRemapConfigPath . "\" . systemName . "\" . romProfileName . ".cfg")
  1393. ctrlrPath := new File(ControllerRemapConfigPath . "\" . systemName . "\" . romProfileName . ".cfg")
  1394. }
  1395. else if (romParentName and FileExist(ControllerRemapConfigPath . "\" . systemName . "\" . romParentName . ".cfg")) {
  1396. RLLog.Info("Controller Remap: Parent Rom Config File Found: " . ControllerRemapConfigPath . "\" . systemName . "\" . romParentName . ".cfg")
  1397. ctrlrPath := new File(ControllerRemapConfigPath . "\" . systemName . "\" . romParentName . ".cfg")
  1398. }
  1399. else If (FileExist(ControllerRemapConfigPath . "\" . systemName . "\_Default.cfg")) {
  1400. RLLog.Info("Controller Remap: System Config File Found: " . ControllerRemapConfigPath . "\" . systemName . "\_Default.cfg")
  1401. ctrlrPath := new File(ControllerRemapConfigPath . "\" . systemName . "\_Default.cfg")
  1402. }
  1403. else If (FileExist(ControllerRemapConfigPath . "\_Default.cfg")) {
  1404. RLLog.Info("Controller Remap: Global Config File Found: " . ControllerRemapConfigPath . "\_Default.cfg")
  1405. ctrlrPath := new File(ControllerRemapConfigPath . "\_Default.cfg")
  1406. }
  1407.  
  1408. ; Is there a controller file?
  1409. if (ctrlrPath) {
  1410. ctrlrFile := " -ctrlr RocketLauncher"
  1411.  
  1412. ;Replace <system name="default"> with the Right mameID in the RocketLauncher.cfg file
  1413. if(mameID != "MAME") {
  1414. ctrlrPath.Read()
  1415. rocketLauncherCfgFile := new File(MAMECtrlrPath . "\RocketLauncher.cfg")
  1416. rocketLauncherCfgFile.Delete()
  1417. rocketLauncherCfgFile.Append(StringUtils.Replace(ctrlrPath.Text, "<system name=""default"">", "<system name=""" . mameID . """>"))
  1418. }
  1419. else {
  1420. ctrlrPath.Copy(MAMECtrlrPath . "\RocketLauncher.cfg",1)
  1421. }
  1422.  
  1423. RLLog.Info("Controller Remap: Running """ . ControllerRemapPath . """ /remap:""" . MAMECtrlrPath . "\RocketLauncher.cfg""")
  1424. ControllerRemapProcess := new Process(ControllerRemapPath)
  1425. ControllerRemapProcess.Run(" /remap:""" . MAMECtrlrPath . "\RocketLauncher.cfg""","Hide")
  1426. }
  1427. else {
  1428. RLLog.Info("Controller Remap: No Controller config file found.")
  1429. }
  1430. RLLog.Info("Controller Remap: End")
  1431. }
  1432. }
  1433.  
  1434. winstate := If (Fullscreen = "true") ? "Hide UseErrorLevel" : "UseErrorLevel"
  1435. fullscreenParam := If (Fullscreen = "true") ? " -nowindow" : " -window"
  1436.  
  1437. hideEmuObj := Object(emuOpenWindow,0,emuDebugWindow,0,emuOutputWindow,0,emuPrimaryWindow,1)
  1438. 7z(romPath, romName, romExtension, sevenZExtractPath)
  1439.  
  1440. ; Get MAME version from executable, this is needed since some CLI switches are not available in older MAME versions
  1441. exeAtrib := FileGetVersionInfo_AW(emuPath . "\" . executable, "FileVersion|ProductVersion", "|")
  1442. Loop, Parse, exeAtrib, |%A_Tab%, %A_Space%
  1443. A_Index & 1 ? ( _ := A_LoopField ) : ( %_% := A_LoopField )
  1444. If ProductVersion
  1445. MAMEVersion := StringUtils.Right(ProductVersion, StringUtils.StringLength(ProductVersion) - 2)
  1446. RLLog.Info("Module - Detected MAME Product Version from '" . EmuPath . "\" . executable . "' is " . MAMEVersion)
  1447.  
  1448. If (videomode = "opengl") {
  1449. hlsl := " -nohlsl_enable"
  1450. If (MAMEVersion > 159)
  1451. glsl := If glsl = "true" ? " -gl_glsl" : (If glsl = "ini" ? "" : " -nogl_glsl")
  1452. Else
  1453. glsl := ""
  1454. } Else {
  1455. hlsl := If hlsl = "true" ? " -hlsl_enable" : (If hlsl = "ini" ? "" : " -nohlsl_enable")
  1456. If (MAMEVersion > 159)
  1457. glsl := If videomode = "ini" ? "" : " -nogl_glsl"
  1458. Else
  1459. glsl := ""
  1460.  
  1461. If (videomode = "ini")
  1462. videomode := ""
  1463. }
  1464. videomode := If (Videomode != "" ) ? " -video " . videomode : ""
  1465.  
  1466. param1 := " -cart """ . romPath . "\" . romName . romExtension . """" ; default param1 used for launching most systems.
  1467. If (romExtension = ".txt") ; This can be applied to all systems
  1468. param1 := ""
  1469.  
  1470. If (mameID = "apfimag") ; APF Imagination Machine
  1471. If (romExtension != ".tap")
  1472. mameID := "apfm1000" ; cart games for APF Imagination Machine require a different bios to be loaded
  1473.  
  1474. If (UseSoftwareList != "true")
  1475. { ; 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.
  1476. 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
  1477. {
  1478. If !SystemModuleIni.Exist()
  1479. SystemModuleIni.Append() ; create a blank file if it does not exist
  1480.  
  1481. If (mameID = "ti99_4a") ; Texas Instruments TI 99-4A
  1482. {
  1483. ExpansionCartLocation := moduleIni.Read("Settings", "ExpansionCartLocation", romPathOrig . "\System",,1)
  1484. ExpansionCartLocation := GetFullName(ExpansionCartLocation)
  1485. CommandWaitOffset := moduleIni.Read("Settings", "CommandWaitOffset", 0,,1)
  1486.  
  1487. ExpansionCart := moduleIni.Read(romName, "Expansion_Cart","extended_basic.rpk",,1) ; user can specify a rom specific cart instead of the default basic one
  1488. Command := moduleIni.Read(romName, "Command",,,1)
  1489.  
  1490. ; Now set the parameters to send to MAME
  1491. If (romExtension = ".dsk") ; Expansion Disk
  1492. {
  1493. ; 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
  1494. param1 := " -nat -gromport single -cart1"
  1495. param2 := " """ . ExpansionCartLocation . "\" . ExpansionCart . """"
  1496. param3 := " -peb:slot2 32kmem -peb:slot3 speech -peb:slot6 tirs232 -peb:slot8 hfdc"
  1497. param4 := " -flop1"
  1498. param5 := " """ . romPath . "\" . romName . romExtension . """"
  1499. If StringUtils.Contains(romName, "\(Disk")
  1500. {
  1501. TimerUtils.Sleep(50)
  1502. If (romTable.MaxIndex() = 2)
  1503. {
  1504. param4 := " -flop1 " . " """ . romTable[1,1] . """"
  1505. param5 := " -flop2 " . " """ . romTable[2,1] . """"
  1506. }
  1507. }
  1508. } Else If (romExtension = ".rpk") ; Cart Game (RPK Format)
  1509. param1 := " -nat -gromport single -cart1", param2:=" """ . romPath . "\" . romName . romExtension . """", param3:=" -peb:slot3 speech" ;-cart will also work here
  1510. param6 := " -ui_active" ;Enable partial keyboard mode at startup
  1511. } Else If (mameID = "aes") ; SNK Neo Geo AES
  1512. { biosRegion := moduleIni.Read(romName, "BIOS_Region","asia",,1)
  1513. param1 := " -bios " . biosRegion ; can also be japan, but the asian one has english menus for most games
  1514. param2 := " -cart " . romName
  1515. }Else If (mameID = "apple2gs") ; Apple IIGS
  1516. { externalOS := moduleIni.Read(romName, "External_OS","false",,1)
  1517. 2gsSystemFile := "System6.2mg" ;For games without OS included, always force this name and error out if not found
  1518. multipartTable := CreateRomTable(multipartTable)
  1519.  
  1520. If (externalOS = "true")
  1521. { CheckFile(romPath . "\" . 2gsSystemFile)
  1522. param1 := " -flop3", param2:=" """ . romPath . "\" . 2gsSystemFile . """", param3:=" -flop4", param4:=" """ . romPath . "\" . romName . romExtension . """"
  1523. } Else {
  1524. param1 := " -flop3", param2:=" """ . romPath . "\" . romName . romExtension . """"
  1525. If (multipartTable.MaxIndex() > 1)
  1526. param3 := " -flop4", param4 := " """ . multipartTable[2,1] . """"
  1527. }
  1528. param5 := " -ui_active" ;Enable partial keyboard mode at startup
  1529. }Else If (mameID = "electron") ; Acorn Electron
  1530. { AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2",,1) ; Read delay from config.
  1531. AutoBootDelay := " -autoboot_delay " . AutoBootDelay
  1532. If StringUtils.Contains(romExtension,"\.ssd|\.bbc\|\.img|\.dsd|\.adf|\.ads|\.adm|\.adl")
  1533. {
  1534. mediaDeviceType := "flop"
  1535. autoBootMethod := " -autoboot_command ""*mount 0\n\n\n\n\nch.""""run""""""\n"""""
  1536. }
  1537. Else If StringUtils.Contains(romExtension,"\.bin|\.rom")
  1538. mediaDeviceType := "cart"
  1539. Else
  1540. {
  1541. mediaDeviceType := "cass"
  1542. autoBootMethod := " -autoboot_command ""*tape\nchain""""""""""""\n"""
  1543. }
  1544. param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """" . autoBootMethod . AutoBootDelay . ""
  1545. }Else If (mameID = "sc3000") ; Sega SC-3000
  1546. { AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2",,1) ; Read delay from config.
  1547. AutoBootDelay := " -autoboot_delay " . AutoBootDelay
  1548. If StringUtils.Contains(romExtension,"\.bin|\.sg\|.sc")
  1549. mediaDeviceType := "cart"
  1550. Else ; any other format
  1551. mediaDeviceType := "cass"
  1552. param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""chain""""""""""""\n""" . AutoBootDelay . ""
  1553. }Else If (mameID = "c64") ; Commodore 64
  1554. { AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2",,1) ; Read delay from config.
  1555. AutoBootDelay := " -autoboot_delay " . AutoBootDelay
  1556. If StringUtils.Contains(romExtension,"\.d64|\.g64|\.g41|\.d77|\.d88|\.1dd|\.dfi|\.imd|\.ipf|\.mfi|\.mfm|\.td0|\.cqm|\.cqi|\.dsk")
  1557. mediaDeviceType := "flop1"
  1558. Else If StringUtils.Contains(romExtension,"\.wav|\.tap")
  1559. mediaDeviceType := "cass1"
  1560. Else If StringUtils.Contains(romExtension,"\.80|\.a0|\.e0|\.crt")
  1561. mediaDeviceType := "cart1"
  1562. Else If StringUtils.Contains(romExtension,"\.p00|\.prg|\.t64")
  1563. mediaDeviceType := "quik1"
  1564. param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""chain""""""""""""\n""" . AutoBootDelay . ""
  1565. }Else If mameID = mbeeic ; Applied Technology MicroBee
  1566. { microbeeModel := moduleIni.Read(romName, "MicroBee_Model","mbeeic",,1)
  1567. If !StringUtils.Contains(microbeeModel,"mbee|mbeeic|mbeepc|mbeepc85|mbee56")
  1568. ScriptError("This is not a known MicroBee model value: " . microbeeModel)
  1569. Else If (microbeeModel != "mbeeic")
  1570. mameID := microbeeModel
  1571. If StringUtils.Contains(romExtension,"\.mwb|\.com|\.bee")
  1572. mediaDeviceType := "quik1"
  1573. Else If StringUtils.Contains(romExtension,"\.wav|\.tap")
  1574. mediaDeviceType := "cass"
  1575. Else If StringUtils.Contains(romExtension,"\.rom")
  1576. mediaDeviceType := "cart"
  1577. Else If StringUtils.Contains(romExtension,"\.dsk")
  1578. mediaDeviceType := "flop1"
  1579. Else ; .bin format
  1580. mediaDeviceType := "quik2"
  1581. param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """"
  1582. }Else If (mameID = "odyssey2") ; Magnavox Odyssey 2
  1583. {
  1584. VoiceModule := moduleIni.Read(romname, "VoiceModule","false","",1)
  1585. If (VoiceModule = "true")
  1586. param1 := " -cart1 voice -cart2 """ . romPath . "\" . romName . romExtension . """"
  1587. param2 := " -ui_active" ;Enable partial keyboard mode at startup
  1588.  
  1589. If romName not contains (USA
  1590. mameID := "videopac"
  1591. }Else If (mameID = "astrocde") ; Bally Astrocade
  1592. {
  1593. BlueRAMBasicRom := moduleIni.Read("Settings", "BlueRAMBasicRom","Blue RAM Basic v1.1 (USA).bin",,1) ; Blue RAM Basic rom
  1594. RequiresReset := moduleIni.Read(romname, "RequiresReset","false",,1) ; Check if game requires a reset
  1595.  
  1596. BlueRAMBasicRomPath := new File(romPath . "\" . BlueRAMBasicRom)
  1597. If (romExtension = ".script") {
  1598. ; Will require blue ram basic
  1599. If !BlueRAMBasicRomPath.Exist() {
  1600. ; 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
  1601. StringUtils.SplitPath(romPath,,romBasePath) ; grab path one level up
  1602. BlueRAMBasicRomPath.__Delete()
  1603. BlueRAMBasicRomPath := new File(romBasePath . "\" . BlueRAMBasicRom)
  1604. BlueRAMBasicRomPath.CheckFile("Couldn't find " . BlueRAMBasicRom . " on any of these paths:" . romBasePath . "|" . romPath)
  1605. }
  1606.  
  1607. ScriptFile := new File(romPath . "\" . romName . romExtension)
  1608. param1 := " -cart """ . BlueRAMBasicRomPath.FileFullPath . """"
  1609.  
  1610. ; Replace rompath variable in script
  1611. ScriptFile.Read()
  1612. ScriptFile.Text := StringUtils.Replace(ScriptFile.Text, "{romPath}", romPath, "all")
  1613.  
  1614. ; Create cmd file to send to MESS
  1615. RomCMDFile := new File(romPath . "\" . romName . ".cmd")
  1616. RomCMDFile.Delete()
  1617. RomCMDFile.Append(ScriptFile.Text)
  1618. param2 := " -exp blue_ram_16k -debug -debugscript """ . RomCMDFile.FileFullPath . """"
  1619.  
  1620. closeDebugWindow := "true"
  1621. }
  1622. }Else If (mameID = "samcoupe") ; MGT Sam Coupe
  1623. { AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2",,1) ; Read delay from config.
  1624. AutoBootDelay := " -autoboot_delay " . AutoBootDelay
  1625.  
  1626. If StringUtils.Contains(romExtension,"\.mgt|\.dsk|\.d77|\.d88|\.1dd|\.dfi|\.imd|\.ipf|\.mfi|\.mfm|\.td0|\.cqm|\.cqi")
  1627. mediaDeviceType := "flop1"
  1628. param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""\nBOOT\n""" . AutoBootDelay . ""
  1629. }Else If (mameID = "vic10") ; Commodore MAX Machine
  1630. { AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2",,1) ; Read delay from config.
  1631. AutoBootDelay := " -autoboot_delay " . AutoBootDelay
  1632.  
  1633. If StringUtils.Contains(romExtension,"\.e0|\.80")
  1634. param1 := " -cart """ . romPath . "\" . romName . romExtension . """"
  1635. Else If StringUtils.Contains(romExtension,"\.wav|\.tap|\.fd")
  1636. param1 := " -cass """ . romPath . "\" . romName . romExtension . """"
  1637. Else If StringUtils.Contains(romExtension,"\.t64|\.prg|\.p00")
  1638. {
  1639. mediaDeviceType := "quik"
  1640. param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""RUN""" . AutoBootDelay . ""
  1641. }
  1642. }Else If (mameID = "mo5") ; Thomson MO5
  1643. { AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2","",1) ; Read delay from config.
  1644. AutoBootDelay := " -autoboot_delay " . AutoBootDelay
  1645.  
  1646. If StringUtils.Contains(romExtension,"\.bin|\.m5|\.rom")
  1647. param1 := " -cart """ . romPath . "\" . romName . romExtension . """"
  1648. Else If StringUtils.Contains(romExtension,"\.wav|\.k5|\.k7")
  1649. param1 := " -cass """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""RUN \""\""\n""" . AutoBootDelay . ""
  1650. Else If StringUtils.Contains(romExtension,"\.fd|\.dsk|\.d77|\.d88")
  1651. param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""DOS\nLOAD\n""" . AutoBootDelay . ""
  1652. }Else If (mameID = "cpc664") ; Amstrad CPC
  1653. { LaunchProgram := moduleIni.Read(romName, "LaunchProgram","disk",,1) ; Read command from config.
  1654. LaunchProgram := " -autoboot_command " . """RUN \""" . LaunchProgram . "\n"""
  1655. AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2",,1) ; Read delay from config.
  1656. AutoBootDelay := " -autoboot_delay " . AutoBootDelay
  1657.  
  1658. If StringUtils.Contains(romExtension,"\.d77|\.d88|\.1dd|\.dfi|\.imd|\.ipf|\.mfi|\.mfm|\.td0|\.cqm|\.cqi|\.dsk")
  1659. mediaDeviceType := "flop1"
  1660. param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """" . LaunchProgram . AutoBootDelay
  1661. }
  1662.  
  1663. ;Use a different bios if needed (This must be done after the above if conditions since the mameID will change)
  1664. 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
  1665. If (iniBios != "")
  1666. mameID := iniBios ; need to change the bios name for some games
  1667. }
  1668.  
  1669. ; These systems don't use an ini, but do require parameters to be changed from the default method of launching MAME
  1670. 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
  1671. { If !StringUtils.Contains(romExtension,"\.chd|\.cue")
  1672. ScriptError("MAME only supports " . mameSystem . " games in chd and cue format. It does not support:`n" . romExtension)
  1673. If (mameSystem = "NEC TurboGrafx-CD") { ; NEC TurboGrafx-CD needs an additional bios mounted as a cart to run
  1674. tgcdBios := moduleIni.Read("Settings", "TGCDSystemCard", emuPath . "\roms\Super CD-ROM2 System V3.01 (U).pce",,1)
  1675. tgcdBios := GetFullName(tgcdBios)
  1676. tgcdBios := CheckFile(tgcdBios)
  1677. param2 := " -cart " . """" . tgcdBios . """"
  1678. } Else If (mameSystem = "NEC PC Engine-CD") { ; NEC PC Engine-CD needs an additional bios mounted as a cart to run
  1679. pcecdBios := moduleIni.Read("Settings", "PCECDSystemCard", emuPath . "\roms\Super CD-ROM2 System V3.0 (J).pce",,1)
  1680. pcecdBios := GetFullName(pcecdBios)
  1681. pcecdBios := CheckFile(pcecdBios)
  1682. param2 := " -cart " . """" . pcecdBios . """"
  1683. } Else If (mameID = "psx") { ; Sony PlayStation
  1684. mameID := "psu" ; changing mameID sent to MAME to use the USA bios
  1685. ; SelectMemCard() ; future function to swap around memcards
  1686. ; Usage: mc1 "J:\MAME\software\psu\card1.mc"
  1687. } If (mameSystem = "Sega CD") { ;
  1688. If StringUtils.InStr(romName,"(Jap") ; Mega CD Japanese v2
  1689. mameID := "megacd2j"
  1690. Else If StringUtils.InStr(romName,"(Euro") ; Mega CD European (PAL)
  1691. mameID := "megacd"
  1692. }
  1693. param1 := " -cdrm """ . romPath . "\" . romName . romExtension . """"
  1694. }Else If (mameID = "gamecom") ; Tiger Game.com
  1695. { If (romExtension != ".txt")
  1696. param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"
  1697. }Else If (mameID = "genesis") ; Sega Genesis
  1698. { If (StringUtils.InStr(romName, "(Europe") || StringUtils.InStr(romName, "(PAL")) ; if rom is from europe, tell MAME to boot a Mega Drive instead
  1699. mameID := "megadriv"
  1700. }Else If (mameID = "megadriv") ; Sega Mega Drive
  1701. { If (StringUtils.InStr(romName, "(USA") || StringUtils.InStr(romName, "(NTSC")) ; if rom is from America, tell MAME to boot a Genesis instead
  1702. mameID := "genesis"
  1703. }Else If (mameID = "vii") ; JungleTac Sport Vii
  1704. { If (romName = "Built-In Games (China)") ; Has some built-in games, gotta launch just BIOS for it.
  1705. param1 := ""
  1706. }Else If (mameID = "alice32") ; Matra & Hachette Alice
  1707. { If (romExtension != ".txt")
  1708. param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
  1709. }Else If (mameID = "cgenie") ; EACA EG2000 Colour Genie
  1710. { If (romExtension != ".txt")
  1711. param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
  1712. }Else If (mameID = "pockstat") ; Sony PocketStation
  1713. { If (romExtension != ".gme")
  1714. param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"
  1715. }Else If (mameID = "coco3") ; Tandy TRS-80 Color Computer
  1716. { If (romExtension != ".txt")
  1717. param1 := " -cart """ . romPath . "\" . romName . romExtension . """"
  1718. }Else If (mameID = "zx81") ; Sinclair ZX81
  1719. { If (romExtension != ".txt")
  1720. param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
  1721. }Else If (mameID = "lynx128k") ; Camputers Lynx
  1722. { If (romExtension != ".txt")
  1723. param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
  1724. }Else If (mameID = "vg5k") ; Philips VG 5000
  1725. { If (romExtension != ".txt")
  1726. param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
  1727. }Else If (mameID = "sorcerer") ; Exidy Sorcerer
  1728. { If (romExtension = ".snp") ; Snapshot file
  1729. param1 := " -dump """ . romPath . "\" . romName . romExtension . """"
  1730. Else If (romExtension = ".bin")
  1731. param1 := " -quik """ . romPath . "\" . romName . romExtension . """"
  1732. }Else If (messID = "jupace") ; jupiter ace
  1733. { If (romExtension = ".ace")
  1734. param1 := " -dump """ . romPath . "\" . romName . romExtension . """"
  1735. }Else If (mameID = "a800" || mameID = "fds") ; Atari 8-Bit, Nintendo Famicom Disk System
  1736. { If (romExtension != ".txt")
  1737. param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
  1738. }Else If (mameID = "vectrex") ; GCE Vectrex
  1739. { 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)
  1740. param1 := ""
  1741. }Else If (mameID = "apfm1000") ; APF Imagination Machine/APF M1000
  1742. { If (romName = "Rocket Patrol (USA)") ; Rocket Patrol is built into the APF M1000 ROM.
  1743. param1 := ""
  1744. }Else If (mameID = "adam") ; Coleco ADAM
  1745. param1 := (If romExtension = ".ddp" ? " -cass1" : (If romExtension = ".dsk" ? " -flop1" : " -cart1")) . " """ . romPath . "\" . romName . romExtension . """" ; Decide if tape, disk, or cart game
  1746. Else If (mameID = "pegasus") ; Aamber Pegasus
  1747. { If (romExtension != ".txt")
  1748. param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"
  1749. }Else If (mameID = "gp32") ; GamePark 32
  1750. { If (romExtension != ".txt")
  1751. param1 := " -memc """ . romPath . "\" . romName . romExtension . """"
  1752. }Else If (mameID = "svmu") ; Sega VMU
  1753. {
  1754. param1 := " -quik """ . romPath . "\" . romName . romExtension . """"
  1755. }Else If (mameID = "x1turbo40") ; Sharp X1
  1756. { If StringUtils.Contains(romExtension,"\.bin|\.rom")
  1757. param1 := " -cart """ . romPath . "\" . romName . romExtension . """"
  1758. Else If StringUtils.Contains(romExtension,"\.wav|\.tap")
  1759. param1 := " -cass """ . romPath . "\" . romName . romExtension . """"
  1760. Else
  1761. param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
  1762. }Else If (mameID = "pc8801") ; NEC PC-8801
  1763. { If (romExtension = ".d88")
  1764. param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
  1765. }Else If (mameID = "fmnew7") ; Fujitsu FM-7
  1766. { If StringUtils.Contains(romExtension,"\.fdi|\.td0|\.imd|\.cqm|\.dsk|\.d77|\.d88|\.1dd")
  1767. param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
  1768. Else If StringUtils.Contains(romExtension,"\.wav|\.t77")
  1769. param1 := " -cass """ . romPath . "\" . romName . romExtension . """"
  1770. }Else If (mameID = "apple2ep") ; Apple II
  1771. { If StringUtils.Contains(romExtension,"\.dsk|\.do|\.po|\.rti|\.edd|\.d77|\.d88|\.1dd|\.dfi|\.imd|\.i pf|\.mfi|\.mfm|\.td0|\.cqm|\.cqi")
  1772. param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
  1773. Else If StringUtils.Contains(romExtension,"\.wav")
  1774. param1 := " -cass """ . romPath . "\" . romName . romExtension . """"
  1775. }Else If (mameID = "n64dd") ; Nintendo 64DD
  1776. {
  1777. N64RomFile := new FIle(romPath . "\" . romName . ".n64")
  1778. If N64RomFile.Exist()
  1779. param1 := " -cart """ . N64RomFile.FileFullPath . """ -quik """ . romPath . "\" . romName . romExtension . """"
  1780. Else
  1781. param1 := " -quik """ . romPath . "\" . romName . romExtension . """"
  1782. }Else If StringUtils.Contains(mameID,"studio2|mpt02") ; RCA Studio 2
  1783. {
  1784. If (romExtension != ".txt")
  1785. param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"
  1786. Else {
  1787. If StringUtils.Contains(romName,"Doodle")
  1788. button2 := "A 1" ; Press 1 on P1 controller
  1789. If StringUtils.Contains(romName,"Patterns")
  1790. button2 := "A 2" ; Press 2 on P1 controller
  1791. If StringUtils.Contains(romName,"Bowling")
  1792. button2 := "A 3" ; Press 3 on P1 controller
  1793. If StringUtils.Contains(romName,"Freeway")
  1794. button2 := "A 4" ; Press 4 on P1 controller
  1795. If StringUtils.Contains(romName,"Addition")
  1796. button2 := "A 5" ; Press 5 on P1 controller
  1797. }
  1798.  
  1799. ; Generate a lua script to press the Clear button so games will start
  1800. ScriptFileName := GeneratePressButtonScript("Clear",button2)
  1801. bootscript := " -script """ . ScriptFileName . """ -autoboot_delay 1"
  1802. }Else If (mameID = "fmtowns" || mameID = "fmtmarty") ; Fujitsu FM Towns
  1803. {
  1804. If StringUtils.Contains(romExtension,"\.chd|\.cue")
  1805. mediaDeviceType := "cdrm"
  1806. Else
  1807. mediaDeviceType := "flop1"
  1808.  
  1809. param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """"
  1810. }
  1811. } Else { ; Use Software List
  1812. hashname := mameID
  1813. param1 := " """ . romName . """" ; param1 used for launching from software lists
  1814.  
  1815. If (mameID = "aes") ; SNK Neo Geo AES
  1816. { hashname := "neogeo"
  1817. biosRegion := moduleIni.Read(romName, "BIOS_Region","asia",,1)
  1818. param2 := " -bios " . biosRegion ; can also be japan, but the asian one has english menus for most games
  1819. }
  1820. CheckFile(emuPath . "\hash\" . hashname . ".xml","Could not find a software list for the system " . mameID) ;Check if software list for selected system exists
  1821. }
  1822.  
  1823. If (mameID = "vectrex") { ; GCE Vectrex
  1824. VectrexArtFile := new File(emuPath . "\artwork\Vectrex\" . romName . ".png")
  1825. param2 := " -view " . (If VectrexArtFile.Exist() ? ("""" . romName . """") : "standard") ; need overlays extracted in the artwork\vectres folder. PNGs must match romName
  1826. }
  1827.  
  1828. sysStaticParams := If sysStaticParams != "" ? A_Space . sysStaticParams : "" ; tacking on a space in case user forgot to add one
  1829. romParams := If romParams != "" ? A_Space . romParams : "" ; tacking on a space in case user forgot to add one
  1830.  
  1831. 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
  1832. 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
  1833.  
  1834. If StringUtils.InStr(romParams,"-rompath")
  1835. 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.")
  1836. If StringUtils.InStr(sysStaticParams,"-rompath")
  1837. 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.")
  1838.  
  1839. ; use a custom rom name, not the one from the db
  1840. If mameRomName {
  1841. MameRomOriginalFile := new File(romPath . "\" . romName . romExtension)
  1842. MameRomCustomFile := new File(romPath . "\" . mameRomName . romExtension)
  1843. errLvl := MameRomOriginalFile.Move(MameRomCustomFile.FileFullPath) ; rename rom to match what mame needs
  1844. originalRomName := romName ; store romName from database so we know what to rename it back to later
  1845. romName := mameRomName
  1846. If errLvl
  1847. 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)
  1848. Else ; if rename was successful, set var so we know to move it back later
  1849. fileRenamed := 1
  1850. }
  1851.  
  1852. ; use a custom cfg file if it exists and append it to param1
  1853. CustomCFGPath := new Folder(emuPath . "\cfg\" . mameID . "\" . dbName)
  1854. If CustomCFGPath.Exist()
  1855. param1 := " -cfg_directory """ . CustomCFGPath.FileFullPath . """" . param1
  1856.  
  1857. If (bilinearFilter = "true")
  1858. bilinearEnabled := " -filter"
  1859. Else
  1860. bilinearEnabled := " -nofilter"
  1861.  
  1862. If (cheatMode = "true") {
  1863. CheatZipFile := new File(emuPath . "\cheat.zip")
  1864. Cheat7zFile := new File(emuPath . "\cheat.7z")
  1865. If (!CheatZipFile.Exist() && !Cheat7zFile.Exist())
  1866. RLLog.Warning("Module - You have cheats enabled for " . MEmu . " but could not locate a ""cheat.zip"" or ""cheat.7z"" in " . emuPath)
  1867. Else {
  1868. RLLog.Info("Module - Cheat file found in " . emuPath)
  1869. If cheatModeKey ; if user wants to use a key to enable CheatMode
  1870. cheatEnabled := If XHotkeyAllKeysPressed(cheatModeKey) ? " -cheat" : "" ; only enables cheatMode when key is held down on launch
  1871. Else ; no cheat mode key defined
  1872. cheatEnabled := " -cheat"
  1873. }
  1874. }
  1875.  
  1876. If (RequiresReset = "true")
  1877. { ; Generate a lua script to send a system soft reset
  1878. ScriptFileName := GenerateSoftResetScript()
  1879. bootscript := " -script """ . ScriptFileName . """ -autoboot_delay 1"
  1880. }
  1881.  
  1882. HideAppStart(hideEmuObj,hideEmu)
  1883.  
  1884.  
  1885.  
  1886. If (legacyMode = "true")
  1887. { RLLog.Info("Module - Running MAME in legacy Mode")
  1888. 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
  1889. } Else {
  1890. RLLog.Info("Module - Running MAME in non-legacy mode")
  1891. ; If (networkPlayers = 1 || !linkEnabledGame) {
  1892. If !networkSession {
  1893. RLLog.Info("Module - SinglePlayer session")
  1894. 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
  1895. } Else { ; multiplayer game run
  1896. RLLog.Info("Module - Network/MultiPlayer session")
  1897. BuildNVRAMObject() ; build nvram object
  1898. ;screen positions
  1899. screenPos := []
  1900. screenPos := SplitScreenPos(networkPlayers,splitScreen2PlayersMode,splitScreen3PlayersMode,maxPlayersPerMonitor)
  1901. If (networkType="localLink")
  1902. globalInputs := " -global_inputs" ; tell mame to accept inputs when its window is not focused
  1903. Loop % networkPlayers
  1904. {
  1905. currentPlayer := A_Index
  1906. ; Update NVRAM setting(s)
  1907. If (enableNVRAMAutomation = "true") {
  1908. If nvramSettings[romName]["Settings"]["Credit"]["Position"].MaxIndex() { ; If nvram settings exist for this game
  1909. NVRamFile%currentPlayer% := new File(emuPath . "\nvram" . (If currentPlayer = 1 ? "" : currentPlayer) . "\" . romName . "\" . nvramSettings[romName]["Settings"]["NVRAM"]["File"][1])
  1910. If NVRamFile%currentPlayer%.Exist() {
  1911. RLLog.Info("Module - Checking nvram file(s) for required changes")
  1912. If (networkType = "localLink") { ; only local link is supported for now
  1913. ; Parse through each setting of each player and lookup the position to write new setting to the nvram file
  1914. for playerOptionLabel, selectedPlayerOption in nvramSettings[romName]["Player"][currentPlayer] ;looping on each player selected options
  1915. for index, setting in nvramSettings[romName]["Settings"][playerOptionLabel]["Position"] ;Looping through hex values of the current option
  1916. HexCompareWrite(NVRamFile%currentPlayer%.FileFullPath,nvramSettings[romName]["Settings"][playerOptionLabel]["Position"][index],nvramSettings[romName]["Settings"][playerOptionLabel]["Option"][selectedPlayerOption][index])
  1917. for index, playerCRC in nvramSettings[romName]["CRC"]["Player"][currentPlayer] ;looping on each player selected options
  1918. HexCompareWrite(NVRamFile%currentPlayer%.FileFullPath,nvramSettings[romName]["Settings"]["CRC"]["Position"][index],nvramSettings[romName]["CRC"]["Player"][currentPlayer][index])
  1919. } Else If (networkType = "Server") {
  1920. RLLog.Info("Module - Converting this nvram to ""Master"" in: " . NVRamFile%currentPlayer%.FileFullPath)
  1921. ; 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
  1922. HexCompareWrite(NVRamFile%currentPlayer%.FileFullPath,nvramSettings[romName]["Settings"]["Link"]["Position"][1],nvramSettings[romName]["Settings"]["Link"]["Option"]["Master"][1])
  1923. } Else If (networkType = "Client") {
  1924. RLLog.Info("Module - Converting this nvram to ""Slave"" in: " . NVRamFile%currentPlayer%.FileFullPath)
  1925. ; 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
  1926. HexCompareWrite(NVRamFile%currentPlayer%.FileFullPath,nvramSettings[romName]["Settings"]["Link"]["Position"][1],nvramSettings[romName]["Settings"]["Link"]["Option"]["Slave"][1])
  1927. }
  1928. } Else
  1929. 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)
  1930. } Else
  1931. RLLog.Info("Module - This rom does not contain an entry in the NVRAM object")
  1932. }
  1933. ;;Run Line for each of the multiplayer MAME instances using the nvramPath and cfgPath variables to the extra mames
  1934. MameMultiPlayer%currentPlayer%Exe := new Process(emuPath . "\" . executable) ; instantiate a new process for each player
  1935. 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
  1936. MameMultiPlayer%currentPlayer%Exe.Process("Exist") ; get PID
  1937. MameMultiPlayer%currentPlayer%Window := new Window(new WindowTitle(,,,,MameMultiPlayer%currentPlayer%Exe.PID))
  1938. MameMultiPlayer%currentPlayer%Window.ExcludeTitle := "MAMEOutput" ; ignore the mame debug window
  1939. MameMultiPlayer%currentPlayer%Window.Wait()
  1940. }
  1941.  
  1942. Loop % networkPlayers
  1943. {
  1944. MameMultiPlayer%A_Index%Window.Get("ID")
  1945. MameMultiPlayer%A_Index%Window.RemoveTitlebar()
  1946. MameMultiPlayer%A_Index%Window.ToggleMenu()
  1947. MameMultiPlayer%A_Index%Window.RemoveBorder()
  1948. MameMultiPlayer%A_Index%Window.Move(screenPos[A_Index].X, screenPos[A_Index].Y, screenPos[A_Index].W, screenPos[A_Index].H)
  1949. TimerUtils.Sleep(50)
  1950. }
  1951. }
  1952. }
  1953.  
  1954. If errLvl {
  1955. If (errLvl = 1)
  1956. Error := "Failed Validity"
  1957. Else If(errLvl = 2)
  1958. Error := "Missing Files"
  1959. Else If(errLvl = 3)
  1960. Error := "Fatal Error"
  1961. Else If(errLvl = 4)
  1962. Error := "Device Error"
  1963. Else If(errLvl = 5)
  1964. Error := "Game Does Not Exist"
  1965. Else If(errLvl = 6)
  1966. Error := "Invalid Config"
  1967. Else If StringUtils.Contains(errLvl,"7|8|9")
  1968. Error := "Identification Error"
  1969. Else
  1970. Error := "MAME Error"
  1971. RLLog.Error("MAME Error - " . Error)
  1972. }
  1973.  
  1974. emuPrimaryWindow.Wait()
  1975. emuPrimaryWindow.WaitActive()
  1976.  
  1977. If (mameID = "ti99_4a") ; Texas Instruments TI 99-4A
  1978. {
  1979. KeyUtils.SendCommand("X",1000) ; To bypass the first screen
  1980. If (Command)
  1981. KeyUtils.SendCommand(Command,,,,,,CommandWaitOffset) ; Send command affect it with an offset if needed
  1982. }
  1983.  
  1984. ; Close the debugger window if exists
  1985. If (closeDebugWindow = "true") {
  1986. emuDebugWindow.Wait(2)
  1987. emuDebugWindow.Close()
  1988. }
  1989.  
  1990. BezelDraw()
  1991. HideAppEnd(hideEmuObj,hideEmu)
  1992.  
  1993. If (networkPlayers = 1 || !linkEnabledGame) {
  1994. emuPrimaryWindow.Show() ; Show the emulator
  1995. } Else {
  1996. Loop % networkPlayers
  1997. MameMultiPlayer%A_Index%Window.Show() ; Show the emulator
  1998. MameMultiPlayer1Window.Activate() ; Activate first player window so that first player can use keyboard instead of last player
  1999. }
  2000.  
  2001. FadeInExit()
  2002. primaryExe.Process("WaitClose")
  2003. 7zCleanUp()
  2004. BezelExit()
  2005.  
  2006. If fileRenamed { ; Rename file back to alternate name for next launch
  2007. errLvl := MameRomCustomFile.Move(MameRomOriginalFile.FileFullPath) ; Put original name back
  2008. If errLvl ; If rename was successful, set var so we know to move it back later
  2009. ScriptError("There was a problem renaming " . MameRomCustomFile.FileName . " back to " . MameRomOriginalFile.FileName)
  2010. }
  2011.  
  2012. FadeOutExit()
  2013. ExitModule()
  2014.  
  2015.  
  2016. ListXMLInfo(rom){ ; Returns MAME info about parent rom, orientation angle, resolution
  2017. Global emuFullPath,emuPath,RLLog
  2018. ListXMLObject := Object()
  2019. listXMLVarLog := ""
  2020. ComSpecProcess := new Process(ComSpec) ; instantiate cmd.exe process
  2021. ComSpecProcess.RunDirect(comspec . " /c " . """" . emuFullPath . """" . " -listxml " . rom . " > tempBezel.txt", emuPath, "Hide", 1) ; Run from emu's folder
  2022. TempBezelFile := new File(emuPath . "\tempBezel.txt")
  2023. TempBezelFile.Read()
  2024. StringUtils.RegExMatch(TempBezelFile.Text, "s)<(machine|game).*name=" . """" . rom . """" . ".*" . "cloneof=" . """" . "[^""""]*", parent)
  2025. StringUtils.RegExMatch(parent,"cloneof=" . """" . ".*", parent)
  2026. StringUtils.RegExMatch(parent,"""" . ".*", parent)
  2027. parent := StringUtils.TrimLeft(parent, 1)
  2028. StringUtils.RegExMatch(TempBezelFile.Text, "s)<display.*rotate=" . """" . "[0-9]+" . """", angle)
  2029. StringUtils.RegExMatch(angle,"[0-9]+", angle, "-6")
  2030. StringUtils.RegExMatch(TempBezelFile.Text, "s)<display.*width=" . """" . "[0-9]+" . """", width)
  2031. StringUtils.RegExMatch(width,"[0-9]+", width, "-6")
  2032. StringUtils.RegExMatch(TempBezelFile.Text, "s)<display.*height=" . """" . "[0-9]+" . """", Height)
  2033. StringUtils.RegExMatch(Height,"[0-9]+", Height, "-6")
  2034. StringUtils.RegExMatch(TempBezelFile.Text, "s)<control.*ways=" . """" . "[0-9]+" . """", Ways)
  2035. StringUtils.RegExMatch(Ways,"[0-9]+", Ways, "-6")
  2036. logVars := "Parent|Angle|Height|Width|Ways"
  2037. Loop, Parse, logVars, |
  2038. {
  2039. currentobj := {}
  2040. currentobj.Label := A_Loopfield
  2041. currentobj.Value := %A_Loopfield%
  2042. ListXMLObject.Insert(currentobj["Label"], currentobj)
  2043. listXMLLog .= "`r`n`t`t`t`t`t" . currentobj["Label"] . " = " . currentobj["Value"]
  2044. }
  2045. RLLog.Info("Module - MAME ListXML values: " . listXMLLog)
  2046. If (ListXMLObject["Height"].Value > ListXMLObject["Width"].Value) {
  2047. ListXMLObject["Angle"].Value := true
  2048. RLLog.Info("Module - This game's height is greater than its width, forcing vertical mode")
  2049. }
  2050. TempBezelFile.Delete()
  2051. Return ListXMLObject
  2052. }
  2053.  
  2054. GenerateSoftResetScript(){ ; Generates a lua script to send a soft reset to MAME
  2055. Global emuPath
  2056.  
  2057. SoftScriptFile := new File(emuPath . "\soft_reset.lua")
  2058. ScriptFileName := emuPath . "\soft_reset.lua"
  2059. SoftScriptFile.Delete()
  2060.  
  2061. AppendTxt :="
  2062. (
  2063. -- This script will reset the machine
  2064. local function reset_machine()
  2065. if resetcounter == nil then
  2066. manager:machine():soft_reset();
  2067. resetcounter = 1;
  2068. end
  2069. end
  2070. if resetcounter == nil then
  2071. emu.wait(1);
  2072. reset_machine();
  2073. end
  2074. )"
  2075. SoftScriptFile.Append(AppendTxt)
  2076. Return SoftScriptFile.FileFullPath
  2077. }
  2078.  
  2079. GeneratePressButtonScript(button1,button2=""){ ; Generates a lua script to send a soft reset to MAME
  2080. Global emuPath
  2081.  
  2082. PressScriptFile := new File(emuPath . "\press_button.lua")
  2083. PressScriptFile.Delete()
  2084. If (button2) {
  2085. button2str := "`n`t`temu.wait(1);`n`t`tioport[""" . button2 . """]:write(1);`n`t`temu.wait(1);`n`t`tioport[""" . button2 . """]:write(0);"
  2086. }
  2087.  
  2088. AppendTxt :="
  2089. (
  2090. local function press_button()
  2091. if resetcounter == nil then
  2092. ioport[""" . button1 . """]:write(1);
  2093. emu.wait(1);
  2094. ioport[""" . button1 . """]:write(0);
  2095. resetcounter = 1;" . button2str . "
  2096. end
  2097. end
  2098. if resetcounter == nil then
  2099. emu.wait(1);
  2100. press_button();
  2101. end
  2102. )"
  2103. PressScriptFile.Append(AppendTxt)
  2104. Return PressScriptFile.FileFullPath
  2105. }
  2106.  
  2107. BuildNVRAMObject() {
  2108. Global nvramSettings,RLLog
  2109. RLLog.Info("BuildNVRAMObject - Started")
  2110.  
  2111. nvramSettings := {}
  2112.  
  2113. nvramSettings["vr"] := {}
  2114. 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"]}}}
  2115.  
  2116. nvramSettings["vr"]["Player"] := {}
  2117. 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"})
  2118. 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"})
  2119. 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"})
  2120. 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"})
  2121. 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"})
  2122. 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"})
  2123. 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"})
  2124. 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"})
  2125. 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"]}}
  2126.  
  2127. nvramSettings["vformula"] := {}
  2128. 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"]}}}
  2129.  
  2130. nvramSettings["vformula"]["Player"] := {}
  2131. 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"})
  2132. 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"})
  2133. 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"})
  2134. 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"})
  2135. 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"})
  2136. 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"})
  2137. 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"})
  2138. 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"})
  2139. 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"]}}
  2140.  
  2141. RLLog.Info("BuildNVRAMObject - Ended")
  2142. }
  2143.  
  2144. BezelLabel:
  2145. emuConsoleWindow.Set("Transparent",0)
  2146. Return
  2147.  
  2148. HaltEmu:
  2149. If (pauseMethod = 1)
  2150. { disableSuspendEmu := "true"
  2151. disableRestoreEmu := "true"
  2152. emuPrimaryWindow.PostMessage("0x211",1)
  2153. } Else If (pauseMethod = 2)
  2154. { disableSuspendEmu := "true"
  2155. emuPrimaryWindow.PostMessage("0x211",1)
  2156. } Else If (pauseMethod = 3)
  2157. { disableSuspendEmu := "true"
  2158. disableRestoreEmu := "true"
  2159. emuPrimaryWindow.PostMessage(0x0400+6,1)
  2160. } Else If (pauseMethod = 4)
  2161. { disableSuspendEmu := "true"
  2162. emuPrimaryWindow.PostMessage(0x0400+6,1)
  2163. } Else If (pauseMethod = 5)
  2164. { disableSuspendEmu := "true"
  2165. KeyUtils.Send("{P down}")
  2166. TimerUtils.Sleep(1000)
  2167. KeyUtils.Send("{P up} ")
  2168. }
  2169. Return
  2170. RestoreEmu:
  2171. If (pauseMethod = 1)
  2172. emuPrimaryWindow.PostMessage("0x212",1)
  2173. Else If (pauseMethod = 2)
  2174. emuPrimaryWindow.PostMessage("0x212",1)
  2175. Else If (pauseMethod = 3)
  2176. emuPrimaryWindow.PostMessage(0x0400+6,0)
  2177. Else If (pauseMethod = 4)
  2178. emuPrimaryWindow.PostMessage(0x0400+6,0)
  2179. Else If (pauseMethod = 5) {
  2180. disableSuspendEmu := "true"
  2181. KeyUtils.Send("{P down}")
  2182. TimerUtils.Sleep(1000)
  2183. KeyUtils.Send("{P up} ")
  2184. }
  2185. emuPrimaryWindow.Activate()
  2186. Return
  2187.  
  2188. CloseProcess:
  2189. FadeOutStart()
  2190. If (networkSession && networkPlayers > 1) {
  2191. Loop % networkPlayers {
  2192. MameMultiPlayer%A_Index%Window.Close()
  2193. MameMultiPlayer%A_Index%Window.WaitClose()
  2194. }
  2195. } Else
  2196. emuPrimaryWindow.Close()
  2197. Return
  2198.  
  2199. 07:35:35:037 | RL | INFO | +15 | BuildScript - Loaded Multi-Player scripts
  2200. 07:35:35:038 | RL | INFO | +0 | BuildScript - Loaded Statistics.ahk script
  2201. 07:35:35:039 | RL | INFO | +0 | BuildScript - "E:\RocketLauncher\Lib\User Functions\Global.ahk" not found
  2202. 07:35:35:040 | RL | INFO | +0 | BuildScript - "E:\RocketLauncher\Lib\User Functions\MAME.ahk" not found
  2203. 07:35:35:041 | RL | INFO | +0 | BuildScript - "E:\RocketLauncher\Lib\User Functions\Emulators\MAME.ahk" not found
  2204. 07:35:35:043 | RL | INFO | +0 | BuildScript - "E:\RocketLauncher\Lib\User Functions\MAME\Emulators\MAME.ahk" not found
  2205. 07:35:35:044 | RL | INFO | +0 | BuildScript - "E:\RocketLauncher\Lib\User Functions\MAME\10yard.ahk" not found
  2206. 07:35:35:045 | RL | INFO | +0 | BuildScript - Finished injecting functions into module
  2207. 07:35:35:047 | RL | INFO | +16 | Main - Module is built
  2208. 07:35:35:048 | RL | INFO | +0 | CheckFile - Checking if E:\RocketLauncher\AutoHotkey.dll exists
  2209. 07:35:35:052 | RL | DEBUG | +0 | CheckFile - Attributes:
  2210. FileDescription AutoHotkey_H ANSI 32-bit
  2211. FileVersion 1.1.13.00
  2212. InternalName AutoHotkey_H
  2213. LegalCopyright Copyright (C) 2003-2013
  2214. OriginalFilename AutoHotkey.exe
  2215. ProductName AutoHotkey_H
  2216. ProductVersion 1.1.13.00
  2217. File Size: 802304 bytes
  2218. Created: 5/6/2018 - 4:23:21 PM
  2219. Modified: 9/7/2013 - 1:54:32 AM
  2220. 07:35:35:054 | RL | INFO | +0 | Main - Starting timer to watch if Front End gets displaced and restore it if it does.
  2221. 07:35:35:056 | RL | INFO | +0 | Main - Running module
  2222. 07:35:35:185 | MD | INFO | +N/A | Module initialized
  2223. 07:35:35:187 | MD | DEBUG | +0 | XHotkeyTableCreation - Started
  2224. 07:35:35:206 | MD | DEBUG | +31 | XHotkeyTableCreation - KeyGroup ~Esc not in TableKeyGroups
  2225. 07:35:35:208 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 1 check
  2226. 07:35:35:209 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 2 check
  2227. 07:35:35:210 | MD | DEBUG | +0 | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~Esc" to call label: "CloseProcess"
  2228. 07:35:35:211 | MD | DEBUG | +0 | XHotkeyTableCreation - Ended
  2229. 07:35:35:213 | MD | TRACE | +0 | CustomFunction.Init - Starting
  2230. 07:35:35:214 | MD | TRACE | +0 | CustomFunction.Init - Ending
  2231. 07:35:35:215 | MD | INFO | +0 | StartModule - Started
  2232. 07:35:35:216 | MD | INFO | +0 | StartModule - MEmu: MAME
  2233. MEmuV: v0.166
  2234. MURL: http://www.mame.net/
  2235. MAuthor: djvj|faahrev|brolly|Tomkun
  2236. MVersion: 2.3.10
  2237. MCRC: 2C606685
  2238. iCRC: 8566ED91
  2239. MID: 635746812784197028
  2240. 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
  2241. 07:35:35:218 | MD | INFO | +0 | StartModule - You have a supported System Name for this module: "MAME"
  2242. 07:35:35:236 | MD | INFO | +32 | LocaleUtils.i18n - Started
  2243. 07:35:35:238 | MD | DEBUG | +0 | LocaleUtils.i18n - Section "English_United_States" & key "dialog.open" not found, trying section "English"
  2244. 07:35:35:240 | MD | INFO | +0 | LocaleUtils.i18n - Ended, using "Open" for "dialog.open"
  2245. 07:35:35:241 | MD | INFO | +0 | LocaleUtils.i18n - Started
  2246. 07:35:35:242 | MD | DEBUG | +0 | LocaleUtils.i18n - Section "English_United_States" & key "dialog.start" not found, trying section "English"
  2247. 07:35:35:243 | MD | INFO | +0 | LocaleUtils.i18n - Ended, using "Start" for "dialog.start"
  2248. 07:35:35:245 | MD | INFO | +0 | PluginInit - Started
  2249. 07:35:35:246 | MD | DEBUG | +0 | BuildDatabaseTable - Started - Building Table for: Name|Cloneof|Publisher|Year|Genre|Rating
  2250. 07:35:35:247 | MD | INFO | +0 | CheckFile - Checking if E:\HyperSpin\Databases\MAME\MAME.xml exists
  2251. 07:35:35:249 | MD | DEBUG | +0 | CheckFile - Attributes:
  2252. File Size: 3496087 bytes
  2253. Created: 5/6/2018 - 2:05:12 PM
  2254. Modified: 3/22/2018 - 2:07:43 PM
  2255. 07:35:35:273 | MD | DEBUG | +31 | BuildDatabaseTable - Found "Game Name" in the database!
  2256. 07:35:35:277 | MD | DEBUG | +0 | BuildDatabaseTable - Searching database for: Name
  2257. 07:35:35:279 | MD | DEBUG | +0 | BuildDatabaseTable - Found "Name" with a value: "10-Yard Fight (World, set 1)"
  2258. 07:35:35:280 | MD | DEBUG | +0 | BuildDatabaseTable - Searching database for: Cloneof
  2259. 07:35:35:297 | MD | DEBUG | +31 | BuildDatabaseTable - Could not find: Cloneof
  2260. 07:35:35:299 | MD | DEBUG | +0 | BuildDatabaseTable - Searching database for: Publisher
  2261. 07:35:35:300 | MD | DEBUG | +0 | BuildDatabaseTable - Found "Publisher" with a value: "Irem"
  2262. 07:35:35:302 | MD | DEBUG | +0 | BuildDatabaseTable - Searching database for: Year
  2263. 07:35:35:303 | MD | DEBUG | +0 | BuildDatabaseTable - Found "Year" with a value: "1983"
  2264. 07:35:35:304 | MD | DEBUG | +0 | BuildDatabaseTable - Searching database for: Genre
  2265. 07:35:35:305 | MD | DEBUG | +0 | BuildDatabaseTable - Found "Genre" with a value: "Sports/Football"
  2266. 07:35:35:306 | MD | DEBUG | +0 | BuildDatabaseTable - Searching database for: Rating
  2267. 07:35:35:307 | MD | DEBUG | +0 | BuildDatabaseTable - Found "Rating" with a value: "AAMA - Green (Suitable For All Ages)"
  2268. 07:35:35:308 | MD | TRACE | +0 | PluginInit - GameInfo:
  2269. GameInfo Label: Genre | GameInfo Value: Sports/Football
  2270. GameInfo Label: Name | GameInfo Value: 10-Yard Fight (World, set 1)
  2271. GameInfo Label: Publisher | GameInfo Value: Irem
  2272. GameInfo Label: Rating | GameInfo Value: AAMA - Green (Suitable For All Ages)
  2273. GameInfo Label: Year | GameInfo Value: 1983
  2274. 07:35:35:310 | MD | DEBUG | +0 | BuildDatabaseTable - Ended
  2275. 07:35:35:312 | MD | INFO | +0 | BuildAssetsTable - Started - Building Table for: Game Logo|System Logo
  2276. 07:35:35:333 | MD | DEBUG | +31 | BuildAssetsTable - Searching for a Game Logo: E:\HyperSpin\Media\MAME\Images\Wheel\10yard.png
  2277. 07:35:35:335 | MD | DEBUG | +0 | BuildAssetsTable - Searching for a System Logo: E:\HyperSpin\Media\Main Menu\Images\Wheel\MAME.png
  2278. 07:35:35:336 | MD | DEBUG | +0 | BuildAssetsTable - Media assets found:
  2279. Asset Label: Game Logo | Asset Path1: E:\HyperSpin\Media\MAME\Images\Wheel\10yard.png | Asset Extension1: png | Asset Type1: game
  2280. Asset Label: System Logo | Asset Path1: E:\HyperSpin\Media\Main Menu\Images\Wheel\MAME.png | Asset Extension1: png | Asset Type1: system
  2281. 07:35:35:337 | MD | INFO | +0 | BuildAssetsTable - Ended
  2282. 07:35:35:339 | MD | INFO | +0 | BuildAssetsTable - Started - Building Table for: Artwork1|Box Art|Cartridge|Flyers|Letters|Other
  2283. 07:35:35:340 | MD | DEBUG | +0 | BuildAssetsTable - Searching for a Artwork1: E:\HyperSpin\Media\MAME\Images\Artwork1\10yard.png
  2284. 07:35:35:341 | MD | DEBUG | +0 | BuildAssetsTable - Searching for a Box Art: E:\HyperSpin\Media\MAME\Images\Artwork2\10yard.png
  2285. 07:35:35:342 | MD | DEBUG | +0 | BuildAssetsTable - Searching for a Cartridge: E:\HyperSpin\Media\MAME\Images\Artwork3\10yard.png
  2286. 07:35:35:364 | MD | DEBUG | +32 | BuildAssetsTable - Searching for a Flyers: E:\HyperSpin\Media\MAME\Images\Artwork4\10yard.png
  2287. 07:35:35:366 | MD | DEBUG | +0 | BuildAssetsTable - Searching for a Letters: E:\HyperSpin\Media\MAME\Images\Letters
  2288. 07:35:35:396 | MD | DEBUG | +31 | BuildAssetsTable - Searching for a Other: E:\HyperSpin\Media\MAME\Images\Other
  2289. 07:35:35:399 | MD | DEBUG | +0 | BuildAssetsTable - Media assets found:
  2290. Asset Label: Letters | Asset Path1: E:\HyperSpin\Media\MAME\Images\Letters\!.png | Asset Extension1: png | Asset Type1: system
  2291. Asset Label: Letters | Asset Path2: E:\HyperSpin\Media\MAME\Images\Letters\'.png | Asset Extension2: png | Asset Type2: system
  2292. Asset Label: Letters | Asset Path3: E:\HyperSpin\Media\MAME\Images\Letters\(.png | Asset Extension3: png | Asset Type3: system
  2293. Asset Label: Letters | Asset Path4: E:\HyperSpin\Media\MAME\Images\Letters\0.png | Asset Extension4: png | Asset Type4: system
  2294. Asset Label: Letters | Asset Path5: E:\HyperSpin\Media\MAME\Images\Letters\1.png | Asset Extension5: png | Asset Type5: system
  2295. Asset Label: Letters | Asset Path6: E:\HyperSpin\Media\MAME\Images\Letters\2.png | Asset Extension6: png | Asset Type6: system
  2296. Asset Label: Letters | Asset Path7: E:\HyperSpin\Media\MAME\Images\Letters\3.png | Asset Extension7: png | Asset Type7: system
  2297. Asset Label: Letters | Asset Path8: E:\HyperSpin\Media\MAME\Images\Letters\4.png | Asset Extension8: png | Asset Type8: system
  2298. Asset Label: Letters | Asset Path9: E:\HyperSpin\Media\MAME\Images\Letters\5.png | Asset Extension9: png | Asset Type9: system
  2299. Asset Label: Letters | Asset Path10: E:\HyperSpin\Media\MAME\Images\Letters\6.png | Asset Extension10: png | Asset Type10: system
  2300. Asset Label: Letters | Asset Path11: E:\HyperSpin\Media\MAME\Images\Letters\7.png | Asset Extension11: png | Asset Type11: system
  2301. Asset Label: Letters | Asset Path12: E:\HyperSpin\Media\MAME\Images\Letters\8.png | Asset Extension12: png | Asset Type12: system
  2302. Asset Label: Letters | Asset Path13: E:\HyperSpin\Media\MAME\Images\Letters\9.png | Asset Extension13: png | Asset Type13: system
  2303. Asset Label: Letters | Asset Path14: E:\HyperSpin\Media\MAME\Images\Letters\a.png | Asset Extension14: png | Asset Type14: system
  2304. Asset Label: Letters | Asset Path15: E:\HyperSpin\Media\MAME\Images\Letters\b.png | Asset Extension15: png | Asset Type15: system
  2305. Asset Label: Letters | Asset Path16: E:\HyperSpin\Media\MAME\Images\Letters\c.png | Asset Extension16: png | Asset Type16: system
  2306. Asset Label: Letters | Asset Path17: E:\HyperSpin\Media\MAME\Images\Letters\d.png | Asset Extension17: png | Asset Type17: system
  2307. Asset Label: Letters | Asset Path18: E:\HyperSpin\Media\MAME\Images\Letters\e.png | Asset Extension18: png | Asset Type18: system
  2308. Asset Label: Letters | Asset Path19: E:\HyperSpin\Media\MAME\Images\Letters\f.png | Asset Extension19: png | Asset Type19: system
  2309. Asset Label: Letters | Asset Path20: E:\HyperSpin\Media\MAME\Images\Letters\g.png | Asset Extension20: png | Asset Type20: system
  2310. Asset Label: Letters | Asset Path21: E:\HyperSpin\Media\MAME\Images\Letters\h.png | Asset Extension21: png | Asset Type21: system
  2311. Asset Label: Letters | Asset Path22: E:\HyperSpin\Media\MAME\Images\Letters\i.png | Asset Extension22: png | Asset Type22: system
  2312. Asset Label: Letters | Asset Path23: E:\HyperSpin\Media\MAME\Images\Letters\j.png | Asset Extension23: png | Asset Type23: system
  2313. Asset Label: Letters | Asset Path24: E:\HyperSpin\Media\MAME\Images\Letters\k.png | Asset Extension24: png | Asset Type24: system
  2314. Asset Label: Letters | Asset Path25: E:\HyperSpin\Media\MAME\Images\Letters\l.png | Asset Extension25: png | Asset Type25: system
  2315. Asset Label: Letters | Asset Path26: E:\HyperSpin\Media\MAME\Images\Letters\m.png | Asset Extension26: png | Asset Type26: system
  2316. Asset Label: Letters | Asset Path27: E:\HyperSpin\Media\MAME\Images\Letters\n.png | Asset Extension27: png | Asset Type27: system
  2317. Asset Label: Letters | Asset Path28: E:\HyperSpin\Media\MAME\Images\Letters\o.png | Asset Extension28: png | Asset Type28: system
  2318. Asset Label: Letters | Asset Path29: E:\HyperSpin\Media\MAME\Images\Letters\p.png | Asset Extension29: png | Asset Type29: system
  2319. Asset Label: Letters | Asset Path30: E:\HyperSpin\Media\MAME\Images\Letters\q.png | Asset Extension30: png | Asset Type30: system
  2320. Asset Label: Letters | Asset Path31: E:\HyperSpin\Media\MAME\Images\Letters\r.png | Asset Extension31: png | Asset Type31: system
  2321. Asset Label: Letters | Asset Path32: E:\HyperSpin\Media\MAME\Images\Letters\s.png | Asset Extension32: png | Asset Type32: system
  2322. Asset Label: Letters | Asset Path33: E:\HyperSpin\Media\MAME\Images\Letters\t.png | Asset Extension33: png | Asset Type33: system
  2323. Asset Label: Letters | Asset Path34: E:\HyperSpin\Media\MAME\Images\Letters\u.png | Asset Extension34: png | Asset Type34: system
  2324. Asset Label: Letters | Asset Path35: E:\HyperSpin\Media\MAME\Images\Letters\v.png | Asset Extension35: png | Asset Type35: system
  2325. Asset Label: Letters | Asset Path36: E:\HyperSpin\Media\MAME\Images\Letters\w.png | Asset Extension36: png | Asset Type36: system
  2326. Asset Label: Letters | Asset Path37: E:\HyperSpin\Media\MAME\Images\Letters\x.png | Asset Extension37: png | Asset Type37: system
  2327. Asset Label: Letters | Asset Path38: E:\HyperSpin\Media\MAME\Images\Letters\y.png | Asset Extension38: png | Asset Type38: system
  2328. Asset Label: Letters | Asset Path39: E:\HyperSpin\Media\MAME\Images\Letters\z.png | Asset Extension39: png | Asset Type39: system
  2329. Asset Label: Other | Asset Path1: E:\HyperSpin\Media\MAME\Images\Other\Pointer.png | Asset Extension1: png | Asset Type1: system
  2330. 07:35:35:402 | MD | INFO | +0 | BuildAssetsTable - Ended
  2331. 07:35:35:403 | MD | INFO | +0 | BuildAssetsTable - Started - Building Table for: Game Video|System Video
  2332. 07:35:35:405 | MD | DEBUG | +0 | BuildAssetsTable - Searching for a Game Video: E:\HyperSpin\Media\MAME\Video\10yard.*
  2333. 07:35:35:426 | MD | DEBUG | +31 | BuildAssetsTable - Searching for a System Video: E:\HyperSpin\Media\Main Menu\Video\MAME.*
  2334. 07:35:35:428 | MD | DEBUG | +0 | BuildAssetsTable - Media assets found:
  2335. Asset Label: Game Video | Asset Path1: E:\HyperSpin\Media\MAME\Video\10yard.flv | Asset Extension1: flv | Asset Type1: game
  2336. Asset Label: System Video | Asset Path1: E:\HyperSpin\Media\Main Menu\Video\MAME.flv | Asset Extension1: flv | Asset Type1: system
  2337. 07:35:35:430 | MD | INFO | +0 | BuildAssetsTable - Ended
  2338. 07:35:35:431 | MD | INFO | +0 | PluginInit - Ended
  2339. 07:35:35:432 | MD | DEBUG | +0 | StartModule - Setting romName to the dbName sent to RocketLauncher: 10yard
  2340. 07:35:35:433 | MD | DEBUG | +0 | XHotkeyTableCreation - Started
  2341. 07:35:35:435 | MD | DEBUG | +0 | XHotkeyTableCreation - KeyGroup ~e&~t not in TableKeyGroups ~Esc,
  2342. 07:35:35:436 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 1 check
  2343. 07:35:35:459 | MD | DEBUG | +31 | XHotkeyTableCreation - Post loop 2 check
  2344. 07:35:35:460 | MD | DEBUG | +0 | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~e & ~t" to call label: "ToggleCursor"
  2345. 07:35:35:462 | MD | DEBUG | +0 | XHotkeyTableCreation - Ended
  2346. 07:35:35:463 | MD | TRACE | +0 | Process.__New - Creating new process object for: "E:\HyperSpin\HyperSpin.exe"
  2347. 07:35:35:465 | MD | TRACE | +0 | File.__New - Creating new file object of: "E:\HyperSpin\HyperSpin.exe"
  2348. 07:35:35:489 | MD | TRACE | +32 | File.__New - Creating new file object of: "E:\RocketLauncher\Modules\MAME\MAME\10yard.ini"
  2349. 07:35:35:494 | MD | TRACE | +0 | File.__New - Creating new file object of: "E:\RocketLauncher\Modules\MAME\MAME.ini"
  2350. 07:35:35:497 | MD | TRACE | +0 | File.__New - Creating new file object of: "E:\RocketLauncher\Modules\MAME\MAME.ini"
  2351. 07:35:35:522 | MD | INFO | +31 | StartModule - Ended
  2352. 07:35:35:524 | MD | TRACE | +0 | Emulator.__New - Creating new emulator object for: "E:\HyperSpin\Emulators\MAME 0.197s\mame64.exe"
  2353. 07:35:35:525 | MD | TRACE | +0 | Process.__New - Creating new process object for: "E:\HyperSpin\Emulators\MAME 0.197s\mame64.exe"
  2354. 07:35:35:526 | MD | TRACE | +0 | File.__New - Creating new file object of: "E:\HyperSpin\Emulators\MAME 0.197s\mame64.exe"
  2355. 07:35:35:530 | MD | TRACE | +0 | Window.__New - Created: "ahk_class MAME"
  2356. 07:35:35:551 | MD | TRACE | +31 | Window.__New - Created: "Open ahk_class ConsoleWindowClass"
  2357. 07:35:35:553 | MD | TRACE | +0 | Window.__New - Created: "ahk_class ConsoleWindowClass"
  2358. 07:35:35:554 | MD | TRACE | +0 | Window.__New - Created: "ahk_class MAMEDebugWindow"
  2359. 07:35:35:556 | MD | TRACE | +0 | Window.__New - Created: "ahk_class MAMEOutput"
  2360. 07:35:35:557 | MD | DEBUG | +0 | Module - Finished building the MAME object
  2361. 07:35:35:558 | MD | DEBUG | +0 | Module - Defaulting to MAME's Arcade mode for the remainder of this MAME module.
  2362. 07:35:35:559 | MD | INFO | +0 | RIniFile.Read - Module - Fullscreen: true (DEFAULT)
  2363. 07:35:35:560 | MD | INFO | +0 | RIniFile.Read - Module - LegacyMode: false (DEFAULT)
  2364. 07:35:35:583 | MD | INFO | +31 | RIniFile.Read - Module - MAME_BIOS_Path: E:\HyperSpin\Emulators\MAME 0.197s\roms (DEFAULT)
  2365. 07:35:35:585 | MD | INFO | +0 | RIniFile.Read - Module - Videomode: d3d (DEFAULT)
  2366. 07:35:35:586 | MD | INFO | +0 | RIniFile.Read - Module - PauseMethod: 1 (DEFAULT)
  2367. 07:35:35:588 | MD | INFO | +0 | RIniFile.Read - Module - BilinearFilter: false (DEFAULT)
  2368. 07:35:35:589 | MD | INFO | +0 | RIniFile.Read - Module - HLSL: false (DEFAULT)
  2369. 07:35:35:590 | MD | INFO | +0 | RIniFile.Read - Module - GLSL: false (DEFAULT)
  2370. 07:35:35:591 | MD | INFO | +0 | RIniFile.Read - Module - BezelMode: layout (DEFAULT)
  2371. 07:35:35:592 | MD | INFO | +0 | RIniFile.Read - Module - VerticalRotationMode: none (DEFAULT)
  2372. 07:35:35:593 | MD | INFO | +0 | RIniFile.Read - Module - CheatMode: false (DEFAULT)
  2373. 07:35:35:613 | MD | INFO | +32 | RIniFile.Read - Module - CheatModeKey: (NO VALUE)
  2374. 07:35:35:615 | MD | INFO | +0 | RIniFile.Read - Module - UseSoftwareList: false (DEFAULT)
  2375. 07:35:35:616 | MD | INFO | +0 | RIniFile.Read - Module - StaticParameters: (NO VALUE)
  2376. 07:35:35:617 | MD | INFO | +0 | RIniFile.Read - Module - Parameters: (NO VALUE)
  2377. 07:35:35:618 | MD | INFO | +0 | RIniFile.Read - Module - Parameters: (NO VALUE)
  2378. 07:35:35:620 | MD | INFO | +0 | RIniFile.Read - Module - MameRomName: (NO VALUE)
  2379. 07:35:35:621 | MD | INFO | +0 | RIniFile.Read - Module - Autosave: false (DEFAULT)
  2380. 07:35:35:622 | MD | INFO | +0 | RIniFile.Read - Module - Volume: (NO VALUE)
  2381. 07:35:35:623 | MD | INFO | +0 | RIniFile.Read - Module - Artwork_Crop: true (DEFAULT)
  2382. 07:35:35:643 | MD | INFO | +31 | RIniFile.Read - Module - Use_Bezels: false (DEFAULT)
  2383. 07:35:35:645 | MD | INFO | +0 | RIniFile.Read - Module - Use_Overlays: true (DEFAULT)
  2384. 07:35:35:646 | MD | INFO | +0 | RIniFile.Read - Module - Use_Backdrops: true (DEFAULT)
  2385. 07:35:35:648 | MD | INFO | +0 | RIniFile.Read - Module - Use_Cpanels: false (DEFAULT)
  2386. 07:35:35:649 | MD | INFO | +0 | RIniFile.Read - Module - Use_Marquees: false (DEFAULT)
  2387. 07:35:35:650 | MD | INFO | +0 | RIniFile.Read - Module - IniPath: (NO VALUE)
  2388. 07:35:35:652 | MD | INFO | +0 | RIniFile.Read - Module - HashPath: (NO VALUE)
  2389. 07:35:35:653 | MD | INFO | +0 | RIniFile.Read - Module - UseControllerRemap: true (DEFAULT)
  2390. 07:35:35:654 | MD | INFO | +0 | RIniFile.Read - Module - ControllerRemapPath: E:\HyperSpin\Emulators\MAME 0.197s\ControllerRemap\ControllerRemap.exe (DEFAULT)
  2391. 07:35:35:677 | MD | TRACE | +31 | File.__New - Creating new file object of: "E:\HyperSpin\Emulators\MAME 0.197s\ControllerRemap\ControllerRemap.exe"
  2392. 07:35:35:681 | MD | INFO | +0 | RIniFile.Read - Module - ControllerRemapConfigPath: E:\HyperSpin\Emulators\MAME 0.197s\ControllerRemap\ctrlr\ (DEFAULT)
  2393. 07:35:35:683 | MD | INFO | +0 | RIniFile.Read - Module - MAMECtrlrPath: E:\HyperSpin\Emulators\MAME 0.197s\ctrlr (DEFAULT)
  2394. 07:35:35:686 | MD | INFO | +0 | RIniFile.Read - Module - Enable_Link_Play: false (DEFAULT)
  2395. 07:35:35:708 | MD | TRACE | +31 | CustomFunction.PreStart - Starting
  2396. 07:35:35:710 | MD | TRACE | +0 | CustomFunction.PreStart - Ending
  2397. 07:35:35:711 | MD | TRACE | +0 | Process.__New - Creating new process object for: "C:\WINDOWS\system32\cmd.exe"
  2398. 07:35:35:712 | MD | TRACE | +0 | File.__New - Creating new file object of: "C:\WINDOWS\system32\cmd.exe"
  2399. 07:35:40:969 | MD | DEBUG | +5266 | Process.RunDirect - "C:\WINDOWS\system32\cmd.exe /c "E:\HyperSpin\Emulators\MAME 0.197s\mame64.exe" -listxml 10yard > tempBezel.txt" Process ID: 12528 and ErrorLevel reported as: 0
  2400. 07:35:40:970 | MD | TRACE | +0 | File.__New - Creating new file object of: "E:\HyperSpin\Emulators\MAME 0.197s\tempBezel.txt"
  2401. 07:35:40:974 | MD | TRACE | +0 | File.Read - Read file to memory: E:\HyperSpin\Emulators\MAME 0.197s\tempBezel.txt
  2402. 07:35:40:976 | MD | TRACE | +0 | StringUtils.RegExMatch - Matched "" from Haystack
  2403. 07:35:40:977 | MD | TRACE | +0 | StringUtils.RegExMatch - Matched "" from Haystack
  2404. 07:35:40:978 | MD | TRACE | +0 | StringUtils.RegExMatch - Matched "" from Haystack
  2405. 07:35:40:980 | MD | TRACE | +0 | StringUtils.TrimLeft - Trimming "" to ""
  2406. 07:35:40:981 | MD | TRACE | +0 | StringUtils.RegExMatch - Matched "<display tag="screen" type="raster" rotate="0"" from Haystack
  2407. 07:35:40:982 | MD | TRACE | +0 | StringUtils.RegExMatch - Matched "0" from Haystack
  2408. 07:35:40:000 | MD | TRACE | +31 | StringUtils.RegExMatch - Matched "<display tag="screen" type="raster" rotate="0" width="256"" from Haystack
  2409. 07:35:41:002 | MD | TRACE | +0 | StringUtils.RegExMatch - Matched "256" from Haystack
  2410. 07:35:41:004 | MD | TRACE | +0 | StringUtils.RegExMatch - Matched "<display tag="screen" type="raster" rotate="0" width="256" height="224"" from Haystack
  2411. 07:35:41:005 | MD | TRACE | +0 | StringUtils.RegExMatch - Matched "224" from Haystack
  2412. 07:35:41:006 | MD | TRACE | +0 | StringUtils.RegExMatch - Matched "<control type="joy" player="1" buttons="2" ways="8"/>
  2413. <control type="joy" player="2" buttons="2" ways="8"" from Haystack
  2414. 07:35:41:007 | MD | TRACE | +0 | StringUtils.RegExMatch - Matched "8" from Haystack
  2415. 07:35:41:008 | MD | INFO | +0 | Module - MAME ListXML values:
  2416. Parent =
  2417. Angle = 0
  2418. Height = 224
  2419. Width = 256
  2420. Ways = 8
  2421. 07:35:41:010 | MD | TRACE | +0 | File.Delete - Deleting: tempBezel.txt
  2422. 07:35:41:012 | MD | INFO | +0 | Controller Remap: Start
  2423. 07:35:41:039 | MD | INFO | +31 | Controller Remap: ControllerRemapConfigPath: E:\HyperSpin\Emulators\MAME 0.197s\ControllerRemap\ctrlr\
  2424. 07:35:41:041 | MD | INFO | +0 | Controller Remap: No Controller config file found.
  2425. 07:35:41:042 | MD | INFO | +0 | Controller Remap: End
  2426. 07:35:41:043 | MD | TRACE | +0 | StringUtils.StringLength - This string is "5" long
  2427. 07:35:41:045 | MD | TRACE | +0 | StringUtils.Right - Trimming "0.197" to "197"
  2428. 07:35:41:062 | MD | INFO | +32 | Module - Detected MAME Product Version from 'E:\HyperSpin\Emulators\MAME 0.197s\mame64.exe' is 197
  2429. 07:35:41:064 | MD | TRACE | +0 | StringUtils.Contains - "MAME" does not contain "ti99_4a|aes|apple2gs|electron|mbeeic|odyssey2|astrocde|samcoupe|vic10|cpc664|mo5"
  2430. 07:35:41:065 | MD | TRACE | +0 | StringUtils.Contains - "MAME" does not contain "studio2|mpt02"
  2431. 07:35:41:067 | MD | TRACE | +0 | StringUtils.Replace - Replacing "|" with ";"
  2432. 07:35:41:068 | MD | TRACE | +0 | StringUtils.InStr - Could not find "-rompath" in "" starting at position 1
  2433. 07:35:41:069 | MD | TRACE | +0 | StringUtils.InStr - Could not find "-rompath" in "" starting at position 1
  2434. 07:35:41:070 | MD | TRACE | +0 | File.__New - Creating new file object of: "E:\HyperSpin\Emulators\MAME 0.197s\cfg\MAME\10yard"
  2435. 07:35:41:074 | MD | TRACE | +0 | Folder.__New - Created new folder object of: "E:\HyperSpin\Emulators\MAME 0.197s\cfg\MAME\10yard"
  2436. 07:35:41:075 | MD | INFO | +0 | Module - Running MAME in non-legacy mode
  2437. 07:35:41:076 | MD | INFO | +0 | Module - SinglePlayer session
  2438. 07:35:41:100 | MD | TRACE | +31 | CustomFunction.PreLaunch - Starting
  2439. 07:35:41:101 | MD | TRACE | +0 | CustomFunction.PreLaunch - Ending
  2440. 07:35:41:103 | MD | INFO | +0 | Process.Run - Running: "E:\HyperSpin\Emulators\MAME 0.197s\mame64.exe" 10yard -rompath "E:\HyperSpin\Roms\MAME 0.197;E:\HyperSpin\Emulators\MAME 0.197s\roms" -nowindow -nohlsl_enable -nogl_glsl -video d3d -artwork_crop -nouse_bezels -use_overlays -use_backdrops -nouse_cpanels -nouse_marquees -nofilter -skip_gameinfo
  2441. 07:35:44:976 | MD | DEBUG | +3875 | Process.Run - "mame64.exe 10yard -rompath "E:\HyperSpin\Roms\MAME 0.197;E:\HyperSpin\Emulators\MAME 0.197s\roms" -nowindow -nohlsl_enable -nogl_glsl -video d3d -artwork_crop -nouse_bezels -use_overlays -use_backdrops -nouse_cpanels -nouse_marquees -nofilter -skip_gameinfo" Process ID: 1476
  2442. 07:35:44:978 | MD | TRACE | +0 | CustomFunction.PostLaunch - Starting
  2443. 07:35:44:979 | MD | TRACE | +0 | CustomFunction.PostLaunch - Ending
  2444. 07:35:44:980 | MD | TRACE | +0 | Window.__New - Created: "ahk_id 4458504"
  2445. 07:35:44:981 | MD | TRACE | +0 | MiscUtils.DetectHiddenWindows - Mode changed to "Off"
  2446. 07:35:44:983 | MD | TRACE | +0 | Window.GetPos - Retrieved x:78 y:78 w: 993 h: 519 from "ahk_id 4458504"
  2447. 07:35:44:000 | MD | TRACE | +31 | MiscUtils.DetectHiddenWindows - Mode changed to "On"
  2448. 07:35:45:002 | MD | DEBUG | +0 | MiscUtils.GetActiveWindowStatus - Title: RocketLauncher v1.2.0.1 Debug Console | Class: ConsoleWindowClass | State: 0 | X: 78 | Y: 78 | Width: 993 | Height: 519 | Window HWND: 0x440808 | Process ID: 10816 | Process Path: E:\RocketLauncher\RocketLauncher.exe
  2449. 07:35:45:003 | MD | INFO | +0 | Window.Wait - Waiting for window "ahk_class MAME"
  2450. 07:35:45:187 | MD | TRACE | +188 | Window.__New - Created: "ahk_id 4196148"
  2451. 07:35:45:189 | MD | TRACE | +0 | MiscUtils.DetectHiddenWindows - Mode changed to "Off"
  2452. 07:35:45:190 | MD | TRACE | +0 | Window.GetPos - Retrieved x:0 y:0 w: 1920 h: 1080 from "ahk_id 4196148"
  2453. 07:35:45:191 | MD | TRACE | +0 | MiscUtils.DetectHiddenWindows - Mode changed to "On"
  2454. 07:35:45:193 | MD | DEBUG | +0 | MiscUtils.GetActiveWindowStatus - Title: MAME: 10-Yard Fight (World, set 1) [10yard] | Class: MAME | State: 0 | X: 0 | Y: 0 | Width: 1920 | Height: 1080 | Window HWND: 0x400734 | Process ID: 1476 | Process Path: E:\HyperSpin\Emulators\MAME 0.197s\mame64.exe
  2455. 07:35:45:194 | MD | TRACE | +0 | Window.__New - Created: "ahk_id 4196148"
  2456. 07:35:45:196 | MD | TRACE | +0 | MiscUtils.DetectHiddenWindows - Mode changed to "Off"
  2457. 07:35:45:197 | MD | TRACE | +0 | Window.GetPos - Retrieved x:0 y:0 w: 1920 h: 1080 from "ahk_id 4196148"
  2458. 07:35:45:199 | MD | TRACE | +0 | MiscUtils.DetectHiddenWindows - Mode changed to "On"
  2459. 07:35:45:201 | MD | DEBUG | +0 | MiscUtils.GetActiveWindowStatus - Title: MAME: 10-Yard Fight (World, set 1) [10yard] | Class: MAME | State: 0 | X: 0 | Y: 0 | Width: 1920 | Height: 1080 | Window HWND: 0x400734 | Process ID: 1476 | Process Path: E:\HyperSpin\Emulators\MAME 0.197s\mame64.exe
  2460. 07:35:45:202 | MD | INFO | +0 | Window.WaitActive - Waiting for "ahk_class MAME"
  2461. 07:35:45:328 | MD | TRACE | +140 | Window.__New - Created: "ahk_id 4196148"
  2462. 07:35:45:330 | MD | TRACE | +0 | MiscUtils.DetectHiddenWindows - Mode changed to "Off"
  2463. 07:35:45:332 | MD | TRACE | +0 | Window.GetPos - Retrieved x:0 y:0 w: 1920 h: 1080 from "ahk_id 4196148"
  2464. 07:35:45:333 | MD | TRACE | +0 | MiscUtils.DetectHiddenWindows - Mode changed to "On"
  2465. 07:35:45:334 | MD | DEBUG | +0 | MiscUtils.GetActiveWindowStatus - Title: MAME: 10-Yard Fight (World, set 1) [10yard] | Class: MAME | State: 0 | X: 0 | Y: 0 | Width: 1920 | Height: 1080 | Window HWND: 0x400734 | Process ID: 1476 | Process Path: E:\HyperSpin\Emulators\MAME 0.197s\mame64.exe
  2466. 07:35:45:340 | MD | TRACE | +0 | CustomFunction.PreBezelDraw - Starting
  2467. 07:35:45:341 | MD | TRACE | +0 | CustomFunction.SetFullscreenPostLaunch - Starting
  2468. 07:35:45:359 | MD | TRACE | +32 | CustomFunction.SetFullscreenPostLaunch - Setting fullscreen to false
  2469. 07:35:45:361 | MD | TRACE | +0 | CustomFunction.SetFullscreenPostLaunch - Ending
  2470. 07:35:45:362 | MD | TRACE | +0 | CustomFunction.PreBezelDraw - Ending
  2471. 07:35:45:363 | MD | TRACE | +0 | Window.Show - Unhiding window "ahk_class MAME"
  2472. 07:35:45:468 | MD | TRACE | +109 | CustomFunction.PostLoad - Starting
  2473. 07:35:45:470 | MD | TRACE | +0 | CustomFunction.PostLoad - Ending
  2474. 07:35:45:472 | MD | INFO | +0 | Process.Process - "WaitClose" "mame64.exe"
  2475. 07:35:45:473 | MD | TRACE | +0 | Process.GetProcessID
  2476. 07:35:46:887 | MD | INFO | +1406 | CloseProcess - Started, user requested to end launched application
  2477. 07:35:46:889 | MD | TRACE | +0 | Window.Close - Closing: "ahk_class MAME"
  2478. 07:35:47:189 | MD | INFO | +313 | CloseProcess - Ended
  2479. 07:35:47:195 | MD | DEBUG | +0 | Process.Process - "mame64.exe" returned 0 and is now closed. Continuing thread.
  2480. 07:35:47:197 | MD | TRACE | +0 | CustomFunction.PostStop - Starting
  2481. 07:35:47:199 | MD | TRACE | +0 | CustomFunction.PostStop - Ending
  2482. 07:35:47:200 | MD | INFO | +0 | ExitModule - Started
  2483. 07:35:47:201 | MD | INFO | +0 | UpdateStatistics - Starting Updating Statistics
  2484. 07:35:47:223 | MD | DEBUG | +31 | UpdateStatistics - Total Elapsed Time in Pause in seconds: 0
  2485. 07:35:47:226 | MD | DEBUG | +0 | UpdateStatistics - gameSectionStartTime:33499156
  2486. 07:35:47:227 | MD | DEBUG | +0 | UpdateStatistics - ElapsedTime:11
  2487. 07:35:47:228 | MD | TRACE | +0 | Statistics cleared game name: 10yard
  2488. 07:35:47:296 | MD | DEBUG | +62 | UpdateStatistics - Loaded game statistics from ini files:
  2489. Number_of_Times_Played: 23
  2490. Last_Time_Played: Saturday May 12, 2018 12:14:39 AM
  2491. Average_Time_Played: 10
  2492. Total_Time_Played: 219
  2493. System_Total_Played_Time: 4747
  2494. Total_Global_Played_Time: 7807
  2495. 07:35:47:314 | MD | DEBUG | +32 | UpdateStatistics - Updated Statistics: Number_of_Times_Played: 24
  2496. Last_Time_Played: Saturday May 12, 2018 07:35:35 AM
  2497. Average_Time_Played: 10
  2498. Total_Time_Played: 230
  2499. System_Total_Played_Time: 4758
  2500. Total_Global_Played_Time: 7818
  2501. 07:35:47:356 | MD | INFO | +31 | UpdateStatistics - Game section statistics updated.
  2502. 07:35:47:358 | MD | TRACE | +0 | CustomFunction.PostExit - Starting
  2503. 07:35:47:377 | MD | TRACE | +31 | CustomFunction.PostExit - Ending
  2504. 07:35:47:379 | MD | INFO | +0 | ExitModule - Ended
  2505. End of Module Logs
  2506. 07:35:47:396 | RL | INFO | +12344 | Main - Module ended, exiting RocketLauncher normally
  2507. 07:35:47:397 | RL | INFO | +0 | ExitScript - Started
  2508. 07:35:47:407 | RL | DEBUG | +15 | Registry.Read - Reading from Registry : RootKey=HKEY_LOCAL_MACHINE, SubKey=System\CurrentControlSet\Control\Windows, ValueName=ErrorMode,RegistryVersion=32
  2509. 07:35:47:408 | RL | DEBUG | +0 | Registry.Read - Registry Read finished, returning 0
  2510. 07:35:47:410 | RL | TRACE | +0 | StringUtils.Contains - "false" does not contain "true|kill"
  2511. 07:35:47:411 | RL | INFO | +0 | ExitScript - Restoring taskbar
  2512. 07:35:47:412 | RL | TRACE | +0 | Window.__New - Created: "ahk_class Shell_TrayWnd"
  2513. 07:35:47:413 | RL | TRACE | +0 | Window.__New - Created: "ahk_class Button"
  2514. 07:35:47:415 | RL | TRACE | +0 | Window.Show - Unhiding window "ahk_class Shell_TrayWnd"
  2515. 07:35:47:521 | RL | TRACE | +110 | Window.Show - Unhiding window "ahk_class Button"
  2516. 07:35:47:530 | RL | INFO | +0 | SystemCursor - Restoring mouse cursor
  2517. 07:35:47:540 | RL | INFO | +15 | ExitScript - Restored cursor
  2518. 07:35:47:542 | RL | INFO | +0 | ExitScript - Ended
  2519. [/code]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement