· 8 years ago · Jan 21, 2018, 02:48 AM
1[code]
221:45:51:988 | RL | INFO | +N/A | Main - RocketLauncher v1.2.0.1 (www.rlauncher.com)
321:45:52:055 | RL | WARNING | +63 | 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.
421:45:52:383 | RL | DEBUG | +328 | Registry.Read - Reading from Registry : RootKey=HKEY_LOCAL_MACHINE, SubKey=System\CurrentControlSet\Control\Windows, ValueName=ErrorMode,RegistryVersion=32
521:45:52:386 | RL | DEBUG | +0 | Registry.Read - Registry Read finished, returning 0
621:45:52:389 | RL | INFO | +0 | Main - System Specs:
7 RocketLauncher Dir: Q:\attractmode_pc_v2\RocketLauncher
8 RocketLauncher is: 32-bit
9 OS: Microsoft Windows 10 Home
10 SKU: Windows 8
11 Total Memory: 8121.61 MB
12 Free Memory: 4665.82 MB
13 Used Memory: 3455.789 MB
14 SystemType: 64-bit
15 Physical Processors: 1
16 Logical Processors: 4
17 GPU 1 Name: NVIDIA GeForce GTX 1080
18 GPU 1 RAM: -1.00 MB
19 GPU 1 Driver Version: 23.21.13.9065
20 Sound 1 Device: Oculus VR Headset
21 Sound 1 Status: Enabled
22 Sound 2 Device: Realtek High Definition Audio
23 Sound 2 Status: Enabled
24 Sound 3 Device: NVIDIA Virtual Audio Device (Wave Extensible) (WDM)
25 Sound 3 Status: Enabled
26 Sound 4 Device: NVIDIA High Definition Audio
27 Sound 4 Status: Enabled
28 OS Language: English_United_States
29 System Locale: en-US
30 Formats Locale: en-US
31 Windows UI Language: en-US
32 Text Encoding: Windows-1252
33 OS Admin Status: No
34 RL Compatibility Flags: HIGHDPIAWARE
35 Latest .Net Version: v4.0.30319
36 Monitor #1 (\\.\DISPLAY1): 3840x2160 (3840x2100 work) [32bit] [60hz] [Landscape] (Primary)
37 Current AHK Desktop Width: 3840
38 Current AHK Desktop Height: 2160
39 Monitor #1 DPI: 150
40 ErrorMode: 0
41 AutoHotkey Path:
42 AHK Version: 1.1.13.00
43 Unicode: No
4421:45:52:393 | RL | INFO | +16 | CheckFile - Checking if Q:\attractmode_pc_v2\RocketLauncher\RocketLauncher.exe exists
4521:45:52:413 | RL | DEBUG | +15 | CheckFile - Attributes:
46 FileDescription RocketLauncher
47 FileVersion 1.2.0.1
48 LegalCopyright �2016 RocketLauncher
49 ProductName djvj's one swell guy!
50 ProductVersion 1.2.0.1
51 CompanyName Your favorite Front End companion! Visit us @ www.rlauncher.com
52 File Size: 2195456 bytes
53 Created: 4/19/2016 - 8:56:43 PM
54 Modified: 1/20/2018 - 8:09:32 AM
5521:45:52:417 | RL | INFO | +0 | Main - Raw CLI received: "-s Arcade -r 10yard -f Q:\attractmode_pc_v2\attract-v2.2.1-win32\attract.exe -p AttractMode -c 1 -o 1"
5621:45:52:433 | RL | TRACE | +16 | File.__New - Creating new file object of: "Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\RocketLauncher.dll"
5721:45:52:448 | RL | INFO | +16 | File.CheckFile - Checking if "Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\RocketLauncher.dll" exists
5821:45:52:452 | RL | TRACE | +0 | File.Exist - This file exists: Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\RocketLauncher.dll
5921:45:52:457 | RL | DEBUG | +15 | File.CheckFile - Attributes:
60 FileDescription RocketLauncher Utils
61 FileVersion 1.1.0.0
62 InternalName RocketLauncher.dll
63 LegalCopyright Copyright � RocketLauncher 2013-2016
64 OriginalFilename RocketLauncher.dll
65 ProductName RocketLauncher
66 ProductVersion 1.1.0.0
67 File Size: 81408 bytes
68 Created: 9/3/2016 - 11:23:49 PM
69 Modified: 1/20/2018 - 8:09:30 AM
7021:45:52:480 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Extension: Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\Array.ahk
7121:45:52:485 | RL | DEBUG | +0 | CheckFile - Attributes:
72 File Size: 4926 bytes
73 Created: 3/5/2016 - 12:03:57 AM
74 Modified: 1/16/2018 - 10:02:10 PM
7521:45:52:543 | RL | INFO | +62 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\BinHexRW.ahk
7621:45:52:548 | RL | DEBUG | +16 | CheckFile - Attributes:
77 File Size: 5112 bytes
78 Created: 3/5/2016 - 12:03:57 AM
79 Modified: 10/10/2016 - 1:25:10 AM
8021:45:52:552 | RL | INFO | +0 | CheckFile - Checking if Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\BlockInput.exe exists
8121:45:52:569 | RL | DEBUG | +16 | CheckFile - Attributes:
82 FileDescription
83 FileVersion 1.1.09.04
84 InternalName
85 OriginalFilename
86 ProductName
87 ProductVersion 1.1.09.04
88 File Size: 657920 bytes
89 Created: 3/5/2016 - 12:03:57 AM
90 Modified: 3/5/2016 - 12:03:57 AM
9121:45:52:592 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Extension: Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\CLR_L.ahk | vInterop
9221:45:52:598 | RL | DEBUG | +16 | CheckFile - Attributes:
93 File Size: 5503 bytes
94 Created: 3/5/2016 - 12:03:57 AM
95 Modified: 1/16/2018 - 10:01:53 PM
9621:45:52:619 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Extension: Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\Control_AniGif.ahk | vAniGif.ahk
9721:45:52:624 | RL | DEBUG | +0 | CheckFile - Attributes:
98 File Size: 5716 bytes
99 Created: 3/5/2016 - 12:03:57 AM
100 Modified: 3/5/2016 - 12:03:57 AM
10121:45:52:646 | RL | ERROR | +32 | CRC Check - No CRC defined on the header for: Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\gdip.ahk
10221:45:52:651 | RL | DEBUG | +0 | CheckFile - Attributes:
103 File Size: 88789 bytes
104 Created: 3/5/2016 - 12:03:57 AM
105 Modified: 3/5/2016 - 12:03:57 AM
10621:45:52:672 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\gdip_alt.ahk
10721:45:52:678 | RL | DEBUG | +16 | CheckFile - Attributes:
108 File Size: 5955 bytes
109 Created: 3/5/2016 - 12:03:57 AM
110 Modified: 10/10/2016 - 1:25:23 AM
11121:45:52:682 | RL | INFO | +0 | CheckFile - Checking if Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\gsdll32.dll exists
11221:45:52:700 | RL | DEBUG | +16 | CheckFile - Attributes:
113 File Size: 13090816 bytes
114 Created: 3/5/2016 - 12:03:57 AM
115 Modified: 3/5/2016 - 12:03:58 AM
11621:45:52:705 | RL | INFO | +15 | CheckFile - Checking if Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\itextsharp.dll exists
11721:45:52:722 | RL | DEBUG | +16 | CheckFile - Attributes:
118 FileDescription iTextSharp
119 FileVersion 5.4.2.0
120 InternalName itextsharp.dll
121 LegalCopyright Copyright (C) 1999-2013 by Bruno Lowagie and Paulo Soares. All Rights Reserved.
122 OriginalFilename itextsharp.dll
123 ProductName iTextSharp
124 ProductVersion 5.4.2.0
125 CompanyName 1T3XT BVBA
126 File Size: 3743744 bytes
127 Created: 3/5/2016 - 12:03:58 AM
128 Modified: 3/5/2016 - 12:03:58 AM
12921:45:52:743 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\Java.ahk
13021:45:52:748 | RL | DEBUG | +0 | CheckFile - Attributes:
131 File Size: 7859 bytes
132 Created: 3/5/2016 - 12:03:57 AM
133 Modified: 10/10/2016 - 1:25:36 AM
13421:45:52:770 | RL | INFO | +32 | CRC Check - CRC matches, this is an official unedited Extension: Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\JSON.ahk
13521:45:52:775 | RL | DEBUG | +0 | CheckFile - Attributes:
136 File Size: 9227 bytes
137 Created: 3/5/2016 - 12:03:57 AM
138 Modified: 3/9/2016 - 5:42:45 AM
13921:45:52:799 | RL | INFO | +31 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\Origin.ahk
14021:45:52:804 | RL | DEBUG | +0 | CheckFile - Attributes:
141 File Size: 4915 bytes
142 Created: 3/5/2016 - 12:03:57 AM
143 Modified: 10/10/2016 - 1:26:16 AM
14421:45:52:827 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Extension: Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\RegRW64.ahk
14521:45:52:832 | RL | DEBUG | +15 | CheckFile - Attributes:
146 File Size: 6915 bytes
147 Created: 3/5/2016 - 12:03:57 AM
148 Modified: 3/5/2016 - 12:03:57 AM
14921:45:52:855 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Extension: Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\RIni.ahk | v1.7
15021:45:52:861 | RL | DEBUG | +15 | CheckFile - Attributes:
151 File Size: 67872 bytes
152 Created: 9/11/2016 - 1:40:14 PM
153 Modified: 9/11/2016 - 1:40:14 PM
15421:45:52:865 | RL | INFO | +0 | CheckFile - Checking if Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\SevenZipSharp.dll exists
15521:45:52:883 | RL | DEBUG | +16 | CheckFile - Attributes:
156 FileDescription SevenZipSharp
157 FileVersion 0.64.5717.6837
158 InternalName SevenZipSharp.dll
159 LegalCopyright Copyright (C) Markovtsev Vadim 2009, 2010, licenced under LGPLv3
160 OriginalFilename SevenZipSharp.dll
161 ProductName SevenZipSharp
162 ProductVersion 0.64.5717.6837
163 CompanyName Markovtsev Vadim
164 File Size: 167424 bytes
165 Created: 3/5/2016 - 12:03:57 AM
166 Modified: 3/5/2016 - 12:03:57 AM
16721:45:52:905 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\Steam.ahk
16821:45:52:911 | RL | DEBUG | +15 | CheckFile - Attributes:
169 File Size: 5517 bytes
170 Created: 3/5/2016 - 12:03:57 AM
171 Modified: 10/10/2016 - 1:26:25 AM
17221:45:52:932 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Extension: Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\VA.ahk
17321:45:52:938 | RL | DEBUG | +0 | CheckFile - Attributes:
174 File Size: 34688 bytes
175 Created: 3/5/2016 - 12:03:57 AM
176 Modified: 3/5/2016 - 12:03:57 AM
17721:45:52:959 | RL | INFO | +31 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\VA_Extension.ahk
17821:45:52:964 | RL | DEBUG | +0 | CheckFile - Attributes:
179 File Size: 3862 bytes
180 Created: 3/5/2016 - 12:03:57 AM
181 Modified: 10/10/2016 - 1:26:32 AM
18221:45:52:986 | RL | INFO | +31 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\7z.ahk
18321:45:52:991 | RL | DEBUG | +0 | CheckFile - Attributes:
184 File Size: 33916 bytes
185 Created: 10/6/2016 - 3:54:17 AM
186 Modified: 1/17/2018 - 6:37:38 AM
18721:45:52:015 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Bezel.ahk
18821:45:53:021 | RL | DEBUG | +16 | CheckFile - Attributes:
189 File Size: 121257 bytes
190 Created: 9/22/2016 - 1:58:37 AM
191 Modified: 1/17/2018 - 6:37:40 AM
19221:45:53:043 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Fade.ahk
19321:45:53:048 | RL | DEBUG | +16 | CheckFile - Attributes:
194 File Size: 39707 bytes
195 Created: 9/1/2016 - 9:31:38 PM
196 Modified: 1/16/2018 - 10:02:18 PM
19721:45:53:069 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Fade Init.ahk
19821:45:53:075 | RL | DEBUG | +0 | CheckFile - Attributes:
199 File Size: 1140 bytes
200 Created: 3/5/2016 - 12:03:57 AM
201 Modified: 10/10/2016 - 1:27:47 AM
20221:45:53:097 | RL | INFO | +31 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Fade Animations.ahk
20321:45:53:106 | RL | DEBUG | +0 | CheckFile - Attributes:
204 File Size: 77961 bytes
205 Created: 6/25/2016 - 10:41:05 PM
206 Modified: 10/10/2016 - 1:27:37 AM
20721:45:53:129 | RL | INFO | +31 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Keymapper.ahk
20821:45:53:134 | RL | DEBUG | +0 | CheckFile - Attributes:
209 File Size: 33682 bytes
210 Created: 3/5/2016 - 12:03:57 AM
211 Modified: 10/10/2016 - 1:28:29 AM
21221:45:53:157 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Keymapper Init.ahk
21321:45:53:163 | RL | DEBUG | +15 | CheckFile - Attributes:
214 File Size: 3966 bytes
215 Created: 3/5/2016 - 12:03:57 AM
216 Modified: 10/10/2016 - 1:28:17 AM
21721:45:53:185 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\MultiGame.ahk
21821:45:53:191 | RL | DEBUG | +16 | CheckFile - Attributes:
219 File Size: 41583 bytes
220 Created: 4/25/2016 - 5:19:13 PM
221 Modified: 10/10/2016 - 1:28:47 AM
22221:45:53:213 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\MultiGame Init.ahk
22321:45:53:218 | RL | DEBUG | +0 | CheckFile - Attributes:
224 File Size: 169 bytes
225 Created: 3/5/2016 - 12:03:57 AM
226 Modified: 10/10/2016 - 1:28:38 AM
22721:45:53:241 | RL | INFO | +31 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\MultiPlayer.ahk
22821:45:53:247 | RL | DEBUG | +0 | CheckFile - Attributes:
229 File Size: 67277 bytes
230 Created: 3/5/2016 - 12:03:57 AM
231 Modified: 10/10/2016 - 1:28:55 AM
23221:45:53:274 | RL | INFO | +32 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Pause.ahk
23321:45:53:280 | RL | DEBUG | +0 | CheckFile - Attributes:
234 File Size: 408415 bytes
235 Created: 10/4/2016 - 8:45:02 PM
236 Modified: 1/20/2018 - 8:09:29 AM
23721:45:53:302 | RL | INFO | +31 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Pause Init.ahk
23821:45:53:308 | RL | DEBUG | +0 | CheckFile - Attributes:
239 File Size: 563 bytes
240 Created: 3/5/2016 - 12:03:57 AM
241 Modified: 10/10/2016 - 1:29:15 AM
24221:45:53:331 | RL | INFO | +31 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Password.ahk
24321:45:53:338 | RL | DEBUG | +0 | CheckFile - Attributes:
244 File Size: 10131 bytes
245 Created: 4/25/2016 - 5:19:13 PM
246 Modified: 10/10/2016 - 1:29:07 AM
24721:45:53:362 | RL | INFO | +31 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\DLL\RocketLauncher.ahk
24821:45:53:368 | RL | DEBUG | +0 | CheckFile - Attributes:
249 File Size: 31509 bytes
250 Created: 9/17/2016 - 11:10:05 PM
251 Modified: 1/20/2018 - 8:09:30 AM
25221:45:53:389 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Log\Logger.ahk
25321:45:53:394 | RL | DEBUG | +16 | CheckFile - Attributes:
254 File Size: 3558 bytes
255 Created: 6/25/2016 - 10:41:05 PM
256 Modified: 10/10/2016 - 1:32:18 AM
25721:45:53:415 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\MiscUtils.ahk
25821:45:53:420 | RL | DEBUG | +0 | CheckFile - Attributes:
259 File Size: 6709 bytes
260 Created: 6/27/2016 - 8:52:19 PM
261 Modified: 1/17/2018 - 6:37:35 AM
26221:45:53:442 | RL | INFO | +32 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\Environment\Registry.ahk
26321:45:53:448 | RL | DEBUG | +0 | CheckFile - Attributes:
264 File Size: 2084 bytes
265 Created: 6/25/2016 - 10:41:05 PM
266 Modified: 1/17/2018 - 6:37:37 AM
26721:45:53:469 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\Environment\ArrayUtils.ahk
26821:45:53:475 | RL | DEBUG | +16 | CheckFile - Attributes:
269 File Size: 306 bytes
270 Created: 1/16/2018 - 10:01:51 PM
271 Modified: 1/16/2018 - 10:01:51 PM
27221:45:53:496 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\Environment\LocaleUtils.ahk
27321:45:53:501 | RL | DEBUG | +16 | CheckFile - Attributes:
274 File Size: 2104 bytes
275 Created: 1/16/2018 - 10:02:08 PM
276 Modified: 1/16/2018 - 10:02:08 PM
27721:45:53:523 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\Environment\StringUtils.ahk
27821:45:53:530 | RL | DEBUG | +0 | CheckFile - Attributes:
279 File Size: 7754 bytes
280 Created: 7/5/2016 - 10:15:18 PM
281 Modified: 1/16/2018 - 10:02:17 PM
28221:45:53:552 | RL | INFO | +31 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\Environment\TimerUtils.ahk
28321:45:53:558 | RL | DEBUG | +0 | CheckFile - Attributes:
284 File Size: 2948 bytes
285 Created: 6/25/2016 - 10:41:05 PM
286 Modified: 10/10/2016 - 1:33:57 AM
28721:45:53:579 | RL | INFO | +31 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\File\ArchiveFile.ahk
28821:45:53:585 | RL | DEBUG | +0 | CheckFile - Attributes:
289 File Size: 346 bytes
290 Created: 1/17/2018 - 6:37:37 AM
291 Modified: 1/17/2018 - 6:37:37 AM
29221:45:53:606 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\File\DemulShooter.ahk
29321:45:53:613 | RL | DEBUG | +15 | CheckFile - Attributes:
294 File Size: 786 bytes
295 Created: 7/17/2016 - 9:50:37 PM
296 Modified: 1/17/2018 - 6:37:38 AM
29721:45:53:634 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\File\Emulator.ahk
29821:45:53:640 | RL | DEBUG | +0 | CheckFile - Attributes:
299 File Size: 1231 bytes
300 Created: 6/25/2016 - 10:41:05 PM
301 Modified: 10/10/2016 - 1:34:30 AM
30221:45:53:662 | RL | INFO | +31 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\File\File.ahk
30321:45:53:667 | RL | DEBUG | +0 | CheckFile - Attributes:
304 File Size: 9522 bytes
305 Created: 6/25/2016 - 10:41:05 PM
306 Modified: 1/16/2018 - 10:01:56 PM
30721:45:53:688 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\File\FileUtils.ahk
30821:45:53:694 | RL | DEBUG | +16 | CheckFile - Attributes:
309 File Size: 339 bytes
310 Created: 1/17/2018 - 6:37:35 AM
311 Modified: 1/17/2018 - 6:37:35 AM
31221:45:53:716 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\File\Folder.ahk
31321:45:53:722 | RL | DEBUG | +16 | CheckFile - Attributes:
314 File Size: 643 bytes
315 Created: 6/25/2016 - 10:41:05 PM
316 Modified: 10/10/2016 - 1:34:48 AM
31721:45:53:744 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\File\IniFile.ahk
31821:45:53:749 | RL | DEBUG | +0 | CheckFile - Attributes:
319 File Size: 4364 bytes
320 Created: 6/25/2016 - 10:41:05 PM
321 Modified: 10/10/2016 - 1:34:57 AM
32221:45:53:771 | RL | INFO | +32 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\File\Process.ahk
32321:45:53:776 | RL | DEBUG | +0 | CheckFile - Attributes:
324 File Size: 9711 bytes
325 Created: 6/25/2016 - 10:41:05 PM
326 Modified: 1/16/2018 - 10:02:15 PM
32721:45:53:798 | RL | INFO | +31 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\File\PropertiesFile.ahk
32821:45:53:804 | RL | DEBUG | +0 | CheckFile - Attributes:
329 File Size: 4218 bytes
330 Created: 1/17/2018 - 6:37:40 AM
331 Modified: 1/17/2018 - 6:37:40 AM
33221:45:53:826 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\File\RIniFile.ahk
33321:45:53:832 | RL | DEBUG | +15 | CheckFile - Attributes:
334 File Size: 3898 bytes
335 Created: 9/11/2016 - 1:40:14 PM
336 Modified: 10/10/2016 - 1:35:14 AM
33721:45:53:853 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\File\XMLFile.ahk
33821:45:53:859 | RL | DEBUG | +0 | CheckFile - Attributes:
339 File Size: 331 bytes
340 Created: 1/16/2018 - 10:01:52 PM
341 Modified: 1/16/2018 - 10:01:52 PM
34221:45:53:880 | RL | INFO | +31 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\Input\KeyUtils.ahk
34321:45:53:885 | RL | DEBUG | +0 | CheckFile - Attributes:
344 File Size: 5426 bytes
345 Created: 6/25/2016 - 10:41:05 PM
346 Modified: 10/10/2016 - 1:35:23 AM
34721:45:53:908 | RL | INFO | +31 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\UI\Control.ahk
34821:45:53:913 | RL | DEBUG | +0 | CheckFile - Attributes:
349 File Size: 4603 bytes
350 Created: 6/25/2016 - 10:41:05 PM
351 Modified: 10/10/2016 - 1:35:32 AM
35221:45:53:936 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\UI\Window.ahk
35321:45:53:941 | RL | DEBUG | +16 | CheckFile - Attributes:
354 File Size: 24655 bytes
355 Created: 9/1/2016 - 9:31:38 PM
356 Modified: 1/16/2018 - 10:02:09 PM
35721:45:53:963 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Classes\Util\UI\WindowTitle.ahk
35821:45:53:969 | RL | DEBUG | +0 | CheckFile - Attributes:
359 File Size: 1171 bytes
360 Created: 6/25/2016 - 10:41:05 PM
361 Modified: 10/10/2016 - 1:35:49 AM
36221:45:53:991 | RL | INFO | +31 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Rom Mapping Launch Menu.ahk
36321:45:53:996 | RL | DEBUG | +0 | CheckFile - Attributes:
364 File Size: 72279 bytes
365 Created: 3/5/2016 - 12:03:57 AM
366 Modified: 10/10/2016 - 1:29:33 AM
36721:45:53:018 | RL | INFO | +32 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Shader.ahk
36821:45:54:025 | RL | DEBUG | +0 | CheckFile - Attributes:
369 File Size: 4183 bytes
370 Created: 9/11/2016 - 1:40:14 PM
371 Modified: 10/10/2016 - 1:29:51 AM
37221:45:54:047 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Shader Init.ahk
37321:45:54:052 | RL | DEBUG | +16 | CheckFile - Attributes:
374 File Size: 412 bytes
375 Created: 9/3/2016 - 11:23:49 PM
376 Modified: 10/10/2016 - 1:29:40 AM
37721:45:54:075 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Shared.ahk
37821:45:54:081 | RL | DEBUG | +15 | CheckFile - Attributes:
379 File Size: 173248 bytes
380 Created: 6/25/2016 - 10:41:05 PM
381 Modified: 1/16/2018 - 10:02:22 PM
38221:45:54:103 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Statistics.ahk
38321:45:54:109 | RL | DEBUG | +0 | CheckFile - Attributes:
384 File Size: 27008 bytes
385 Created: 3/5/2016 - 12:03:57 AM
386 Modified: 10/10/2016 - 1:30:22 AM
38721:45:54:130 | RL | INFO | +31 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Statistics Init.ahk
38821:45:54:136 | RL | DEBUG | +0 | CheckFile - Attributes:
389 File Size: 43 bytes
390 Created: 3/5/2016 - 12:03:57 AM
391 Modified: 10/10/2016 - 1:30:14 AM
39221:45:54:157 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\Virtual Drive.ahk
39321:45:54:162 | RL | DEBUG | +15 | CheckFile - Attributes:
394 File Size: 20294 bytes
395 Created: 4/25/2016 - 5:19:13 PM
396 Modified: 10/10/2016 - 1:30:47 AM
39721:45:54:184 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\XHotkey.ahk
39821:45:54:190 | RL | DEBUG | +16 | CheckFile - Attributes:
399 File Size: 26615 bytes
400 Created: 3/5/2016 - 12:03:57 AM
401 Modified: 10/10/2016 - 1:31:04 AM
40221:45:54:215 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Lib\XHotkey Init.ahk
40321:45:54:222 | RL | DEBUG | +16 | CheckFile - Attributes:
404 File Size: 1073 bytes
405 Created: 3/5/2016 - 12:03:57 AM
406 Modified: 10/10/2016 - 1:30:56 AM
40721:45:54:228 | RL | DEBUG | +0 | Main - Received this dbName with no path via CLI: "10yard"
40821:45:54:234 | RL | DEBUG | +0 | Main - dbName: 10yard
40921:45:54:239 | RL | INFO | +15 | Main - Loading Front End Plugin: "AttractMode"
41021:45:54:264 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: Q:\attractmode_pc_v2\RocketLauncher\Plugins\AttractMode.plugin
41121:45:54:271 | RL | DEBUG | +16 | CheckFile - Attributes:
412 File Size: 6301 bytes
413 Created: 9/17/2016 - 11:10:05 PM
414 Modified: 1/16/2018 - 10:02:14 PM
41521:45:54:276 | RL | TRACE | +0 | Process.__New - Creating new process object for: "Q:\attractmode_pc_v2\attract-v2.2.1-win32\attract.exe"
41621:45:54:283 | RL | TRACE | +15 | File.__New - Creating new file object of: "Q:\attractmode_pc_v2\attract-v2.2.1-win32\attract.exe"
41721:45:54:302 | RL | INFO | +16 | Main - RocketLauncher received "Arcade" and "10yard"
41821:45:54:314 | RL | INFO | +16 | Main - Did not find a "Q:\attractmode_pc_v2\RocketLauncher\Settings\Arcade\Game Options.ini" file, skipping any game-specific options.
41921:45:54:320 | RL | INFO | +0 | Main - 10yard is using the default emulator: MAME
42021:45:54:326 | RL | INFO | +0 | Main - Checking for a [MAME] section in Q:\attractmode_pc_v2\RocketLauncher\Settings\Arcade\Emulators.ini
42121:45:54:332 | RL | INFO | +15 | Main - Checking for a [MAME] section in Q:\attractmode_pc_v2\RocketLauncher\Settings\Global Emulators.ini
42221:45:54:338 | RL | INFO | +0 | Main - Found [MAME] in Q:\attractmode_pc_v2\RocketLauncher\Settings\Global Emulators.ini
42321:45:54:376 | RL | INFO | +47 | CheckFile - Checking if Q:\attractmode_pc_v2\RocketLauncher\Modules\MAME\MAME.ahk exists
42421:45:54:395 | RL | DEBUG | +16 | CheckFile - Attributes:
425 File Size: 79762 bytes
426 Created: 11/3/2016 - 4:59:44 AM
427 Modified: 1/16/2018 - 10:01:58 PM
42821:45:54:407 | RL | INFO | +0 | Main - CRC Check - CRC matches, this is an official unedited module.
42921:45:54:412 | RL | INFO | +15 | Main - 10yard will use module: Q:\attractmode_pc_v2\RocketLauncher\Modules\MAME\MAME.ahk
43021:45:54:563 | RL | INFO | +157 | Main - Using SkipChecks method "Rom Only".
43121:45:54:622 | RL | INFO | +46 | CheckFile - Checking if Q:\attractmode_pc_v2\MAME\mame64.exe exists
43221:45:54:641 | RL | DEBUG | +32 | CheckFile - Attributes:
433 FileDescription MAME
434 FileVersion 0, 193, 0, 0
435 InternalName MAME
436 LegalCopyright Copyright Nicola Salmoria and the MAME team
437 OriginalFilename MAME
438 ProductName MAME
439 ProductVersion 0.193
440 CompanyName MAME Team
441 File Size: 289705191 bytes
442 Created: 1/19/2018 - 3:56:53 PM
443 Modified: 12/28/2017 - 2:08:47 PM
44421:45:54:647 | RL | INFO | +0 | Main - INI Keys read
44521:45:54:667 | RL | INFO | +15 | CheckFile - Checking if Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\7z.exe exists
44621:45:54:686 | RL | DEBUG | +16 | CheckFile - Attributes:
447 FileDescription 7-Zip Console
448 FileVersion 15.06 beta
449 InternalName 7z
450 LegalCopyright Copyright (c) 1999-2015 Igor Pavlov
451 OriginalFilename 7z.exe
452 ProductName 7-Zip
453 ProductVersion 15.06 beta
454 CompanyName Igor Pavlov
455 File Size: 262144 bytes
456 Created: 3/5/2016 - 12:03:57 AM
457 Modified: 3/5/2016 - 12:03:57 AM
45821:45:54:690 | RL | INFO | +16 | CheckFile - Checking if Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\7z.dll exists
45921:45:54:709 | RL | DEBUG | +15 | CheckFile - Attributes:
460 FileDescription 7z Plugin
461 FileVersion 15.06 beta
462 InternalName 7z
463 LegalCopyright Copyright (c) 1999-2015 Igor Pavlov
464 OriginalFilename 7z.dll
465 ProductName 7-Zip
466 ProductVersion 15.06 beta
467 CompanyName Igor Pavlov
468 File Size: 1012224 bytes
469 Created: 3/5/2016 - 12:03:57 AM
470 Modified: 3/5/2016 - 12:03:57 AM
47121:45:54:720 | 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
47221:45:54:725 | RL | WARNING | +N/A | Main - SkipChecks is enabled and set to: Rom Only
47321:45:54:730 | RL | INFO | +0 | CheckPaths - Started
47421:45:54:735 | RL | INFO | +15 | CheckPaths - Looking for rom: Q:\attractmode_pc_v2\roms\MAME\10yard.zip
47521:45:54:740 | RL | INFO | +0 | CheckPaths - Found rom: Q:\attractmode_pc_v2\roms\MAME\10yard.zip
47621:45:54:746 | RL | DEBUG | +0 | CheckPaths - Current romName: 10yard
47721:45:54:751 | RL | DEBUG | +16 | CheckPaths - Current romPath: Q:\attractmode_pc_v2\roms\MAME
47821:45:54:756 | RL | DEBUG | +0 | CheckPaths - Current romExtension: .zip
47921:45:54:761 | RL | INFO | +0 | CheckPaths - Ended
48021:45:54:767 | RL | INFO | +16 | BuildScript - User Variables:
481 ;----------------------------------------------------------------------------
482 ; INJECTED VARIABLES
483 ;----------------------------------------------------------------------------
484
485 #NoTrayIcon
486 #InstallKeybdHook
487 MiscUtils.DetectHiddenWindows("On")
488 SetTitleMatchMode, 2
489 SendMode, Event
490 Global RLLog
491 Global RLObject
492 0 := "12"
493 rlPath := "Q:\attractmode_pc_v2\RocketLauncher"
494 pluginPath := "Q:\attractmode_pc_v2\RocketLauncher\Plugins"
495 pluginName := "AttractMode"
496 pluginExt := ".plugin"
497 contextOnExit := "1"
498 rlMode := ""
499 rlTitle := "RocketLauncher"
500 rlVersion := "1.2.0.1"
501 rlAuthor := "djvj"
502 rlURL := "www.rlauncher.com"
503 langFile := "Q:\attractmode_pc_v2\RocketLauncher\Data\Language\Localization.ini"
504 primMonitor := "1"
505 frontendPID := ""
506 frontendPath := "Q:\attractmode_pc_v2\attract-v2.2.1-win32"
507 frontendExe := "attract.exe"
508 frontendExt := "exe"
509 frontendName := "attract"
510 frontendDrive := "Q"
511 exitEmulatorKey := "~Esc"
512 restoreFE := "false"
513 exitScriptKey := "~q & ~s"
514 toggleCursorKey := "~e & ~t"
515 emuFullPath := "Q:\attractmode_pc_v2\MAME\mame64.exe"
516 emuPath := "Q:\attractmode_pc_v2\MAME"
517 emuName := "MAME"
518 emuExt := "exe"
519 baseRomPath := ""
520 romPath := "Q:\attractmode_pc_v2\roms\MAME"
521 romPathFromIni := "Q:\attractmode_pc_v2\roms\MAME"
522 romExtension := ".zip"
523 romExtensionOrig := ".zip"
524 romExtensions := "zip"
525 executable := "mame64.exe"
526 systemDbName := "Arcade"
527 systemName := "Arcade"
528 dbPath := ""
529 dbName := "10yard"
530 dbExt := ""
531 romFoundByExt := ""
532 romName := "10yard"
533 romMapPath := ""
534 romMappingEnabled := "false"
535 romMappingLaunchMenuEnabled := "false"
536 romMappingFirstMatchingExt := "false"
537 romMappingShowAllRomsInArchive := "true"
538 romMappingNumberOfGamesByScreen := "7"
539 romMappingHideParent := "false"
540 romMappingMenuWidth := "400"
541 romMappingMenuMargin := "65"
542 romMappingTextFont := "Bebas Neue"
543 romMappingTextOptions := "cFFFFFFFF r4 s60 Bold"
544 romMappingDisabledTextColor := "ff888888"
545 romMappingTextSizeDifference := "7"
546 romMappingTextMargin := "15"
547 romMappingTitleTextFont := "Bebas Neue"
548 romMappingTitleTextOptions := "cFFFFFFFF r4 s90 Bold"
549 romMappingTitle2TextFont := "Bebas Neue"
550 romMappingTitle2TextOptions := "cFFFFFFFF r4 s22 Bold"
551 romMappingGameInfoTextFont := "Bebas Neue"
552 romMappingGameInfoTextOptions := "cFFFFFFFF r4 s22 Regular"
553 romMappingGameNameTextFont := "Bebas Neue"
554 romMappingGameNameTextOptions := "cFFFFFFFF r4 s40 Regular"
555 romMappingBackgroundBrush := "aa000000"
556 romMappingColumnBrush := "33000000"
557 romMappingButtonBrush1 := "6f000000"
558 romMappingButtonBrush2 := "33000000"
559 romMappingBackgroundAlign := "Stretch and Lose Aspect"
560 romMappingMenuFlagWidth := "55"
561 romMappingMenuFlagSeparation := "7"
562 romMappingDefaultMenuList := "FullList"
563 romMappingSingleFilteredRomAutomaticLaunch := "false"
564 altArchiveNameOnly := ""
565 altRomNameOnly := ""
566 altArchiveAndRomName := ""
567 altArchiveAndManyRomNames := ""
568 altRomNamesOnly := ""
569 romMapScenario := ""
570 skipchecks := "Rom Only"
571 romMatchExt := "false"
572 blockInputTime := "0"
573 blockInputFile := "Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\BlockInput.exe"
574 errorLevelReporting := "false"
575 lockLaunch := "false"
576 lockLaunchGame := ""
577 screenRotationAngle := "0"
578 screenRotationAngleGame := ""
579 setResolution := ""
580 logFile := ""
581 logLabel := [" INFO"," WARNING"," ERROR"," DEBUG"," TRACE"]
582 logLevel := "10"
583 logShowDebugConsole := "false"
584 logShowCommandWindow := "false"
585 logCommandWindow := "false"
586 logIncludeModule := "true"
587 logIncludeFileProperties := "true"
588 logIncludeDLLLogs := "false"
589 errorSounds := "true"
590 rlDebugConsoleStdout := ""
591 sysLang := "English_United_States"
592 sysType := "64-bit"
593 broadcastWindowTitle := ""
594 navUpKey := "Up"
595 navDownKey := "Down"
596 navLeftKey := "Left"
597 navRightKey := "Right"
598 navSelectKey := "Enter"
599 navP2UpKey := "Numpad8"
600 navP2DownKey := "Numpad2"
601 navP2LeftKey := "Numpad4"
602 navP2RightKey := "Numpad6"
603 navP2SelectKey := "NumpadEnter"
604 originalWidth := "3840"
605 originalHeight := "2160"
606 vdEnabled := "false"
607 vdFullPath := ""
608 vdUseSCSI := "true"
609 vdDriveLetter := ""
610 vdDriveLetterScsi := ""
611 vdAddDrive := "true"
612 demulShooterPath := ""
613 servoStikEnabled := "false"
614 servoStikExitMode := "false"
615 ledblinkyEnabled := "false"
616 ledblinkySystemName := ""
617 ledblinkyFullPath := ""
618 ledblinkyProfilePath := "Q:\attractmode_pc_v2\RocketLauncher\Profiles\LEDBlinky"
619 ledblinkyRLProfile := "Q:\attractmode_pc_v2\RocketLauncher\Profiles\LEDBlinky\RocketLauncher"
620 winIPACFullPath := ""
621 ultraMapEnabled := "false"
622 ultraMapFullPath := ""
623 emuIdleShutdown := "0"
624 launchPasswordHash := "UpUpDownDownLeftRightLeftRight"
625 cursorSize := ""
626 hideCursor := "false"
627 hideEmu := "false"
628 hideFE := "false"
629 suspendFE := "false"
630 fadeIn := "false"
631 fadeInDuration := "500"
632 fadeInTransitionAnimation := "DefaultAnimateFadeIn"
633 fadeInDelay := "0"
634 fadeInExitDelay := "0"
635 fadeOutExitDelay := "0"
636 fadeOut := "false"
637 fadeOutExtraScreen := "false"
638 fadeOutDuration := "500"
639 fadeOutTransitionAnimation := "DefaultAnimateFadeOut"
640 fadeOutDelay := "0"
641 fadeLyrInterpolation := "7"
642 fadeMuteEmulator := "false"
643 fadeUseBackgrounds := "false"
644 fadeClickThrough := "false"
645 fadeSounds := "true"
646 fade7zProgressMode := "extraction"
647 fadeWidthBaseRes := "1920"
648 fadeHeightBaseRes := "1080"
649 fadeLyr1Color := "FF000000"
650 fadeLyr1AlignImage := "Stretch and Lose Aspect"
651 fadeLyr2Pos := "Stretch and Lose Aspect"
652 fadeLyr2X := "0"
653 fadeLyr2Y := "0"
654 fadeLyr2W := ""
655 fadeLyr2H := ""
656 fadeLyr2Adjust := "1"
657 fadeLyr2PicPad := "0"
658 fadeLyr2Prefix := "Extra Layer 1 - Console"
659 fadeLyr3Pos := "Center"
660 fadeLyr3X := "450"
661 fadeLyr3Y := "450"
662 fadeLyr3W := ""
663 fadeLyr3H := ""
664 fadeLyr3Adjust := "1"
665 fadeLyr3PicPad := "0"
666 fadeLyr3Speed := "750"
667 fadeLyr3Animation := "DefaultFadeAnimation"
668 fadeLyr37zAnimation := "DefaultFadeAnimation"
669 fadeLyr3Type := "imageandbar"
670 fadeLyr3ImgFollow7zProgress := "true"
671 fadeLyr3Repeat := "1"
672 fadeLyr3BackImageTransparency := "30"
673 fadeLyr3StaticPos := "No Alignment"
674 fadeLyr3StaticX := "0"
675 fadeLyr3StaticY := "870|1575"
676 fadeLyr3StaticW := ""
677 fadeLyr3StaticH := ""
678 fadeLyr3StaticAdjust := "1"
679 fadeLyr3StaticPicPad := "0"
680 fadeLyr3StaticPrefix := "Info Bar"
681 fadeLyr4Adjust := "1"
682 fadeLyr4X := "1792|952"
683 fadeLyr4Y := "891|1596"
684 fadeLyr4W := "128"
685 fadeLyr4H := ""
686 fadeLyr4Pos := "No Alignment"
687 fadeLyr4FPS := "50"
688 fadeLyr4PicPad := "0"
689 fadeTranspGifColor := "FFFFFF"
690 fadeBarWindow := "Image"
691 fadeBarWindowX := ""
692 fadeBarWindowY := ""
693 fadeBarWindowW := "900"
694 fadeBarWindowH := ""
695 fadeBarWindowR := "30"
696 fadeBarWindowM := "30"
697 fadeBarWindowHatchStyle := "8"
698 fadeBar := "7zOnly"
699 fadeProgressDuration := "0"
700 fadeBarBack := "true"
701 fadeBarBackColor := "FF555555"
702 fadeBarH := "30"
703 fadeBarR := "10"
704 fadeBarColor := "DD00BFFF"
705 fadeBarHatchStyle := "8"
706 fadeBarPercentageText := "true"
707 fadeBarInfoText := "true"
708 fadeBarXOffset := "0"
709 fadeBarYOffset := "150"
710 fadeRomInfoDescription := "filtered text"
711 fadeRomInfoSystemName := "image"
712 fadeRomInfoYear := "text with label"
713 fadeRomInfoDeveloper := "disabled"
714 fadeRomInfoPublisher := "disabled"
715 fadeRomInfoGenre := "disabled"
716 fadeRomInfoRating := "image"
717 fadeRomInfoOrder := "Description|SystemName|Year|Developer|Genre|Rating|Publisher"
718 fadeRomInfoTextPlacement := "User Defined"
719 fadeRomInfoTextMargin := "7"
720 fadeRomInfoText1Options := "w1600|787 h90 x165 y870|1575 cFFE1E1E1 r4 s90 Left Regular"
721 fadeRomInfoText2Options := "w400 x8 y15 cFF555555 r4 s60 Bold"
722 fadeRomInfoText3Options := "w310 x165 y960|1665 cFFE1E1E1 r4 s66 Left Regular"
723 fadeRomInfoText4Options := "w1305|492 h66 x460 y960|1665 cFFE1E1E1 r4 s66 Left Regular"
724 fadeRomInfoText5Options := "cFF555555 r4 s42 Bold"
725 fadeRomInfoText6Options := "h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular"
726 fadeRomInfoText7Options := "h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular"
727 fadeStats_Number_of_Times_Played := "text with label"
728 fadeStats_Last_Time_Played := "text with label"
729 fadeStats_Average_Time_Played := "text with label"
730 fadeStats_Total_Time_Played := "text with label"
731 fadeStats_System_Total_Played_Time := "text with label"
732 fadeStats_Total_Global_Played_Time := "text with label"
733 fadeStatsInfoOrder := "Number_of_Times_Played|Last_Time_Played|Average_Time_Played|Total_Time_Played|System_Total_Played_Time|Total_Global_Played_Time"
734 fadeStatsInfoTextPlacement := "topRight"
735 fadeStatsInfoTextMargin := "7"
736 fadeStatsInfoText1Options := "cFFB4B4B4 r4 s22 Bold"
737 fadeStatsInfoText2Options := "cFFB4B4B4 r4 s22 Bold"
738 fadeStatsInfoText3Options := "cFFB4B4B4 r4 s22 Bold"
739 fadeStatsInfoText4Options := "cFFB4B4B4 r4 s22 Bold"
740 fadeStatsInfoText5Options := "cFFB4B4B4 r4 s22 Bold"
741 fadeStatsInfoText6Options := "cFFB4B4B4 r4 s22 Bold"
742 fadeText1X := "0"
743 fadeText1Y := "0"
744 fadeText1Options := "cFFB4B4B4 r4 s30 Right Bold"
745 fadeText1 := "Loading Game"
746 fadeText2X := "0"
747 fadeText2Y := "0"
748 fadeText2Options := "cFFB4B4B4 r4 s30 Right Bold"
749 fadeText2 := "Extraction Complete, Ready"
750 fadeText3 := "Loading Game"
751 fadeText4 := "Loading Complete"
752 fadeFont := "Bebas Neue"
753 fadeSystemAndRomLayersOnly := "false"
754 fadeExtractionTime := "disabled"
755 fadeExtractionTimeTextX := "0"
756 fadeExtractionTimeTextY := "0"
757 fadeExtractionTimeTextOptions := "cFF555555 r4 s20 Bold"
758 fadeInterruptKey := ""
759 detectFadeErrorEnabled := "true"
760 fadeImgPath := "Q:\attractmode_pc_v2\RocketLauncher\Media\Fade"
761 RLDataPath := "Q:\attractmode_pc_v2\RocketLauncher\Data"
762 RLMediaPath := "Q:\attractmode_pc_v2\RocketLauncher\Media"
763 RLErrSoundPath := "Q:\attractmode_pc_v2\RocketLauncher\Media\Sounds\Error"
764 modulesPath := "Q:\attractmode_pc_v2\RocketLauncher\Modules"
765 moduleFullName := "Q:\attractmode_pc_v2\RocketLauncher\Modules\MAME\MAME.ahk"
766 moduleName := "MAME"
767 modulePath := "Q:\attractmode_pc_v2\RocketLauncher\Modules\MAME"
768 moduleExtension := "ahk"
769 moduleExtensionsPath := "Q:\attractmode_pc_v2\RocketLauncher\Module Extensions"
770 libPath := "Q:\attractmode_pc_v2\RocketLauncher\Lib"
771 sevenZEnabled := "false"
772 sevenZPath := "Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\7z.exe"
773 sevenZDllPath := "Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\7z.dll"
774 sevenZExtractPath := "C:\Users\vermont\AppData\Local\Temp\HS"
775 sevenZExtractPathOrig := ""
776 sevenZAttachSystemName := "false"
777 sevenZDelTemp := "true"
778 sevenZFormats := ".zip|.rar|.7z|.lha|.lzh|.gzip|.tar"
779 sevenZFormatsNoP := "zip|rar|7z|lha|lzh|gzip|tar"
780 sevenZFormatsRegEx := "\.zip|\.rar|\.7z|\.lha|\.lzh|\.gzip|\.tar"
781 sevenZGamesToKeep := ""
782 sevenZDeletePerSystem := "false"
783 sevenZExtensions := "zip|rar|7z|lha|lzh|gzip|tar"
784 7zExtractPath := "C:\Users\vermont\AppData\Local\Temp\HS"
785 mgEnabled := "false"
786 mgKey := "~NumpadSub"
787 mgBackgroundColor := "FF000000"
788 mgSidePadding := "0.2"
789 mgWidthBaseRes := "1920"
790 mgHeightBaseRes := "1080"
791 mgYOffset := "500|800"
792 mgFont := "Arial"
793 mgText1Options := "x10p y250|500 w80p Center cBBFFFFFF r4 s100 BoldItalic"
794 mgText1Text := "Please select a game"
795 mgText2Options := "w96p cFFFFFFFF r4 s50 Center BoldItalic"
796 mgText2Offset := "100"
797 mgUseSound := "true"
798 mgSoundfreq := "300"
799 mgExitEffect := "none"
800 mgSelectedEffect := "rotate"
801 mgUseGameArt := "false"
802 mgCandidate := ""
803 mgValidTypes := "\(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side"
804 mgOnLaunch := "false"
805 pauseEnabled := "false"
806 pauseKey := "~NumpadAdd"
807 pauseBackToMenuBarKey := "X"
808 pauseZoomInKey := "C"
809 pauseZoomOutKey := "V"
810 pauseScreenshotKey := "~PrintScreen"
811 pauseHiToTextPath := "Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\HiToText.exe"
812 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}"
813 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}"
814 keyboardEncoder := ""
815 keyboardEncoderEnabled := "false"
816 keymapperEnabled := "false"
817 keymapperAHKMethod := "false"
818 keymapper := "xpadder"
819 xpadderFullPath := "Q:\attractmode_pc_v2\Utilities\Xpadder\xpadder.exe"
820 joyToKeyFullPath := "Q:\attractmode_pc_v2\Utilities\JoyToKey\JoyToKey.exe"
821 profilePath := "Q:\attractmode_pc_v2\RocketLauncher\Profiles"
822 keymapperProfilePath := "Q:\attractmode_pc_v2\RocketLauncher\Profiles\xpadder"
823 keymapperFrontEndProfileName := "RocketLauncherUI"
824 keymapperFrontEndProfile := "false"
825 keymapperRocketLauncherProfileEnabled := "false"
826 joyIDsEnabled := "false"
827 joyIDsPreferredControllersGlobal := ""
828 joyIDsPreferredControllersSystem := "use_global"
829 joyIDsPreferredControllersOnExit := ""
830 CustomJoyNamesEnabled := "false"
831 CustomJoyNames := ""
832 rotateMethod := "false"
833 FEProfile := "Q:\attractmode_pc_v2\RocketLauncher\Profiles\xpadder\RocketLauncherUI"
834 defaultProfile := "Q:\attractmode_pc_v2\RocketLauncher\Profiles\xpadder\_Default"
835 systemProfile := "Q:\attractmode_pc_v2\RocketLauncher\Profiles\xpadder\Arcade"
836 xPadderSystemProfile := "Q:\attractmode_pc_v2\RocketLauncher\Profiles\xpadder\Arcade\_Default"
837 emuProfile := "Q:\attractmode_pc_v2\RocketLauncher\Profiles\xpadder\Arcade\MAME"
838 romProfile := "Q:\attractmode_pc_v2\RocketLauncher\Profiles\xpadder\Arcade\10yard"
839 RocketLauncherProfile := "Q:\attractmode_pc_v2\RocketLauncher\Profiles\xpadder\RocketLauncher"
840 blankProfile := "Q:\attractmode_pc_v2\RocketLauncher\Profiles\xpadder\_Default\blank"
841 ahkFEProfile := "Q:\attractmode_pc_v2\RocketLauncher\Profiles\AHK\RocketLauncherUI"
842 ahkDefaultProfile := "Q:\attractmode_pc_v2\RocketLauncher\Profiles\AHK\_Default"
843 ahkSystemProfile := "Q:\attractmode_pc_v2\RocketLauncher\Profiles\AHK\Arcade"
844 ahkEmuProfile := "Q:\attractmode_pc_v2\RocketLauncher\Profiles\AHK\Arcade\MAME"
845 ahkRomProfile := "Q:\attractmode_pc_v2\RocketLauncher\Profiles\AHK\Arcade\10yard"
846 ahkRocketLauncherProfile := "Q:\attractmode_pc_v2\RocketLauncher\Profiles\AHK\RocketLauncher"
847 bezelEnabled := "false"
848 bezelICEnabled := "false"
849 shaderName := "false"
850 shaderColor := ""
851 shaderTransparency := ""
852 statisticsEnabled := "true"
853 pressDuration := "-1"
854 emuVolume := "1"
855 dxwndIni := "Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini"
856 dxwndFullPath := "Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\dxwnd\dxwnd.exe"
857 qResFullPath := "Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\QRes.exe"
858 mon1O := ""
859 pacDrivedllFile := "Q:\attractmode_pc_v2\RocketLauncher\Module Extensions\PacDrive32.dll"
860 userFadeAnimIniFile := "Q:\attractmode_pc_v2\RocketLauncher\Lib\User Fade Animations.ini"
861 testFile := ""
862 testDuration := ""
863 initialErrorMode := "0"
864
86521:45:54:772 | RL | INFO | +0 | BuildScript - Loaded XHotkey Init.ahk scripts
86621:45:54:777 | RL | INFO | +0 | BuildScript - Loaded Statistics Init.ahk scripts
86721:45:54:782 | RL | DEBUG | +0 | BuildScript - Module starts on line: 2
86821:45:54:787 | RL | INFO | +15 | BuildScript - Validating module
86921:45:54:797 | RL | INFO | +0 | BuildScript - Validation complete
87021:45:54:803 | RL | INFO | +16 | BuildScript - Module:
871 MEmu := "MAME"
872 MEmuV := "v0.166"
873 MURL := ["http://www.mame.net/"]
874 MAuthor := ["djvj","faahrev","brolly","Tomkun"]
875 MVersion := "2.3.10"
876 MCRC := "2C606685"
877 iCRC := "8566ED91"
878 MID := "635746812784197028"
879 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"]
880 ;----------------------------------------------------------------------------
881 ; Notes:
882 ; 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.
883 ;
884 ; 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
885 ; 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.
886 ; 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
887 ; If MAME has a problem reading the bios zips, try archving them with "no compression"
888 ; This site can help a ton with details for the various systems supported: http://www.progettoemma.net/mess/index.html
889 ; 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.
890 ; 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
891 ;
892 ; Command Line Options - http://easyemu.mameworld.info/mameguide/mameguide-options.html
893 ; High Scores DO NOT SAVE when cheats are enabled!
894 ; HLSL Documentation: http://mamedev.org/source/docs/hlsl.txt.html
895 ; 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
896 ;
897 ; 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
898 ; roms path for that system. If you have doubts about their filenames check the mTypeVar module variable content.
899 ;
900 ; Following systems will also require some specific files to operate properly:
901 ; APF Imagination Machine - apfimag (tape games), apfm1000 (cart games)
902 ; Camputers Lynx - lynx64k, lynx96k, lynx128k
903 ; Coleco ADAM - adam, adam_ddp, adam_fdc, adam_kb, adam_prn, adam_spi
904 ; NEC PC Engine-CD - "Super CD-ROM2 System V3.0 (J).pce" [262,656 bytes] (placed in the roms subfolder in the emuPath)
905 ; NEC TurboGrafx-CD - "Super CD-ROM2 System V3.01 (U).pce" [262,144 bytes] (placed in the roms subfolder in the emuPath)
906 ; Sega CD - segacd, megacd, megacd2j (megacd2j seems to be more compatible over megacdj)
907 ; Sony PlayStation - psa, pse, psj, psu
908 ;
909 ; Tape Control:
910 ; 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.
911 ; 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.
912 ; The following hotkeys can also be used:
913 ; F2 - Start Tape
914 ; Left Shift + F2 - Stop Tape
915 ; Insert - While held, runs the game with throttling disabled and with the maximum frameskip. Useful to speedup the long tape loading process.
916 ;
917 ; 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
918 ; hotkeys. To disable it press the Scroll Lock key, press it again to enable it back.
919 ;
920 ; 7z Support:
921 ; 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
922 ; fine to enable 7z to non-arcade systems.
923 ;
924 ; Custom Configuration Files:
925 ; 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:
926 ; cfg\mame_system_name\database_rom_name\mame_system_name.cfg
927 ; An example of a game that requires specific settings is ICBM Attack for the Bally Astrocade, in this case special cfg file should be:
928 ; cfg\astrocde\I.C.B.M. Attack (USA) (Unl)\astrocde.cfg
929 ;
930 ; Ini Files:
931 ; 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
932 ; those. MAME supports a hierarchical ini file structure and will load settings from several ini files following a specific order:
933 ;- mame.ini
934 ;- <mymame>.ini (i.e. if MAME was renamed mame060.exe, MAME parses mame060.ini here)
935 ;- debug.ini (if the debugger is enabled)
936 ;- <parent>.ini (for clones only, may be called recursively)
937 ;- <gamename>.ini
938 ;- vertical.ini (for games with vertical monitor orientation)
939 ;- horizont.ini (for games with horizontal monitor orientation)
940 ;- vector.ini (for vector games only)
941 ;- <driver>.ini (based on the source filename of the driver)
942 ;
943 ; The settings in the later ini's override those in the earlier ini's.
944 ;
945 ; It's highly recommended that you set skipchecks to 'Rom Only" for MAME otherwise RocketLauncher won't be able to launch several games due
946 ; to the way MAME roms are packaged. This will be even more noticeable for those using merged sets.
947 ;
948 ; Bally Astrocade:
949 ; 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
950 ; 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.
951 ; 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.
952 ;
953 ; GCE Vectrex:
954 ; Requires a vectrex.lay and a png overlay for each game. These all need to be placed in the MAME\artwork\vectrex folder.
955 ; 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.
956 ;
957 ; Jupiter Ace:
958 ; Set mame to 48k ram
959 ;
960 ; Magnavox Odyssey 2:
961 ; Euro games should use the videopac bios instead of the odyssey2 one or you'll get some timing issues.
962 ; Use the systemName ini file in the folder with this module for this, example:
963 ; [Moto-Crash (France)]
964 ; Bios=videopac
965 ;
966 ; RCA Studio 2:
967 ; Most of the games require you to press a button to start the game, like 1 or 2 (refer to the game's manual).
968 ; The game screen will be black until you do.
969 ;
970 ; Texas Instruments TI 99/4A:
971 ; This system requires full keyboard emulation to work properly
972 ; 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)
973 ; You can check how to convert split cart dumps to RPK here:
974 ; http://www.ninerpedia.org/index.php/MESS_multicart_system
975 ; 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"
976 ; 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
977 ; 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.
978 ;
979 ; Bezels:
980 ; Module settings control whether RocketLauncher or MAME bezels are shown
981 ; In the bezel normal mode only RocketLauncher Bezels will be show and the MAME use_bezels option will be forced disbaled
982 ; 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
983 ;
984 ; ServoStik:
985 ; The module will automatically control any connected ServoStiks found on the system.
986 ; 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.
987 ;
988 ; Per game controller types:
989 ; 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
990 ; system so to avoid adding a huge complexity to the module this must be done through the Parameters settings.
991 ; 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
992 ; 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.
993 ; This is an example for Atari 2600 for a game using wheel controllers on both joy ports:
994 ; #
995 ; # SLOT DEVICES
996 ; #
997 ; joyport1 wheel
998 ; joyport2 wheel
999 ; 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
1000 ; set Parameters=-joyport1 joy -joyport2 joy
1001 ; 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
1002 ; Parameters=-joyport1 wheel -joyport2 wheel
1003 ;
1004 ; Another option is to set the default values in the MAME ini file and make sure you also set writeconfig to 0.
1005 ; 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,
1006 ; ensure you set your controls in the main MAME config file (MAME.ini), not the system one (ex. Atari 2600.ini).
1007 ;
1008 ; Linking/NetPlay:
1009 ; The module will automatically set correct network ports for linked games.
1010 ; Up to 8 players on the same PC are supported. Multiple copies of MAME will be launched.
1011 ; 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.
1012 ; Each player will use a different cfg and nvram folder in your MAME folder. Player 1 will always use .\cfg and .\nvram.
1013 ; Players 2 through 8 will use .\cfg2, .\cfg3, etc and .\nvram2, .\nvram3, etc
1014 ; These folders and cfg/nvram files will be automatically created for you on launch so you do not need to create them manually.
1015 ; 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.
1016 ; 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.
1017 ; 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.
1018 ; There are other network related settings in the module settings to assist with starting IPs and connectivity, so check them out as well.
1019 ;
1020 ; NVRAM Automation for linked games:
1021 ; When launching linked games on the same pc NVRAM settings are automatically set for you so each player will be unique.
1022 ; For instance, in Virtua Racing, Player 1 is red, player 2 is blue, player 3 is yellow, etc.
1023 ; To do this, some other options are also set automatically for you as well, like region, difficulty, countr, course, etc
1024 ; 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.
1025 ;
1026 ; Additional Link info that may be of some importance:
1027 ; The original Model-1 has a max Bandwidth of 6 MBit/s (TOTX173/TORX173).
1028 ; One Board sends about 20 KByte/s.
1029 ; So bandwidth CLIENTSIDE is like...
1030 ; 2 Boards - 20 KByte/s inbound and 20 KByte/s outbound.
1031 ; 3 Boards - 40 KByte/s inbound and 20 KByte/s outbound.
1032 ; 4 Boards - 60 KByte/s inbound and 20 KByte/s outbound.
1033 ; etc.
1034 ; Some good info on Linking: http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=297577&page=0
1035 ; also http://forum.arcadecontrols.com/index.php/topic,130136.msg1331485.html
1036 ;----------------------------------------------------------------------------
1037 StartModule()
1038 BezelGUI()
1039
1040 primaryExe := new Emulator(emuPath . "\" . executable) ; instantiate emulator executable object
1041 emuPrimaryWindow := new Window(new WindowTitle(,"MAME")) ; instantiate primary emulator window object
1042 emuOpenWindow := new Window(new WindowTitle(dialogOpen,"ConsoleWindowClass"))
1043 emuConsoleWindow := new Window(new WindowTitle(,"ConsoleWindowClass"))
1044 emuDebugWindow := new Window(new WindowTitle(,"MAMEDebugWindow"))
1045 emuOutputWindow := new Window(new WindowTitle(,"MAMEOutput"))
1046
1047 ; 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.
1048 mTypeVar := "
1049 ( LTrim
1050 Aamber Pegasus|pegasus
1051 Acorn Electron|electron
1052 Amstrad CPC|cpc664
1053 Amstrad GX4000|gx4000
1054 APF Imagination Machine|apfimag
1055 Apple II|apple2ep
1056 Apple IIGS|apple2gs
1057 Applied Technology MicroBee|mbeeic
1058 Atari 8-Bit|a800
1059 Atari 2600|a2600
1060 Atari 5200|a5200
1061 Atari 7800|a7800
1062 Atari Jaguar|jaguar
1063 Atari Lynx|lynx
1064 Bally Astrocade|astrocde
1065 Bandai Super Vision 8000|sv8000
1066 Bandai WonderSwan|wswan
1067 Bandai WonderSwan Color|wscolor
1068 Bit Corporation Gamate|gamate
1069 Camputers Lynx|lynx128k
1070 Casio PV-1000|pv1000
1071 Casio PV-2000|pv2000
1072 Coleco ADAM|adam
1073 ColecoVision|coleco
1074 Commodore 64|c64
1075 Commodore MAX Machine|vic10
1076 Creatronic Mega Duck|megaduck
1077 EACA EG2000 Colour Genie|cgenie
1078 Emerson Arcadia 2001|arcadia
1079 Entex Adventure Vision|advision
1080 Epoch Game Pocket Computer|gamepock
1081 Epoch Super Cassette Vision|scv
1082 Exidy Sorcerer|sorcerer
1083 Fairchild Channel F|channelf
1084 Fujitsu FM-7|fmnew7
1085 Fujitsu FM Towns|fmtowns
1086 Fujitsu FM Towns Marty|fmtmarty
1087 Funtech Super Acan|supracan
1088 GamePark 32|gp32
1089 GCE Vectrex|vectrex
1090 Hartung Game Master|gmaster
1091 Interton VC 4000|vc4000
1092 JungleTac Sport Vii|vii
1093 Jupiter Ace|jupace
1094 Magnavox Odyssey 2|odyssey2
1095 Matra & Hachette Alice|alice32
1096 Mattel Aquarius|aquarius
1097 Mattel Intellivision|intv
1098 MGT Sam Coupe|samcoupe
1099 Milton Bradley MicroVision|microvsn
1100 NEC PC-8801|pc8801
1101 NEC PC Engine|pce
1102 NEC PC Engine-CD|pce
1103 NEC SuperGrafx|sgx
1104 NEC TurboGrafx-16|tg16
1105 NEC TurboGrafx-CD|tg16
1106 Nintendo 64|n64
1107 Nintendo 64DD|n64dd
1108 Nintendo Entertainment System|nes
1109 Nintendo Famicom|famicom
1110 Nintendo Famicom Disk System|fds
1111 Nintendo Game Boy|gameboy
1112 Nintendo Game Boy Advance|gba
1113 Nintendo Game Boy Color|gbcolor
1114 Nintendo Pokemon Mini|pokemini
1115 Nintendo Satellaview|snes
1116 Nintendo Super Famicom|snes
1117 Nintendo Super Game Boy|supergb
1118 Nintendo Virtual Boy|vboy
1119 Othello Multivision|omv1000
1120 Philips CD-i|cdimono1
1121 Philips Videopac Plus G7400|g7400
1122 Philips VG 5000|vg5k
1123 RCA Studio II|studio2
1124 Sega 32X|32x
1125 Sega CD|segacd
1126 Sega Game Gear|gamegear
1127 Sega Genesis|genesis
1128 Sega Master System|sms
1129 Sega Mega Drive|megadriv
1130 Sega Pico|pico
1131 Sega Saturn|saturn
1132 Sega SC-3000|sc3000
1133 Sega SG-1000|sg1000
1134 Sega VMU|svmu
1135 Sharp X1|x1turbo40
1136 Sinclair ZX81|zx81
1137 SNK Neo Geo AES|aes
1138 SNK Neo Geo CD|neocdz
1139 SNK Neo Geo Pocket|ngp
1140 SNK Neo Geo Pocket Color|ngpc
1141 Sony PlayStation|psx
1142 Sony PocketStation|pockstat
1143 Sord M5|m5
1144 Soundic Victory MPT-02|mpt02
1145 Super Nintendo Entertainment System|snes
1146 Tandy TRS-80 Color Computer|coco3
1147 Texas Instruments TI 99-4A|ti99_4a
1148 Thomson MO5|mo5
1149 Tiger Game.com|gamecom
1150 Tomy Tutor|tutor
1151 VTech CreatiVision|crvision
1152 VTech Socrates|socrates
1153 Watara Supervision|svision
1154 )"
1155 mType := Object()
1156 Loop, Parse, mTypeVar, `n, `r
1157 {
1158 obj := {}
1159 Loop, Parse, A_LoopField, |
1160 If (A_Index = 1)
1161 obj.System := A_LoopField
1162 Else ; 2
1163 obj.mameID := A_LoopField
1164 mType.Insert(obj["System"], obj)
1165 }
1166 RLLog.Debug("Module - Finished building the " . MEmu . " object")
1167 ; For easier use throughout the module
1168 mameSystem := mType[systemName].System
1169 mameID := mType[systemName].mameID
1170
1171 If !mameSystem {
1172 If (!ArrayUtils.ArrayContains(MSystem,systemName)) {
1173 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.")
1174 } Else {
1175 RLLog.Debug("Module - Defaulting to MAME's Arcade mode for the remainder of this " . MEmu . " module.")
1176 }
1177 mameSystem := systemName
1178 mameID := "MAME"
1179 }
1180
1181 Fullscreen := moduleIni.Read("Settings", "Fullscreen","true",,1) ; Set fullscreen mode
1182 legacyMode := moduleIni.Read(romName . "|" . mameSystem . "|Settings", "LegacyMode","false",,1)
1183 mameBiosPath := moduleIni.Read("Settings", "MAME_BIOS_Path", emuPath . "\roms",,1)
1184 Videomode := moduleIni.Read("Settings", "Videomode","d3d",,1) ; Choices are gdi,ddraw,d3d. If left blank, MAME uses d3d by default
1185 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
1186 bilinearFilter := moduleIni.Read(mameSystem . "|Settings", "BilinearFilter","false",,1)
1187 hlsl := moduleIni.Read(romName . "|" . mameSystem . "|Settings", "HLSL","false",,1)
1188 glsl := moduleIni.Read(romName . "|" . mameSystem . "|Settings", "GLSL","false",,1)
1189 bezelMode := moduleIni.Read(romName . "|" . mameSystem . "|Settings", "BezelMode","layout",,1) ; "layout" or "normal"
1190 verticalRotationMode := moduleIni.Read(romName . "|" . mameSystem . "|Settings", "VerticalRotationMode","none",,1)
1191 cheatMode := moduleIni.Read("Settings", "CheatMode","false",,1)
1192 cheatModeKey := moduleIni.Read("Settings", "CheatModeKey",,,1) ; user defined key to be held down before launching a mame rom.
1193 UseSoftwareList := moduleIni.Read(romName . "|" . mameSystem, "UseSoftwareList","false",,1)
1194 sysStaticParams := moduleIni.Read(mameSystem, "StaticParameters",,,1)
1195 sysParams := moduleIni.Read(mameSystem, "Parameters",,,1)
1196 romParams := moduleIni.Read(romName, "Parameters", sysParams,,1)
1197 mameRomName := moduleIni.Read(romName, "MameRomName",,,1)
1198 autosave := moduleIni.Read(romName . "|" . mameSystem, "Autosave", "false",,1)
1199 volume := moduleIni.Read(romName . "|" . mameSystem . "|Settings", "Volume",,,1)
1200 Artwork_Crop := moduleIni.Read(romName . "|" . mameSystem, "Artwork_Crop", "true",,1)
1201 Use_Bezels := moduleIni.Read(romName . "|" . mameSystem, "Use_Bezels", "false",,1)
1202 Use_Overlays := moduleIni.Read(romName . "|" . mameSystem, "Use_Overlays", "true",,1)
1203 Use_Backdrops := moduleIni.Read(romName . "|" . mameSystem, "Use_Backdrops", "true",,1)
1204 Use_Cpanels := moduleIni.Read(romName . "|" . mameSystem, "Use_Cpanels", "false",,1)
1205 Use_Marquees := moduleIni.Read(romName . "|" . mameSystem, "Use_Marquees", "false",,1)
1206 inipath := moduleIni.Read(mameSystem, "IniPath",,,1)
1207 hashpath := moduleIni.Read(mameSystem, "HashPath",,,1)
1208 UseControllerRemap := moduleIni.Read(mameSystem . "|Settings", "UseControllerRemap", "true",,1)
1209 ControllerRemapPath := moduleIni.Read(mameSystem . "|Settings", "ControllerRemapPath", emuPath . "\ControllerRemap\ControllerRemap.exe",,1)
1210 CtrlRemapFile := new File(ControllerRemapPath)
1211 ControllerRemapConfigPath := moduleIni.Read( mameSystem . "|Settings", "ControllerRemapConfigPath", CtrlRemapFile.FilePath . "\ctrlr\",,1)
1212 MAMECtrlrPath := moduleIni.Read(mameSystem . "|Settings", "MAMECtrlrPath", emuPath . "\ctrlr",,1)
1213
1214 mameBiosPath := GetFullName(mameBiosPath)
1215
1216 ; Loop, 8
1217 ; car%A_Index%Color := moduleIni.Read(romName, "Car_" . A_Index . "_Color",,,1)
1218
1219 enableLinkPlay := moduleIni.Read(romName . "|Link/Network", "Enable_Link_Play", "false",,1)
1220 networkSession := ""
1221 If (enableLinkPlay != "false") {
1222 RLLog.Info("Module - Link/Network Multi-Player is an available option for " . romName)
1223 getWANIP := moduleIni.Read("Link/Network", "Get_WAN_IP","false",,1)
1224 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
1225 networkPlayers := enableLinkPlay ; Max amount of networkable players
1226 localLink := 1 ; Tell Multiplayer menu to enable menu option for local linking
1227
1228 enableNVRAMAutomation := moduleIni.Read(romName . "|Link/Network", "Enable_NVRAM_Automation","true",,1)
1229 maxPlayersPerMonitor := moduleIni.Read(romName . "|Link/Network", "Max_Players_Per_monitor","1|1|1|1|1|1|1|1",,1)
1230 splitScreen2PlayersMode := moduleIni.Read(romName . "|Link/Network", "SplitScreen_2_Players","Horizontal",,1) ;horizontal or vertical
1231 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.
1232 localPort := moduleIni.Read("Link/Network", "Local_Port","15111",,1)
1233
1234 defaultServerIP := moduleIni.Read("Link/Network", "Default_Server_IP", myIP,,1)
1235 defaultServerPort := moduleIni.Read("Link/Network", "Default_Server_Port","15111",,1)
1236 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
1237 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
1238
1239 MultiplayerMenu(lastIP, lastPort, networkType, networkPlayers,,,,,,localLink,"ipAndPort")
1240
1241 ;MultiPlayer Menu Result
1242 ; If !(networkType)
1243 ; MsgBox, % "Single Player Game"
1244 ; Else If (networkType="localLink")
1245 ; MsgBox, % "Local Link selected with the number of players equal to: " . networkPlayers
1246 ; Else If (networkType="server")
1247 ; MsgBox, % "WAN IP Address=" . networkIP . " | LAN IP Address=" . localIP[1,2] . " | Port=" . networkPort . " | networkPlayers=" . networkPlayers . " | networkRequiresSetup=" . networkRequiresSetup
1248 ; Else If (networkType="client")
1249 ; MsgBox, % "NetworkIP=" . networkIP . " | Port Number=" . networkPort . " | networkRequiresSetup=" . networkRequiresSetup
1250
1251 If networkSession {
1252 RLLog.Info("Module - Using a Network for " . romName)
1253 multiPlayerObj := Object() ; initialize object to store the multiplayer options
1254 If (networkType="localLink") {
1255 RLLog.Info("Module - Setting remote host to 127.0.0.1 to support local link mode as it is running on this PC.")
1256 linkEnabledGame := 1
1257 If networkPlayers > 1
1258 { RLLog.Info("Module - Local link mode was selected and " . networkPlayers . " sessions will be launched.")
1259 fullscreen := "false" ; must turn off fullscreen if running multiple MAMEs on the same machine
1260 Loop % networkPlayers {
1261 multiPlayerObj[A_Index,"Player"] := A_Index
1262 multiPlayerObj[A_Index,"CfgDir"] := " -cfg_directory cfg" . (If A_Index = 1 ? "" : A_Index)
1263 multiPlayerObj[A_Index,"NvramDir"] := " -nvram_directory nvram" . (If A_Index = 1 ? "" : A_Index)
1264 If (A_Index = 1) { ; Player 1
1265 initialLocalPort := localPort ; must be stored for last player
1266 multiPlayerObj[A_Index,"LocalHost"] := " -comm_localhost 0.0.0.0"
1267 multiPlayerObj[A_Index,"LocalPort"] := " -comm_localport " . localPort
1268 localPort++
1269 multiPlayerObj[A_Index,"RemotePort"] := " -comm_remoteport " . localPort
1270 } Else { ; Players 2+
1271 multiPlayerObj[A_Index,"LocalPort"] := " -comm_localport " . localPort
1272 localPort++
1273 multiPlayerObj[A_Index,"RemoteHost"] := " -comm_remotehost 127.0.0.1"
1274 multiPlayerObj[A_Index,"RemotePort"] := " -comm_remoteport " . (If A_Index = networkPlayers ? initialLocalPort : localPort) ; must set remote port to first port on last player
1275 }
1276
1277 ; 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"]
1278 }
1279 } Else
1280 RLLog.Info("Module - Local link mode was selected but user only chose 1 player. Launch will be a normal session.")
1281 } Else If (networkType = "client") {
1282 RLLog.Info("Module - Remote host is running on another PC, module will use remote link mode.")
1283 moduleIni.Write(networkIP,"GlobalModuleIni","Link/Network","Last_IP") ; Save last used IP and Port for quicker launching next time
1284 moduleIni.Write(networkPort,"GlobalModuleIni","Link/Network","Last_Port")
1285 linkType := "Slave"
1286 networkPlayers := 1
1287 multiPlayerObj[1,"Player"] := 1
1288 multiPlayerObj[1,"CfgDir"] := " -cfg_directory cfg"
1289 multiPlayerObj[1,"NvramDir"] := " -nvram_directory nvram"
1290 multiPlayerObj[1,"LocalHost"] := " -comm_localhost 0.0.0.0" ; don't really need to set this but just in case
1291 multiPlayerObj[1,"LocalPort"] := " -comm_localport " . localPort
1292 multiPlayerObj[1,"RemoteHost"] := " -comm_remotehost " . networkIP
1293 multiPlayerObj[1,"RemotePort"] := " -comm_remoteport " . networkPort
1294 } Else { ; server
1295 RLLog.Info("Module - This PC is acting as the host, telling mame to listen for incoming connections on port: " . localPort)
1296 moduleIni.Write(networkIP,"GlobalModuleIni","Link/Network","Last_IP") ; Save last used IP and Port for quicker launching next time
1297 moduleIni.Write(networkPort,"GlobalModuleIni","Link/Network","Last_Port")
1298 linkType := "Master"
1299 networkPlayers := 1
1300 multiPlayerObj[1,"Player"] := 1
1301 multiPlayerObj[1,"CfgDir"] := " -cfg_directory cfg"
1302 multiPlayerObj[1,"NvramDir"] := " -nvram_directory nvram"
1303 multiPlayerObj[1,"LocalHost"] := " -comm_localhost 0.0.0.0" ; don't really need to set this but just in case
1304 multiPlayerObj[1,"LocalPort"] := " -comm_localport " . networkPort
1305 multiPlayerObj[1,"RemoteHost"] := " -comm_remotehost " . networkIP
1306 multiPlayerObj[1,"RemotePort"] := " -comm_remoteport " . networkPort
1307 }
1308 RLLog.Info("Module - Starting a network session using the IP """ . networkIP . """ and PORT """ . networkPort . """")
1309 } Else {
1310 RLLog.Info("Module - User chose Single Player mode for this session")
1311 }
1312 }
1313
1314 FadeInStart()
1315
1316 If inipath
1317 inipath := AbsoluteFromRelative(EmuPath, inipath)
1318 If hashpath
1319 hashpath := AbsoluteFromRelative(EmuPath, hashpath)
1320
1321 artworkCrop := If (Artwork_Crop = "true") ? " -artwork_crop" : " -noartwork_crop"
1322 useBezels := If (Use_Bezels = "true") ? " -use_bezels" : " -nouse_bezels"
1323 useOverlays := If (Use_Overlays = "true") ? " -use_overlays" : " -nouse_overlays"
1324 useBackdrops := If (Use_Backdrops = "true") ? " -use_backdrops" : " -nouse_backdrops"
1325 useCpanels := If (Use_Cpanels = "true") ? " -use_cpanels" : " -nouse_cpanels"
1326 useMarquees := If (Use_Marquees = "true") ? " -use_marquees" : " -nouse_marquees"
1327 autosave := If autosave = "true" ? " -autosave" : ""
1328 volume := If volume != "" ? " -volume " . volume : ""
1329 inipath := If inipath != "" ? " -inipath """ . inipath . """" : ""
1330 hashpath := If hashpath != "" ? " -hashpath """ . hashpath . """" : ""
1331
1332 If (verticalRotationMode = "none")
1333 verticalRotationMode := ""
1334
1335 ; Process mame's ListXML for certain features
1336 If (bezelEnabled = "true" || servoStikEnabled = "auto" || verticalRotationMode || UseControllerRemap = "true") {
1337 ListXMLObject := Object()
1338 ListXMLObject := ListXMLInfo(If mameID = "MAME" ? (If mameRomName ? mameRomName : romName) : mameID) ;For non-Arcade systems we cannot use romName for listxml
1339
1340 Angle := ListXMLObject["Angle"].Value
1341 If (bezelEnabled = "true") {
1342 If (networkPlayers > 1) {
1343 useBezels := " -nouse_bezels" ; force disabling MAME built-in bezels
1344 BezelStart(networkPlayers)
1345 } Else {
1346 If (bezelMode = "layout"){
1347 BezelStart("layout",ListXMLObject["Parent"].Value,Angle,romName)
1348 } Else { ;bezel mode = normal
1349 useBezels := " -nouse_bezels" ; force disabling MAME built-in bezels
1350 BezelStart(,,Angle)
1351 }
1352 }
1353 }
1354 If (servoStikEnabled = "auto") {
1355 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
1356 }
1357 If (verticalRotationMode && Angle) {
1358 RLLog.Info("Setting rotation mode to " . verticalRotationMode . " - Game's angle is " . Angle)
1359 If (verticalRotationMode = "original")
1360 verticalRotationMode := " -norotate"
1361 Else If (verticalRotationMode = "right")
1362 verticalRotationMode := " -ror"
1363 Else If (verticalRotationMode = "left")
1364 verticalRotationMode := " -rol"
1365 Else
1366 verticalRotationMode := ""
1367 }
1368 Else
1369 verticalRotationMode := ""
1370
1371 ;Controller Remap
1372 If (UseControllerRemap = "true") {
1373 RLLog.Info("Controller Remap: Start")
1374 romProfileName := (mameRomName ? mameRomName : romName)
1375 romParentName := ListXMLObject["Parent"].Value
1376
1377 If ControllerRemapPath
1378 ControllerRemapPath := AbsoluteFromRelative("", ControllerRemapPath)
1379 If ControllerRemapConfigPath
1380 ControllerRemapConfigPath := AbsoluteFromRelative("", ControllerRemapConfigPath)
1381 If MAMECtrlrPath
1382 MAMECtrlrPath := AbsoluteFromRelative(emuPath, MAMECtrlrPath)
1383
1384 ctrlrPath := ""
1385 RLLog.Info("Controller Remap: ControllerRemapConfigPath: " . ControllerRemapConfigPath)
1386
1387 ;~ ;1- Check for Rom. 2- Check for Rom Parent. 3- Check for System default
1388 If (FileExist(ControllerRemapConfigPath . "\" . systemName . "\" . romProfileName . ".cfg")) {
1389 RLLog.Info("Controller Remap: Rom Config File Found: " . ControllerRemapConfigPath . "\" . systemName . "\" . romProfileName . ".cfg")
1390 ctrlrPath := new File(ControllerRemapConfigPath . "\" . systemName . "\" . romProfileName . ".cfg")
1391 }
1392 else if (romParentName and FileExist(ControllerRemapConfigPath . "\" . systemName . "\" . romParentName . ".cfg")) {
1393 RLLog.Info("Controller Remap: Parent Rom Config File Found: " . ControllerRemapConfigPath . "\" . systemName . "\" . romParentName . ".cfg")
1394 ctrlrPath := new File(ControllerRemapConfigPath . "\" . systemName . "\" . romParentName . ".cfg")
1395 }
1396 else If (FileExist(ControllerRemapConfigPath . "\" . systemName . "\_Default.cfg")) {
1397 RLLog.Info("Controller Remap: System Config File Found: " . ControllerRemapConfigPath . "\" . systemName . "\_Default.cfg")
1398 ctrlrPath := new File(ControllerRemapConfigPath . "\" . systemName . "\_Default.cfg")
1399 }
1400 else If (FileExist(ControllerRemapConfigPath . "\_Default.cfg")) {
1401 RLLog.Info("Controller Remap: Global Config File Found: " . ControllerRemapConfigPath . "\_Default.cfg")
1402 ctrlrPath := new File(ControllerRemapConfigPath . "\_Default.cfg")
1403 }
1404
1405 ; Is there a controller file?
1406 if (ctrlrPath) {
1407 ctrlrFile := " -ctrlr RocketLauncher"
1408
1409 ;Replace <system name="default"> with the Right mameID in the RocketLauncher.cfg file
1410 if(mameID != "MAME") {
1411 ctrlrPath.Read()
1412 rocketLauncherCfgFile := new File(MAMECtrlrPath . "\RocketLauncher.cfg")
1413 rocketLauncherCfgFile.Delete()
1414 rocketLauncherCfgFile.Append(StringUtils.Replace(ctrlrPath.Text, "<system name=""default"">", "<system name=""" . mameID . """>"))
1415 }
1416 else {
1417 ctrlrPath.Copy(MAMECtrlrPath . "\RocketLauncher.cfg",1)
1418 }
1419
1420 RLLog.Info("Controller Remap: Running """ . ControllerRemapPath . """ /remap:""" . MAMECtrlrPath . "\RocketLauncher.cfg""")
1421 ControllerRemapProcess := new Process(ControllerRemapPath)
1422 ControllerRemapProcess.Run(" /remap:""" . MAMECtrlrPath . "\RocketLauncher.cfg""","Hide")
1423 }
1424 else {
1425 RLLog.Info("Controller Remap: No Controller config file found.")
1426 }
1427 RLLog.Info("Controller Remap: End")
1428 }
1429 }
1430
1431 winstate := If (Fullscreen = "true") ? "Hide UseErrorLevel" : "UseErrorLevel"
1432 fullscreenParam := If (Fullscreen = "true") ? " -nowindow" : " -window"
1433
1434 hideEmuObj := Object(emuOpenWindow,0,emuDebugWindow,0,emuOutputWindow,0,emuPrimaryWindow,1)
1435 7z(romPath, romName, romExtension, sevenZExtractPath)
1436
1437 ; Get MAME version from executable, this is needed since some CLI switches are not available in older MAME versions
1438 exeAtrib := FileGetVersionInfo_AW(emuPath . "\" . executable, "FileVersion|ProductVersion", "|")
1439 Loop, Parse, exeAtrib, |%A_Tab%, %A_Space%
1440 A_Index & 1 ? ( _ := A_LoopField ) : ( %_% := A_LoopField )
1441 If ProductVersion
1442 MAMEVersion := StringUtils.Right(ProductVersion, StringUtils.StringLength(ProductVersion) - 2)
1443 RLLog.Info("Module - Detected MAME Product Version from '" . EmuPath . "\" . executable . "' is " . MAMEVersion)
1444
1445 If (videomode = "opengl") {
1446 hlsl := " -nohlsl_enable"
1447 If (MAMEVersion > 159)
1448 glsl := If glsl = "true" ? " -gl_glsl" : (If glsl = "ini" ? "" : " -nogl_glsl")
1449 Else
1450 glsl := ""
1451 } Else {
1452 hlsl := If hlsl = "true" ? " -hlsl_enable" : (If hlsl = "ini" ? "" : " -nohlsl_enable")
1453 If (MAMEVersion > 159)
1454 glsl := If videomode = "ini" ? "" : " -nogl_glsl"
1455 Else
1456 glsl := ""
1457
1458 If (videomode = "ini")
1459 videomode := ""
1460 }
1461 videomode := If (Videomode != "" ) ? " -video " . videomode : ""
1462
1463 param1 := " -cart """ . romPath . "\" . romName . romExtension . """" ; default param1 used for launching most systems.
1464 If (romExtension = ".txt") ; This can be applied to all systems
1465 param1 := ""
1466
1467 If (mameID = "apfimag") ; APF Imagination Machine
1468 If (romExtension != ".tap")
1469 mameID := "apfm1000" ; cart games for APF Imagination Machine require a different bios to be loaded
1470
1471 If (UseSoftwareList != "true")
1472 { ; 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.
1473 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
1474 {
1475 If !SystemModuleIni.Exist()
1476 SystemModuleIni.Append() ; create a blank file if it does not exist
1477
1478 If (mameID = "ti99_4a") ; Texas Instruments TI 99-4A
1479 {
1480 ExpansionCartLocation := moduleIni.Read("Settings", "ExpansionCartLocation", romPathOrig . "\System",,1)
1481 ExpansionCartLocation := GetFullName(ExpansionCartLocation)
1482 CommandWaitOffset := moduleIni.Read("Settings", "CommandWaitOffset", 0,,1)
1483
1484 ExpansionCart := moduleIni.Read(romName, "Expansion_Cart","extended_basic.rpk",,1) ; user can specify a rom specific cart instead of the default basic one
1485 Command := moduleIni.Read(romName, "Command",,,1)
1486
1487 ; Now set the parameters to send to MAME
1488 If (romExtension = ".dsk") ; Expansion Disk
1489 {
1490 ; 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
1491 param1 := " -nat -gromport single -cart1"
1492 param2 := " """ . ExpansionCartLocation . "\" . ExpansionCart . """"
1493 param3 := " -peb:slot2 32kmem -peb:slot3 speech -peb:slot6 tirs232 -peb:slot8 hfdc"
1494 param4 := " -flop1"
1495 param5 := " """ . romPath . "\" . romName . romExtension . """"
1496 If StringUtils.Contains(romName, "\(Disk")
1497 {
1498 TimerUtils.Sleep(50)
1499 If (romTable.MaxIndex() = 2)
1500 {
1501 param4 := " -flop1 " . " """ . romTable[1,1] . """"
1502 param5 := " -flop2 " . " """ . romTable[2,1] . """"
1503 }
1504 }
1505 } Else If (romExtension = ".rpk") ; Cart Game (RPK Format)
1506 param1 := " -nat -gromport single -cart1", param2:=" """ . romPath . "\" . romName . romExtension . """", param3:=" -peb:slot3 speech" ;-cart will also work here
1507 param6 := " -ui_active" ;Enable partial keyboard mode at startup
1508 } Else If (mameID = "aes") ; SNK Neo Geo AES
1509 { biosRegion := moduleIni.Read(romName, "BIOS_Region","asia",,1)
1510 param1 := " -bios " . biosRegion ; can also be japan, but the asian one has english menus for most games
1511 param2 := " -cart " . romName
1512 }Else If (mameID = "apple2gs") ; Apple IIGS
1513 { externalOS := moduleIni.Read(romName, "External_OS","false",,1)
1514 2gsSystemFile := "System6.2mg" ;For games without OS included, always force this name and error out if not found
1515 multipartTable := CreateRomTable(multipartTable)
1516
1517 If (externalOS = "true")
1518 { CheckFile(romPath . "\" . 2gsSystemFile)
1519 param1 := " -flop3", param2:=" """ . romPath . "\" . 2gsSystemFile . """", param3:=" -flop4", param4:=" """ . romPath . "\" . romName . romExtension . """"
1520 } Else {
1521 param1 := " -flop3", param2:=" """ . romPath . "\" . romName . romExtension . """"
1522 If (multipartTable.MaxIndex() > 1)
1523 param3 := " -flop4", param4 := " """ . multipartTable[2,1] . """"
1524 }
1525 param5 := " -ui_active" ;Enable partial keyboard mode at startup
1526 }Else If (mameID = "electron") ; Acorn Electron
1527 { AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2",,1) ; Read delay from config.
1528 AutoBootDelay := " -autoboot_delay " . AutoBootDelay
1529 If StringUtils.Contains(romExtension,"\.ssd|\.bbc\|\.img|\.dsd|\.adf|\.ads|\.adm|\.adl")
1530 {
1531 mediaDeviceType := "flop"
1532 autoBootMethod := " -autoboot_command ""*mount 0\n\n\n\n\nch.""""run""""""\n"""""
1533 }
1534 Else If StringUtils.Contains(romExtension,"\.bin|\.rom")
1535 mediaDeviceType := "cart"
1536 Else
1537 {
1538 mediaDeviceType := "cass"
1539 autoBootMethod := " -autoboot_command ""*tape\nchain""""""""""""\n"""
1540 }
1541 param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """" . autoBootMethod . AutoBootDelay . ""
1542 }Else If (mameID = "sc3000") ; Sega SC-3000
1543 { AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2",,1) ; Read delay from config.
1544 AutoBootDelay := " -autoboot_delay " . AutoBootDelay
1545 If StringUtils.Contains(romExtension,"\.bin|\.sg\|.sc")
1546 mediaDeviceType := "cart"
1547 Else ; any other format
1548 mediaDeviceType := "cass"
1549 param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""chain""""""""""""\n""" . AutoBootDelay . ""
1550 }Else If (mameID = "c64") ; Commodore 64
1551 { AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2",,1) ; Read delay from config.
1552 AutoBootDelay := " -autoboot_delay " . AutoBootDelay
1553 If StringUtils.Contains(romExtension,"\.d64|\.g64|\.g41|\.d77|\.d88|\.1dd|\.dfi|\.imd|\.ipf|\.mfi|\.mfm|\.td0|\.cqm|\.cqi|\.dsk")
1554 mediaDeviceType := "flop1"
1555 Else If StringUtils.Contains(romExtension,"\.wav|\.tap")
1556 mediaDeviceType := "cass1"
1557 Else If StringUtils.Contains(romExtension,"\.80|\.a0|\.e0|\.crt")
1558 mediaDeviceType := "cart1"
1559 Else If StringUtils.Contains(romExtension,"\.p00|\.prg|\.t64")
1560 mediaDeviceType := "quik1"
1561 param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""chain""""""""""""\n""" . AutoBootDelay . ""
1562 }Else If mameID = mbeeic ; Applied Technology MicroBee
1563 { microbeeModel := moduleIni.Read(romName, "MicroBee_Model","mbeeic",,1)
1564 If !StringUtils.Contains(microbeeModel,"mbee|mbeeic|mbeepc|mbeepc85|mbee56")
1565 ScriptError("This is not a known MicroBee model value: " . microbeeModel)
1566 Else If (microbeeModel != "mbeeic")
1567 mameID := microbeeModel
1568 If StringUtils.Contains(romExtension,"\.mwb|\.com|\.bee")
1569 mediaDeviceType := "quik1"
1570 Else If StringUtils.Contains(romExtension,"\.wav|\.tap")
1571 mediaDeviceType := "cass"
1572 Else If StringUtils.Contains(romExtension,"\.rom")
1573 mediaDeviceType := "cart"
1574 Else If StringUtils.Contains(romExtension,"\.dsk")
1575 mediaDeviceType := "flop1"
1576 Else ; .bin format
1577 mediaDeviceType := "quik2"
1578 param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """"
1579 }Else If (mameID = "odyssey2") ; Magnavox Odyssey 2
1580 {
1581 VoiceModule := moduleIni.Read(romname, "VoiceModule","false","",1)
1582 If (VoiceModule = "true")
1583 param1 := " -cart1 voice -cart2 """ . romPath . "\" . romName . romExtension . """"
1584 param2 := " -ui_active" ;Enable partial keyboard mode at startup
1585
1586 If romName not contains (USA
1587 mameID := "videopac"
1588 }Else If (mameID = "astrocde") ; Bally Astrocade
1589 {
1590 BlueRAMBasicRom := moduleIni.Read("Settings", "BlueRAMBasicRom","Blue RAM Basic v1.1 (USA).bin",,1) ; Blue RAM Basic rom
1591 RequiresReset := moduleIni.Read(romname, "RequiresReset","false",,1) ; Check if game requires a reset
1592
1593 BlueRAMBasicRomPath := new File(romPath . "\" . BlueRAMBasicRom)
1594 If (romExtension = ".script") {
1595 ; Will require blue ram basic
1596 If !BlueRAMBasicRomPath.Exist() {
1597 ; 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
1598 StringUtils.SplitPath(romPath,,romBasePath) ; grab path one level up
1599 BlueRAMBasicRomPath.__Delete()
1600 BlueRAMBasicRomPath := new File(romBasePath . "\" . BlueRAMBasicRom)
1601 BlueRAMBasicRomPath.CheckFile("Couldn't find " . BlueRAMBasicRom . " on any of these paths:" . romBasePath . "|" . romPath)
1602 }
1603
1604 ScriptFile := new File(romPath . "\" . romName . romExtension)
1605 param1 := " -cart """ . BlueRAMBasicRomPath.FileFullPath . """"
1606
1607 ; Replace rompath variable in script
1608 ScriptFile.Read()
1609 ScriptFile.Text := StringUtils.Replace(ScriptFile.Text, "{romPath}", romPath, "all")
1610
1611 ; Create cmd file to send to MESS
1612 RomCMDFile := new File(romPath . "\" . romName . ".cmd")
1613 RomCMDFile.Delete()
1614 RomCMDFile.Append(ScriptFile.Text)
1615 param2 := " -exp blue_ram_16k -debug -debugscript """ . RomCMDFile.FileFullPath . """"
1616
1617 closeDebugWindow := "true"
1618 }
1619 }Else If (mameID = "samcoupe") ; MGT Sam Coupe
1620 { AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2",,1) ; Read delay from config.
1621 AutoBootDelay := " -autoboot_delay " . AutoBootDelay
1622
1623 If StringUtils.Contains(romExtension,"\.mgt|\.dsk|\.d77|\.d88|\.1dd|\.dfi|\.imd|\.ipf|\.mfi|\.mfm|\.td0|\.cqm|\.cqi")
1624 mediaDeviceType := "flop1"
1625 param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""\nBOOT\n""" . AutoBootDelay . ""
1626 }Else If (mameID = "vic10") ; Commodore MAX Machine
1627 { AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2",,1) ; Read delay from config.
1628 AutoBootDelay := " -autoboot_delay " . AutoBootDelay
1629
1630 If StringUtils.Contains(romExtension,"\.e0|\.80")
1631 param1 := " -cart """ . romPath . "\" . romName . romExtension . """"
1632 Else If StringUtils.Contains(romExtension,"\.wav|\.tap|\.fd")
1633 param1 := " -cass """ . romPath . "\" . romName . romExtension . """"
1634 Else If StringUtils.Contains(romExtension,"\.t64|\.prg|\.p00")
1635 {
1636 mediaDeviceType := "quik"
1637 param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""RUN""" . AutoBootDelay . ""
1638 }
1639 }Else If (mameID = "mo5") ; Thomson MO5
1640 { AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2","",1) ; Read delay from config.
1641 AutoBootDelay := " -autoboot_delay " . AutoBootDelay
1642
1643 If StringUtils.Contains(romExtension,"\.bin|\.m5|\.rom")
1644 param1 := " -cart """ . romPath . "\" . romName . romExtension . """"
1645 Else If StringUtils.Contains(romExtension,"\.wav|\.k5|\.k7")
1646 param1 := " -cass """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""RUN \""\""\n""" . AutoBootDelay . ""
1647 Else If StringUtils.Contains(romExtension,"\.fd|\.dsk|\.d77|\.d88")
1648 param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""DOS\nLOAD\n""" . AutoBootDelay . ""
1649 }Else If (mameID = "cpc664") ; Amstrad CPC
1650 { LaunchProgram := moduleIni.Read(romName, "LaunchProgram","disk",,1) ; Read command from config.
1651 LaunchProgram := " -autoboot_command " . """RUN \""" . LaunchProgram . "\n"""
1652 AutoBootDelay := moduleIni.Read("Settings", "AutoBootDelay","2",,1) ; Read delay from config.
1653 AutoBootDelay := " -autoboot_delay " . AutoBootDelay
1654
1655 If StringUtils.Contains(romExtension,"\.d77|\.d88|\.1dd|\.dfi|\.imd|\.ipf|\.mfi|\.mfm|\.td0|\.cqm|\.cqi|\.dsk")
1656 mediaDeviceType := "flop1"
1657 param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """" . LaunchProgram . AutoBootDelay
1658 }
1659
1660 ;Use a different bios if needed (This must be done after the above if conditions since the mameID will change)
1661 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
1662 If (iniBios != "")
1663 mameID := iniBios ; need to change the bios name for some games
1664 }
1665
1666 ; These systems don't use an ini, but do require parameters to be changed from the default method of launching MAME
1667 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
1668 { If !StringUtils.Contains(romExtension,"\.chd|\.cue")
1669 ScriptError("MAME only supports " . mameSystem . " games in chd and cue format. It does not support:`n" . romExtension)
1670 If (mameSystem = "NEC TurboGrafx-CD") { ; NEC TurboGrafx-CD needs an additional bios mounted as a cart to run
1671 tgcdBios := moduleIni.Read("Settings", "TGCDSystemCard", emuPath . "\roms\Super CD-ROM2 System V3.01 (U).pce",,1)
1672 tgcdBios := GetFullName(tgcdBios)
1673 tgcdBios := CheckFile(tgcdBios)
1674 param2 := " -cart " . """" . tgcdBios . """"
1675 } Else If (mameSystem = "NEC PC Engine-CD") { ; NEC PC Engine-CD needs an additional bios mounted as a cart to run
1676 pcecdBios := moduleIni.Read("Settings", "PCECDSystemCard", emuPath . "\roms\Super CD-ROM2 System V3.0 (J).pce",,1)
1677 pcecdBios := GetFullName(pcecdBios)
1678 pcecdBios := CheckFile(pcecdBios)
1679 param2 := " -cart " . """" . pcecdBios . """"
1680 } Else If (mameID = "psx") { ; Sony PlayStation
1681 mameID := "psu" ; changing mameID sent to MAME to use the USA bios
1682 ; SelectMemCard() ; future function to swap around memcards
1683 ; Usage: mc1 "J:\MAME\software\psu\card1.mc"
1684 } If (mameSystem = "Sega CD") { ;
1685 If StringUtils.InStr(romName,"(Jap") ; Mega CD Japanese v2
1686 mameID := "megacd2j"
1687 Else If StringUtils.InStr(romName,"(Euro") ; Mega CD European (PAL)
1688 mameID := "megacd"
1689 }
1690 param1 := " -cdrm """ . romPath . "\" . romName . romExtension . """"
1691 }Else If (mameID = "gamecom") ; Tiger Game.com
1692 { If (romExtension != ".txt")
1693 param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"
1694 }Else If (mameID = "genesis") ; Sega Genesis
1695 { If (StringUtils.InStr(romName, "(Europe") || StringUtils.InStr(romName, "(PAL")) ; if rom is from europe, tell MAME to boot a Mega Drive instead
1696 mameID := "megadriv"
1697 }Else If (mameID = "megadriv") ; Sega Mega Drive
1698 { If (StringUtils.InStr(romName, "(USA") || StringUtils.InStr(romName, "(NTSC")) ; if rom is from America, tell MAME to boot a Genesis instead
1699 mameID := "genesis"
1700 }Else If (mameID = "vii") ; JungleTac Sport Vii
1701 { If (romName = "Built-In Games (China)") ; Has some built-in games, gotta launch just BIOS for it.
1702 param1 := ""
1703 }Else If (mameID = "alice32") ; Matra & Hachette Alice
1704 { If (romExtension != ".txt")
1705 param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
1706 }Else If (mameID = "cgenie") ; EACA EG2000 Colour Genie
1707 { If (romExtension != ".txt")
1708 param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
1709 }Else If (mameID = "pockstat") ; Sony PocketStation
1710 { If (romExtension != ".gme")
1711 param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"
1712 }Else If (mameID = "coco3") ; Tandy TRS-80 Color Computer
1713 { If (romExtension != ".txt")
1714 param1 := " -cart """ . romPath . "\" . romName . romExtension . """"
1715 }Else If (mameID = "zx81") ; Sinclair ZX81
1716 { If (romExtension != ".txt")
1717 param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
1718 }Else If (mameID = "lynx128k") ; Camputers Lynx
1719 { If (romExtension != ".txt")
1720 param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
1721 }Else If (mameID = "vg5k") ; Philips VG 5000
1722 { If (romExtension != ".txt")
1723 param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
1724 }Else If (mameID = "sorcerer") ; Exidy Sorcerer
1725 { If (romExtension = ".snp") ; Snapshot file
1726 param1 := " -dump """ . romPath . "\" . romName . romExtension . """"
1727 Else If (romExtension = ".bin")
1728 param1 := " -quik """ . romPath . "\" . romName . romExtension . """"
1729 }Else If (messID = "jupace") ; jupiter ace
1730 { If (romExtension = ".ace")
1731 param1 := " -dump """ . romPath . "\" . romName . romExtension . """"
1732 }Else If (mameID = "a800" || mameID = "fds") ; Atari 8-Bit, Nintendo Famicom Disk System
1733 { If (romExtension != ".txt")
1734 param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
1735 }Else If (mameID = "vectrex") ; GCE Vectrex
1736 { 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)
1737 param1 := ""
1738 }Else If (mameID = "apfm1000") ; APF Imagination Machine/APF M1000
1739 { If (romName = "Rocket Patrol (USA)") ; Rocket Patrol is built into the APF M1000 ROM.
1740 param1 := ""
1741 }Else If (mameID = "adam") ; Coleco ADAM
1742 param1 := (If romExtension = ".ddp" ? " -cass1" : (If romExtension = ".dsk" ? " -flop1" : " -cart1")) . " """ . romPath . "\" . romName . romExtension . """" ; Decide if tape, disk, or cart game
1743 Else If (mameID = "pegasus") ; Aamber Pegasus
1744 { If (romExtension != ".txt")
1745 param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"
1746 }Else If (mameID = "gp32") ; GamePark 32
1747 { If (romExtension != ".txt")
1748 param1 := " -memc """ . romPath . "\" . romName . romExtension . """"
1749 }Else If (mameID = "svmu") ; Sega VMU
1750 {
1751 param1 := " -quik """ . romPath . "\" . romName . romExtension . """"
1752 }Else If (mameID = "x1turbo40") ; Sharp X1
1753 { If StringUtils.Contains(romExtension,"\.bin|\.rom")
1754 param1 := " -cart """ . romPath . "\" . romName . romExtension . """"
1755 Else If StringUtils.Contains(romExtension,"\.wav|\.tap")
1756 param1 := " -cass """ . romPath . "\" . romName . romExtension . """"
1757 Else
1758 param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
1759 }Else If (mameID = "pc8801") ; NEC PC-8801
1760 { If (romExtension = ".d88")
1761 param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
1762 }Else If (mameID = "fmnew7") ; Fujitsu FM-7
1763 { If StringUtils.Contains(romExtension,"\.fdi|\.td0|\.imd|\.cqm|\.dsk|\.d77|\.d88|\.1dd")
1764 param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
1765 Else If StringUtils.Contains(romExtension,"\.wav|\.t77")
1766 param1 := " -cass """ . romPath . "\" . romName . romExtension . """"
1767 }Else If (mameID = "apple2ep") ; Apple II
1768 { If StringUtils.Contains(romExtension,"\.dsk|\.do|\.po|\.rti|\.edd|\.d77|\.d88|\.1dd|\.dfi|\.imd|\.i pf|\.mfi|\.mfm|\.td0|\.cqm|\.cqi")
1769 param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
1770 Else If StringUtils.Contains(romExtension,"\.wav")
1771 param1 := " -cass """ . romPath . "\" . romName . romExtension . """"
1772 }Else If (mameID = "n64dd") ; Nintendo 64DD
1773 {
1774 N64RomFile := new FIle(romPath . "\" . romName . ".n64")
1775 If N64RomFile.Exist()
1776 param1 := " -cart """ . N64RomFile.FileFullPath . """ -quik """ . romPath . "\" . romName . romExtension . """"
1777 Else
1778 param1 := " -quik """ . romPath . "\" . romName . romExtension . """"
1779 }Else If StringUtils.Contains(mameID,"studio2|mpt02") ; RCA Studio 2
1780 {
1781 If (romExtension != ".txt")
1782 param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"
1783 Else {
1784 If StringUtils.Contains(romName,"Doodle")
1785 button2 := "A 1" ; Press 1 on P1 controller
1786 If StringUtils.Contains(romName,"Patterns")
1787 button2 := "A 2" ; Press 2 on P1 controller
1788 If StringUtils.Contains(romName,"Bowling")
1789 button2 := "A 3" ; Press 3 on P1 controller
1790 If StringUtils.Contains(romName,"Freeway")
1791 button2 := "A 4" ; Press 4 on P1 controller
1792 If StringUtils.Contains(romName,"Addition")
1793 button2 := "A 5" ; Press 5 on P1 controller
1794 }
1795
1796 ; Generate a lua script to press the Clear button so games will start
1797 ScriptFileName := GeneratePressButtonScript("Clear",button2)
1798 bootscript := " -script """ . ScriptFileName . """ -autoboot_delay 1"
1799 }Else If (mameID = "fmtowns" || mameID = "fmtmarty") ; Fujitsu FM Towns
1800 {
1801 If StringUtils.Contains(romExtension,"\.chd|\.cue")
1802 mediaDeviceType := "cdrm"
1803 Else
1804 mediaDeviceType := "flop1"
1805
1806 param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """"
1807 }
1808 } Else { ; Use Software List
1809 hashname := mameID
1810 param1 := " """ . romName . """" ; param1 used for launching from software lists
1811
1812 If (mameID = "aes") ; SNK Neo Geo AES
1813 { hashname := "neogeo"
1814 biosRegion := moduleIni.Read(romName, "BIOS_Region","asia",,1)
1815 param2 := " -bios " . biosRegion ; can also be japan, but the asian one has english menus for most games
1816 }
1817 CheckFile(emuPath . "\hash\" . hashname . ".xml","Could not find a software list for the system " . mameID) ;Check if software list for selected system exists
1818 }
1819
1820 If (mameID = "vectrex") { ; GCE Vectrex
1821 VectrexArtFile := new File(emuPath . "\artwork\Vectrex\" . romName . ".png")
1822 param2 := " -view " . (If VectrexArtFile.Exist() ? ("""" . romName . """") : "standard") ; need overlays extracted in the artwork\vectres folder. PNGs must match romName
1823 }
1824
1825 sysStaticParams := If sysStaticParams != "" ? A_Space . sysStaticParams : "" ; tacking on a space in case user forgot to add one
1826 romParams := If romParams != "" ? A_Space . romParams : "" ; tacking on a space in case user forgot to add one
1827
1828 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
1829 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
1830
1831 If StringUtils.InStr(romParams,"-rompath")
1832 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.")
1833 If StringUtils.InStr(sysStaticParams,"-rompath")
1834 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.")
1835
1836 ; use a custom rom name, not the one from the db
1837 If mameRomName {
1838 MameRomOriginalFile := new File(romPath . "\" . romName . romExtension)
1839 MameRomCustomFile := new File(romPath . "\" . mameRomName . romExtension)
1840 errLvl := MameRomOriginalFile.Move(MameRomCustomFile.FileFullPath) ; rename rom to match what mame needs
1841 originalRomName := romName ; store romName from database so we know what to rename it back to later
1842 romName := mameRomName
1843 If errLvl
1844 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)
1845 Else ; if rename was successful, set var so we know to move it back later
1846 fileRenamed := 1
1847 }
1848
1849 ; use a custom cfg file if it exists and append it to param1
1850 CustomCFGPath := new Folder(emuPath . "\cfg\" . mameID . "\" . dbName)
1851 If CustomCFGPath.Exist()
1852 param1 := " -cfg_directory """ . CustomCFGPath.FileFullPath . """" . param1
1853
1854 If (bilinearFilter = "true")
1855 bilinearEnabled := " -filter"
1856 Else
1857 bilinearEnabled := " -nofilter"
1858
1859 If (cheatMode = "true") {
1860 CheatZipFile := new File(emuPath . "\cheat.zip")
1861 Cheat7zFile := new File(emuPath . "\cheat.7z")
1862 If (!CheatZipFile.Exist() && !Cheat7zFile.Exist())
1863 RLLog.Warning("Module - You have cheats enabled for " . MEmu . " but could not locate a ""cheat.zip"" or ""cheat.7z"" in " . emuPath)
1864 Else {
1865 RLLog.Info("Module - Cheat file found in " . emuPath)
1866 If cheatModeKey ; if user wants to use a key to enable CheatMode
1867 cheatEnabled := If XHotkeyAllKeysPressed(cheatModeKey) ? " -cheat" : "" ; only enables cheatMode when key is held down on launch
1868 Else ; no cheat mode key defined
1869 cheatEnabled := " -cheat"
1870 }
1871 }
1872
1873 If (RequiresReset = "true")
1874 { ; Generate a lua script to send a system soft reset
1875 ScriptFileName := GenerateSoftResetScript()
1876 bootscript := " -script """ . ScriptFileName . """ -autoboot_delay 1"
1877 }
1878
1879 HideAppStart(hideEmuObj,hideEmu)
1880
1881
1882
1883 If (legacyMode = "true")
1884 { RLLog.Info("Module - Running MAME in legacy Mode")
1885 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
1886 } Else {
1887 RLLog.Info("Module - Running MAME in non-legacy mode")
1888 ; If (networkPlayers = 1 || !linkEnabledGame) {
1889 If !networkSession {
1890 RLLog.Info("Module - SinglePlayer session")
1891 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
1892 } Else { ; multiplayer game run
1893 RLLog.Info("Module - Network/MultiPlayer session")
1894 BuildNVRAMObject() ; build nvram object
1895 ;screen positions
1896 screenPos := []
1897 screenPos := SplitScreenPos(networkPlayers,splitScreen2PlayersMode,splitScreen3PlayersMode,maxPlayersPerMonitor)
1898 If (networkType="localLink")
1899 globalInputs := " -global_inputs" ; tell mame to accept inputs when its window is not focused
1900 Loop % networkPlayers
1901 {
1902 currentPlayer := A_Index
1903 ; Update NVRAM setting(s)
1904 If (enableNVRAMAutomation = "true") {
1905 If nvramSettings[romName]["Settings"]["Credit"]["Position"].MaxIndex() { ; If nvram settings exist for this game
1906 NVRamFile%currentPlayer% := new File(emuPath . "\nvram" . (If currentPlayer = 1 ? "" : currentPlayer) . "\" . romName . "\" . nvramSettings[romName]["Settings"]["NVRAM"]["File"][1])
1907 If NVRamFile%currentPlayer%.Exist() {
1908 RLLog.Info("Module - Checking nvram file(s) for required changes")
1909 If (networkType = "localLink") { ; only local link is supported for now
1910 ; Parse through each setting of each player and lookup the position to write new setting to the nvram file
1911 for playerOptionLabel, selectedPlayerOption in nvramSettings[romName]["Player"][currentPlayer] ;looping on each player selected options
1912 for index, setting in nvramSettings[romName]["Settings"][playerOptionLabel]["Position"] ;Looping through hex values of the current option
1913 HexCompareWrite(NVRamFile%currentPlayer%.FileFullPath,nvramSettings[romName]["Settings"][playerOptionLabel]["Position"][index],nvramSettings[romName]["Settings"][playerOptionLabel]["Option"][selectedPlayerOption][index])
1914 for index, playerCRC in nvramSettings[romName]["CRC"]["Player"][currentPlayer] ;looping on each player selected options
1915 HexCompareWrite(NVRamFile%currentPlayer%.FileFullPath,nvramSettings[romName]["Settings"]["CRC"]["Position"][index],nvramSettings[romName]["CRC"]["Player"][currentPlayer][index])
1916 } Else If (networkType = "Server") {
1917 RLLog.Info("Module - Converting this nvram to ""Master"" in: " . NVRamFile%currentPlayer%.FileFullPath)
1918 ; 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
1919 HexCompareWrite(NVRamFile%currentPlayer%.FileFullPath,nvramSettings[romName]["Settings"]["Link"]["Position"][1],nvramSettings[romName]["Settings"]["Link"]["Option"]["Master"][1])
1920 } Else If (networkType = "Client") {
1921 RLLog.Info("Module - Converting this nvram to ""Slave"" in: " . NVRamFile%currentPlayer%.FileFullPath)
1922 ; 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
1923 HexCompareWrite(NVRamFile%currentPlayer%.FileFullPath,nvramSettings[romName]["Settings"]["Link"]["Position"][1],nvramSettings[romName]["Settings"]["Link"]["Option"]["Slave"][1])
1924 }
1925 } Else
1926 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)
1927 } Else
1928 RLLog.Info("Module - This rom does not contain an entry in the NVRAM object")
1929 }
1930 ;;Run Line for each of the multiplayer MAME instances using the nvramPath and cfgPath variables to the extra mames
1931 MameMultiPlayer%currentPlayer%Exe := new Process(emuPath . "\" . executable) ; instantiate a new process for each player
1932 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
1933 MameMultiPlayer%currentPlayer%Exe.Process("Exist") ; get PID
1934 MameMultiPlayer%currentPlayer%Window := new Window(new WindowTitle(,,,,MameMultiPlayer%currentPlayer%Exe.PID))
1935 MameMultiPlayer%currentPlayer%Window.ExcludeTitle := "MAMEOutput" ; ignore the mame debug window
1936 MameMultiPlayer%currentPlayer%Window.Wait()
1937 }
1938
1939 Loop % networkPlayers
1940 {
1941 MameMultiPlayer%A_Index%Window.Get("ID")
1942 MameMultiPlayer%A_Index%Window.RemoveTitlebar()
1943 MameMultiPlayer%A_Index%Window.ToggleMenu()
1944 MameMultiPlayer%A_Index%Window.RemoveBorder()
1945 MameMultiPlayer%A_Index%Window.Move(screenPos[A_Index].X, screenPos[A_Index].Y, screenPos[A_Index].W, screenPos[A_Index].H)
1946 TimerUtils.Sleep(50)
1947 }
1948 }
1949 }
1950
1951 If errLvl {
1952 If (errLvl = 1)
1953 Error := "Failed Validity"
1954 Else If(errLvl = 2)
1955 Error := "Missing Files"
1956 Else If(errLvl = 3)
1957 Error := "Fatal Error"
1958 Else If(errLvl = 4)
1959 Error := "Device Error"
1960 Else If(errLvl = 5)
1961 Error := "Game Does Not Exist"
1962 Else If(errLvl = 6)
1963 Error := "Invalid Config"
1964 Else If StringUtils.Contains(errLvl,"7|8|9")
1965 Error := "Identification Error"
1966 Else
1967 Error := "MAME Error"
1968 RLLog.Error("MAME Error - " . Error)
1969 }
1970
1971 emuPrimaryWindow.Wait()
1972 emuPrimaryWindow.WaitActive()
1973
1974 If (mameID = "ti99_4a") ; Texas Instruments TI 99-4A
1975 {
1976 KeyUtils.SendCommand("X",1000) ; To bypass the first screen
1977 If (Command)
1978 KeyUtils.SendCommand(Command,,,,,,CommandWaitOffset) ; Send command affect it with an offset if needed
1979 }
1980
1981 ; Close the debugger window if exists
1982 If (closeDebugWindow = "true") {
1983 emuDebugWindow.Wait(2)
1984 emuDebugWindow.Close()
1985 }
1986
1987 BezelDraw()
1988 HideAppEnd(hideEmuObj,hideEmu)
1989
1990 If (networkPlayers = 1 || !linkEnabledGame) {
1991 emuPrimaryWindow.Show() ; Show the emulator
1992 } Else {
1993 Loop % networkPlayers
1994 MameMultiPlayer%A_Index%Window.Show() ; Show the emulator
1995 MameMultiPlayer1Window.Activate() ; Activate first player window so that first player can use keyboard instead of last player
1996 }
1997
1998 FadeInExit()
1999 primaryExe.Process("WaitClose")
2000 7zCleanUp()
2001 BezelExit()
2002
2003 If fileRenamed { ; Rename file back to alternate name for next launch
2004 errLvl := MameRomCustomFile.Move(MameRomOriginalFile.FileFullPath) ; Put original name back
2005 If errLvl ; If rename was successful, set var so we know to move it back later
2006 ScriptError("There was a problem renaming " . MameRomCustomFile.FileName . " back to " . MameRomOriginalFile.FileName)
2007 }
2008
2009 FadeOutExit()
2010 ExitModule()
2011
2012
2013 ListXMLInfo(rom){ ; Returns MAME info about parent rom, orientation angle, resolution
2014 Global emuFullPath,emuPath,RLLog
2015 ListXMLObject := Object()
2016 listXMLVarLog := ""
2017 ComSpecProcess := new Process(ComSpec) ; instantiate cmd.exe process
2018 ComSpecProcess.RunDirect(comspec . " /c " . """" . emuFullPath . """" . " -listxml " . rom . " > tempBezel.txt", emuPath, "Hide", 1) ; Run from emu's folder
2019 TempBezelFile := new File(emuPath . "\tempBezel.txt")
2020 TempBezelFile.Read()
2021 StringUtils.RegExMatch(TempBezelFile.Text, "s)<(machine|game).*name=" . """" . rom . """" . ".*" . "cloneof=" . """" . "[^""""]*", parent)
2022 StringUtils.RegExMatch(parent,"cloneof=" . """" . ".*", parent)
2023 StringUtils.RegExMatch(parent,"""" . ".*", parent)
2024 parent := StringUtils.TrimLeft(parent, 1)
2025 StringUtils.RegExMatch(TempBezelFile.Text, "s)<display.*rotate=" . """" . "[0-9]+" . """", angle)
2026 StringUtils.RegExMatch(angle,"[0-9]+", angle, "-6")
2027 StringUtils.RegExMatch(TempBezelFile.Text, "s)<display.*width=" . """" . "[0-9]+" . """", width)
2028 StringUtils.RegExMatch(width,"[0-9]+", width, "-6")
2029 StringUtils.RegExMatch(TempBezelFile.Text, "s)<display.*height=" . """" . "[0-9]+" . """", Height)
2030 StringUtils.RegExMatch(Height,"[0-9]+", Height, "-6")
2031 StringUtils.RegExMatch(TempBezelFile.Text, "s)<control.*ways=" . """" . "[0-9]+" . """", Ways)
2032 StringUtils.RegExMatch(Ways,"[0-9]+", Ways, "-6")
2033 logVars := "Parent|Angle|Height|Width|Ways"
2034 Loop, Parse, logVars, |
2035 {
2036 currentobj := {}
2037 currentobj.Label := A_Loopfield
2038 currentobj.Value := %A_Loopfield%
2039 ListXMLObject.Insert(currentobj["Label"], currentobj)
2040 listXMLLog .= "`r`n`t`t`t`t`t" . currentobj["Label"] . " = " . currentobj["Value"]
2041 }
2042 RLLog.Info("Module - MAME ListXML values: " . listXMLLog)
2043 If (ListXMLObject["Height"].Value > ListXMLObject["Width"].Value) {
2044 ListXMLObject["Angle"].Value := true
2045 RLLog.Info("Module - This game's height is greater than its width, forcing vertical mode")
2046 }
2047 TempBezelFile.Delete()
2048 Return ListXMLObject
2049 }
2050
2051 GenerateSoftResetScript(){ ; Generates a lua script to send a soft reset to MAME
2052 Global emuPath
2053
2054 SoftScriptFile := new File(emuPath . "\soft_reset.lua")
2055 ScriptFileName := emuPath . "\soft_reset.lua"
2056 SoftScriptFile.Delete()
2057
2058 AppendTxt :="
2059 (
2060 -- This script will reset the machine
2061 local function reset_machine()
2062 if resetcounter == nil then
2063 manager:machine():soft_reset();
2064 resetcounter = 1;
2065 end
2066 end
2067 if resetcounter == nil then
2068 emu.wait(1);
2069 reset_machine();
2070 end
2071 )"
2072 SoftScriptFile.Append(AppendTxt)
2073 Return SoftScriptFile.FileFullPath
2074 }
2075
2076 GeneratePressButtonScript(button1,button2=""){ ; Generates a lua script to send a soft reset to MAME
2077 Global emuPath
2078
2079 PressScriptFile := new File(emuPath . "\press_button.lua")
2080 PressScriptFile.Delete()
2081 If (button2) {
2082 button2str := "`n`t`temu.wait(1);`n`t`tioport[""" . button2 . """]:write(1);`n`t`temu.wait(1);`n`t`tioport[""" . button2 . """]:write(0);"
2083 }
2084
2085 AppendTxt :="
2086 (
2087 local function press_button()
2088 if resetcounter == nil then
2089 ioport[""" . button1 . """]:write(1);
2090 emu.wait(1);
2091 ioport[""" . button1 . """]:write(0);
2092 resetcounter = 1;" . button2str . "
2093 end
2094 end
2095 if resetcounter == nil then
2096 emu.wait(1);
2097 press_button();
2098 end
2099 )"
2100 PressScriptFile.Append(AppendTxt)
2101 Return PressScriptFile.FileFullPath
2102 }
2103
2104 BuildNVRAMObject() {
2105 Global nvramSettings,RLLog
2106 RLLog.Info("BuildNVRAMObject - Started")
2107
2108 nvramSettings := {}
2109
2110 nvramSettings["vr"] := {}
2111 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"]}}}
2112
2113 nvramSettings["vr"]["Player"] := {}
2114 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"})
2115 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"})
2116 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"})
2117 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"})
2118 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"})
2119 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"})
2120 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"})
2121 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"})
2122 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"]}}
2123
2124 nvramSettings["vformula"] := {}
2125 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"]}}}
2126
2127 nvramSettings["vformula"]["Player"] := {}
2128 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"})
2129 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"})
2130 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"})
2131 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"})
2132 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"})
2133 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"})
2134 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"})
2135 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"})
2136 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"]}}
2137
2138 RLLog.Info("BuildNVRAMObject - Ended")
2139 }
2140
2141 BezelLabel:
2142 emuConsoleWindow.Set("Transparent",0)
2143 Return
2144
2145 HaltEmu:
2146 If (pauseMethod = 1)
2147 { disableSuspendEmu := "true"
2148 disableRestoreEmu := "true"
2149 emuPrimaryWindow.PostMessage("0x211",1)
2150 } Else If (pauseMethod = 2)
2151 { disableSuspendEmu := "true"
2152 emuPrimaryWindow.PostMessage("0x211",1)
2153 } Else If (pauseMethod = 3)
2154 { disableSuspendEmu := "true"
2155 disableRestoreEmu := "true"
2156 emuPrimaryWindow.PostMessage(0x0400+6,1)
2157 } Else If (pauseMethod = 4)
2158 { disableSuspendEmu := "true"
2159 emuPrimaryWindow.PostMessage(0x0400+6,1)
2160 } Else If (pauseMethod = 5)
2161 { disableSuspendEmu := "true"
2162 KeyUtils.Send("{P down}")
2163 TimerUtils.Sleep(1000)
2164 KeyUtils.Send("{P up} ")
2165 }
2166 Return
2167 RestoreEmu:
2168 If (pauseMethod = 1)
2169 emuPrimaryWindow.PostMessage("0x212",1)
2170 Else If (pauseMethod = 2)
2171 emuPrimaryWindow.PostMessage("0x212",1)
2172 Else If (pauseMethod = 3)
2173 emuPrimaryWindow.PostMessage(0x0400+6,0)
2174 Else If (pauseMethod = 4)
2175 emuPrimaryWindow.PostMessage(0x0400+6,0)
2176 Else If (pauseMethod = 5) {
2177 disableSuspendEmu := "true"
2178 KeyUtils.Send("{P down}")
2179 TimerUtils.Sleep(1000)
2180 KeyUtils.Send("{P up} ")
2181 }
2182 emuPrimaryWindow.Activate()
2183 Return
2184
2185 CloseProcess:
2186 FadeOutStart()
2187 If (networkSession && networkPlayers > 1) {
2188 Loop % networkPlayers {
2189 MameMultiPlayer%A_Index%Window.Close()
2190 MameMultiPlayer%A_Index%Window.WaitClose()
2191 }
2192 } Else
2193 emuPrimaryWindow.Close()
2194 Return
2195
219621:45:54:839 | RL | INFO | +31 | BuildScript - Loaded Multi-Player scripts
219721:45:54:844 | RL | INFO | +16 | BuildScript - Loaded Statistics.ahk script
219821:45:54:850 | RL | INFO | +0 | BuildScript - "Q:\attractmode_pc_v2\RocketLauncher\Lib\User Functions\Global.ahk" not found
219921:45:54:856 | RL | INFO | +0 | BuildScript - "Q:\attractmode_pc_v2\RocketLauncher\Lib\User Functions\Arcade.ahk" not found
220021:45:54:861 | RL | INFO | +15 | BuildScript - "Q:\attractmode_pc_v2\RocketLauncher\Lib\User Functions\Emulators\MAME.ahk" not found
220121:45:54:866 | RL | INFO | +0 | BuildScript - "Q:\attractmode_pc_v2\RocketLauncher\Lib\User Functions\Arcade\Emulators\MAME.ahk" not found
220221:45:54:872 | RL | INFO | +0 | BuildScript - "Q:\attractmode_pc_v2\RocketLauncher\Lib\User Functions\Arcade\10yard.ahk" not found
220321:45:54:878 | RL | INFO | +16 | BuildScript - Finished injecting functions into module
220421:45:54:883 | RL | INFO | +0 | Main - Module is built
220521:45:54:889 | RL | INFO | +0 | CheckFile - Checking if Q:\attractmode_pc_v2\RocketLauncher\AutoHotkey.dll exists
220621:45:54:909 | RL | DEBUG | +31 | CheckFile - Attributes:
2207 FileDescription AutoHotkey_H ANSI 32-bit
2208 FileVersion 1.1.13.00
2209 InternalName AutoHotkey_H
2210 LegalCopyright Copyright (C) 2003-2013
2211 OriginalFilename AutoHotkey.exe
2212 ProductName AutoHotkey_H
2213 ProductVersion 1.1.13.00
2214 File Size: 802304 bytes
2215 Created: 3/5/2016 - 12:03:57 AM
2216 Modified: 9/7/2013 - 12:54:32 AM
221721:45:54:916 | RL | INFO | +0 | Main - Starting timer to watch if Front End gets displaced and restore it if it does.
221821:45:54:922 | RL | INFO | +0 | Main - Running module
221921:45:55:139 | MD | INFO | +N/A | Module initialized
222021:45:55:164 | MD | DEBUG | +31 | XHotkeyTableCreation - Started
222121:45:55:169 | MD | DEBUG | +0 | XHotkeyTableCreation - KeyGroup ~Esc not in TableKeyGroups
222221:45:55:194 | MD | DEBUG | +32 | XHotkeyTableCreation - Post loop 1 check
222321:45:55:200 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 2 check
222421:45:55:225 | MD | DEBUG | +31 | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~Esc" to call label: "CloseProcess"
222521:45:55:231 | MD | DEBUG | +0 | XHotkeyTableCreation - Ended
222621:45:55:256 | MD | TRACE | +31 | CustomFunction.Init - Starting
222721:45:55:261 | MD | TRACE | +0 | CustomFunction.Init - Ending
222821:45:55:266 | MD | INFO | +0 | StartModule - Started
222921:45:55:291 | MD | INFO | +31 | StartModule - MEmu: MAME
2230 MEmuV: v0.166
2231 MURL: http://www.mame.net/
2232 MAuthor: djvj|faahrev|brolly|Tomkun
2233 MVersion: 2.3.10
2234 MCRC: 2C606685
2235 iCRC: 8566ED91
2236 MID: 635746812784197028
2237 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
223821:45:55:296 | MD | INFO | +0 | StartModule - You have a supported System Name for this module: "Arcade"
223921:45:55:318 | MD | INFO | +32 | LocaleUtils.i18n - Started
224021:45:55:324 | MD | DEBUG | +0 | LocaleUtils.i18n - Section "English_United_States" & key "dialog.open" not found, trying section "English"
224121:45:55:348 | MD | INFO | +31 | LocaleUtils.i18n - Ended, using "Open" for "dialog.open"
224221:45:55:354 | MD | INFO | +0 | LocaleUtils.i18n - Started
224321:45:55:360 | MD | DEBUG | +0 | LocaleUtils.i18n - Section "English_United_States" & key "dialog.start" not found, trying section "English"
224421:45:55:385 | MD | INFO | +31 | LocaleUtils.i18n - Ended, using "Start" for "dialog.start"
224521:45:55:390 | MD | INFO | +0 | PluginInit - Started
224621:45:55:416 | MD | WARNING | +31 | BuildDatabaseTable - Started - Building Table for: Rom|Name|Emulator|CloneOf|Year|Publisher|Genre|Players|Rotation|Control|Status|DisplayCount|DisplayType|AltRomname|AltTitle|Extra|Buttons|Rating
224721:45:55:421 | MD | DEBUG | +0 | BuildDatabaseTable - Found "Game Name" in the database!
224821:45:55:439 | MD | DEBUG | +32 | BuildDatabaseTable - Searching for: Rom
224921:45:55:444 | MD | DEBUG | +0 | currentobj.Value := gameEntryFields%A_index%=
225021:45:55:449 | MD | DEBUG | +0 | BuildDatabaseTable - Found "Rom" with a value: ""
225121:45:55:475 | MD | DEBUG | +31 | BuildDatabaseTable - Searching for: Name
225221:45:55:480 | MD | DEBUG | +0 | currentobj.Value := gameEntryFields%A_index%=
225321:45:55:505 | MD | DEBUG | +31 | BuildDatabaseTable - Found "Name" with a value: ""
225421:45:55:511 | MD | DEBUG | +0 | BuildDatabaseTable - Searching for: Emulator
225521:45:55:516 | MD | DEBUG | +0 | currentobj.Value := gameEntryFields%A_index%=
225621:45:55:541 | MD | DEBUG | +31 | BuildDatabaseTable - Found "Emulator" with a value: ""
225721:45:55:545 | MD | DEBUG | +0 | BuildDatabaseTable - Searching for: CloneOf
225821:45:55:566 | MD | DEBUG | +32 | currentobj.Value := gameEntryFields%A_index%=
225921:45:55:572 | MD | DEBUG | +0 | BuildDatabaseTable - Found "CloneOf" with a value: ""
226021:45:55:577 | MD | DEBUG | +0 | BuildDatabaseTable - Searching for: Year
226121:45:55:604 | MD | DEBUG | +31 | currentobj.Value := gameEntryFields%A_index%=
226221:45:55:609 | MD | DEBUG | +0 | BuildDatabaseTable - Found "Year" with a value: ""
226321:45:55:627 | MD | DEBUG | +31 | BuildDatabaseTable - Searching for: Publisher
226421:45:55:632 | MD | DEBUG | +0 | currentobj.Value := gameEntryFields%A_index%=
226521:45:55:638 | MD | DEBUG | +0 | BuildDatabaseTable - Found "Publisher" with a value: ""
226621:45:55:662 | MD | DEBUG | +31 | BuildDatabaseTable - Searching for: Genre
226721:45:55:668 | MD | DEBUG | +0 | currentobj.Value := gameEntryFields%A_index%=
226821:45:55:693 | MD | DEBUG | +32 | BuildDatabaseTable - Found "Genre" with a value: ""
226921:45:55:701 | MD | DEBUG | +0 | BuildDatabaseTable - Searching for: Players
227021:45:55:723 | MD | DEBUG | +31 | currentobj.Value := gameEntryFields%A_index%=
227121:45:55:730 | MD | DEBUG | +0 | BuildDatabaseTable - Found "Players" with a value: ""
227221:45:55:735 | MD | DEBUG | +0 | BuildDatabaseTable - Searching for: Rotation
227321:45:55:754 | MD | DEBUG | +31 | currentobj.Value := gameEntryFields%A_index%=
227421:45:55:759 | MD | DEBUG | +0 | BuildDatabaseTable - Found "Rotation" with a value: ""
227521:45:55:765 | MD | DEBUG | +0 | BuildDatabaseTable - Searching for: Control
227621:45:55:788 | MD | DEBUG | +31 | currentobj.Value := gameEntryFields%A_index%=
227721:45:55:793 | MD | DEBUG | +0 | BuildDatabaseTable - Found "Control" with a value: ""
227821:45:55:816 | MD | DEBUG | +32 | BuildDatabaseTable - Searching for: Status
227921:45:55:822 | MD | DEBUG | +0 | currentobj.Value := gameEntryFields%A_index%=
228021:45:55:827 | MD | DEBUG | +0 | BuildDatabaseTable - Found "Status" with a value: ""
228121:45:55:847 | MD | DEBUG | +31 | BuildDatabaseTable - Searching for: DisplayCount
228221:45:55:881 | MD | DEBUG | +31 | currentobj.Value := gameEntryFields%A_index%=
228321:45:55:930 | MD | DEBUG | +47 | BuildDatabaseTable - Found "DisplayCount" with a value: ""
228421:45:55:954 | MD | DEBUG | +31 | BuildDatabaseTable - Searching for: DisplayType
228521:45:55:992 | MD | DEBUG | +31 | currentobj.Value := gameEntryFields%A_index%=
228621:45:55:998 | MD | DEBUG | +0 | BuildDatabaseTable - Found "DisplayType" with a value: ""
228721:45:55:021 | MD | DEBUG | +32 | BuildDatabaseTable - Searching for: AltRomname
228821:45:56:026 | MD | DEBUG | +0 | currentobj.Value := gameEntryFields%A_index%=
228921:45:56:053 | MD | DEBUG | +31 | BuildDatabaseTable - Found "AltRomname" with a value: ""
229021:45:56:058 | MD | DEBUG | +0 | BuildDatabaseTable - Searching for: AltTitle
229121:45:56:082 | MD | DEBUG | +31 | currentobj.Value := gameEntryFields%A_index%=
229221:45:56:087 | MD | DEBUG | +0 | BuildDatabaseTable - Found "AltTitle" with a value: ""
229321:45:56:092 | MD | DEBUG | +0 | BuildDatabaseTable - Searching for: Extra
229421:45:56:116 | MD | DEBUG | +31 | currentobj.Value := gameEntryFields%A_index%=
229521:45:56:125 | MD | DEBUG | +0 | BuildDatabaseTable - Found "Extra" with a value: ""
229621:45:56:142 | MD | DEBUG | +32 | BuildDatabaseTable - Searching for: Buttons
229721:45:56:147 | MD | DEBUG | +0 | currentobj.Value := gameEntryFields%A_index%=
229821:45:56:152 | MD | DEBUG | +0 | BuildDatabaseTable - Found "Buttons" with a value: ""
229921:45:56:157 | MD | DEBUG | +0 | BuildDatabaseTable - Searching for: Rating
230021:45:56:207 | MD | DEBUG | +62 | currentobj.Value := gameEntryFields%A_index%=
230121:45:56:211 | MD | DEBUG | +0 | BuildDatabaseTable - Found "Rating" with a value: ""
230221:45:56:216 | MD | DEBUG | +0 | PluginInit - GameInfo:
2303 GameInfo Label: AltRomname | GameInfo Value:
2304 GameInfo Label: AltTitle | GameInfo Value:
2305 GameInfo Label: Buttons | GameInfo Value:
2306 GameInfo Label: CloneOf | GameInfo Value:
2307 GameInfo Label: Control | GameInfo Value:
2308 GameInfo Label: DisplayCount | GameInfo Value:
2309 GameInfo Label: DisplayType | GameInfo Value:
2310 GameInfo Label: Emulator | GameInfo Value:
2311 GameInfo Label: Extra | GameInfo Value:
2312 GameInfo Label: Genre | GameInfo Value:
2313 GameInfo Label: Name | GameInfo Value:
2314 GameInfo Label: Players | GameInfo Value:
2315 GameInfo Label: Publisher | GameInfo Value:
2316 GameInfo Label: Rating | GameInfo Value:
2317 GameInfo Label: Rom | GameInfo Value:
2318 GameInfo Label: Rotation | GameInfo Value:
2319 GameInfo Label: Status | GameInfo Value:
2320 GameInfo Label: Year | GameInfo Value:
232121:45:56:239 | MD | INFO | +31 | BuildAssetsTable - Started - Building Table for: Game Logo|System Logo
232221:45:56:244 | MD | DEBUG | +0 | BuildAssetsTable - Searching for a Game Logo:
232321:45:56:248 | MD | DEBUG | +0 | BuildAssetsTable - Searching for a System Logo:
232421:45:56:271 | MD | INFO | +32 | BuildAssetsTable - Ended
232521:45:56:276 | MD | INFO | +0 | BuildAssetsTable - Started - Building Table for: Marquee|Fanart|Flyer
232621:45:56:281 | MD | DEBUG | +0 | BuildAssetsTable - Searching for a Marquee:
232721:45:56:303 | MD | DEBUG | +31 | BuildAssetsTable - Searching for a Fanart:
232821:45:56:308 | MD | DEBUG | +0 | BuildAssetsTable - Searching for a Flyer:
232921:45:56:313 | MD | INFO | +0 | BuildAssetsTable - Ended
233021:45:56:331 | MD | INFO | +31 | BuildAssetsTable - Started - Building Table for: Background
233121:45:56:337 | MD | INFO | +0 | BuildAssetsTable - Ended
233221:45:56:341 | MD | INFO | +0 | BuildAssetsTable - Started - Building Table for: Game Video
233321:45:56:366 | MD | INFO | +31 | BuildAssetsTable - Ended
233421:45:56:370 | MD | INFO | +0 | PluginInit - Ended
233521:45:56:375 | MD | DEBUG | +0 | StartModule - Setting romName to the dbName sent to RocketLauncher: 10yard
233621:45:56:397 | MD | DEBUG | +32 | XHotkeyTableCreation - Started
233721:45:56:402 | MD | DEBUG | +0 | XHotkeyTableCreation - KeyGroup ~e&~t not in TableKeyGroups ~Esc,
233821:45:56:407 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 1 check
233921:45:56:427 | MD | DEBUG | +31 | XHotkeyTableCreation - Post loop 2 check
234021:45:56:433 | MD | DEBUG | +0 | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~e & ~t" to call label: "ToggleCursor"
234121:45:56:437 | MD | DEBUG | +0 | XHotkeyTableCreation - Ended
234221:45:56:458 | MD | TRACE | +31 | Process.__New - Creating new process object for: "Q:\attractmode_pc_v2\attract-v2.2.1-win32\attract.exe"
234321:45:56:463 | MD | TRACE | +0 | File.__New - Creating new file object of: "Q:\attractmode_pc_v2\attract-v2.2.1-win32\attract.exe"
234421:45:56:488 | MD | TRACE | +31 | File.__New - Creating new file object of: "Q:\attractmode_pc_v2\RocketLauncher\Modules\MAME\Arcade\10yard.ini"
234521:45:56:523 | MD | TRACE | +32 | File.__New - Creating new file object of: "Q:\attractmode_pc_v2\RocketLauncher\Modules\MAME\Arcade.ini"
234621:45:56:549 | MD | TRACE | +31 | File.__New - Creating new file object of: "Q:\attractmode_pc_v2\RocketLauncher\Modules\MAME\MAME.ini"
234721:45:56:586 | MD | TRACE | +31 | File.Exist - This file exists: Q:\attractmode_pc_v2\RocketLauncher\Modules\MAME\MAME.ini
234821:45:56:591 | MD | DEBUG | +0 | RIniFile.__New - "Module" at index 1, adding "GlobalModuleIni" from: "Q:\attractmode_pc_v2\RocketLauncher\Modules\MAME\MAME.ini"
234921:45:56:616 | MD | INFO | +31 | StartModule - Ended
235021:45:56:621 | MD | TRACE | +0 | Emulator.__New - Creating new emulator object for: "Q:\attractmode_pc_v2\MAME\mame64.exe"
235121:45:56:625 | MD | TRACE | +0 | Process.__New - Creating new process object for: "Q:\attractmode_pc_v2\MAME\mame64.exe"
235221:45:56:648 | MD | TRACE | +32 | File.__New - Creating new file object of: "Q:\attractmode_pc_v2\MAME\mame64.exe"
235321:45:56:681 | MD | TRACE | +31 | Window.__New - Created: "ahk_class MAME"
235421:45:56:686 | MD | TRACE | +0 | Window.__New - Created: "Open ahk_class ConsoleWindowClass"
235521:45:56:710 | MD | TRACE | +31 | Window.__New - Created: "ahk_class ConsoleWindowClass"
235621:45:56:715 | MD | TRACE | +0 | Window.__New - Created: "ahk_class MAMEDebugWindow"
235721:45:56:739 | MD | TRACE | +31 | Window.__New - Created: "ahk_class MAMEOutput"
235821:45:56:745 | MD | DEBUG | +0 | Module - Finished building the MAME object
235921:45:56:751 | MD | DEBUG | +0 | Module - Defaulting to MAME's Arcade mode for the remainder of this MAME module.
236021:45:56:768 | MD | TRACE | +32 | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - Fullscreen: No value for this key
236121:45:56:773 | MD | INFO | +0 | RIniFile.Read - Module - Fullscreen: true (DEFAULT)
236221:45:56:779 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [10yard] - LegacyMode: No value for this key
236321:45:56:804 | MD | TRACE | +31 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - LegacyMode: No value for this key
236421:45:56:810 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - LegacyMode: No value for this key
236521:45:56:829 | MD | INFO | +31 | RIniFile.Read - Module - LegacyMode: false (DEFAULT)
236621:45:56:835 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - MAME_BIOS_Path: No value for this key
236721:45:56:840 | MD | INFO | +0 | RIniFile.Read - Module - MAME_BIOS_Path: Q:\attractmode_pc_v2\MAME\roms (DEFAULT)
236821:45:56:864 | MD | TRACE | +31 | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - Videomode: No value for this key
236921:45:56:869 | MD | INFO | +0 | RIniFile.Read - Module - Videomode: d3d (DEFAULT)
237021:45:56:874 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - PauseMethod: No value for this key
237121:45:56:896 | MD | INFO | +32 | RIniFile.Read - Module - PauseMethod: 1 (DEFAULT)
237221:45:56:902 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - BilinearFilter: No value for this key
237321:45:56:906 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - BilinearFilter: No value for this key
237421:45:56:929 | MD | INFO | +31 | RIniFile.Read - Module - BilinearFilter: false (DEFAULT)
237521:45:56:935 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [10yard] - HLSL: No value for this key
237621:45:56:959 | MD | TRACE | +31 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - HLSL: No value for this key
237721:45:56:965 | MD | INFO | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - HLSL: ini
237821:45:56:988 | MD | TRACE | +31 | RIniFile.Read - Module {GlobalModuleIni} - [10yard] - GLSL: No value for this key
237921:45:56:994 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - GLSL: No value for this key
238021:45:56:000 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - GLSL: No value for this key
238121:45:57:018 | MD | INFO | +32 | RIniFile.Read - Module - GLSL: false (DEFAULT)
238221:45:57:024 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [10yard] - BezelMode: No value for this key
238321:45:57:029 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - BezelMode: No value for this key
238421:45:57:052 | MD | INFO | +31 | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - BezelMode: layout
238521:45:57:058 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [10yard] - VerticalRotationMode: No value for this key
238621:45:57:084 | MD | TRACE | +31 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - VerticalRotationMode: No value for this key
238721:45:57:090 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - VerticalRotationMode: No value for this key
238821:45:57:116 | MD | INFO | +31 | RIniFile.Read - Module - VerticalRotationMode: none (DEFAULT)
238921:45:57:121 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - CheatMode: No value for this key
239021:45:57:147 | MD | INFO | +32 | RIniFile.Read - Module - CheatMode: false (DEFAULT)
239121:45:57:152 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - CheatModeKey: No value for this key
239221:45:57:178 | MD | INFO | +31 | RIniFile.Read - Module - CheatModeKey: (NO VALUE)
239321:45:57:183 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [10yard] - UseSoftwareList: No value for this key
239421:45:57:188 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - UseSoftwareList: No value for this key
239521:45:57:206 | MD | INFO | +31 | RIniFile.Read - Module - UseSoftwareList: false (DEFAULT)
239621:45:57:211 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - StaticParameters: No value for this key
239721:45:57:216 | MD | INFO | +0 | RIniFile.Read - Module - StaticParameters: (NO VALUE)
239821:45:57:241 | MD | TRACE | +31 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - Parameters: No value for this key
239921:45:57:247 | MD | INFO | +0 | RIniFile.Read - Module - Parameters: (NO VALUE)
240021:45:57:268 | MD | TRACE | +32 | RIniFile.Read - Module {GlobalModuleIni} - [10yard] - Parameters: No value for this key
240121:45:57:274 | MD | INFO | +0 | RIniFile.Read - Module - Parameters: (NO VALUE)
240221:45:57:279 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [10yard] - MameRomName: No value for this key
240321:45:57:305 | MD | INFO | +31 | RIniFile.Read - Module - MameRomName: (NO VALUE)
240421:45:57:311 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [10yard] - Autosave: No value for this key
240521:45:57:333 | MD | TRACE | +31 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - Autosave: No value for this key
240621:45:57:339 | MD | INFO | +0 | RIniFile.Read - Module - Autosave: false (DEFAULT)
240721:45:57:365 | MD | TRACE | +31 | RIniFile.Read - Module {GlobalModuleIni} - [10yard] - Volume: No value for this key
240821:45:57:370 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - Volume: No value for this key
240921:45:57:376 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - Volume: No value for this key
241021:45:57:394 | MD | INFO | +32 | RIniFile.Read - Module - Volume: (NO VALUE)
241121:45:57:401 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [10yard] - Artwork_Crop: No value for this key
241221:45:57:406 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - Artwork_Crop: No value for this key
241321:45:57:424 | MD | INFO | +31 | RIniFile.Read - Module - Artwork_Crop: true (DEFAULT)
241421:45:57:430 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [10yard] - Use_Bezels: No value for this key
241521:45:57:436 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - Use_Bezels: No value for this key
241621:45:57:461 | MD | INFO | +31 | RIniFile.Read - Module - Use_Bezels: false (DEFAULT)
241721:45:57:467 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [10yard] - Use_Overlays: No value for this key
241821:45:57:492 | MD | TRACE | +31 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - Use_Overlays: No value for this key
241921:45:57:498 | MD | INFO | +0 | RIniFile.Read - Module - Use_Overlays: true (DEFAULT)
242021:45:57:522 | MD | TRACE | +32 | RIniFile.Read - Module {GlobalModuleIni} - [10yard] - Use_Backdrops: No value for this key
242121:45:57:528 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - Use_Backdrops: No value for this key
242221:45:57:553 | MD | INFO | +31 | RIniFile.Read - Module - Use_Backdrops: true (DEFAULT)
242321:45:57:559 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [10yard] - Use_Cpanels: No value for this key
242421:45:57:583 | MD | TRACE | +31 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - Use_Cpanels: No value for this key
242521:45:57:589 | MD | INFO | +0 | RIniFile.Read - Module - Use_Cpanels: false (DEFAULT)
242621:45:57:613 | MD | TRACE | +31 | RIniFile.Read - Module {GlobalModuleIni} - [10yard] - Use_Marquees: No value for this key
242721:45:57:619 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - Use_Marquees: No value for this key
242821:45:57:624 | MD | INFO | +0 | RIniFile.Read - Module - Use_Marquees: false (DEFAULT)
242921:45:57:642 | MD | TRACE | +32 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - IniPath: No value for this key
243021:45:57:648 | MD | INFO | +0 | RIniFile.Read - Module - IniPath: (NO VALUE)
243121:45:57:654 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - HashPath: No value for this key
243221:45:57:680 | MD | INFO | +31 | RIniFile.Read - Module - HashPath: (NO VALUE)
243321:45:57:686 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - UseControllerRemap: No value for this key
243421:45:57:711 | MD | TRACE | +31 | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - UseControllerRemap: No value for this key
243521:45:57:717 | MD | INFO | +0 | RIniFile.Read - Module - UseControllerRemap: true (DEFAULT)
243621:45:57:743 | MD | TRACE | +31 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - ControllerRemapPath: No value for this key
243721:45:57:749 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - ControllerRemapPath: No value for this key
243821:45:57:775 | MD | INFO | +32 | RIniFile.Read - Module - ControllerRemapPath: Q:\attractmode_pc_v2\MAME\ControllerRemap\ControllerRemap.exe (DEFAULT)
243921:45:57:781 | MD | TRACE | +0 | File.__New - Creating new file object of: "Q:\attractmode_pc_v2\MAME\ControllerRemap\ControllerRemap.exe"
244021:45:57:835 | MD | TRACE | +62 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - ControllerRemapConfigPath: No value for this key
244121:45:57:840 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - ControllerRemapConfigPath: No value for this key
244221:45:57:864 | MD | INFO | +31 | RIniFile.Read - Module - ControllerRemapConfigPath: Q:\attractmode_pc_v2\MAME\ControllerRemap\ctrlr\ (DEFAULT)
244321:45:57:870 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Arcade] - MAMECtrlrPath: No value for this key
244421:45:57:875 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - MAMECtrlrPath: No value for this key
244521:45:57:901 | MD | INFO | +32 | RIniFile.Read - Module - MAMECtrlrPath: Q:\attractmode_pc_v2\MAME\ctrlr (DEFAULT)
244621:45:57:932 | MD | TRACE | +31 | RIniFile.Read - Module {GlobalModuleIni} - [10yard] - Enable_Link_Play: No value for this key
244721:45:57:938 | MD | TRACE | +0 | RIniFile.Read - Module {GlobalModuleIni} - [Link/Network] - Enable_Link_Play: No value for this key
244821:45:57:958 | MD | INFO | +31 | RIniFile.Read - Module - Enable_Link_Play: false (DEFAULT)
244921:45:57:964 | MD | TRACE | +0 | CustomFunction.PreStart - Starting
245021:45:57:969 | MD | TRACE | +0 | CustomFunction.PreStart - Ending
245121:45:57:990 | MD | TRACE | +31 | Process.__New - Creating new process object for: "C:\WINDOWS\system32\cmd.exe"
245221:45:57:996 | MD | TRACE | +0 | File.__New - Creating new file object of: "C:\WINDOWS\system32\cmd.exe"