[SOLVED] Bezels cause game to populate on different screen

Status
Not open for further replies.

jeremy0203

New member
Supporter
RL Member
So in MAME if I have bezels disabled or if it is enabled but game doesn't have one it will start and load up on my Display 1 which is the screen I have set for MAME. However, if I launch a game and it does have a bezel it will momentarily launch on Display 1 and then will shift over and run on Display 2 which is my main display. Is there some sort of screen option I am looking over when it comes to games launching with bezels?

Code:
[code]
22:26:02:806 | RL |     INFO  | +N/A   | Main - RocketLauncher v1.0.1.4 (www.rlauncher.com)
22:26:03:023 | RL |     INFO  | +219   | Main - System Specs:
					RocketLauncher Dir: D:\RocketLauncher
					RocketLauncher is: 32-bit
					OS: Microsoft Windows 8.1 Pro
					SKU: Professional
					Total Memory: 16333.50 MB
					Free Memory: 7901.67 MB
					Used Memory: 8431.824 MB
					SystemType: 64-bit
					Physical Processors: 1
					Logical Processors: 4
					GPU 1 Name: NVIDIA GeForce GTX 770
					GPU 1 RAM: -2048.00 MB
					GPU 1 Driver Version: 10.18.13.5906
					Sound 1 Device: USB Audio Class 1.0 and 2.0 DAC Device Driver
					Sound 1 Status: Enabled
					Sound 2 Device: NVIDIA High Definition Audio
					Sound 2 Status: Enabled
					Sound 3 Device: NVIDIA Virtual Audio Device (Wave Extensible) (WDM)
					Sound 3 Status: Enabled
					Sound 4 Device: High Definition Audio Device
					Sound 4 Status: Enabled
					OS Language: English_United_States
					OS Admin Status: No
					Latest .Net Version: v4.0.30319
					Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1080 work) [Landscape]
					Monitor #2 (\\.\DISPLAY2): 1920x1080 (1920x1080 work) [Landscape] (Primary)
					Monitor #3 (\\.\DISPLAY3): 1920x1080 (1920x1080 work) [Landscape]
					Current AHK Desktop Width: 1920
					Current AHK Desktop Height: 1080
					AutoHotkey Path: 
					AHK Version: 1.1.09.04
					Unicode: No
22:26:03:040 | RL |     INFO  | +15    | CheckFile - Checking if D:\RocketLauncher\RocketLauncher.exe exists
22:26:03:056 | RL |   DEBUG1  | +16    | CheckFile - Attributes:
					FileDescription         	RocketLauncher
					FileVersion             	1.0.1.4
					LegalCopyright          	©2015 RocketLauncher
					ProductName             	djvj's one swell guy!
					ProductVersion          	1.1.9.4
					CompanyName             	Your favorite Front End companion! Visit us @ www.rlauncher.com
					File Size:			2063360 bytes
					Created:			11/21/2015 - 8:00:16 PM
					Modified:			11/21/2015 - 8:00:17 PM
22:26:03:070 | RL |     INFO  | +16    | CheckFile - Checking if D:\RocketLauncher\Module Extensions\Array.ahk exists
22:26:03:087 | RL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Extension.
22:26:03:109 | RL |   DEBUG1  | +16    | CheckFile - Attributes:
					File Size:			4924 bytes
					Created:			11/21/2015 - 7:59:59 PM
					Modified:			11/21/2015 - 7:59:59 PM
22:26:03:124 | RL |     INFO  | +15    | CheckFile - Checking if D:\RocketLauncher\Module Extensions\BinHexRW.ahk exists
22:26:03:139 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:153 | RL |   DEBUG1  | +16    | CheckFile - Attributes:
					File Size:			5077 bytes
					Created:			11/21/2015 - 7:59:57 PM
					Modified:			11/21/2015 - 7:59:58 PM
22:26:03:167 | RL |     INFO  | +15    | CheckFile - Checking if D:\RocketLauncher\Module Extensions\BlockInput.exe exists
22:26:03:182 | RL |   DEBUG1  | +16    | CheckFile - Attributes:
					FileDescription         	 
					FileVersion             	1.1.09.04
					InternalName            	 
					OriginalFilename        	 
					ProductName             	 
					ProductVersion          	1.1.09.04
					File Size:			657920 bytes
					Created:			6/5/2015 - 7:18:14 AM
					Modified:			4/24/2015 - 8:29:58 PM
22:26:03:196 | RL |     INFO  | +16    | CheckFile - Checking if D:\RocketLauncher\Module Extensions\CLR_L.ahk exists
22:26:03:211 | RL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Extension.
22:26:03:225 | RL |   DEBUG1  | +16    | CheckFile - Attributes:
					File Size:			5474 bytes
					Created:			9/12/2015 - 9:16:21 PM
					Modified:			9/12/2015 - 9:16:21 PM
22:26:03:226 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Module Extensions\Control_AniGif.ahk exists
22:26:03:227 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
22:26:03:228 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			5716 bytes
					Created:			6/5/2015 - 7:18:14 AM
					Modified:			4/24/2015 - 8:29:58 PM
22:26:03:228 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Module Extensions\gdip.ahk exists
22:26:03:230 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
22:26:03:231 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			88789 bytes
					Created:			6/5/2015 - 7:18:14 AM
					Modified:			4/24/2015 - 8:29:58 PM
22:26:03:232 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Module Extensions\gdip_alt.ahk exists
22:26:03:233 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:233 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			5895 bytes
					Created:			6/26/2015 - 7:54:12 PM
					Modified:			6/26/2015 - 7:54:12 PM
22:26:03:234 | RL |   DEBUG1  | +15    | gdip_alt.ahk Version: 1.0.2
22:26:03:234 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Module Extensions\gsdll32.dll exists
22:26:03:235 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			13090816 bytes
					Created:			6/5/2015 - 7:18:14 AM
					Modified:			4/24/2015 - 8:30:03 PM
22:26:03:236 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Module Extensions\itextsharp.dll exists
22:26:03:237 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					FileDescription         	iTextSharp
					FileVersion             	5.4.2.0
					InternalName            	itextsharp.dll
					LegalCopyright          	Copyright (C) 1999-2013 by Bruno Lowagie and Paulo Soares. All Rights Reserved.
					OriginalFilename        	itextsharp.dll
					ProductName             	iTextSharp
					ProductVersion          	5.4.2.0
					CompanyName             	1T3XT BVBA
					File Size:			3743744 bytes
					Created:			6/5/2015 - 7:18:14 AM
					Modified:			4/24/2015 - 8:30:03 PM
22:26:03:237 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Module Extensions\Java.ahk exists
22:26:03:238 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:239 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			7841 bytes
					Created:			6/5/2015 - 7:18:14 AM
					Modified:			4/24/2015 - 8:29:58 PM
22:26:03:239 | RL |   DEBUG1  | +0     | Java.ahk Version: 1.0.0
22:26:03:240 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Module Extensions\JSON.ahk exists
22:26:03:241 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
22:26:03:242 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			9203 bytes
					Created:			6/5/2015 - 7:18:14 AM
					Modified:			4/24/2015 - 8:29:58 PM
22:26:03:243 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Module Extensions\Origin.ahk exists
22:26:03:251 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:251 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			4904 bytes
					Created:			6/5/2015 - 7:18:14 AM
					Modified:			5/3/2015 - 2:08:23 PM
22:26:03:252 | RL |   DEBUG1  | +0     | Origin.ahk Version: 1.0.2
22:26:03:252 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Module Extensions\RegRW64.ahk exists
22:26:03:253 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
22:26:03:254 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			6915 bytes
					Created:			6/5/2015 - 7:18:14 AM
					Modified:			4/24/2015 - 8:29:58 PM
22:26:03:254 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Module Extensions\RIni.ahk exists
22:26:03:256 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
22:26:03:257 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			67561 bytes
					Created:			6/5/2015 - 7:18:14 AM
					Modified:			4/24/2015 - 8:29:58 PM
22:26:03:258 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Module Extensions\SevenZipSharp.dll exists
22:26:03:258 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					FileDescription         	SevenZipSharp
					FileVersion             	0.64.5717.6837
					InternalName            	SevenZipSharp.dll
					LegalCopyright          	Copyright (C) Markovtsev Vadim 2009, 2010, licenced under LGPLv3
					OriginalFilename        	SevenZipSharp.dll
					ProductName             	SevenZipSharp
					ProductVersion          	0.64.5717.6837
					CompanyName             	Markovtsev Vadim
					File Size:			167424 bytes
					Created:			10/1/2015 - 3:42:25 PM
					Modified:			10/1/2015 - 3:42:26 PM
22:26:03:259 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Module Extensions\Steam.ahk exists
22:26:03:260 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:261 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			5347 bytes
					Created:			6/5/2015 - 7:18:14 AM
					Modified:			5/3/2015 - 2:08:27 PM
22:26:03:261 | RL |   DEBUG1  | +0     | Steam.ahk Version: 1.0.2
22:26:03:262 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Module Extensions\VA.ahk exists
22:26:03:263 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
22:26:03:264 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			34688 bytes
					Created:			6/5/2015 - 7:18:14 AM
					Modified:			4/24/2015 - 8:29:58 PM
22:26:03:264 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Module Extensions\VA_Extension.ahk exists
22:26:03:265 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:266 | RL |   DEBUG1  | +16    | CheckFile - Attributes:
					File Size:			3833 bytes
					Created:			6/5/2015 - 7:18:14 AM
					Modified:			4/24/2015 - 8:29:58 PM
22:26:03:266 | RL |   DEBUG1  | +0     | VA_Extension.ahk Version: 1.0.1
22:26:03:267 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\7z.ahk exists
22:26:03:268 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:269 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			29149 bytes
					Created:			11/21/2015 - 8:00:11 PM
					Modified:			11/21/2015 - 8:00:11 PM
22:26:03:269 | RL |   DEBUG1  | +0     | 7z.ahk Version: 1.0.2
22:26:03:270 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\Bezel.ahk exists
22:26:03:272 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:273 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			104277 bytes
					Created:			11/21/2015 - 7:59:55 PM
					Modified:			11/21/2015 - 7:59:55 PM
22:26:03:273 | RL |   DEBUG1  | +0     | Bezel.ahk Version: 1.1.7
22:26:03:274 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\Fade.ahk exists
22:26:03:275 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:276 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			38251 bytes
					Created:			11/21/2015 - 8:00:18 PM
					Modified:			11/21/2015 - 8:00:19 PM
22:26:03:276 | RL |   DEBUG1  | +0     | Fade.ahk Version: 1.1.4
22:26:03:277 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\Fade Init.ahk exists
22:26:03:278 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:278 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			1065 bytes
					Created:			11/21/2015 - 8:00:24 PM
					Modified:			11/21/2015 - 8:00:24 PM
22:26:03:279 | RL |   DEBUG1  | +0     | Fade Init.ahk Version: 1.0.2
22:26:03:279 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\Fade Animations.ahk exists
22:26:03:281 | RL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:282 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			81174 bytes
					Created:			11/21/2015 - 8:00:01 PM
					Modified:			11/21/2015 - 8:00:01 PM
22:26:03:282 | RL |   DEBUG1  | +0     | Fade Animations.ahk Version: 1.1.10
22:26:03:283 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\Keymapper.ahk exists
22:26:03:284 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:285 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			33453 bytes
					Created:			6/5/2015 - 7:11:31 AM
					Modified:			5/23/2015 - 10:14:46 AM
22:26:03:285 | RL |   DEBUG1  | +0     | Keymapper.ahk Version: 1.1.2
22:26:03:286 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\Keymapper Init.ahk exists
22:26:03:287 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:287 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			3461 bytes
					Created:			6/5/2015 - 7:11:31 AM
					Modified:			5/23/2015 - 10:14:45 AM
22:26:03:288 | RL |   DEBUG1  | +0     | Keymapper Init.ahk Version: 1.0.4
22:26:03:288 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\MultiGame.ahk exists
22:26:03:290 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:290 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			40753 bytes
					Created:			9/12/2015 - 9:13:58 PM
					Modified:			9/12/2015 - 9:13:58 PM
22:26:03:291 | RL |   DEBUG1  | +0     | MultiGame.ahk Version: 1.0.8
22:26:03:291 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\MultiGame Init.ahk exists
22:26:03:292 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:293 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			161 bytes
					Created:			6/5/2015 - 7:11:31 AM
					Modified:			4/24/2015 - 8:29:56 PM
22:26:03:293 | RL |   DEBUG1  | +0     | MultiGame Init.ahk Version: 1.0.0
22:26:03:293 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\MultiPlayer.ahk exists
22:26:03:295 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:296 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			66452 bytes
					Created:			11/21/2015 - 8:00:00 PM
					Modified:			11/21/2015 - 8:00:00 PM
22:26:03:296 | RL |   DEBUG1  | +0     | MultiPlayer.ahk Version: 1.0.7
22:26:03:297 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\Pause.ahk exists
22:26:03:301 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:302 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			392193 bytes
					Created:			11/21/2015 - 8:00:01 PM
					Modified:			11/21/2015 - 8:00:01 PM
22:26:03:302 | RL |   DEBUG1  | +0     | Pause.ahk Version: 1.1.5
22:26:03:303 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\Pause Init.ahk exists
22:26:03:304 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:305 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			553 bytes
					Created:			9/12/2015 - 9:16:23 PM
					Modified:			9/12/2015 - 9:16:23 PM
22:26:03:305 | RL |   DEBUG1  | +0     | Pause Init.ahk Version: 1.0.3
22:26:03:306 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\Password.ahk exists
22:26:03:307 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:308 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			10025 bytes
					Created:			9/12/2015 - 9:16:24 PM
					Modified:			9/12/2015 - 9:16:24 PM
22:26:03:309 | RL |   DEBUG1  | +0     | Password.ahk Version: 1.0.2
22:26:03:309 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\Rom Mapping Launch Menu.ahk exists
22:26:03:311 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:312 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			74101 bytes
					Created:			11/21/2015 - 7:59:58 PM
					Modified:			11/21/2015 - 7:59:58 PM
22:26:03:312 | RL |   DEBUG1  | +0     | Rom Mapping Launch Menu.ahk Version: 1.0.6
22:26:03:312 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\Shared.ahk exists
22:26:03:315 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:316 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			139893 bytes
					Created:			11/21/2015 - 7:59:56 PM
					Modified:			11/21/2015 - 7:59:56 PM
22:26:03:317 | RL |   DEBUG1  | +0     | Shared.ahk Version: 1.3.5
22:26:03:317 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\Statistics.ahk exists
22:26:03:318 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:319 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			26143 bytes
					Created:			6/5/2015 - 7:11:32 AM
					Modified:			5/3/2015 - 2:08:24 PM
22:26:03:319 | RL |   DEBUG1  | +0     | Statistics.ahk Version: 1.0.3
22:26:03:320 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\Statistics Init.ahk exists
22:26:03:321 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:321 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			33 bytes
					Created:			6/5/2015 - 7:11:32 AM
					Modified:			4/24/2015 - 8:29:56 PM
22:26:03:322 | RL |   DEBUG1  | +0     | Statistics Init.ahk Version: 1.0.1
22:26:03:322 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\Virtual Drive.ahk exists
22:26:03:324 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:324 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			18329 bytes
					Created:			11/21/2015 - 8:00:07 PM
					Modified:			11/21/2015 - 8:00:07 PM
22:26:03:325 | RL |   DEBUG1  | +0     | Virtual Drive.ahk Version: 1.0.3
22:26:03:325 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Lib\XHotkey.ahk exists
22:26:03:326 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:327 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			26540 bytes
					Created:			9/12/2015 - 9:16:02 PM
					Modified:			9/12/2015 - 9:16:02 PM
22:26:03:327 | RL |   DEBUG1  | +0     | XHotkey.ahk Version: 1.0.4
22:26:03:328 | RL |     INFO  | +15    | CheckFile - Checking if D:\RocketLauncher\Lib\XHotkey Init.ahk exists
22:26:03:329 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
22:26:03:329 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			1063 bytes
					Created:			9/12/2015 - 9:16:19 PM
					Modified:			9/12/2015 - 9:16:19 PM
22:26:03:330 | RL |   DEBUG1  | +0     | XHotkey Init.ahk Version: 1.0.2
22:26:03:330 | RL |   DEBUG1  | +0     | Main - Raw CLI received: "-s MAME -r digdug -f D:\Hyperspin\HyperSpin.exe -p HyperSpin -c 1"
22:26:03:331 | RL |   DEBUG1  | +0     | Main - Received this dbName with no path via CLI: "digdug"
22:26:03:331 | RL |   DEBUG1  | +0     | Main - dbName: digdug
22:26:03:331 | RL |     INFO  | +0     | Main - Loading Front End Plugin: "HyperSpin"
22:26:03:332 | RL |     INFO  | +0     | Main - RocketLauncher received "MAME" and "digdug"
22:26:03:336 | RL |     INFO  | +0     | Main - Did not find a "D:\RocketLauncher\Settings\MAME\Game Options.ini" file, skipping any game-specific options.
22:26:03:337 | RL |     INFO  | +0     | Main - digdug is using the default emulator: MAMEUIFX
22:26:03:337 | RL |     INFO  | +0     | Main - Checking for a [MAMEUIFX] section in D:\RocketLauncher\Settings\MAME\Emulators.ini
22:26:03:337 | RL |     INFO  | +0     | Main - Checking for a [MAMEUIFX] section in D:\RocketLauncher\Settings\Global Emulators.ini
22:26:03:338 | RL |     INFO  | +0     | Main - Found [MAMEUIFX] in D:\RocketLauncher\Settings\Global Emulators.ini
22:26:03:339 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Modules\MAME\MAME.ahk exists
22:26:03:340 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			66022 bytes
					Created:			11/21/2015 - 8:00:23 PM
					Modified:			11/21/2015 - 8:00:23 PM
22:26:03:341 | RL |     INFO  | +0     | Main - CRC Check - CRC matches, this is an official unedited module.
22:26:03:342 | RL |     INFO  | +0     | Main - digdug will use module: D:\RocketLauncher\Modules\MAME\MAME.ahk
22:26:03:350 | RL |     INFO  | +16    | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
22:26:03:353 | RL |     INFO  | +0     | CheckFile - Checking if D:\Emulators\MAMEUIFX\MAMEUIFX .166 x64 NoNag.exe exists
22:26:03:353 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					FileDescription         	Multiple Arcade Machine Emulator
					FileVersion             	0, 166, 0, 0
					InternalName            	MAME
					LegalCopyright          	Copyright Nicola Salmoria and the MAME team
					OriginalFilename        	MAME
					ProductName             	MAME
					ProductVersion          	0.166
					CompanyName             	MAME Team
					File Size:			83941376 bytes
					Created:			10/24/2015 - 10:01:39 PM
					Modified:			10/3/2015 - 7:02:10 PM
22:26:03:354 | RL |     INFO  | +0     | Main - INI Keys read
22:26:03:354 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Module Extensions\7z.exe exists
22:26:03:355 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					FileDescription         	7-Zip Console
					FileVersion             	15.06 beta
					InternalName            	7z
					LegalCopyright          	Copyright (c) 1999-2015 Igor Pavlov
					OriginalFilename        	7z.exe
					ProductName             	7-Zip
					ProductVersion          	15.06 beta
					CompanyName             	Igor Pavlov
					File Size:			262144 bytes
					Created:			10/1/2015 - 3:42:27 PM
					Modified:			10/1/2015 - 3:42:27 PM
22:26:03:356 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\Module Extensions\7z.dll exists
22:26:03:357 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					FileDescription         	7z Plugin
					FileVersion             	15.06 beta
					InternalName            	7z
					LegalCopyright          	Copyright (c) 1999-2015 Igor Pavlov
					OriginalFilename        	7z.dll
					ProductName             	7-Zip
					ProductVersion          	15.06 beta
					CompanyName             	Igor Pavlov
					File Size:			1012224 bytes
					Created:			10/1/2015 - 3:42:26 PM
					Modified:			10/1/2015 - 3:42:27 PM
22:26:03:358 | RL |     INFO  | +0     | Main - "digdug" does not qualify for MultiGame. Only roms with any of these strings in their name are acceptable: (Disc,(Disk,(Cart,(Tape,(Cassette,(Part,(Side
22:26:03:359 | RL |     INFO  | +0     | CheckPaths - Started
22:26:03:360 | RL |   DEBUG1  | +15    | CheckPaths - Looking for rom: D:\Games\Mame\roms\digdug.zip
22:26:03:360 | RL |     INFO  | +0     | CheckPaths - Found rom: D:\Games\Mame\roms\digdug.zip
22:26:03:361 | RL |   DEBUG1  | +0     | CheckPaths - Current romName: digdug
22:26:03:361 | RL |   DEBUG1  | +0     | CheckPaths - Current romPath: D:\Games\Mame\roms
22:26:03:362 | RL |   DEBUG1  | +0     | CheckPaths - Current romExtension: .zip
22:26:03:362 | RL |     INFO  | +0     | CheckPaths - Ended
22:26:03:363 | RL |     INFO  | +0     | BuildScript - User Variables:
					;----------------------------------------------------------------------------
					; INJECTED VARIABLES
					;----------------------------------------------------------------------------
					
					#NoTrayIcon
					#InstallKeybdHook
					DetectHiddenWindows, ON
					SetTitleMatchMode, 2
					SendMode, Event
					0 = 10
					pluginPath = D:\RocketLauncher\Plugins
					pluginName = HyperSpin
					pluginExt = .plugin
					contextOnExit = 1
					rlMode = 
					rlTitle = RocketLauncher
					rlVersion = 1.0.1.4
					rlAuthor = djvj
					rlURL = www.rlauncher.com
					langFile = D:\RocketLauncher\Data\Language\Localization.ini
					primMonitor = 2
					frontendPID = 
					frontendPath = D:\Hyperspin
					frontendExe = HyperSpin.exe
					frontendExt = exe
					frontendName = HyperSpin
					frontendDrive = D:
					exitEmulatorKey = H3000:Esc
					restoreFE = Restore and Click
					exitScriptKey = ~q & ~s
					toggleCursorKey = ~e & ~t
					emuFullPath = D:\Emulators\MAMEUIFX\MAMEUIFX .166 x64 NoNag.exe
					emuPath = D:\Emulators\MAMEUIFX
					emuName = MAMEUIFX
					emuExt = exe
					romPath = D:\Games\Mame\roms
					romPathFromIni = D:\Games\Mame\roms
					romExtension = .zip
					romExtensionOrig = .zip
					romExtensions = zip|7z|chd
					executable = MAMEUIFX .166 x64 NoNag.exe
					systemDbName = MAME
					systemName = MAME
					dbPath = 
					dbName = digdug
					dbExt = 
					romName = digdug
					romMapPath = 
					romMappingEnabled = false
					romMappingLaunchMenuEnabled = false
					romMappingFirstMatchingExt = false
					romMappingShowAllRomsInArchive = true
					romMappingNumberOfGamesByScreen = 7
					romMappingHideParent = false
					romMappingMenuWidth = 300
					romMappingMenuMargin = 50
					romMappingTextFont = Bebas Neue
					romMappingTextOptions = cFFFFFFFF r4 s40 Bold
					romMappingDisabledTextColor = ff888888
					romMappingTextSizeDifference = 5
					romMappingTextMargin = 10
					romMappingTitleTextFont = Bebas Neue
					romMappingTitleTextOptions = cFFFFFFFF r4 s60 Bold
					romMappingTitle2TextFont = Bebas Neue
					romMappingTitle2TextOptions = cFFFFFFFF r4 s15 Bold
					romMappingGameInfoTextFont = Bebas Neue
					romMappingGameInfoTextOptions = cFFFFFFFF r4 s15 Regular
					romMappingGameNameTextFont = Bebas Neue
					romMappingGameNameTextOptions = cFFFFFFFF r4 s40 Regular
					romMappingBackgroundBrush = aa000000
					romMappingColumnBrush = 33000000
					romMappingButtonBrush1 = 6f000000
					romMappingButtonBrush2 = 33000000
					romMappingBackgroundAlign = Stretch and Lose Aspect
					romMappingMenuFlagWidth = 40
					romMappingMenuFlagSeparation = 5
					romMappingDefaultMenuList = FullList
					romMappingSingleFilteredRomAutomaticLaunch = false
					altArchiveNameOnly = 
					altRomNameOnly = 
					altArchiveAndRomName = 
					altArchiveAndManyRomNames = 
					altRomNamesOnly = 
					romMapScenario = 
					skipchecks = false
					romMatchExt = true
					blockInputTime = 0
					blockInputFile = D:\RocketLauncher\Module Extensions\BlockInput.exe
					errorLevelReporting = false
					lockLaunch = false
					lockLaunchGame = 
					screenRotationAngle = 0
					screenRotationAngleGame = 
					logFile = D:\RocketLauncher\RocketLauncher.log
					logLabel := ["    INFO"," WARNING","   ERROR","  DEBUG1","  DEBUG2"]
					logLevel = 10
					logShowDebugConsole = false
					logIncludeModule = true
					logIncludeFileProperties = true
					logShowCommandWindow = false
					logCommandWindow = false
					rlDebugConsoleStdout = 
					sysLang = English_United_States
					sysType = 64-bit
					broadcastWindowTitle = 
					navUpKey = Up
					navDownKey = Down
					navLeftKey = Left
					navRightKey = Right
					navSelectKey = Enter|vkBEsc034
					navP2UpKey = Numpad8
					navP2DownKey = Numpad2
					navP2LeftKey = Numpad4
					navP2RightKey = Numpad6
					navP2SelectKey = NumpadEnter
					originalWidth = 1920
					originalHeight = 1080
					vdEnabled = true
					vdFullPath = C:\Program Files\DAEMON Tools Lite\DTAgent.exe
					vdUseSCSI = true
					vdDriveLetter = Q
					vdAddDrive = true
					servoStikEnabled = false
					servoStikExitMode = false
					ledblinkyEnabled = false
					ledblinkySystemName = 
					ledblinkyFullPath = 
					ledblinkyProfilePath = D:\RocketLauncher\Profiles\LEDBlinky
					ledblinkyRLProfile = D:\RocketLauncher\Profiles\LEDBlinky\RocketLauncher
					emuIdleShutdown = 0
					launchPasswordHash = zQJHGuIBD6bt2rEoPola0Rbrl81Ci3lgdm1mxbcm+QfXe+SDPHV0ig==
					hideCursor = false
					hideEmu = false
					hideFE = false
					fadeIn = true
					fadeInDuration = 500
					fadeInTransitionAnimation = DefaultAnimateFadeIn
					fadeInDelay = 0
					fadeInExitDelay = 0
					fadeOutExitDelay = 0
					fadeOut = false
					fadeOutExtraScreen = false
					fadeOutDuration = 500
					fadeOutTransitionAnimation = DefaultAnimateFadeOut
					fadeOutDelay = 0
					fadeLyrInterpolation = 7
					fadeMuteEmulator = false
					fadeUseBackgrounds = false
					fadeClickThrough = false
					fadeWidthBaseRes = 1920
					fadeHeightBaseRes = 1080
					fadeLyr1Color = FF000000
					fadeLyr1AlignImage = Align to Top Left
					fadeLyr2Pos = Bottom Right Corner
					fadeLyr2X = 300
					fadeLyr2Y = 300
					fadeLyr2W = 
					fadeLyr2H = 
					fadeLyr2Adjust = 1
					fadeLyr2PicPad = 0
					fadeLyr2Prefix = Layer 2
					fadeLyr3Pos = Center
					fadeLyr3X = 300
					fadeLyr3Y = 300
					fadeLyr3W = 
					fadeLyr3H = 
					fadeLyr3Adjust = 0.75
					fadeLyr3PicPad = 0
					fadeLyr3Speed = 750
					fadeLyr3Animation = DefaultFadeAnimation
					fadeLyr37zAnimation = DefaultFadeAnimation
					fadeLyr3Type = imageandbar
					fadeLyr3ImgFollow7zProgress = true
					fadeLyr3Repeat = 1
					fadeLyr3BackImageTransparency = 30
					fadeLyr3StaticPos = No Alignment
					fadeLyr3StaticX = 0
					fadeLyr3StaticY = 870|1575
					fadeLyr3StaticW = 
					fadeLyr3StaticH = 
					fadeLyr3StaticAdjust = 1
					fadeLyr3StaticPicPad = 0
					fadeLyr3StaticPrefix = Info Bar
					fadeLyr4Adjust = 0.75
					fadeLyr4X = 100
					fadeLyr4Y = 100
					fadeLyr4W = 128
					fadeLyr4H = 
					fadeLyr4Pos = Above Layer 3 - Left
					fadeLyr4FPS = 10
					fadeLyr4PicPad = 0
					fadeTranspGifColor = FFFFFF
					fadeBarWindow = false
					fadeBarWindowX = 
					fadeBarWindowY = 
					fadeBarWindowW = 600
					fadeBarWindowH = 120
					fadeBarWindowR = 20
					fadeBarWindowM = 20
					fadeBarWindowHatchStyle = 8
					fadeBar = 7zOnly
					fadeBarNon7zProgressTime = 0
					fadeBarBack = true
					fadeBarBackColor = FF555555
					fadeBarH = 20
					fadeBarR = 5
					fadeBarColor = DD00BFFF
					fadeBarHatchStyle = 3
					fadeBarPercentageText = true
					fadeBarInfoText = true
					fadeBarXOffset = 0
					fadeBarYOffset = 100
					fadeRomInfoDescription = text
					fadeRomInfoSystemName = text
					fadeRomInfoYear = text
					fadeRomInfoManufacturer = text
					fadeRomInfoGenre = text
					fadeRomInfoRating = text
					fadeRomInfoOrder = Description|SystemName|Year|Manufacturer|Genre|Rating
					fadeRomInfoTextPlacement = topRight
					fadeRomInfoTextMargin = 5
					fadeRomInfoText1Options = cFF555555 r4 s20 Bold
					fadeRomInfoText2Options = cFF555555 r4 s20 Bold
					fadeRomInfoText3Options = cFF555555 r4 s20 Bold
					fadeRomInfoText4Options = cFF555555 r4 s20 Bold
					fadeRomInfoText5Options = cFF555555 r4 s20 Bold
					fadeRomInfoText6Options = cFF555555 r4 s20 Bold
					fadeStats_Number_of_Times_Played = text with label
					fadeStats_Last_Time_Played = text with label
					fadeStats_Average_Time_Played = text with label
					fadeStats_Total_Time_Played = text with label
					fadeStats_System_Total_Played_Time = text with label
					fadeStats_Total_Global_Played_Time = text with label
					fadeStatsInfoOrder = Number_of_Times_Played|Last_Time_Played|Average_Time_Played|Total_Time_Played|System_Total_Played_Time|Total_Global_Played_Time
					fadeStatsInfoTextPlacement = topLeft
					fadeStatsInfoTextMargin = 5
					fadeStatsInfoText1Options = cFF555555 r4 s20 Bold
					fadeStatsInfoText2Options = cFF555555 r4 s20 Bold
					fadeStatsInfoText3Options = cFF555555 r4 s20 Bold
					fadeStatsInfoText4Options = cFF555555 r4 s20 Bold
					fadeStatsInfoText5Options = cFF555555 r4 s20 Bold
					fadeStatsInfoText6Options = cFF555555 r4 s20 Bold
					fadeText1X = 0
					fadeText1Y = 0
					fadeText1Options = cFFFFFFFF r4 s20 Right Bold
					fadeText1 = Loading Game
					fadeText2X = 0
					fadeText2Y = 0
					fadeText2Options = cFFFFFFFF r4 s20 Right Bold
					fadeText2 = Extraction Complete
					fadeText3 = Loading Game
					fadeText4 = Loading Complete
					fadeFont = Arial
					fadeSystemAndRomLayersOnly = false
					fadeExtractionTime = Elapsed Time
					fadeExtractionTimeTextX = 0
					fadeExtractionTimeTextY = 0
					fadeExtractionTimeTextOptions = cFF555555 r4 s20 Bold
					fadeInterruptKey = 
					detectFadeErrorEnabled = true
					fadeImgPath = D:\RocketLauncher\Media\Fade
					RLDataPath = D:\RocketLauncher\Data
					RLMediaPath = D:\RocketLauncher\Media
					RLErrSoundPath = D:\RocketLauncher\Media\Sounds\Error
					modulesPath = D:\RocketLauncher\Modules
					moduleFullName = D:\RocketLauncher\Modules\MAME\MAME.ahk
					moduleName = MAME
					modulePath = D:\RocketLauncher\Modules\MAME
					moduleExtension = ahk
					moduleExtensionsPath = D:\RocketLauncher\Module Extensions
					libPath = D:\RocketLauncher\Lib
					7zEnabled = false
					7zPath = D:\RocketLauncher\Module Extensions\7z.exe
					7zDllPath = D:\RocketLauncher\Module Extensions\7z.dll
					7zExtractPath = D:\Games\cache
					7zExtractPathOrig = 
					7zAttachSystemName = false
					7zDelTemp = false
					7zSounds = true
					7zFormats = .zip,.rar,.7z,.lzh,.gzip,.tar
					7zFormatsNoP = zip,rar,7z,lzh,gzip,tar
					mgEnabled = false
					mgKey = ~NumpadSub
					mgBackgroundColor = FF000000
					mgSidePadding = 0.2
					mgWidthBaseRes = 1920
					mgHeightBaseRes = 1080
					mgYOffset = 500
					mgFont = Arial
					mgText1Options = x10p y30p w80p Center cBBFFFFFF r4 s100 BoldItalic
					mgText1Text = Please select a game
					mgText2Options = w96p cFFFFFFFF r4 s50 Center BoldItalic
					mgText2Offset = 70
					mgUseSound = true
					mgSoundfreq = 300
					mgExitEffect = none
					mgSelectedEffect = rotate
					mgUseGameArt = false
					mgCandidate = 
					mgValidTypes = (Disc,(Disk,(Cart,(Tape,(Cassette,(Part,(Side
					mgOnLaunch = false
					pauseEnabled = true
					pauseKey = ~NumpadAdd
					pauseBackToMenuBarKey = X
					pauseZoomInKey = C
					pauseZoomOutKey = V
					pauseScreenshotKey = ~PrintScreen
					pauseHiToTextPath = D:\RocketLauncher\Module Extensions\HiToText.exe
					pauseSaveStateKeyCodes = 
					pauseLoadStateKeyCodes = 
					keymapperEnabled = false
					keymapperAHKMethod = false
					keymapper = xpadder
					xpadderFullPath = D:\Tools\Xpadder\xpadder.exe
					joyToKeyFullPath = C:\Windows\Utilities\VJoy\VJoy.exe
					keymapperProfilePath = D:\RocketLauncher\Profiles\xpadder
					keymapperFrontEndProfileName = HyperSpin
					keymapperFrontEndProfile = xpadder
					keymapperRocketLauncherProfileEnabled = false
					joyIDsEnabled = true
					joyIDsPreferredControllersGlobal = Controller (XBOX 360 For Windows)|p1
					joyIDsPreferredControllersSystem = use_global
					joyIDsPreferredControllersOnExit = 
					CustomJoyNamesEnabled = true
					CustomJoyNames = Controller (Xbox 360 Wireless Receiver for Windows)|p1
					rotateMethod = false
					FEProfile = D:\RocketLauncher\Profiles\xpadder\HyperSpin
					defaultProfile = D:\RocketLauncher\Profiles\xpadder\_Default
					systemProfile = D:\RocketLauncher\Profiles\xpadder\MAME
					xPadderSystemProfile = D:\RocketLauncher\Profiles\xpadder\MAME\_Default
					emuProfile = D:\RocketLauncher\Profiles\xpadder\MAME\MAMEUIFX
					romProfile = D:\RocketLauncher\Profiles\xpadder\MAME\digdug
					RocketLauncherProfile = D:\RocketLauncher\Profiles\xpadder\RocketLauncher
					blankProfile = D:\RocketLauncher\Profiles\xpadder\_Default\blank
					ahkFEProfile = D:\RocketLauncher\Profiles\AHK\HyperSpin
					ahkDefaultProfile = D:\RocketLauncher\Profiles\AHK\_Default
					ahkSystemProfile = D:\RocketLauncher\Profiles\AHK\MAME
					ahkEmuProfile = D:\RocketLauncher\Profiles\AHK\MAME\MAMEUIFX
					ahkRomProfile = D:\RocketLauncher\Profiles\AHK\MAME\digdug
					ahkRocketLauncherProfile = D:\RocketLauncher\Profiles\AHK\RocketLauncher
					bezelEnabled = false
					bezelICEnabled = false
					statisticsEnabled = true
					pressDuration = -1
					emuVolume = 1
					dxwndIni = D:\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini
					dxwndFullPath = D:\RocketLauncher\Module Extensions\dxwnd\dxwnd.exe
					mon1O = 
					pacDrivedllFile = D:\RocketLauncher\Module Extensions\PacDrive32.dll
					userFadeAnimIniFile = D:\RocketLauncher\Lib\User Fade Animations.ini

22:26:03:364 | RL |     INFO  | +0     | BuildScript - Loaded XHotkey Init.ahk scripts
22:26:03:364 | RL |     INFO  | +0     | BuildScript - Loaded Keymapper Init.ahk scripts
22:26:03:365 | RL |     INFO  | +0     | BuildScript - Loaded Fade Init.ahk scripts
22:26:03:365 | RL |     INFO  | +0     | BuildScript - Loaded Pause Init.ahk scripts
22:26:03:366 | RL |     INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
22:26:03:366 | RL |     INFO  | +0     | BuildScript - Loaded User Functions Init.ahk script
22:26:03:367 | RL |   DEBUG1  | +0     | BuildScript - Module starts on line: 2
22:26:03:367 | RL |     INFO  | +0     | BuildScript - Validating module
22:26:03:373 | RL |     INFO  | +0     | BuildScript - Validation complete
22:26:03:373 | RL |     INFO  | +0     | BuildScript - Module:
					MEmu = MAME
					MEmuV =  v0.166
					MURL = http://www.mame.net/
					MAuthor = djvj,faahrev,brolly,Tomkun
					MVersion = 2.2.8
					MCRC = D1345071
					iCRC = FCFD61AB
					mId = 635746812784197028
					MSystem = "AAE","Aamber Pegasus","Acorn Electron","Amstrad GX4000","APF Imagination Machine","Apple IIGS","Applied Technology MicroBee","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","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","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","Funtech Super Acan","GamePark 32","GCE Vectrex","Hartung Game Master","HBMAME","Interton VC 4000","Irem Classics","JungleTac Sport Vii","Konami Classics","LaserDisc","Magnavox Odyssey 2","MAME","Matra & Hachette Alice","Mattel Aquarius","Mattel Intellivision","MGT Sam Coupe","Midway Classics","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 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","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","Super Nintendo Entertainment System","Taito Classics","Tandy TRS-80 Color Computer","Texas Instruments TI 99-4A","Tiger Game.com","Tomy Tutor","VTech CreatiVision","Watara Supervision","Williams Classics"
					;----------------------------------------------------------------------------
					; Notes:
					; 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.
					;
					; 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
					; 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.
					; 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
					; If MAME has a problem reading the bios zips, try archving them with "no compression"
					; This site can help a ton with details for the various systems supported: http://www.progettoemma.net/mess/index.html
					; 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.
					; 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 
					;
					; Command Line Options - http://easyemu.mameworld.info/mameguide/mameguide-options.html
					; High Scores DO NOT SAVE when cheats are enabled!
					; HLSL Documentation: http://mamedev.org/source/docs/hlsl.txt.html
					; 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
					;
					; 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 
					; roms path for that system. If you have doubts about their filenames check the mTypeVar module variable content.
					;
					; Following systems will also require some specific files to operate properly:
					; APF Imagination Machine - apfimag (tape games), apfm1000 (cart games)
					; Camputers Lynx - lynx64k, lynx96k, lynx128k
					; Coleco ADAM - adam, adam_ddp, adam_fdc, adam_kb, adam_prn, adam_spi
					; NEC PC Engine-CD - "Super CD-ROM2 System V3.0 (J).pce" [262,656 bytes] (placed in the roms subfolder in the emuPath)
					; NEC TurboGrafx-CD - "Super CD-ROM2 System V3.01 (U).pce" [262,144 bytes] (placed in the roms subfolder in the emuPath)
					; Sega CD - segacd, megacd, megacd2j (megacd2j seems to be more compatible over megacdj)
					; Sony PlayStation - psa, pse, psj, psu
					;
					; 7z Support:
					; 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 
					; fine to enable 7z to non-arcade systems.
					;
					; Custom Configuration Files:
					; 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:
					; cfg\mame_system_name\database_rom_name\mame_system_name.cfg
					; An example of a game that requires specific settings is ICBM Attack for the Bally Astrocade, in this case special cfg file should be:
					; cfg\astrocde\I.C.B.M. Attack (USA) (Unl)\astrocde.cfg
					;
					; Ini Files:
					; 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 
					; those. MAME supports a hierarchical ini file structure and will load settings from several ini files following a specific order:
					;- mame.ini
					;- <mymame>.ini (i.e. if MAME was renamed mame060.exe, MAME parses mame060.ini here)
					;- debug.ini (if the debugger is enabled)
					;- <parent>.ini (for clones only, may be called recursively)
					;- <gamename>.ini
					;- vertical.ini (for games with vertical monitor orientation)
					;- horizont.ini (for games with horizontal monitor orientation)
					;- vector.ini (for vector games only)
					;- <driver>.ini (based on the source filename of the driver)
					;
					; The settings in the later ini's override those in the earlier ini's.
					; 
					; It's highly recommended that you set skipchecks to 'Rom Only" for MAME otherwise RocketLauncher won't be able to launch several games due 
					; to the way MAME roms are packaged. This will be even more noticeable for those using merged sets.
					;
					; Bally Astrocade:
					; 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
					; 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.
					; 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.
					;
					; GCE Vectrex:
					; Requires a vectrex.lay and a png overlay for each game. These all need to be placed in the MAME\artwork\vectrex folder.
					; 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.
					;
					; Magnavox Odyssey 2:
					; Euro games should use the videopac bios instead of the odyssey2 one or you'll get some timing issues.
					; Use the systemName ini file in the folder with this module for this, example:
					; [Moto-Crash (France)]
					; Bios=videopac
					;
					; Texas Instruments TI 99/4A:
					; This system requires full keyboard emulation to work properly
					; 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)
					; You can check how to convert split cart dumps to RPK here:
					; http://www.ninerpedia.org/index.php/MESS_multicart_system
					; 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"
					
					; Bezels:
					; Module settings control whether RocketLauncher or MAME bezels are shown
					; In the bezel normal mode only RocketLauncher Bezels will be show and the MAME use_bezels option will be forced disbaled
					; 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
					;
					; ServoStik:
					; The module will automatically control any connected ServoStiks found on the system.
					; 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.
					;
					; Per game controller types:
					; 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 
					; system so to avoid adding a huge complexity to the module this must be done through the Parameters settings.
					; 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 
					; 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.
					; This is an example for Atari 2600 for a game using wheel controllers on both joy ports:
					; #
					; # SLOT DEVICES
					; #
					; joyport1     wheel
					; joyport2     wheel
					; 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 
					; set Parameters=-joyport1 joy -joyport2 joy
					; 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 
					; Parameters=-joyport1 wheel -joyport2 wheel
					;
					; Another option is to set the default values in the MAME ini file and make sure you also set writeconfig to 0.
					; 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, 
					; ensure you set your controls in the main MAME config file (MAME.ini), not the system one (ex. Atari 2600.ini).
					;
					; Linking/NetPlay:
					; The module will automatically set correct network ports for linked games.
					; Up to 8 players on the same PC are supported. Multiple copies of MAME will be launched.
					; 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.
					; Each player will use a different cfg and nvram folder in your MAME folder. Player 1 will always use .\cfg and .\nvram.
					; Players 2 through 8 will use .\cfg2, .\cfg3, etc and .\nvram2, .\nvram3, etc
					; These folders and cfg/nvram files will be automatically created for you on launch so you do not need to create them manually.
					; 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.
					; 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.
					; 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.
					; There are other network related settings in the module settings to assist with starting IPs and connectivity, so check them out as well.
					; 
					; NVRAM Automation for linked games:
					; When launching linked games on the same pc NVRAM settings are automatically set for you so each player will be unique.
					; For instance, in Virtua Racing, Player 1 is red, player 2 is blue, player 3 is yellow, etc.
					; To do this, some other options are also set automatically for you as well, like region, difficulty, countr, course, etc
					; 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.
					;
					; Additional Link info that may be of some importance:
					; The original Model-1 has a max Bandwidth of 6 MBit/s (TOTX173/TORX173).
					; One Board sends about 20 KByte/s.
					; So bandwidth CLIENTSIDE is like...
					; 2 Boards - 20 KByte/s inbound and 20 KByte/s outbound.
					; 3 Boards - 40 KByte/s inbound and 20 KByte/s outbound.
					; 4 Boards - 60 KByte/s inbound and 20 KByte/s outbound.
					; etc.
					; Some good info on Linking: http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=297577&page=0
					; also http://forum.arcadecontrols.com/index.php/topic,130136.msg1331485.html
					;----------------------------------------------------------------------------
					StartModule()
					BezelGUI()
					
					; 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.
					mTypeVar=
						( LTrim
						Aamber Pegasus|pegasus
						Acorn Electron|electron
						Amstrad GX4000|gx4000
						APF Imagination Machine|apfimag
						Apple IIGS|apple2gs
						Atari 8-Bit|a800
						Atari 2600|a2600
						Atari 5200|a5200
						Atari 7800|a7800
						Atari Jaguar|jaguar
						Atari Lynx|lynx
						Bally Astrocade|astrocde
						Bandai Super Vision 8000|sv8000
						Bandai WonderSwan|wswan
						Bandai WonderSwan Color|wscolor
						Camputers Lynx|lynx128k
						Casio PV-1000|pv1000
						Casio PV-2000|pv2000
						Coleco ADAM|adam
						ColecoVision|coleco
						Commodore 64|c64
						Creatronic Mega Duck|megaduck
						EACA EG2000 Colour Genie|cgenie
						Emerson Arcadia 2001|arcadia
						Entex Adventure Vision|advision
						Epoch Game Pocket Computer|gamepock
						Epoch Super Cassette Vision|scv
						Exidy Sorcerer|sorcerer
						Fairchild Channel F|channelf
						Fujitsu FM-7|fmnew7
						Funtech Super Acan|supracan
						GamePark 32|gp32
						GCE Vectrex|vectrex
						Hartung Game Master|gmaster
						Interton VC 4000|vc4000
						JungleTac Sport Vii|vii
						Magnavox Odyssey 2|odyssey2
						Matra & Hachette Alice|alice32
						Mattel Aquarius|aquarius
						Mattel Intellivision|intv
						MGT Sam Coupe|samcoupe
						Applied Technology MicroBee|mbeeic
						NEC PC-8801|pc8801
						NEC PC Engine|pce
						NEC PC Engine-CD|pce
						NEC SuperGrafx|sgx
						NEC TurboGrafx-16|tg16
						NEC TurboGrafx-CD|tg16
						Nintendo 64|n64
						Nintendo Entertainment System|nes
						Nintendo Famicom|famicom
						Nintendo Famicom Disk System|fds
						Nintendo Game Boy|gameboy
						Nintendo Game Boy Advance|gba
						Nintendo Game Boy Color|gbcolor
						Nintendo Pokemon Mini|pokemini
						Nintendo Satellaview|snes
						Nintendo Super Famicom|snes
						Nintendo Super Game Boy|supergb
						Nintendo Virtual Boy|vboy
						Othello Multivision|omv1000
						Philips CD-i|cdimono1
						Philips VG 5000|vg5k
						RCA Studio II|studio2
						Sega 32X|32x
						Sega CD|segacd
						Sega Game Gear|gamegear
						Sega Genesis|genesis
						Sega Master System|sms
						Sega Mega Drive|megadriv
						Sega Pico|pico
						Sega Saturn|saturn
						Sega SC-3000|sc3000
						Sega SG-1000|sg1000
						Sega VMU|svmu
						Sharp X1|x1turbo40
						Sinclair ZX81|zx81
						SNK Neo Geo AES|aes
						SNK Neo Geo CD|neocdz
						SNK Neo Geo Pocket|ngp
						SNK Neo Geo Pocket Color|ngpc
						Sony PlayStation|psx
						Sony PocketStation|pockstat
						Sord M5|m5
						Super Nintendo Entertainment System|snes
						Tandy TRS-80 Color Computer|coco3
						Texas Instruments TI 99-4A|ti99_4a
						Tiger Game.com|gamecom
						Tomy Tutor|tutor
						VTech CreatiVision|crvision
						Watara Supervision|svision
						)
					mType := Object()
					Loop, Parse, mTypeVar, `n, `r
					{
						obj := {}
						Loop, Parse, A_LoopField, |
							If A_Index = 1
								obj.System := A_LoopField
							Else	; 2
								obj.mameID := A_LoopField
						mType.Insert(obj["System"], obj)
					}
					Log("Module - Finished building the " . MEmu . " object",4)
					; For easier use throughout the module
					mameSystem := mType[systemName].System
					mameID := mType[systemName].mameID
					
					If !mameSystem {
						Log("Module - """ . systemName . """ is not a known console or computer system. Defaulting to MAME's Arcade mode for the remainder of this " . MEmu . " module.",2)
						mameSystem := systemName
						mameID := "MAME"
					}
					
					settingsFile := modulePath . "\" . moduleName . ".ini"
					Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)		; Set fullscreen mode
					legacyMode := IniReadCheck(settingsFile, "Settings|" . systemName . "|" . romName, "LegacyMode","false",,1)
					mameBiosPath := IniReadCheck(settingsFile, "Settings", "MAME_BIOS_Path", emuPath . "\roms",,1)
					mameBiosPath := GetFullName(mameBiosPath)
					Videomode := IniReadCheck(settingsFile, "Settings", "Videomode","d3d",,1)	; Choices are gdi,ddraw,d3d. If left blank, MAME uses d3d by default
					pauseMethod := IniReadCheck(settingsFile, "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
					bilinearFilter := IniReadCheck(settingsFile, "Settings|" . mameSystem, "BilinearFilter","false",,1)
					hlsl := IniReadCheck(settingsFile, "Settings|" . mameSystem . "|" . romName, "HLSL","false",,1)
					glsl := IniReadCheck(settingsFile, "Settings|" . mameSystem . "|" . romName, "GLSL","false",,1)
					bezelMode := IniReadCheck(settingsFile, "Settings|" . systemName . "|" . romName, "BezelMode","layout",,1)	; "layout" or "normal"
					verticalRotationMode := IniReadCheck(settingsFile, "Settings|" . mameSystem . "|" . romName, "VerticalRotationMode","none",,1)
					cheatMode := IniReadCheck(settingsFile, "Settings", "CheatMode","false",,1)
					cheatModeKey := IniReadCheck(settingsFile, "Settings", "CheatModeKey",A_Space,,1)	; user defined key to be held down before launching a mame rom.
					UseSoftwareList := IniReadCheck(settingsFile, mameSystem . "|" . romName, "UseSoftwareList","false",,1)
					sysStaticParams := IniReadCheck(settingsFile, mameSystem, "StaticParameters", A_Space,,1)
					sysParams := IniReadCheck(settingsFile, mameSystem, "Parameters", A_Space,,1)
					romParams := IniReadCheck(settingsFile, romName, "Parameters", sysParams,,1)
					mameRomName := IniReadCheck(settingsFile, romName, "MameRomName", A_Space,,1)
					autosave := IniReadCheck(settingsFile, systemName . "|" . romName, "Autosave", "false",,1)
					volume := IniReadCheck(settingsFile, "Settings|" . systemName . "|" . romName, "Volume",,,1)
					Artwork_Crop := IniReadCheck(settingsFile, mameSystem . "|" . romName, "Artwork_Crop", "true",,1)
					Use_Bezels := IniReadCheck(settingsFile, mameSystem . "|" . romName, "Use_Bezels", "false",,1)
					Use_Overlays := IniReadCheck(settingsFile, mameSystem . "|" . romName, "Use_Overlays", "true",,1)
					Use_Backdrops := IniReadCheck(settingsFile, mameSystem . "|" . romName, "Use_Backdrops", "true",,1)
					Use_Cpanels := IniReadCheck(settingsFile, mameSystem . "|" . romName, "Use_Cpanels", "false",,1)
					Use_Marquees := IniReadCheck(settingsFile, mameSystem . "|" . romName, "Use_Marquees", "false",,1)
					inipath := IniReadCheck(settingsFile, mameSystem, "IniPath", "",,1)
					hashpath := IniReadCheck(settingsFile, mameSystem, "HashPath", "",,1)
					
					; Loop, 8
						; car%A_Index%Color := IniReadCheck(settingsFile, romName, "Car_" . A_Index . "_Color","",,1)
					
					enableLinkPlay := IniReadCheck(settingsFile, "Link/Network|" . romName, "Enable_Link_Play", "false",,1)
					networkSession :=
					If (enableLinkPlay != "false") {
						Log("Module - Link/Network Multi-Player is an available option for " . romName,4)
						getWANIP := IniReadCheck(settingsFile, "Link/Network", "Get_WAN_IP","false",,1)
						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
						networkPlayers := enableLinkPlay	; Max amount of networkable players
						localLink := 1	; Tell Multiplayer menu to enable menu option for local linking
					
						enableNVRAMAutomation := IniReadCheck(settingsFile, "Link/Network|" . romName, "Enable_NVRAM_Automation","true",,1)
						maxPlayersPerMonitor := IniReadCheck(settingsFile, "Link/Network|" . romName, "Max_Players_Per_monitor","1|1|1|1|1|1|1|1",,1)
						splitScreen2PlayersMode := IniReadCheck(settingsFile, "Link/Network|" . romName, "SplitScreen_2_Players","Horizontal",,1) ;horizontal or vertical
						splitScreen3PlayersMode := IniReadCheck(settingsFile, "Link/Network|" . romName, "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.
						localPort := IniReadCheck(settingsFile, "Link/Network", "Local_Port","15111",,1)
					
						defaultServerIP := IniReadCheck(settingsFile, "Link/Network", "Default_Server_IP", myIP,,1)
						defaultServerPort := IniReadCheck(settingsFile, "Link/Network", "Default_Server_Port","15111",,1)
						lastIP := IniReadCheck(settingsFile, "Link/Network", "Last_IP", defaultServerIP,,1)	; also known as the Remote IP in mame. Does not need to be on the ISD
						lastPort := IniReadCheck(settingsFile, "Link/Network", "Last_Port", defaultServerPort,,1)	; also known as the Remote Port in mame. Does not need to be on the ISD
					
						MultiplayerMenu(lastIP, lastPort, networkType, networkPlayers,,,,,,localLink,"ipAndPort")
					
						;MultiPlayer Menu Result
						; If !(networkType)
							; MsgBox, % "Single Player Game"
						; Else If (networkType="localLink")
							; MsgBox, % "Local Link selected with the number of players equal to: " . networkPlayers
						; Else If (networkType="server")
							; MsgBox, % "WAN IP Address=" . networkIP . " | LAN IP Address=" . localIP[1,2] . " | Port=" . networkPort . " | networkPlayers=" . networkPlayers . " | networkRequiresSetup=" . networkRequiresSetup 
						; Else If (networkType="client")
							; MsgBox, % "NetworkIP=" . networkIP . " | Port Number=" . networkPort . " | networkRequiresSetup=" . networkRequiresSetup
					
						If networkSession {
							Log("Module - Using a Network for " . romName,4)
							multiPlayerObj := Object()	; initialize object to store the multiplayer options
							If (networkType="localLink") {
								Log("Module - Setting remote host to 127.0.0.1 to support local link mode as it is running on this PC.")
								linkEnabledGame := 1
								If networkPlayers > 1
								{	Log("Module - Local link mode was selected and " . networkPlayers . " sessions will be launched.")
									fullscreen := "false"	; must turn off fullscreen if running multiple MAMEs on the same machine
									Loop % networkPlayers {
										multiPlayerObj[A_Index,"Player"] := A_Index
										multiPlayerObj[A_Index,"CfgDir"] := " -cfg_directory cfg" . (If A_Index = 1 ? "" : A_Index)
										multiPlayerObj[A_Index,"NvramDir"] := " -nvram_directory nvram" . (If A_Index = 1 ? "" : A_Index)
										If (A_Index = 1) {	; Player 1
											initialLocalPort := localPort	; must be stored for last player
											multiPlayerObj[A_Index,"LocalHost"] := " -comm_localhost 0.0.0.0"
											multiPlayerObj[A_Index,"LocalPort"] := " -comm_localport " . localPort
											localPort++
											multiPlayerObj[A_Index,"RemotePort"] := " -comm_remoteport " . localPort
										} Else {	; Players 2+
											multiPlayerObj[A_Index,"LocalPort"] := " -comm_localport " . localPort
											localPort++
											multiPlayerObj[A_Index,"RemoteHost"] := " -comm_remotehost 127.0.0.1"
											multiPlayerObj[A_Index,"RemotePort"] := " -comm_remoteport " . (If A_Index = networkPlayers ? initialLocalPort : localPort)	; must set remote port to first port on last player
										}
					
										; 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"]
									}
								} Else
									Log("Module - Local link mode was selected but user only chose 1 player. Launch will be a normal session.")
							} Else If (networkType = "client") {
								Log("Module - Remote host is running on another PC, module will use remote link mode.")
								IniWrite, %networkIP%, %settingsFile%, Link/Network, Last_IP	; Save last used IP and Port for quicker launching next time
								IniWrite, %networkPort%, %settingsFile%, Link/Network, Last_Port
								linkType := "Slave"
								networkPlayers := 1
								multiPlayerObj[1,"Player"] := 1
								multiPlayerObj[1,"CfgDir"] := " -cfg_directory cfg"
								multiPlayerObj[1,"NvramDir"] := " -nvram_directory nvram"
								multiPlayerObj[1,"LocalHost"] := " -comm_localhost 0.0.0.0"		; don't really need to set this but just in case
								multiPlayerObj[1,"LocalPort"] := " -comm_localport " . localPort
								multiPlayerObj[1,"RemoteHost"] := " -comm_remotehost " . networkIP
								multiPlayerObj[1,"RemotePort"] := " -comm_remoteport " . networkPort
							} Else {	; server
								Log("Module - This PC is acting as the host, telling mame to listen for incoming connections on port: " . localPort)
								IniWrite, %networkIP%, %settingsFile%, Link/Network, Last_IP	; Save last used IP and Port for quicker launching next time
								IniWrite, %networkPort%, %settingsFile%, Link/Network, Last_Port
								linkType := "Master"
								networkPlayers := 1
								multiPlayerObj[1,"Player"] := 1
								multiPlayerObj[1,"CfgDir"] := " -cfg_directory cfg"
								multiPlayerObj[1,"NvramDir"] := " -nvram_directory nvram"
								multiPlayerObj[1,"LocalHost"] := " -comm_localhost 0.0.0.0"		; don't really need to set this but just in case
								multiPlayerObj[1,"LocalPort"] := " -comm_localport " . networkPort
								multiPlayerObj[1,"RemoteHost"] := " -comm_remotehost " . networkIP
								multiPlayerObj[1,"RemotePort"] := " -comm_remoteport " . networkPort
							}
							Log("Module - Starting a network session using the IP """ . networkIP . """ and PORT """ . networkPort . """",4)
						} Else {
							Log("Module - User chose Single Player mode for this session",4)
						}
					}
					
					FadeInStart()
					
					;Read settings from system name ini file
					sysSettingsFile := modulePath . "\" . mameSystem . ".ini"
					IfExist, %sysSettingsFile% 
					{
						romParams := IniReadCheck(sysSettingsFile, romName, "Parameters", romParams,,1)
						hlsl := IniReadCheck(sysSettingsFile, romName, "HLSL",hlsl,,1)
						glsl := IniReadCheck(sysSettingsFile, romName, "GLSL",glsl,,1)
						Artwork_Crop := IniReadCheck(sysSettingsFile, romName, "Artwork_Crop", Artwork_Crop,,1)
						Use_Bezels := IniReadCheck(sysSettingsFile, romName, "Use_Bezels", Use_Bezels,,1)
						Use_Overlays := IniReadCheck(sysSettingsFile, romName, "Use_Overlays", Use_Overlays,,1)
						Use_Backdrops := IniReadCheck(sysSettingsFile, romName, "Use_Backdrops", Use_Backdrops,,1)
						Use_Cpanels := IniReadCheck(sysSettingsFile, romName, "Use_Cpanels", Use_Cpanels,,1)
						Use_Marquees := IniReadCheck(sysSettingsFile, romName, "Use_Marquees", Use_Marquees,,1)
						UseSoftwareList := IniReadCheck(sysSettingsFile, romName, "UseSoftwareList", UseSoftwareList,,1)
					}
					
					If inipath
						inipath := AbsoluteFromRelative(EmuPath, inipath)
					If hashpath
						hashpath := AbsoluteFromRelative(EmuPath, hashpath)
					
					artworkCrop := If (Artwork_Crop = "true") ? " -artwork_crop" : " -noartwork_crop"
					useBezels := If (Use_Bezels = "true") ? " -use_bezels" : " -nouse_bezels"
					useOverlays := If (Use_Overlays = "true") ? " -use_overlays" : " -nouse_overlays"
					useBackdrops := If (Use_Backdrops = "true") ? " -use_backdrops" : " -nouse_backdrops"
					useCpanels := If (Use_Cpanels = "true") ? " -use_cpanels" : " -nouse_cpanels"
					useMarquees := If (Use_Marquees = "true") ? " -use_marquees" : " -nouse_marquees"
					autosave := If autosave = "true"  ? " -autosave" : ""
					volume := If volume != ""  ? " -volume " . volume : ""
					inipath := If inipath != "" ? " -inipath """ . inipath . """" : ""
					hashpath := If hashpath != "" ? " -hashpath """ . hashpath . """" : ""
					
					If (verticalRotationMode = "none")
						verticalRotationMode := ""
					
					; Process mame's ListXML for certain features
					If (bezelEnabled = "true" || servoStikEnabled = "auto" || verticalRotationMode) {
						ListXMLObject := Object()
						ListXMLObject := ListXMLInfo(If mameRomName ? mameRomName : romName)
						If (bezelEnabled = "true") {
							If (networkPlayers > 1) {
								useBezels := " -nouse_bezels"   ; force disabling MAME built-in bezels
								BezelStart(networkPlayers)	
							} Else {
								If (bezelMode = "layout"){
									BezelStart("layout",ListXMLObject["Parent"].Value,ListXMLObject["Angle"].Value,romName)
								} Else { ;bezel mode = normal
									useBezels := " -nouse_bezels"   ; force disabling MAME built-in bezels
									BezelStart(,,ListXMLObject["Angle"].Value)
								}
							}
						}
						If (servoStikEnabled = "auto") {
							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
						}
						If (verticalRotationMode && ListXMLObject["Angle"].Value) {
							If (verticalRotationMode = "original")
								verticalRotationMode := " -norotate"
							Else If (verticalRotationMode = "right")
								verticalRotationMode := " -ror"
							Else If (verticalRotationMode = "left")
								verticalRotationMode := " -rol"
							Else
								verticalRotationMode := ""
						}
						Else
							verticalRotationMode := ""
					}
					
					winstate := If (Fullscreen = "true") ? "Hide UseErrorLevel" : "UseErrorLevel"
					fullscreenParam := If (Fullscreen = "true") ? " -nowindow" : " -window"
					
					hideEmuObj := Object(dialogOpen . " ahk_class ConsoleWindowClass",0,"ahk_class MAMEDebugWindow",0,"ahk_class MAMEOutput",0,"ahk_class MAME",1)	;Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later
					7z(romPath, romName, romExtension, 7zExtractPath)
					
					; Get MAME version from executable, this is needed since some CLI switches are not available in older MAME versions
					exeAtrib := FileGetVersionInfo_AW( EmuPath . "\" . executable, "FileVersion|ProductVersion", "|"  )
					Loop, Parse, exeAtrib, |%A_Tab%, %A_Space%
					 A_Index & 1 ? ( _ := A_LoopField ) : ( %_% := A_LoopField )
					If (ProductVersion)
						StringRight, MAMEVersion, ProductVersion, StrLen(ProductVersion) - 2
					Log("Module - Detected MAME Product Version from '" . EmuPath . "\" . executable . "' is " . MAMEVersion)
					
					If (videomode = "opengl") {
						hlsl := " -nohlsl_enable"
						If (MAMEVersion > 159)
							glsl := If glsl = "true" ? " -gl_glsl" : (If glsl = "ini" ? "" : " -nogl_glsl")
						Else
							glsl := ""
					} Else {
						hlsl := If hlsl = "true" ? " -hlsl_enable" : (If hlsl = "ini" ? "" : " -nohlsl_enable")
						If (MAMEVersion > 159)
							glsl := If videomode = "ini" ? "" : " -nogl_glsl"
						Else
							glsl := ""
							
						If (videomode = "ini")
							videomode := ""
					}
					videomode := If (Videomode != "" ) ? " -video " . videomode : ""
					
					param1 := " -cart """ . romPath . "\" . romName . romExtension . """"	; default param1 used for launching most systems.
					If romExtension = .txt	; This can be applied to all systems
						param1:=
					
					If mameID = apfimag	; APF Imagination Machine
						If romExtension != .tap
							mameID = apfm1000	; cart games for APF Imagination Machine require a different bios to be loaded
					
					If UseSoftwareList != true
					{	; 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.
						If mameID in ti99_4a,aes,apple2gs,electron,mbeeic,odyssey2,astrocde	; these systems will use an ini to store game specific settings
						{	mameSysINI := CheckFileMAME(modulePath . "\" . mameSystem . ".ini")	; create the ini if it does not exist
							If mameID = ti99_4a	; Texas Instruments TI 99-4A
							{	mainCart := IniReadCheck(mameSysINI, romName, "Main_Cart",A_Space,,1)
								basicCart := IniReadCheck(mameSysINI, romName, "Basic_Cart","extended_basic.rpk",,1)	; user can specify a rom specific cart instead of the default basic one
								expansionLocation := IniReadCheck(mameSysINI, romName, "Expansion_Location","extended_basic.rpk",,1)
								; Now set the parameters to send to MAME
								If romExtension = .dsk	; Expansion Disk
									; 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
									param1 := " -gromport multi -cart1", param2:=" """ . romPath . "\" . (If mainCart ? (mainCart):(basicCart)) . """", param3:=" -peb:slot2 32kmem -peb:slot3 speech -peb:slot6 tirs232 -peb:slot8 hfdc", param4:=" -flop1", param5:=" """ . romPath . "\" . romName . romExtension . """"
								Else If romExtension = .rpk	; Cart Game (RPK Format)
									param1 := " -gromport single -cart1", param2:=" """ . romPath . "\" . romName . romExtension . """", param3:=" -peb:slot3 speech" ;-cart will also work here
								param6 := " -ui_active" ;Enable partial keyboard mode at startup
							} Else If mameID = aes	; SNK Neo Geo AES
							{	biosRegion := IniReadCheck(mameSysINI, romName, "BIOS_Region","asia",,1)
								param1 := " -bios " . biosRegion	; can also be japan, but the asian one has english menus for most games
								param2 := " -cart " . romName
							}Else if mameID = apple2gs	; Apple IIGS
							{	externalOS := IniReadCheck(mameSysINI, romName, "External_OS","false",,1)
								2gsSystemFile := "System6.2mg"	;For games without OS included, always force this name and error out if not found
								multipartTable := CreateRomTable(multipartTable)
					
								If externalOS = true
								{	CheckFile(romPath . "\" . 2gsSystemFile)
									param1 := " -flop3", param2:=" """ . romPath . "\" . 2gsSystemFile . """", param3:=" -flop4", param4:=" """ . romPath . "\" . romName . romExtension . """"
								}Else{
									param1 := " -flop3", param2:=" """ . romPath . "\" . romName . romExtension . """"
									If (multipartTable.MaxIndex() > 1)
										param3:=" -flop4", param4 := " """ . multipartTable[2,1] . """"
								}
								param5 := " -ui_active" ;Enable partial keyboard mode at startup
							}Else If mameID = electron ; Acorn Electron
								{ AutoBootDelay := IniReadCheck(mameSysINI, "Settings", "AutoBootDelay","2",,1)	; Read delay from config.
								AutoBootDelay := " -autoboot_delay " . AutoBootDelay
								If romExtension = .bin
									mediaDeviceType := "cart"
								Else	; any other format
									mediaDeviceType := "cass"
									param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""chain""""""""""""\n""" . AutoBootDelay . ""
							}Else If mameID = sc3000 ; Sega SC-3000
								{ AutoBootDelay := IniReadCheck(mameSysINI, "Settings", "AutoBootDelay","2",,1)	; Read delay from config.
								AutoBootDelay := " -autoboot_delay " . AutoBootDelay
								If romExtension = .bin,.sg,.sc
									mediaDeviceType := "cart"
								Else	; any other format
									mediaDeviceType := "cass"
									param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""chain""""""""""""\n""" . AutoBootDelay . ""
							}Else If mameID = c64 ; Commodore 64
								{ AutoBootDelay := IniReadCheck(mameSysINI, "Settings", "AutoBootDelay","2",,1)	; Read delay from config.
								AutoBootDelay := " -autoboot_delay " . AutoBootDelay
								If romExtension = .d64,.g64,.g41,.d77,.d88,.1dd,.dfi,.imd,.ipf,.mfi,.mfm,.td0,.cqm,.cqi,.dsk
									mediaDeviceType := "flop1"
								Else If romExtension = .wav,.tap
									mediaDeviceType := "cass1"
								Else If romExtension = .80,.a0,.e0,.crt
									mediaDeviceType := "cart1"
								Else If romExtension = .p00,.prg,.t64
									mediaDeviceType := "quik1"
									param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""chain""""""""""""\n""" . AutoBootDelay . ""
							}Else If mameID = mbeeic ; Applied Technology MicroBee
							{	microbeeModel := IniReadCheck(mameSysINI, romName, "MicroBee_Model","mbeeic",,1)
								If microbeeModel not in mbee,mbeeic,mbeepc,mbeepc85,mbee56
									ScriptError("This is not a known MicroBee model value: " . microbeeModel)
								Else If (microbeeModel != "mbeeic")
									mameID := microbeeModel
								If romExtension in .mwb,.com,.bee
									mediaDeviceType := "quik1"
								Else If romExtension in .wav,.tap
									mediaDeviceType := "cass"
								Else If romExtension in .rom
									mediaDeviceType := "cart"
								Else If romExtension in .dsk
									mediaDeviceType := "flop1"
								Else	; .bin format
									mediaDeviceType := "quik2"
								param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """"
							}Else if mameID = odyssey2	; Magnavox Odyssey 2
							{	param2 := " -ui_active" ;Enable partial keyboard mode at startup
							}Else if mameID = astrocde ; Bally Astrocade
							{
								BlueRAMBasicRom := IniReadCheck(mameSysINI, "Settings", "BlueRAMBasicRom","Blue RAM Basic v1.1 (USA).bin",,1)	; Blue RAM Basic rom
								RequiresReset := IniReadCheck(mameSysINI, romname, "RequiresReset","false",,1)	; Check if game requires a reset
					
								BlueRAMBasicRomPath := romPath . "\" . BlueRAMBasicRom
								If (romExtension = .script) {
									;Will require blue ram basic
									If !FileExist(BlueRAMBasicRomPath) {
										;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
										SplitPath,romPath,,romBasePath
										BlueRAMBasicRomPath := CheckFile(romBasePath . "\" . BlueRAMBasicRom, "Couldn't find " . BlueRAMBasicRom . " on any of these paths:" . romBasePath . "|" . romPath)
									}
					
									scriptFile := romPath . "\" . romName . romExtension
									param1 := " -cart """ . BlueRAMBasicRomPath . """"
					
									;Replace rompath variable in script
									FileRead, scriptData, %scriptFile%
									StringReplace, scriptData, scriptData, {romPath}, %romPath%, all
					
									;Create cmd file to send to MESS
									FileDelete, %romPath% . "\" . %romName% . ".cmd"
									FileAppend, %scriptData%, %romPath%\%romName%.cmd
									param2 := " -exp blue_ram_16k -debug -debugscript """ . romPath . "\" . romName . ".cmd"""
									
									closeDebugWindow := "true"
								}
							}
					
							;Use a different bios if needed (This must be done after the above if conditions since the mameID will change)
							iniBios := IniReadCheck(mameSysINI, 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
							If (iniBios != "")
								mameID := iniBios	; need to change the bios name for some games
						}
					
						; These systems don't use an ini, but do require parameters to be changed from the default method of launching MAME
						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
						{	If romExtension not in .chd,.cue
								ScriptError("MAME only supports " . mameSystem . " games in chd and cue format. It does not support:`n" . romExtension)
							If (mameSystem = "NEC TurboGrafx-CD") {		; NEC TurboGrafx-CD needs an additional bios mounted as a cart to run
								; tgcdBios := CheckFile(emuPath . "\roms\CD-ROM System V2.01 (U).pce")	; older bios that doesn't seem to work with many games
								tgcdBios := CheckFile(emuPath . "\roms\Super CD-ROM2 System V3.01 (U).pce")
								param2 := " -cart " . """" . tgcdBios . """"
							} Else If (mameSystem = "NEC PC Engine-CD") {		; NEC PC Engine-CD needs an additional bios mounted as a cart to run
								pcecdBios := CheckFile(emuPath . "\roms\Super CD-ROM2 System V3.0 (J).pce")
								param2 := " -cart " . """" . pcecdBios . """"
							} Else If (mameID = "psx") {		; Sony PlayStation
								mameID = psu	; changing mameID sent to MAME to use the USA bios
								; SelectMemCard()	; future function to swap around memcards
								; Usage: mc1 "J:\MAME\software\psu\card1.mc" 
							} If (mameSystem = "Sega CD") {	; 
								If InStr(romName,"(Jap")	; Mega CD Japanese v2
									mameID = megacd2j
								Else If InStr(romName,"(Euro")	; Mega CD European (PAL)
									mameID = megacd
							}
							param1 := " -cdrm """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = gamecom	; Tiger Game.com
						{	If romExtension != .txt
								param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = genesis	; Sega Genesis
						{	If (InStr(romName, "(Europe") || InStr(romName, "(PAL"))	; if rom is from europe, tell MAME to boot a Mega Drive instead
								mameID = megadriv
						}Else If mameID = megadriv	; Sega Mega Drive
						{	If (InStr(romName, "(USA") || InStr(romName, "(NTSC"))	; if rom is from America, tell MAME to boot a Genesis instead
								mameID = genesis
						}Else If mameID = vii ; JungleTac Sport Vii
						{   If romName = Built-In Games (China)	;  Has some built-in games, gotta launch just BIOS for it.
								param1:=
						}Else If mameID = alice32 ; Matra & Hachette Alice
						{   If romExtension != .txt
								param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = cgenie ; EACA EG2000 Colour Genie
						{   If romExtension != .txt
								param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = pockstat	; Sony PocketStation
						{	If romExtension != .gme
								param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"	
						}Else If mameID = coco3 ; Tandy TRS-80 Color Computer
						{   If romExtension != .txt
								param1 := " -cart """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = zx81 ; Sinclair ZX81
						{   If romExtension != .txt
								param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = lynx128k ; Camputers Lynx
						{   If romExtension != .txt
								param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = vg5k ; Philips VG 5000
						{   If romExtension != .txt
								param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = sorcerer	; Exidy Sorcerer
						{	If romExtension = .snp   ; Snapshot file
								param1 := " -dump """ . romPath . "\" . romName . romExtension . """"
							Else If romExtension = .bin
								param1 := " -quik """ . romPath . "\" . romName . romExtension . """"
						}Else If (mameID = "a800" || mameID = "fds" || mameID = "samcoupe")	; Atari 8-Bit, Nintendo Famicom Disk System, and MGT Sam Coupe
						{	If romExtension != .txt
								param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = vectrex	; GCE Vectrex
						{	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)
								param1:=
						}Else If mameID = apfm1000	; APF Imagination Machine/APF M1000
						{	If romName = Rocket Patrol (USA)	; Rocket Patrol is built into the APF M1000 ROM.
								param1:=
						}Else If mameID = adam		; Coleco ADAM
							param1 := (If romExtension = ".ddp" ? " -cass1" : (If romExtension = ".dsk" ? " -flop1" : " -cart1")) . " """ . romPath . "\" . romName . romExtension . """"	;  Decide if tape, disk, or cart game
						Else If mameID = pegasus	; Aamber Pegasus
						{   If romExtension != .txt
								param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = gp32	; GamePark 32
						{   If romExtension != .txt
								param1 := " -memc """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = svmu	; Sega VMU
						{
							param1 := " -quik """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = x1turbo40	; Sharp X1
						{   If romExtension in .bin,.rom
								param1 := " -cart """ . romPath . "\" . romName . romExtension . """"
							Else If romExtension in .wav,.tap
								param1 := " -cass """ . romPath . "\" . romName . romExtension . """"
							Else
								param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = pc8801    	; NEC PC-8801
						{   If romExtension = .d88
								param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = fmnew7		; Fujitsu FM-7
						{   If romExtension in .fdi,.td0,.imd,.cqm,.dsk,.d77,.d88,.1dd
								param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
							Else If romExtension in .wav,.t77
								param1 := " -cass """ . romPath . "\" . romName . romExtension . """"
						}
					} Else {	; Use Software List
						hashname := mameID
						param1 := " """ . romName . """" ; param1 used for launching from software lists
					
						If mameID = aes	; SNK Neo Geo AES
						{	hashname := "neogeo"
							biosRegion := IniReadCheck(mameSysINI, romName, "BIOS_Region","asia",,1)
							param2 := " -bios " . biosRegion	; can also be japan, but the asian one has english menus for most games
						}
						CheckFile(emuPath . "\hash\" . hashname . ".xml","Could not find a software list for the system " . mameID) ;Check if software list for selected system exists
					}
					
					If mameID = vectrex	; GCE Vectrex
						param2 := " -view "  . (If (FileExist(emuPath . "\artwork\Vectrex\" . romName . ".png"))?("""" . romName . """"):"standard")	; need overlays extracted in the artwork\vectres folder. PNGs must match romName
					
					sysStaticParams := If sysStaticParams != ""  ? A_Space . sysStaticParams : "" ; tacking on a space in case user forgot to add one
					romParams := If romParams != ""  ? A_Space . romParams : "" ; tacking on a space in case user forgot to add one
					
					StringReplace,mameRomPaths,romPathFromIni,|,`"`;`",1	; replace all instances of | to ; in the Rom_Path from RL's Emulators.ini so MAME knows where to find your roms
					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
					
					If InStr(romParams,"-rompath")
						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.")
					If InStr(sysStaticParams,"-rompath")
						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.")
					
					; use a custom rom name, not the one from the db
					If mameRomName {
						FileMove, %romPath%\%romName%%romExtension%, %romPath%\%mameRomName%%romExtension%	; rename rom to match what mame needs
						originalRomName := romName	; store romName from database so we know what to rename it back to later
						romName := mameRomName
						If ErrorLevel
							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)
						Else	; if rename was successful, set var so we know to move it back later
							fileRenamed = 1
					}
					
					; use a custom cfg file if it exists and append it to param1
					IfExist, % emuPath . "\cfg\" . mameID . "\" . dbName
						param1 := " -cfg_directory " . """" . emuPath . "\cfg\" . mameID . "\" . dbName . """" . param1
					
					If bilinearFilter = true
						bilinearEnabled := " -filter"
					Else
						bilinearEnabled := " -nofilter"
					
					If cheatMode = true
					{	If (!FileExist(emuPath . "\cheat.zip") && !FileExist(emuPath . "\cheat.7z"))
							ScriptError("You have cheats enabled for " . MEmu . " but could not locate a ""cheat.zip"" or ""cheat.7z"" in " . emuPath)
						Else
							Log("Module - Cheat file found in " . emuPath,4)
						If cheatModeKey	; if user wants to use a key to enable CheatMode
							cheatEnabled := If XHotkeyAllKeysPressed(cheatModeKey) ? " -cheat" : ""	; only enables cheatMode when key is held down on launch
						Else	; no cheat mode key defined
							cheatEnabled := " -cheat"
					}
					
					If (RequiresReset = "true")
					{
						; Generate a lua script to send a system soft reset
						ScriptFileName := GenerateSoftResetScript()
						bootscript := " -script """ . ScriptFileName . """ -autoboot_delay 1"
					}
					
					HideEmuStart()
					
					If legacyMode = true
					{	Log("Module - Running MAME in legacy Mode")
						errLvl := Run("""" . executable . """ " . (If mameID = "MAME" ? romName : mameID . param1 . param2 . param3 . param4 . param5 . param6) . fullscreenParam . cheatEnabled . volume . mameRomPaths . sysStaticParams . romParams, emuPath, winstate)
					} Else {
						Log("Module - Running MAME in non-legacy mode")
						; If (networkPlayers = 1 || !linkEnabledGame) {
						If !networkSession {
							Log("Module - Single session",4)
							errLvl := Run("""" . executable . """ " . (If mameID = "MAME" ? romName : mameID . param1 . param2 . param3 . param4 . param5 . param6) . mameRomPaths . sysStaticParams . romParams . fullscreenParam . hlsl . glsl . cheatEnabled . volume . inipath . hashpath . verticalRotationMode . videomode . artworkCrop . useBezels . useOverlays . useBackdrops . useCpanels . useMarquees . autosave . bootscript . bilinearEnabled . " -skip_gameinfo", emuPath, winstate)
						} Else { ; multiplayer game run
							Log("Module - Network/MultiPlayer session",4)
							BuildNVRAMObject()	; build nvram object
							;screen positions
							screenPos := []
							screenPos := SplitScreenPos(networkPlayers,splitScreen2PlayersMode,splitScreen3PlayersMode,maxPlayersPerMonitor)
							If (networkType="localLink")
								globalInputs := " -global_inputs"		; tell mame to accept inputs when its window is not focused
							Loop, %networkPlayers%
							{
								currentPlayer := A_Index
								; Update NVRAM setting(s)
								If (enableNVRAMAutomation = "true") {
									If nvramSettings[romName]["Settings"]["Credit"]["Position"].MaxIndex() {	; If nvram settings exist for this game
										nvramFile := emuPath . "\nvram" . (If currentPlayer = 1 ? "" : currentPlayer) . "\" . romName . "\" . nvramSettings[romName]["Settings"]["NVRAM"]["File"][1]
										If FileExist(nvramFile) {
											Log("Module - Checking nvram file(s) for required changes",4)
											If (networkType="localLink") {	; only local link is supported for now
												; Parse through each setting of each player and lookup the position to write new setting to the nvram file
												for playerOptionLabel, selectedPlayerOption in nvramSettings[romName]["Player"][currentPlayer] ;looping on each player selected options
													for index, setting in nvramSettings[romName]["Settings"][playerOptionLabel]["Position"] ;Looping through hex values of the current option 
														HexCompareWrite(nvramFile,nvramSettings[romName]["Settings"][playerOptionLabel]["Position"][index],nvramSettings[romName]["Settings"][playerOptionLabel]["Option"][selectedPlayerOption][index])	
												for index, playerCRC in nvramSettings[romName]["CRC"]["Player"][currentPlayer] ;looping on each player selected options
													HexCompareWrite(nvramFile,nvramSettings[romName]["Settings"]["CRC"]["Position"][index],nvramSettings[romName]["CRC"]["Player"][currentPlayer][index])
											} Else If (networkType="Server") {
												Log("Module - Converting this nvram to ""Master"" in: " . nvramFile,4)
												; Log("Module - NVRAM automation for ""Server"" not supported at this time",4)	; only idea to get this to work is to duplicate nvram edit code from local link here but only set player 1
												HexCompareWrite(nvramFile,nvramSettings[romName]["Settings"]["Link"]["Position"][1],nvramSettings[romName]["Settings"]["Link"]["Option"]["Master"][1])
											} Else If (networkType="Client") {
												Log("Module - Converting this nvram to ""Slave"" in: " . nvramFile,4)
												; Log("Module - NVRAM automation for ""Client"" not supported at this time",4)	; only idea to get this to work is to duplicate nvram edit code from local link here but only set player 2
												HexCompareWrite(nvramFile,nvramSettings[romName]["Settings"]["Link"]["Position"][1],nvramSettings[romName]["Settings"]["Link"]["Option"]["Slave"][1])
											}
										} Else
											Log("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,4)
									} Else
										Log("Module - This rom does not contain an entry in the NVRAM object",4)
								}
								;;Run Line for each of the multiplayer MAME instances using the nvramPath and cfgPath variables to the extra mames
								errLvl := Run("""" . executable . """ " . (If mameID = "MAME" ? romName : mameID . param1 . param2 . param3 . param4 . param5 . param6) . 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", emuPath, winstate, Screen%currentPlayer%PID)
								WinWait("ahk_pid " . Screen%currentPlayer%PID)
							}
					
							ignoreWindows := "MAMEOutput"	; ignore the mame debug window
							Loop, %networkPlayers%
							{
								WinGet, Screen%A_Index%ID, ID, % "ahk_pid " . Screen%A_Index%PID,, %ignoreWindows%
								WinSet, Style, -0xC00000, % "ahk_id " . Screen%A_Index%ID,, %ignoreWindows%
								ToggleMenu(Screen%A_Index%ID)
								WinSet, Style, -0xC40000, % "ahk_id " . Screen%A_Index%ID,, %ignoreWindows%
								MoveWindow("ahk_id " . Screen%A_Index%ID, screenPos[A_Index].X, screenPos[A_Index].Y, screenPos[A_Index].W, screenPos[A_Index].H,,ignoreWindows)
								Sleep, 50
							}
						}
					}
					
					If errLvl {
						If (errLvl = 1)
							Error = Failed Validity
						Else If(errLvl = 2)
							Error = Missing Files
						Else If(errLvl = 3)
							Error = Fatal Error
						Else If(errLvl = 4)
							Error = Device Error
						Else If(errLvl = 5)
							Error = Game Does Not Exist
						Else If(errLvl = 6)
							Error = Invalid Config
						Else If errLvl in 7,8,9
							Error = Identification Error
						Else
							Error = MAME Error
						Log("MAME Error - " . Error,3)
					}
					
					WinWait("ahk_class MAME")
					WinWaitActive("ahk_class MAME")
					
					;Close the debugger window if exists
					If (closeDebugWindow = "true") {
						WinWait("ahk_class MAMEDebugWindow",,2)
						WinClose("ahk_class MAMEDebugWindow")
					}
					
					BezelDraw()
					HideEmuEnd()
					
					If (networkPlayers = 1 || !linkEnabledGame) {
						WinShow, ahk_class MAME	; Show the emulator
					} Else {
						Loop %networkPlayers%
							WinShow, % "ahk_id " . Screen%a_index%ID	; Show the emulator
						WinActivate, ahk_id %Screen1ID%		; activate first player window so that first player can use keyboard instead of last player
					}
					
					FadeInExit()
					Process("WaitClose", executable)
					7zCleanUp()
					BezelExit()
					
					If fileRenamed {	; rename file back to alternate name for next launch
						FileMove, %romPath%\%romName%%romExtension%, %romPath%\%originalRomName%%romExtension%
						If ErrorLevel	; if rename was successful, set var so we know to move it back later
							ScriptError("There was a problem renaming " . romName . " back to " . originalRomName)
					}
					
					FadeOutExit()
					ExitModule()
					
					
					; This will simply create a new blank ini if one does not exist
					CheckFileMAME(file){
						IfNotExist, %file%
							FileAppend,, %file%
						Return file
					}
					
					ListXMLInfo(rom){ ; returns MAME info about parent rom, orientation angle, resolution
						Global emuFullPath, emuPath
						ListXMLObject := Object()
						listXMLVarLog :=
						RunWait, % comspec . " /c " . """" . emuFullPath . """" . " -listxml " . rom . " > tempBezel.txt", %emuPath%, Hide
						Fileread, ListxmlContents, %emuPath%\tempBezel.txt
						RegExMatch(ListxmlContents, "s)<game.*name=" . """" . rom . """" . ".*" . "cloneof=" . """" . "[^""""]*", parent)
						RegExMatch(parent,"cloneof=" . """" . ".*", parent)
						RegExMatch(parent,"""" . ".*", parent)
						StringTrimLeft, parent, parent, 1
						RegExMatch(ListxmlContents, "s)<display.*rotate=" . """" . "[0-9]+" . """", angle)
						RegExMatch(angle,"[0-9]+", angle, "-6")
						RegExMatch(ListxmlContents, "s)<display.*width=" . """" . "[0-9]+" . """", width)
						RegExMatch(width,"[0-9]+", width, "-6")
						RegExMatch(ListxmlContents, "s)<display.*height=" . """" . "[0-9]+" . """", Height)
						RegExMatch(Height,"[0-9]+", Height, "-6")
						RegExMatch(ListxmlContents, "s)<control.*ways=" . """" . "[0-9]+" . """", Ways)
						RegExMatch(Ways,"[0-9]+", Ways, "-6")
						logVars := "Parent|Angle|Height|Width|Ways"
						Loop, Parse, logVars, |
						{
							currentobj:={}
							currentobj.Label := A_Loopfield
							currentobj.Value := %A_Loopfield%
							ListXMLObject.Insert(currentobj["Label"], currentobj)
							listXMLLog .= "`r`n`t`t`t`t`t" . currentobj["Label"] . " = " . currentobj["Value"]
						}
						Log("Module - MAME ListXML values: " . listXMLLog,5)
						If (ListXMLObject["Height"].Value > ListXMLObject["Width"].Value) {
							ListXMLObject["Angle"].Value := true
							Log("Module - This game's height is greater than its width, forcing vertical mode",5)
						}
						FileDelete, %emuPath%\tempBezel.txt
						Return ListXMLObject	
					}
					
					GenerateSoftResetScript(){	; Generates a lua script to send a soft reset to MAME
						Global emuPath
					
						ScriptFileName := emuPath . "\soft_reset.lua"
						FileDelete, %ScriptFileName%
						FileAppend,
						(
						local function reset_machine()
						  if resetcounter == nil then
							manager:machine():soft_reset();  
							resetcounter = 1;
						  end
						end
						if resetcounter == nil then
						  emu.wait(1);
						  reset_machine();
						end
						), %ScriptFileName%
					
						Return, ScriptFileName
					}
					
					BuildNVRAMObject() {
						Global nvramSettings
						Log("BuildNVRAMObject - Started",4)
					
						nvramSettings := {}
					
						nvramSettings["vr"] := {}
						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"]}}}
					
						nvramSettings["vr"]["Player"] := {}
						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"})
						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"})
						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"})
						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"})
						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"})
						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"})
						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"})
						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"})
						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"]}}
					
						nvramSettings["vformula"] := {}
						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"]}}}
					
						nvramSettings["vformula"]["Player"] := {}
						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"})
						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"})
						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"})
						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"})
						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"})
						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"})
						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"})
						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"})
						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"]}}
					
						Log("BuildNVRAMObject - Ended",4)
					}
					
					BezelLabel:
						WinSet, Transparent, 0, ahk_class ConsoleWindowClass
					Return
					
					HaltEmu:
						If pauseMethod = 1
						{	disableSuspendEmu = true
							disableRestoreEmu = true
							PostMessage,0x211, 1, , , ahk_class MAME
						} Else If pauseMethod = 2
						{	disableSuspendEmu = true
							PostMessage,0x211, 1, , , ahk_class MAME
						} Else If pauseMethod = 3
						{	disableSuspendEmu = true
							disableRestoreEmu = true
							PostMessage,% 0x0400+6, 1, , , ahk_class MAME
						} Else If pauseMethod = 4
						{	disableSuspendEmu = true
							PostMessage,% 0x0400+6, 1, , , ahk_class MAME
						} Else If pauseMethod = 5
						{	disableSuspendEmu = true
							Send, {P down}
							Sleep, 1000
							Send, {P up} 
						}
					Return
					RestoreEmu:
						If pauseMethod = 1
						{	PostMessage,0x212, 1, , , ahk_class MAME
							WinActivate, ahk_class MAME
						} Else If pauseMethod = 2
						{	PostMessage,0x212, 1, , , ahk_class MAME
							WinActivate, ahk_class MAME
						} Else If pauseMethod = 3
						{	PostMessage,% 0x0400+6, 0, , , ahk_class MAME
							WinActivate, ahk_class MAME
						} Else If pauseMethod = 4
						{	PostMessage,% 0x0400+6, 0, , , ahk_class MAME
							WinActivate, ahk_class MAME
						} Else If pauseMethod = 5
						{	disableSuspendEmu = true
							Send, {P down}
							Sleep, 1000
							Send, {P up} 
							WinActivate, ahk_class MAME
						} Else If pauseMethod = 6
							WinActivate, ahk_class MAME
					Return
					
					CloseProcess:
						FadeOutStart()
						If (networkSession && networkPlayers > 1) {
							Loop % networkPlayers
							{	WinClose("ahk_id " . Screen%A_Index%ID)
								WinWaitClose("ahk_id " . Screen%A_Index%ID)
							}
						} Else
							WinClose("ahk_class MAME")
					Return

22:26:03:382 | RL |     INFO  | +16    | BuildScript - Loaded Pause scripts
22:26:03:383 | RL |     INFO  | +0     | BuildScript - Loaded Multi-Player scripts
22:26:03:385 | RL |     INFO  | +0     | BuildScript - Loaded Statistics.ahk script
22:26:03:386 | RL |     INFO  | +0     | BuildScript - Loaded User Functions.ahk script
22:26:03:386 | RL |     INFO  | +0     | BuildScript - Finished injecting functions into module
22:26:03:388 | RL |     INFO  | +0     | Main - Module is built
22:26:03:388 | RL |     INFO  | +0     | CheckFile - Checking if D:\RocketLauncher\AutoHotkey.dll exists
22:26:03:389 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
					FileDescription         	AutoHotkey_H ANSI 32-bit
					FileVersion             	1.1.09.04
					InternalName            	AutoHotkey_H
					LegalCopyright          	Copyright (C) 2012
					OriginalFilename        	AutoHotkey.exe
					ProductName             	AutoHotkey_H
					ProductVersion          	1.1.09.04
					File Size:			785408 bytes
					Created:			6/5/2015 - 7:10:40 AM
					Modified:			4/24/2015 - 8:29:48 PM
22:26:03:390 | RL |     INFO  | +0     | Main - Hiding taskbar
22:26:03:500 | RL |     INFO  | +125   | Main - Running module
22:26:03:501 | RL |     INFO  | +0     | Main - Starting timer to watch if Front End gets displaced and restore it if it does.
22:26:03:644 | MD |     INFO  | +N/A   | Module initialized
22:26:03:645 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Started
22:26:03:646 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - KeyGroup ~Esc not in TableKeyGroups 
22:26:03:647 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 1 check
22:26:03:647 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 2 check
22:26:03:647 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Using extended Hotkey method for key(s): "~Esc" to call a group label
22:26:03:648 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Ended
22:26:03:650 | MD |     INFO  | +0     | Keymapper - Creating Custom Joy Name Array for Name Replacements
22:26:03:651 | MD |   DEBUG2  | +0     | Keymapper - Checking for the JoyIDs_Preferred_Controllers key  in D:\RocketLauncher\Settings\MAME\Games JoyIDs.ini under section [digdug]
22:26:03:651 | MD |     INFO  | +0     | LoadPreferredControllers - Started
22:26:03:652 | MD |   DEBUG2  | +0     | LoadPreferredControllers - JoyIDsPreferredControllers = Controller (XBOX 360 For Windows)|p1
22:26:03:652 | MD |   DEBUG2  | +0     | LoadPreferredControllers - Creating a list of currently connected joysticks
22:26:03:652 | MD |     INFO  | +0     | GetJoystickArray - Started
22:26:03:672 | MD |   DEBUG2  | +31    | GetJoystickArray - Joysticks Detected: 0000000000000000
22:26:03:672 | MD |     INFO  | +0     | GetJoystickArray - Ended
22:26:03:673 | MD |     INFO  | +0     | LoadPreferredControllers - Sorting Currently Connected joysticks List to match the order of the Preferred Controller List
22:26:03:673 | MD |     INFO  | +0     | LoadPreferredControllers - Assigning the New Joystick IDs according to the preferred list for the active controllers
22:26:03:674 | MD |     INFO  | +0     | LoadPreferredControllers - Ended
22:26:03:674 | MD |   DEBUG1  | +0     | fadeInTransitionAnimation: DefaultAnimateFadeIn
22:26:03:675 | MD |   DEBUG1  | +0     | fadeOutTransitionAnimation: DefaultAnimateFadeOut
22:26:03:675 | MD |   DEBUG1  | +0     | fadeLyr3Animation: DefaultFadeAnimation
22:26:03:676 | MD |   DEBUG1  | +0     | fadeLyr37zAnimation: DefaultFadeAnimation
22:26:03:676 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Started
22:26:03:677 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - KeyGroup ~NumpadAdd not in TableKeyGroups ~Esc,
22:26:03:677 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 1 check
22:26:03:678 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 2 check
22:26:03:678 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~NumpadAdd" to call label: "TogglePauseMenuStatus"
22:26:03:679 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Ended
22:26:03:679 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Started
22:26:03:680 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - KeyGroup PrintScreen not in TableKeyGroups ~Esc,~NumpadAdd,
22:26:03:680 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 1 check
22:26:03:681 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 2 check
22:26:03:681 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Using standard Hotkey method for key(s): "PrintScreen" to call label: "SaveScreenshot"
22:26:03:681 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Ended
22:26:03:682 | MD |     INFO  | +0     | StartModule - Started
22:26:03:683 | MD |     INFO  | +0     | StartModule - MEmu: MAME
					MEmuV: v0.166
					MURL: http://www.mame.net/
					MAuthor: djvj,faahrev,brolly,Tomkun
					MVersion: 2.2.8
					MCRC: D1345071
					iCRC: FCFD61AB
					MID: 
					MSystem: "AAE","Aamber Pegasus","Acorn Electron","Amstrad GX4000","APF Imagination Machine","Apple IIGS","Applied Technology MicroBee","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","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","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","Funtech Super Acan","GamePark 32","GCE Vectrex","Hartung Game Master","HBMAME","Interton VC 4000","Irem Classics","JungleTac Sport Vii","Konami Classics","LaserDisc","Magnavox Odyssey 2","MAME","Matra & Hachette Alice","Mattel Aquarius","Mattel Intellivision","MGT Sam Coupe","Midway Classics","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 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","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","Super Nintendo Entertainment System","Taito Classics","Tandy TRS-80 Color Computer","Texas Instruments TI 99-4A","Tiger Game.com","Tomy Tutor","VTech CreatiVision","Watara Supervision","Williams Classics"
22:26:03:683 | MD |     INFO  | +0     | StartModule - You have a supported System Name for this module: "MAME"
22:26:03:684 | MD |     INFO  | +0     | PluginInit - Started
22:26:03:685 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Started - Building Table for: Name|Cloneof|Manufacturer|Year|Genre|Rating
22:26:03:685 | MD |     INFO  | +0     | CheckFile - Checking if D:\Hyperspin\Databases\MAME\MAME.xml exists
22:26:03:686 | MD |   DEBUG1  | +0     | CheckFile - Attributes:
					File Size:			2280671 bytes
					Created:			10/24/2015 - 9:59:27 PM
					Modified:			10/23/2015 - 12:15:49 AM
22:26:03:703 | MD |   DEBUG1  | +31    | BuildDatabaseTable - Searching for a "Game Name" in the database
22:26:03:704 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Game Name" in the database!
22:26:03:705 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Name
22:26:03:706 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Name" with a value: "Dig Dug (rev 2)"
22:26:03:706 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Cloneof
22:26:03:706 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Could not find: Cloneof
22:26:03:707 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Manufacturer
22:26:03:707 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Manufacturer" with a value: "Namco"
22:26:03:708 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Year
22:26:03:708 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Year" with a value: "1982"
22:26:03:709 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Genre
22:26:03:709 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Genre" with a value: "Maze"
22:26:03:709 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Rating
22:26:03:710 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Rating" with a value: "AAMA - Green (Suitable For All Ages)"
22:26:03:711 | MD |   DEBUG2  | +0     | PluginInit - GameInfo:
					GameInfo Label: Genre | GameInfo Value: Maze
					GameInfo Label: Manufacturer | GameInfo Value: Namco
					GameInfo Label: Name | GameInfo Value: Dig Dug (rev 2)
					GameInfo Label: Rating | GameInfo Value: AAMA - Green (Suitable For All Ages)
					GameInfo Label: Year | GameInfo Value: 1982
22:26:03:711 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Ended
22:26:03:712 | MD |   DEBUG1  | +0     | BuildAssetsTable - Started - Building Table for: Game Logo|System Logo
22:26:03:712 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Game Logo: D:\Hyperspin\Media\MAME\Images\Wheel\digdug.png
22:26:03:713 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a System Logo: D:\Hyperspin\Media\Main Menu\Images\Wheel\MAME.png
22:26:03:713 | MD |   DEBUG2  | +0     | BuildAssetsTable - Media assets found: 
					Asset Label: Game Logo | Asset Path1:  D:\Hyperspin\Media\MAME\Images\Wheel\digdug.png | Asset Extension1:  png | Asset Type1:  game
					Asset Label: System Logo | Asset Path1:  D:\Hyperspin\Media\Main Menu\Images\Wheel\MAME.png | Asset Extension1:  png | Asset Type1:  system
22:26:03:713 | MD |   DEBUG1  | +0     | BuildAssetsTable - Ended
22:26:03:714 | MD |   DEBUG1  | +0     | BuildAssetsTable - Started - Building Table for: Artwork1|Box Art|Cartridge|Flyers|#disabled#|Other
22:26:03:714 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Artwork1: D:\Hyperspin\Media\MAME\Images\Artwork1\digdug.png
22:26:03:715 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Box Art: D:\Hyperspin\Media\MAME\Images\Artwork2\digdug.png
22:26:03:715 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Cartridge: D:\Hyperspin\Media\MAME\Images\Artwork3\digdug.png
22:26:03:716 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Flyers: D:\Hyperspin\Media\MAME\Images\Artwork4\digdug.png
22:26:03:716 | MD |   DEBUG1  | +0     | BuildAssetsTable - This asset has been disabled: #disabled#
22:26:03:718 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Other: D:\Hyperspin\Media\MAME\Images\Other
22:26:03:718 | MD |   DEBUG2  | +0     | BuildAssetsTable - Media assets found: 
					Asset Label: Other | Asset Path1:  D:\Hyperspin\Media\MAME\Images\Other\Pointer.png | Asset Extension1:  png | Asset Type1:  system
22:26:03:718 | MD |   DEBUG1  | +0     | BuildAssetsTable - Ended
22:26:03:735 | MD |   DEBUG1  | +31    | BuildAssetsTable - Started - Building Table for: MP4 Game Video|#disabled#
22:26:03:735 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a MP4 Game Video: D:\Hyperspin\Media\MAME\Video\digdug.* 
22:26:03:736 | MD |   DEBUG1  | +0     | BuildAssetsTable - This asset has been disabled: #disabled#
22:26:03:736 | MD |   DEBUG2  | +0     | BuildAssetsTable - Media assets found: 
					Asset Label: MP4 Game Video | Asset Path1:  D:\Hyperspin\Media\MAME\Video\digdug.mp4 | Asset Extension1:  mp4 | Asset Type1:  game
22:26:03:737 | MD |   DEBUG1  | +0     | BuildAssetsTable - Ended
22:26:03:737 | MD |     INFO  | +0     | PluginInit - Ended
22:26:03:738 | MD |   DEBUG1  | +0     | StartModule - Setting romName to the dbName sent to RocketLauncher: digdug
22:26:03:738 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Started
22:26:03:739 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - KeyGroup ~e&~t not in TableKeyGroups ~Esc,~NumpadAdd,PrintScreen,
22:26:03:739 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 1 check
22:26:03:740 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 2 check
22:26:03:740 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~e & ~t" to call label: "ToggleCursor"
22:26:03:741 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Ended
22:26:03:743 | MD |     INFO  | +0     | StartModule - Ended
22:26:03:743 | MD |   DEBUG1  | +0     | Module - Finished building the MAME object
22:26:03:744 | MD |  WARNING  | +0     | Module - "MAME" is not a known console or computer system. Defaulting to MAME's Arcade mode for the remainder of this MAME module.
22:26:03:745 | MD |     INFO  | +0     | Module Setting - [Settings] - Fullscreen: true
22:26:03:745 | MD |     INFO  | +0     | Module Setting - [Settings] - LegacyMode: false
22:26:03:746 | MD |     INFO  | +0     | Module Setting - [MAME] - LegacyMode: false
22:26:03:746 | MD |     INFO  | +0     | Module Setting - [digdug] - LegacyMode: false
22:26:03:747 | MD |     INFO  | +0     | Module Setting - [Settings] - MAME_BIOS_Path: D:\Emulators\MAMEUIFX\roms
22:26:03:747 | MD |     INFO  | +0     | Module Setting - [Settings] - Videomode: d3d
22:26:03:748 | MD |     INFO  | +0     | Module Setting - [Settings] - PauseMethod: 4
22:26:03:748 | MD |     INFO  | +0     | Module Setting - [Settings] - BilinearFilter: false
22:26:03:749 | MD |     INFO  | +0     | Module Setting - [MAME] - BilinearFilter: false
22:26:03:749 | MD |     INFO  | +0     | Module Setting - [Settings] - HLSL: false
22:26:03:767 | MD |     INFO  | +32    | Module Setting - [MAME] - HLSL: false
22:26:03:767 | MD |     INFO  | +0     | Module Setting - [digdug] - HLSL: false
22:26:03:768 | MD |     INFO  | +0     | Module Setting - [Settings] - GLSL: false
22:26:03:768 | MD |     INFO  | +0     | Module Setting - [MAME] - GLSL: false
22:26:03:769 | MD |     INFO  | +0     | Module Setting - [digdug] - GLSL: false
22:26:03:769 | MD |     INFO  | +0     | Module Setting - [Settings] - BezelMode: normal
22:26:03:770 | MD |     INFO  | +0     | Module Setting - [MAME] - BezelMode: normal
22:26:03:770 | MD |     INFO  | +0     | Module Setting - [digdug] - BezelMode: normal
22:26:03:771 | MD |     INFO  | +0     | Module Setting - [Settings] - VerticalRotationMode: none
22:26:03:771 | MD |     INFO  | +0     | Module Setting - [MAME] - VerticalRotationMode: none
22:26:03:772 | MD |     INFO  | +0     | Module Setting - [digdug] - VerticalRotationMode: none
22:26:03:772 | MD |     INFO  | +0     | Module Setting - [Settings] - CheatMode: true
22:26:03:773 | MD |     INFO  | +0     | Module Setting - [Settings] - CheatModeKey: Y
22:26:03:773 | MD |     INFO  | +0     | Module Setting - [MAME] - UseSoftwareList: false
22:26:03:773 | MD |     INFO  | +0     | Module Setting - [digdug] - UseSoftwareList: false
22:26:03:774 | MD |     INFO  | +0     | Module Setting - [MAME] - StaticParameters: 
22:26:03:774 | MD |     INFO  | +0     | Module Setting - [MAME] - Parameters: -rotate
22:26:03:775 | MD |     INFO  | +0     | Module Setting - [digdug] - Parameters: -rotate
22:26:03:775 | MD |     INFO  | +0     | Module Setting - [digdug] - MameRomName: 
22:26:03:776 | MD |     INFO  | +0     | Module Setting - [MAME] - Autosave: false
22:26:03:776 | MD |     INFO  | +0     | Module Setting - [digdug] - Autosave: false
22:26:03:777 | MD |     INFO  | +0     | Module Setting - [Settings] - Volume: 
22:26:03:777 | MD |     INFO  | +0     | Module Setting - [MAME] - Volume: 
22:26:03:778 | MD |     INFO  | +0     | Module Setting - [digdug] - Volume: 
22:26:03:778 | MD |     INFO  | +0     | Module Setting - [MAME] - Artwork_Crop: true
22:26:03:779 | MD |     INFO  | +0     | Module Setting - [digdug] - Artwork_Crop: true
22:26:03:779 | MD |     INFO  | +0     | Module Setting - [MAME] - Use_Bezels: false
22:26:03:780 | MD |     INFO  | +0     | Module Setting - [digdug] - Use_Bezels: false
22:26:03:780 | MD |     INFO  | +0     | Module Setting - [MAME] - Use_Overlays: true
22:26:03:798 | MD |     INFO  | +31    | Module Setting - [digdug] - Use_Overlays: true
22:26:03:798 | MD |     INFO  | +0     | Module Setting - [MAME] - Use_Backdrops: true
22:26:03:799 | MD |     INFO  | +0     | Module Setting - [digdug] - Use_Backdrops: true
22:26:03:799 | MD |     INFO  | +0     | Module Setting - [MAME] - Use_Cpanels: false
22:26:03:800 | MD |     INFO  | +0     | Module Setting - [digdug] - Use_Cpanels: false
22:26:03:800 | MD |     INFO  | +0     | Module Setting - [MAME] - Use_Marquees: false
22:26:03:801 | MD |     INFO  | +0     | Module Setting - [digdug] - Use_Marquees: false
22:26:03:802 | MD |     INFO  | +0     | Module Setting - [MAME] - IniPath: .\ini
22:26:03:802 | MD |     INFO  | +0     | Module Setting - [MAME] - HashPath: 
22:26:03:803 | MD |     INFO  | +0     | Module Setting - [Link/Network] - Enable_Link_Play: false
22:26:03:803 | MD |     INFO  | +0     | Module Setting - [digdug] - Enable_Link_Play: false
22:26:03:804 | MD |   DEBUG1  | +0     | FadeInStart - Started
22:26:03:804 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Started
22:26:03:805 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - KeyGroup ~NumpadAdd is in TableKeyGroups ~Esc,~NumpadAdd,PrintScreen,~e&~t,
22:26:03:805 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 10 check
22:26:03:806 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Disabled Hotkey for: "~NumpadAdd"
22:26:03:806 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 11 check
22:26:03:807 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Disabling "TogglePauseMenuStatus" standard Hotkey method for key(s): "~NumpadAdd"
22:26:03:807 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 12 check
22:26:03:808 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Ended
22:26:03:808 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Started
22:26:03:809 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - KeyGroup ~Esc is in TableKeyGroups ~Esc,~NumpadAdd,PrintScreen,~e&~t,
22:26:03:809 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 10 check
22:26:03:810 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 11 check
22:26:03:810 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Disabling extended Hotkey method for key(s): "~Esc"
22:26:03:811 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 12 check
22:26:03:811 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Ended
22:26:03:828 | MD |   DEBUG1  | +31    | FadeInStart - No keys were set to interrupt fade so ability to interrupt fade is disabled
22:26:03:829 | MD |   DEBUG2  | +0     | FadeInStart - Fade screen scale factor: X=1.000000, Y= 1.000000
22:26:03:829 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 1 images exist in: D:\RocketLauncher\Media\Fade\MAME\digdug\Layer 1*.*
22:26:03:830 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 1 images exist in: D:\RocketLauncher\Media\Fade\MAME\_Default\Horizontal\Layer 1*.*
22:26:03:830 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 1 images exist in: D:\RocketLauncher\Media\Fade\MAME\_Default\Layer 1*.*
22:26:03:830 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 1 images exist in: D:\RocketLauncher\Media\Fade\_Default\Horizontal\Layer 1*.*
22:26:03:831 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 1 images exist in: D:\RocketLauncher\Media\Fade\_Default\Layer 1*.*
22:26:03:832 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 1 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 1*.png
22:26:03:832 | MD |   DEBUG1  | +0     | GetFadePicFile - Found Fade Layer 1 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 1.png
22:26:03:833 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 1 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 1*.gif
22:26:03:833 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 1 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 1*.tif
22:26:03:834 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 1 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 1*.bmp
22:26:03:834 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 1 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 1*.jpg
22:26:03:835 | MD |     INFO  | +0     | GetFadePicFile - Randomized images and Fade  will use D:\RocketLauncher\Media\Fade\_Default\Layer 1.png
22:26:03:835 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 2 images exist in: D:\RocketLauncher\Media\Fade\MAME\digdug\Layer 2*.*
22:26:03:836 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 2 images exist in: D:\RocketLauncher\Media\Fade\MAME\_Default\Horizontal\Layer 2*.*
22:26:03:836 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 2 images exist in: D:\RocketLauncher\Media\Fade\MAME\_Default\Layer 2*.*
22:26:03:837 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 2 images exist in: D:\RocketLauncher\Media\Fade\_Default\Horizontal\Layer 2*.*
22:26:03:837 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 2 images exist in: D:\RocketLauncher\Media\Fade\_Default\Layer 2*.*
22:26:03:837 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 2 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 2*.png
22:26:03:838 | MD |   DEBUG1  | +0     | GetFadePicFile - Found Fade Layer 2 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 2 (HS alt).png
22:26:03:839 | MD |   DEBUG1  | +0     | GetFadePicFile - Found Fade Layer 2 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 2.png
22:26:03:839 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 2 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 2*.gif
22:26:03:839 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 2 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 2*.tif
22:26:03:840 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 2 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 2*.bmp
22:26:03:840 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 2 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 2*.jpg
22:26:03:841 | MD |     INFO  | +0     | GetFadePicFile - Randomized images and Fade  will use D:\RocketLauncher\Media\Fade\_Default\Layer 2.png
22:26:03:954 | MD |     INFO  | +125   | DefaultAnimateFadeIn - Started, direction is: in
22:26:03:954 | MD |     INFO  | +0     | DefaultAnimateFadeIn - Drawing First FadeIn Image.
22:26:04:457 | MD |     INFO  | +500   | DefaultAnimateFadeIn - Ended
22:26:04:489 | MD |     INFO  | +31    | DefaultFadeAnimation - Started
22:26:04:490 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Info Bar images exist in: D:\RocketLauncher\Media\Fade\MAME\digdug\Info Bar*.*
22:26:04:490 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Info Bar images exist in: D:\RocketLauncher\Media\Fade\MAME\_Default\Horizontal\Info Bar*.*
22:26:04:491 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Info Bar images exist in: D:\RocketLauncher\Media\Fade\MAME\_Default\Info Bar*.*
22:26:04:491 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Info Bar images exist in: D:\RocketLauncher\Media\Fade\_Default\Horizontal\Info Bar*.*
22:26:04:492 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Info Bar images exist in: D:\RocketLauncher\Media\Fade\_Default\Info Bar*.*
22:26:04:492 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Info Bar pic: D:\RocketLauncher\Media\Fade\_Default\Info Bar*.png
22:26:04:493 | MD |   DEBUG1  | +0     | GetFadePicFile - Found Fade Info Bar pic: D:\RocketLauncher\Media\Fade\_Default\Info Bar.png
22:26:04:493 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Info Bar pic: D:\RocketLauncher\Media\Fade\_Default\Info Bar*.gif
22:26:04:494 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Info Bar pic: D:\RocketLauncher\Media\Fade\_Default\Info Bar*.tif
22:26:04:494 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Info Bar pic: D:\RocketLauncher\Media\Fade\_Default\Info Bar*.bmp
22:26:04:495 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Info Bar pic: D:\RocketLauncher\Media\Fade\_Default\Info Bar*.jpg
22:26:04:495 | MD |     INFO  | +0     | GetFadePicFile - Randomized images and Fade  will use D:\RocketLauncher\Media\Fade\_Default\Info Bar.png
22:26:04:499 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 3 images exist in: D:\RocketLauncher\Media\Fade\MAME\digdug\Layer 3*.*
22:26:04:517 | MD |   DEBUG1  | +32    | GetFadePicFile - Checking if any Fade Layer 3 images exist in: D:\RocketLauncher\Media\Fade\MAME\_Default\Horizontal\Layer 3*.*
22:26:04:518 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 3 images exist in: D:\RocketLauncher\Media\Fade\MAME\_Default\Layer 3*.*
22:26:04:518 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 3 images exist in: D:\RocketLauncher\Media\Fade\_Default\Horizontal\Layer 3*.*
22:26:04:519 | MD |   DEBUG1  | +0     | GetFadePicFile - Checking if any Fade Layer 3 images exist in: D:\RocketLauncher\Media\Fade\_Default\Layer 3*.*
22:26:04:519 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 3 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 3*.png
22:26:04:520 | MD |   DEBUG1  | +0     | GetFadePicFile - Found Fade Layer 3 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 3.png
22:26:04:520 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 3 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 3*.gif
22:26:04:521 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 3 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 3*.tif
22:26:04:521 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 3 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 3*.bmp
22:26:04:528 | MD |   DEBUG1  | +0     | GetFadePicFile - Looking for Fade Layer 3 pic: D:\RocketLauncher\Media\Fade\_Default\Layer 3*.jpg
22:26:04:529 | MD |     INFO  | +0     | GetFadePicFile - Randomized images and Fade  will use D:\RocketLauncher\Media\Fade\_Default\Layer 3.png
22:26:04:559 | MD |   DEBUG1  | +31    | FadeInDelay - Started
22:26:04:560 | MD |   DEBUG1  | +0     | FadeInDelay - Ended
22:26:04:561 | MD |     INFO  | +0     | DefaultFadeAnimation - Ended
22:26:04:561 | MD |   DEBUG1  | +0     | FadeInStart - Ended
22:26:04:562 | MD |     INFO  | +0     | DxwndUpdateIniPath - DxwndIni set to D:\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini
22:26:04:562 | MD |     INFO  | +0     | StartGlobalUserFeatures - Starting
22:26:04:584 | MD |     INFO  | +31    | StartGlobalUserFeatures - Ending
22:26:04:585 | MD |   DEBUG1  | +0     | CoverFE - Started
22:26:04:589 | MD |   DEBUG1  | +0     | CoverFE - Ended
22:26:04:590 | MD |     INFO  | +0     | Module Setting - [digdug] - Parameters: -rotate
22:26:04:590 | MD |     INFO  | +0     | Module Setting - [digdug] - HLSL: false
22:26:04:591 | MD |     INFO  | +0     | Module Setting - [digdug] - GLSL: false
22:26:04:591 | MD |     INFO  | +0     | Module Setting - [digdug] - Artwork_Crop: true
22:26:04:592 | MD |     INFO  | +0     | Module Setting - [digdug] - Use_Bezels: false
22:26:04:592 | MD |     INFO  | +0     | Module Setting - [digdug] - Use_Overlays: true
22:26:04:593 | MD |     INFO  | +0     | Module Setting - [digdug] - Use_Backdrops: true
22:26:04:594 | MD |     INFO  | +0     | Module Setting - [digdug] - Use_Cpanels: false
22:26:04:622 | MD |     INFO  | +31    | Module Setting - [digdug] - Use_Marquees: false
22:26:04:623 | MD |     INFO  | +0     | Module Setting - [digdug] - UseSoftwareList: false
22:26:04:623 | MD |     INFO  | +0     | Module - Detected MAME Product Version from 'D:\Emulators\MAMEUIFX\MAMEUIFX .166 x64 NoNag.exe' is 166
22:26:04:624 | MD |   DEBUG1  | +0     | Module - Cheat file found in D:\Emulators\MAMEUIFX
22:26:04:624 | MD |   DEBUG2  | +0     | XHotkeyAllKeysPressed - Started, checking for these keys to be pressed: "Y"
22:26:04:642 | MD |   DEBUG2  | +32    | XHotkeyAllKeysPressed - Ended: Keys being checked were not pressed
22:26:04:643 | MD |     INFO  | +0     | Module - Running MAME in non-legacy mode
22:26:04:644 | MD |   DEBUG1  | +0     | Module - Single session
22:26:04:644 | MD |     INFO  | +0     | Run - Running: D:\Emulators\MAMEUIFX\"MAMEUIFX .166 x64 NoNag.exe" digdug -rompath "D:\Games\Mame\roms;D:\Emulators\MAMEUIFX\roms" -rotate -nowindow -nohlsl_enable -nogl_glsl -inipath "D:\Emulators\MAMEUIFX\ini" -video d3d -artwork_crop -nouse_bezels -use_overlays -use_backdrops -nouse_cpanels -nouse_marquees -nofilter -skip_gameinfo
22:26:04:653 | MD |   DEBUG1  | +0     | Run - ""MAMEUIFX .166 x64 NoNag.exe" digdug -rompath "D:\Games\Mame\roms;D:\Emulators\MAMEUIFX\roms" -rotate -nowindow -nohlsl_enable -nogl_glsl -inipath "D:\Emulators\MAMEUIFX\ini" -video d3d -artwork_crop -nouse_bezels -use_overlays -use_backdrops -nouse_cpanels -nouse_marquees -nofilter -skip_gameinfo" Process ID: 3956
22:26:04:654 | MD |   DEBUG1  | +0     | GetActiveWindowStatus - Title: CoverFE | Class: AutoHotkeyGUI | State: 0 | X: 0 | Y: 0 | Width: 1920 | Height: 1080 | Window HWND: 0xc123da | Process ID: 10580 | Process Path: D:\RocketLauncher\RocketLauncher.exe
22:26:04:654 | MD |     INFO  | +0     | WinWait - Waiting for "ahk_class MAME"
22:26:04:672 | MD |     INFO  | +31    | DefaultFadeAnimationLoop - Playing 7z fade complete sound: D:\RocketLauncher\Media\Fade\_Default\7z complete.mp3
22:26:04:846 | MD |   DEBUG1  | +172   | GetActiveWindowStatus - Title: MAME: Dig Dug (rev 2) [digdug] | Class: MAME | State: 0 | X: -1920 | Y: 0 | Width: 1920 | Height: 1080 | Window HWND: 0xd2504 | Process ID: 3956 | Process Path: D:\Emulators\MAMEUIFX\MAMEUIFX .166 x64 NoNag.exe
22:26:04:847 | MD |   DEBUG1  | +0     | GetActiveWindowStatus - Title: MAME: Dig Dug (rev 2) [digdug] | Class: MAME | State: 0 | X: -1920 | Y: 0 | Width: 1920 | Height: 1080 | Window HWND: 0xd2504 | Process ID: 3956 | Process Path: D:\Emulators\MAMEUIFX\MAMEUIFX .166 x64 NoNag.exe
22:26:04:848 | MD |     INFO  | +0     | WinWaitActive - Waiting for "ahk_class MAME"
22:26:04:955 | MD |   DEBUG1  | +109   | GetActiveWindowStatus - Title: MAME: Dig Dug (rev 2) [digdug] | Class: MAME | State: 0 | X: -1920 | Y: 0 | Width: 1920 | Height: 1080 | Window HWND: 0xd2504 | Process ID: 3956 | Process Path: D:\Emulators\MAMEUIFX\MAMEUIFX .166 x64 NoNag.exe
22:26:05:558 | MD |   DEBUG1  | +594   | DefaultFadeAnimationLoop - Fade Layer 3 is drawn so animation loop is finished.
22:26:05:736 | MD |   DEBUG1  | +187   | FadeInExit - Started
22:26:05:737 | MD |   DEBUG1  | +0     | FadeInExit - fadeInExitDelay started
22:26:05:739 | MD |   DEBUG1  | +0     | DefaultFadeAnimationLoop - AnimationLoop has finished
22:26:05:740 | MD |   DEBUG1  | +0     | DefaultFadeAnimationLoop - Ended
22:26:05:746 | MD |   DEBUG1  | +0     | DefaultFadeAnimationLoop - Fade Layer 3 is drawn so animation loop is finished.
22:26:06:505 | MD |   DEBUG1  | +766   | FadeInExit - fadeInExitDelay ended
22:26:06:704 | MD |     INFO  | +203   | DefaultAnimateFadeIn - Started, direction is: out
22:26:07:207 | MD |     INFO  | +500   | DefaultAnimateFadeIn - Ended
22:26:07:249 | MD |   DEBUG2  | +31    | XHotkeyTableCreation - Started
22:26:07:249 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - KeyGroup ~NumpadAdd is in TableKeyGroups ~Esc,~NumpadAdd,PrintScreen,~e&~t,
22:26:07:250 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 10 check
22:26:07:250 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Disabled Hotkey for: "~NumpadAdd"
22:26:07:266 | MD |   DEBUG2  | +32    | XHotkeyTableCreation - Post loop 11 check
22:26:07:266 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~NumpadAdd" to call label: "TogglePauseMenuStatus"
22:26:07:267 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 12 check
22:26:07:267 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Ended
22:26:07:267 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Started
22:26:07:268 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - KeyGroup ~Esc is in TableKeyGroups ~Esc,~NumpadAdd,PrintScreen,~e&~t,
22:26:07:268 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 10 check
22:26:07:269 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 11 check
22:26:07:269 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Using extended Hotkey method for key(s): "~Esc" to call a group label
22:26:07:270 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 12 check
22:26:07:270 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Ended
22:26:07:271 | MD |   DEBUG1  | +0     | FadeInExit - Ended, waiting for user to close launched application
22:26:07:271 | MD |     INFO  | +0     | Process - WaitClose MAMEUIFX .166 x64 NoNag.exe 
22:26:12:783 | MD |     INFO  | +5515  | StopGlobalUserFeatures - Starting
22:26:12:784 | MD |     INFO  | +0     | StopGlobalUserFeatures - Ending
22:26:12:785 | MD |     INFO  | +0     | ExitModule - Started
22:26:12:788 | MD |     INFO  | +0     | Starting Updating Statistics:
22:26:12:789 | MD |   DEBUG2  | +0     | Total Elapsed Time in Pause in seconds: 0
22:26:12:790 | MD |   DEBUG2  | +0     | gameSectionStartTime:31263328
22:26:12:790 | MD |   DEBUG2  | +0     | ElapsedTime:5
22:26:12:791 | MD |   DEBUG2  | +0     | Statistics cleared game name: digdug
22:26:12:822 | MD |   DEBUG2  | +32    | Loaded game statistics from ini files:
					Number_of_Times_Played: 3
					Last_Time_Played: Sunday December 6, 2015 10:24:43 PM
					Average_Time_Played: 4
					Total_Time_Played: 12
					System_Total_Played_Time: 9928
					Total_Global_Played_Time: 4741
22:26:12:823 | MD |   DEBUG2  | +0     | Updated Statistics: Number_of_Times_Played: 4
					Last_Time_Played: Sunday December 6, 2015 10:26:07 PM
					Average_Time_Played: 4
					Total_Time_Played: 17
					System_Total_Played_Time: 9933
					Total_Global_Played_Time: 4746
22:26:12:855 | MD |     INFO  | +31    | Game section statistics updated.
22:26:12:856 | MD |     INFO  | +0     | ExitModule - Ended
22:26:12:856 | MD |     INFO  | +0     | End of Module Logs
22:26:12:891 | RL |     INFO  | +9391  | Main - Module ended, exiting RocketLauncher normally
22:26:12:891 | RL |     INFO  | +0     | ExitScript - Started
22:26:13:116 | RL |   DEBUG1  | +218   | ExitScript - Unhiding taskbar
22:26:13:240 | RL |     INFO  | +125   | SystemCursor - Restoring mouse cursor
22:26:13:246 | RL |     INFO  | +0     | ExitScript - Ended
[/CODE]
 

djvj

Administrator
Staff member
Developer
RL will move your application to your primary display, which it sounds like is happening. There is no setting for this so you need to make sure your main display is the one you want you applications to use.
 

jeremy0203

New member
Supporter
RL Member
Well damn that sucks. Possible to maybe add in the future the ability to utilize other screens? Sort of like how Pause can do now.
 

djvj

Administrator
Staff member
Developer
Yes something like that can be looked into. Won't happen for awhile though as bleasby is busy for the next month or so.
 

bleasby

RocketLauncher Developer
Developer
Jeremy, when released, RocketLauncher v1.0.1.5 will include an option to define the monitor that you want to display the game, whenever you are running the game with bezel is enabled.

edit: The option to choose which monitor use to display the game when bezel is active is live and can be found at:
RocketLauncherUI > Settings > Bezel > Multi-screen > Bezel Monitor

Just set it to the monitor number that you want to display your game, and let RocketLauncher arrange the bezel and game windows appropriately.
 
Last edited:
Status
Not open for further replies.
Top