Jump to content

libreto/mess errors could not locate file


skylinekiller

Recommended Posts

Posted

I am using RetroArch 1.32.  latest Hypespin/RocketLauncher.  Retro works with 32X and some others, but not with these.  I am getting these errors.   I also have a similar error with MAME when trying to launch Aamber Pegasus and a few other emulators....It opens and closes real quick.  MAME works on MAME roms just fine.  

 

RetroArch error log file

16:56:52:812 | RL |     INFO  | +N/A   | Main - RocketLauncher v1.0.1.5a (www.rlauncher.com)
16:56:53:070 | RL |     INFO  | +250   | Main - System Specs:
RocketLauncher Dir: L:\RocketLauncher
RocketLauncher is: 32-bit
OS: Microsoft Windows 10 Pro
SKU: Professional
Total Memory: 65474.39 MB
Free Memory: 51145.36 MB
Used Memory: 14329.027 MB
SystemType: 64-bit
Physical Processors: 1
Logical Processors: 12
GPU 1 Name: NVIDIA GeForce GTX 660 Ti
GPU 1 RAM: -2048.00 MB
GPU 1 Driver Version: 10.18.13.5354
Sound 1 Device: High Definition Audio Device
Sound 1 Status: Enabled
Sound 2 Device: NVIDIA High Definition Audio
Sound 2 Status: Enabled
Sound 3 Device: Apowersoft_AudioDevice
Sound 3 Status: Enabled
OS Language: English_United_States
System Locale: en-US
Formats Locale: en-US
Windows UI Language: en-US
Text Encoding: Windows-1252
OS Admin Status: No
Latest .Net Version: v4.0.30319
Monitor #1 (\\.\DISPLAY1): 1680x1050 (1680x1010 work) [32bit] [60hz] [Landscape]
Monitor #2 (\\.\DISPLAY2): 1680x1050 (1680x1010 work) [32bit] [60hz] [Landscape]  (Primary)
Current AHK Desktop Width: 1680
Current AHK Desktop Height: 1050
AutoHotkey Path:
AHK Version: 1.1.09.04
Unicode: No
16:56:53:070 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\RocketLauncher.exe exists
16:56:53:070 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
FileDescription          RocketLauncher
FileVersion              1.0.1.5
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: 2077184 bytes
Created: 3/24/2016 - 7:19:19 PM
Modified: 3/24/2016 - 7:19:28 PM
16:56:53:070 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\RocketLauncher.dll exists
16:56:53:070 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
FileDescription          RocketLauncher Utils
FileVersion              1.0.0.2
InternalName             RocketLauncher.dll
LegalCopyright           Copyright � RocketLauncher 2013-2015
OriginalFilename         RocketLauncher.dll
ProductName              RocketLauncher
ProductVersion           1.0.0.2
File Size: 61440 bytes
Created: 3/24/2016 - 6:38:09 PM
Modified: 12/23/2015 - 5:41:58 PM
16:56:53:089 | RL |     INFO  | +31    | CheckFile - Checking if L:\RocketLauncher\Module Extensions\Array.ahk exists
16:56:53:090 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
16:56:53:090 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 4924 bytes
Created: 3/24/2016 - 6:38:08 PM
Modified: 2/20/2011 - 3:35:02 PM
16:56:53:090 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\BinHexRW.ahk exists
16:56:53:109 | RL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:110 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 5077 bytes
Created: 3/24/2016 - 6:38:08 PM
Modified: 10/16/2015 - 4:18:09 AM
16:56:53:110 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\BlockInput.exe exists
16:56:53:110 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
FileDescription
FileVersion              1.1.09.04
InternalName
OriginalFilename
ProductName
ProductVersion           1.1.09.04
File Size: 657920 bytes
Created: 3/24/2016 - 6:38:08 PM
Modified: 1/3/2014 - 12:27:34 PM
16:56:53:110 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\CLR_L.ahk exists
16:56:53:110 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
16:56:53:128 | RL |   DEBUG1  | +16    | CheckFile - Attributes:
File Size: 5474 bytes
Created: 3/24/2016 - 6:38:08 PM
Modified: 8/25/2015 - 9:55:08 AM
16:56:53:130 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\Control_AniGif.ahk exists
16:56:53:131 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
16:56:53:131 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 5716 bytes
Created: 3/24/2016 - 6:38:08 PM
Modified: 4/30/2013 - 3:56:02 AM
16:56:53:131 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\gdip.ahk exists
16:56:53:131 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
16:56:53:148 | RL |   DEBUG1  | +16    | CheckFile - Attributes:
File Size: 88789 bytes
Created: 3/24/2016 - 6:38:08 PM
Modified: 1/14/2013 - 7:07:30 AM
16:56:53:150 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\gdip_alt.ahk exists
16:56:53:151 | RL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:151 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 5891 bytes
Created: 3/24/2016 - 6:38:08 PM
Modified: 12/21/2015 - 1:08:03 PM
16:56:53:151 | RL |   DEBUG1  | +0     | gdip_alt.ahk Version: 1.0.3
16:56:53:151 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\gsdll32.dll exists
16:56:53:151 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 13090816 bytes
Created: 3/24/2016 - 6:38:08 PM
Modified: 1/7/2015 - 11:20:42 AM
16:56:53:151 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\itextsharp.dll exists
16:56:53:169 | RL |   DEBUG1  | +16    | 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: 3/24/2016 - 6:38:09 PM
Modified: 6/15/2013 - 4:06:21 AM
16:56:53:171 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\Java.ahk exists
16:56:53:176 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:180 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 7841 bytes
Created: 3/24/2016 - 6:38:09 PM
Modified: 12/24/2014 - 1:02:37 PM
16:56:53:182 | RL |   DEBUG1  | +0     | Java.ahk Version: 1.0.0
16:56:53:182 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\JSON.ahk exists
16:56:53:182 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
16:56:53:182 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 9203 bytes
Created: 3/24/2016 - 6:38:09 PM
Modified: 5/6/2013 - 4:22:25 AM
16:56:53:182 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\Origin.ahk exists
16:56:53:199 | RL |   DEBUG1  | +31    | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:202 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 4904 bytes
Created: 3/24/2016 - 6:38:09 PM
Modified: 3/23/2015 - 4:51:41 AM
16:56:53:202 | RL |   DEBUG1  | +0     | Origin.ahk Version: 1.0.2
16:56:53:202 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\RegRW64.ahk exists
16:56:53:202 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
16:56:53:202 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 6915 bytes
Created: 3/24/2016 - 6:38:09 PM
Modified: 5/8/2014 - 5:06:39 PM
16:56:53:219 | RL |     INFO  | +16    | CheckFile - Checking if L:\RocketLauncher\Module Extensions\RIni.ahk exists
16:56:53:222 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
16:56:53:228 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 67561 bytes
Created: 3/24/2016 - 6:38:09 PM
Modified: 6/6/2013 - 8:56:23 AM
16:56:53:230 | RL |     INFO  | +15    | CheckFile - Checking if L:\RocketLauncher\Module Extensions\SevenZipSharp.dll exists
16:56:53:233 | 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: 3/24/2016 - 6:38:09 PM
Modified: 9/29/2015 - 11:35:11 AM
16:56:53:235 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\Steam.ahk exists
16:56:53:240 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:243 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 5347 bytes
Created: 3/24/2016 - 6:38:09 PM
Modified: 3/23/2015 - 4:52:25 AM
16:56:53:245 | RL |   DEBUG1  | +16    | Steam.ahk Version: 1.0.2
16:56:53:247 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\VA.ahk exists
16:56:53:252 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
16:56:53:252 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 34688 bytes
Created: 3/24/2016 - 6:38:09 PM
Modified: 3/2/2013 - 11:05:47 AM
16:56:53:252 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\VA_Extension.ahk exists
16:56:53:252 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:252 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 3833 bytes
Created: 3/24/2016 - 6:38:09 PM
Modified: 1/14/2015 - 10:16:56 AM
16:56:53:252 | RL |   DEBUG1  | +0     | VA_Extension.ahk Version: 1.0.1
16:56:53:268 | RL |     INFO  | +16    | CheckFile - Checking if L:\RocketLauncher\Lib\7z.ahk exists
16:56:53:273 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:273 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 30311 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 1/11/2016 - 2:40:26 PM
16:56:53:273 | RL |   DEBUG1  | +0     | 7z.ahk Version: 1.0.3
16:56:53:273 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Bezel.ahk exists
16:56:53:289 | RL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:292 | RL |   DEBUG1  | +16    | CheckFile - Attributes:
File Size: 113706 bytes
Created: 3/24/2016 - 7:19:15 PM
Modified: 3/24/2016 - 7:19:17 PM
16:56:53:293 | RL |   DEBUG1  | +0     | Bezel.ahk Version: 1.1.11
16:56:53:293 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Fade.ahk exists
16:56:53:293 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:293 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 38464 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 1/16/2016 - 12:53:46 PM
16:56:53:293 | RL |   DEBUG1  | +0     | Fade.ahk Version: 1.1.5
16:56:53:310 | RL |     INFO  | +16    | CheckFile - Checking if L:\RocketLauncher\Lib\Fade Init.ahk exists
16:56:53:313 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:313 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 1065 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 10/16/2015 - 4:18:27 AM
16:56:53:313 | RL |   DEBUG1  | +0     | Fade Init.ahk Version: 1.0.2
16:56:53:313 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Fade Animations.ahk exists
16:56:53:330 | RL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:333 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 77260 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 1/11/2016 - 2:27:31 PM
16:56:53:334 | RL |   DEBUG1  | +0     | Fade Animations.ahk Version: 1.1.12
16:56:53:334 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Keymapper.ahk exists
16:56:53:334 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:334 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 33657 bytes
Created: 3/24/2016 - 7:19:30 PM
Modified: 3/24/2016 - 7:19:30 PM
16:56:53:334 | RL |   DEBUG1  | +0     | Keymapper.ahk Version: 1.1.4
16:56:53:353 | RL |     INFO  | +16    | CheckFile - Checking if L:\RocketLauncher\Lib\Keymapper Init.ahk exists
16:56:53:354 | RL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:354 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 3956 bytes
Created: 3/24/2016 - 7:19:31 PM
Modified: 3/24/2016 - 7:19:31 PM
16:56:53:354 | RL |   DEBUG1  | +0     | Keymapper Init.ahk Version: 1.0.6
16:56:53:354 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\MultiGame.ahk exists
16:56:53:371 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:374 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 41158 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 1/16/2016 - 12:53:29 PM
16:56:53:376 | RL |   DEBUG1  | +0     | MultiGame.ahk Version: 1.0.9
16:56:53:378 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\MultiGame Init.ahk exists
16:56:53:383 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:384 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 161 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 4/15/2013 - 3:33:19 AM
16:56:53:384 | RL |   DEBUG1  | +0     | MultiGame Init.ahk Version: 1.0.0
16:56:53:384 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\MultiPlayer.ahk exists
16:56:53:384 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:384 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 66776 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 12/7/2015 - 7:37:45 PM
16:56:53:384 | RL |   DEBUG1  | +0     | MultiPlayer.ahk Version: 1.0.8
16:56:53:401 | RL |     INFO  | +16    | CheckFile - Checking if L:\RocketLauncher\Lib\Pause.ahk exists
16:56:53:405 | RL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:405 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 394398 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 1/11/2016 - 2:20:50 PM
16:56:53:405 | RL |   DEBUG1  | +0     | Pause.ahk Version: 1.1.8
16:56:53:405 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Pause Init.ahk exists
16:56:53:423 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:425 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 553 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 8/24/2015 - 9:00:44 AM
16:56:53:425 | RL |   DEBUG1  | +0     | Pause Init.ahk Version: 1.0.3
16:56:53:425 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Password.ahk exists
16:56:53:425 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:425 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 10027 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 1/11/2016 - 2:22:58 PM
16:56:53:425 | RL |   DEBUG1  | +0     | Password.ahk Version: 1.0.3
16:56:53:442 | RL |     INFO  | +16    | CheckFile - Checking if L:\RocketLauncher\Lib\RL.ahk exists
16:56:53:445 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:445 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 18545 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 1/11/2016 - 4:47:56 PM
16:56:53:445 | RL |   DEBUG1  | +0     | RL.ahk Version: 1.0
16:56:53:445 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Rom Mapping Launch Menu.ahk exists
16:56:53:445 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:445 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 72261 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 12/7/2015 - 7:37:59 PM
16:56:53:462 | RL |   DEBUG1  | +15    | Rom Mapping Launch Menu.ahk Version: 1.0.7
16:56:53:464 | RL |     INFO  | +16    | CheckFile - Checking if L:\RocketLauncher\Lib\Shared.ahk exists
16:56:53:471 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:474 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 162548 bytes
Created: 3/24/2016 - 7:19:38 PM
Modified: 3/24/2016 - 7:19:40 PM
16:56:53:476 | RL |   DEBUG1  | +0     | Shared.ahk Version: 1.3.9
16:56:53:476 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Statistics.ahk exists
16:56:53:476 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:476 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 26810 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 1/10/2016 - 2:04:41 PM
16:56:53:476 | RL |   DEBUG1  | +0     | Statistics.ahk Version: 1.0.4
16:56:53:476 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Statistics Init.ahk exists
16:56:53:494 | RL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:496 | RL |   DEBUG1  | +16    | CheckFile - Attributes:
File Size: 33 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 12/24/2014 - 1:23:48 PM
16:56:53:496 | RL |   DEBUG1  | +0     | Statistics Init.ahk Version: 1.0.1
16:56:53:496 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Virtual Drive.ahk exists
16:56:53:496 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:496 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 18918 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 1/11/2016 - 2:21:47 PM
16:56:53:496 | RL |   DEBUG1  | +0     | Virtual Drive.ahk Version: 1.0.4
16:56:53:512 | RL |     INFO  | +16    | CheckFile - Checking if L:\RocketLauncher\Lib\XHotkey.ahk exists
16:56:53:517 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:517 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 26540 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 8/14/2015 - 2:14:18 PM
16:56:53:517 | RL |   DEBUG1  | +0     | XHotkey.ahk Version: 1.0.4
16:56:53:517 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\XHotkey Init.ahk exists
16:56:53:517 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:56:53:517 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 1063 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 8/14/2015 - 2:14:25 PM
16:56:53:517 | RL |   DEBUG1  | +0     | XHotkey Init.ahk Version: 1.0.2
16:56:53:533 | RL |   DEBUG1  | +15    | Main - Raw CLI received: "-s Amstrad CPC -r 007 - The Living Daylights (Europe) -f L:\HyperSpin\HyperSpin.exe -p HyperSpin -c 1 -o 1"
16:56:53:535 | RL |   DEBUG1  | +0     | Main - Received this dbName with no path via CLI: "007 - The Living Daylights (Europe)"
16:56:53:537 | RL |   DEBUG1  | +0     | Main - dbName: 007 - The Living Daylights (Europe)
16:56:53:537 | RL |     INFO  | +0     | Main - Loading Front End Plugin: "HyperSpin"
16:56:53:537 | RL |     INFO  | +0     | Main - RocketLauncher received "Amstrad CPC" and "007 - The Living Daylights (Europe)"
16:56:53:537 | RL |     INFO  | +0     | Main - Did not find a "L:\RocketLauncher\Settings\Amstrad CPC\Game Options.ini" file, skipping any game-specific options.
16:56:53:537 | RL |     INFO  | +0     | Main - 007 - The Living Daylights (Europe) is using the default emulator: RetroArch
16:56:53:537 | RL |     INFO  | +0     | Main - Checking for a [RetroArch] section in L:\RocketLauncher\Settings\Amstrad CPC\Emulators.ini
16:56:53:554 | RL |     INFO  | +16    | Main - Checking for a [RetroArch] section in L:\RocketLauncher\Settings\Global Emulators.ini
16:56:53:557 | RL |     INFO  | +0     | Main - Found [RetroArch] in L:\RocketLauncher\Settings\Global Emulators.ini
16:56:53:558 | RL |     INFO  | +16    | CheckFile - Checking if L:\RocketLauncher\Modules\RetroArch\RetroArch.ahk exists
16:56:53:558 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 45550 bytes
Created: 3/24/2016 - 7:19:36 PM
Modified: 1/24/2016 - 11:55:49 AM
16:56:53:558 | RL |     INFO  | +0     | Main - CRC Check - CRC matches, this is an official unedited module.
16:56:53:558 | RL |     INFO  | +0     | Main - 007 - The Living Daylights (Europe) will use module: L:\RocketLauncher\Modules\RetroArch\RetroArch.ahk
16:56:53:580 | RL |     INFO  | +15    | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
16:56:53:585 | RL |     INFO  | +0     | CheckFile - Checking if L:\HyperSpin\Emulators\RetroArch 1.32\retroarch.exe exists
16:56:53:587 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 2131456 bytes
Created: 4/16/2016 - 3:27:54 PM
Modified: 4/16/2016 - 3:28:40 PM
16:56:53:588 | RL |     INFO  | +0     | Main - INI Keys read
16:56:53:588 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\7z.exe exists
16:56:53:588 | 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: 3/24/2016 - 6:38:08 PM
Modified: 3/24/2016 - 8:11:59 PM
16:56:53:588 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\7z.dll exists
16:56:53:588 | 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: 3/24/2016 - 6:38:08 PM
Modified: 9/29/2015 - 11:35:11 AM
16:56:53:609 | RL |     INFO  | +31    | Main - "007 - The Living Daylights (Europe)" does not qualify for MultiGame. Only roms with any of these strings in their name are acceptable: \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side
16:56:53:609 | RL |     INFO  | +0     | CheckPaths - Started
16:56:53:609 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom: L:\roms\Amstrad CPC\007 - The Living Daylights (Europe).7z
16:56:53:609 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom by name in subfolder: L:\roms\Amstrad CPC\007 - The Living Daylights (Europe)\007 - The Living Daylights (Europe).7z
16:56:53:609 | RL |   DEBUG1  | +0     | CheckPaths - Rom not found
16:56:53:625 | RL |   DEBUG1  | +16    | CheckPaths - Looking for rom: L:\roms\Amstrad CPC\007 - The Living Daylights (Europe).rar
16:56:53:627 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom by name in subfolder: L:\roms\Amstrad CPC\007 - The Living Daylights (Europe)\007 - The Living Daylights (Europe).rar
16:56:53:628 | RL |   DEBUG1  | +0     | CheckPaths - Rom not found
16:56:53:628 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom: L:\roms\Amstrad CPC\007 - The Living Daylights (Europe).zip
16:56:53:628 | RL |     INFO  | +0     | CheckPaths - Found rom: L:\roms\Amstrad CPC\007 - The Living Daylights (Europe).zip
16:56:53:628 | RL |   DEBUG1  | +0     | CheckPaths - Current romName: 007 - The Living Daylights (Europe)
16:56:53:628 | RL |   DEBUG1  | +0     | CheckPaths - Current romPath: L:\roms\Amstrad CPC
16:56:53:628 | RL |   DEBUG1  | +0     | CheckPaths - Current romExtension: .zip
16:56:53:628 | RL |     INFO  | +0     | CheckPaths - Ended
16:56:53:628 | RL |     INFO  | +0     | BuildScript - User Variables:
;----------------------------------------------------------------------------
; INJECTED VARIABLES
;----------------------------------------------------------------------------
 
#NoTrayIcon
#InstallKeybdHook
DetectHiddenWindows, ON
SetTitleMatchMode, 2
SendMode, Event
0 = 12
pluginPath = L:\RocketLauncher\Plugins
pluginName = HyperSpin
pluginExt = .plugin
contextOnExit = 1
rlMode =
rlTitle = RocketLauncher
rlVersion = 1.0.1.5a
rlAuthor = djvj
rlURL = www.rlauncher.com
langFile = L:\RocketLauncher\Data\Language\Localization.ini
primMonitor = 2
frontendPID =
frontendPath = L:\HyperSpin
frontendExe = HyperSpin.exe
frontendExt = exe
frontendName = HyperSpin
frontendDrive = L:
exitEmulatorKey = ~Esc
restoreFE = false
exitScriptKey = ~q & ~s
toggleCursorKey = ~e & ~t
emuFullPath = L:\HyperSpin\Emulators\RetroArch 1.32\retroarch.exe
emuPath = L:\HyperSpin\Emulators\RetroArch 1.32
emuName = RetroArch
emuExt = exe
baseRomPath = L:\roms\Amstrad CPC
romPath = L:\roms\Amstrad CPC
romPathFromIni = L:\roms\Amstrad CPC
romExtension = .zip
romExtensionOrig = .zip
romExtensions = 7z|rar|zip|sfc|gba|gb|a78|sv|gbc|rpk|gme|sc|cdt|ws|wsc|ngp|ngc|vms|ipf|n64|z64|sg|fds|caq|vb|vec|wav|cas|min|int|rom|tap|tzx|msa|nes|col|nds|cpr|gg|pce|st2|st|stx|sms|smc|lnx|md|32x|n64|a52|j64|cso|cue|iso|ccd|chd|bin|dsd|ssd|uef|rka|xex|rom|atr|com|bas
executable = retroarch.exe
systemDbName = Amstrad CPC
systemName = Amstrad CPC
dbPath =
dbName = 007 - The Living Daylights (Europe)
dbExt =
romName = 007 - The Living Daylights (Europe)
romMapPath =
romMappingEnabled = false
romMappingLaunchMenuEnabled = false
romMappingFirstMatchingExt = false
romMappingShowAllRomsInArchive = true
romMappingNumberOfGamesByScreen = 7
romMappingHideParent = false
romMappingMenuWidth = 400
romMappingMenuMargin = 65
romMappingTextFont = Bebas Neue
romMappingTextOptions = cFFFFFFFF r4 s60 Bold
romMappingDisabledTextColor = ff888888
romMappingTextSizeDifference = 7
romMappingTextMargin = 15
romMappingTitleTextFont = Bebas Neue
romMappingTitleTextOptions = cFFFFFFFF r4 s90 Bold
romMappingTitle2TextFont = Bebas Neue
romMappingTitle2TextOptions = cFFFFFFFF r4 s22 Bold
romMappingGameInfoTextFont = Bebas Neue
romMappingGameInfoTextOptions = cFFFFFFFF r4 s22 Regular
romMappingGameNameTextFont = Bebas Neue
romMappingGameNameTextOptions = cFFFFFFFF r4 s40 Regular
romMappingBackgroundBrush = aa000000
romMappingColumnBrush = 33000000
romMappingButtonBrush1 = 6f000000
romMappingButtonBrush2 = 33000000
romMappingBackgroundAlign = Stretch and Lose Aspect
romMappingMenuFlagWidth = 55
romMappingMenuFlagSeparation = 7
romMappingDefaultMenuList = FullList
romMappingSingleFilteredRomAutomaticLaunch = false
altArchiveNameOnly =
altRomNameOnly =
altArchiveAndRomName =
altArchiveAndManyRomNames =
altRomNamesOnly =
romMapScenario =
skipchecks = false
romMatchExt = false
blockInputTime = 0
blockInputFile = L:\RocketLauncher\Module Extensions\BlockInput.exe
errorLevelReporting = false
lockLaunch = false
lockLaunchGame =
screenRotationAngle = 0
screenRotationAngleGame =
setResolution =
logFile = L:\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
navP2UpKey = Numpad8
navP2DownKey = Numpad2
navP2LeftKey = Numpad4
navP2RightKey = Numpad6
navP2SelectKey = NumpadEnter
originalWidth = 1680
originalHeight = 1050
vdEnabled = false
vdFullPath =
vdUseSCSI = true
vdDriveLetter =
vdAddDrive = true
servoStikEnabled = false
servoStikExitMode = false
ledblinkyEnabled = false
ledblinkySystemName =
ledblinkyFullPath =
ledblinkyProfilePath = L:\RocketLauncher\Profiles\LEDBlinky
ledblinkyRLProfile = L:\RocketLauncher\Profiles\LEDBlinky\RocketLauncher
winIPACFullPath =
ultraMapEnabled = false
ultraMapFullPath =
emuIdleShutdown = 0
launchPasswordHash = UpUpDownDownLeftRightLeftRight
hideCursor = false
hideEmu = false
hideFE = false
fadeIn = false
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 = Stretch and Lose Aspect
fadeLyr2Pos = Stretch and Lose Aspect
fadeLyr2X = 0
fadeLyr2Y = 0
fadeLyr2W =
fadeLyr2H =
fadeLyr2Adjust = 1
fadeLyr2PicPad = 0
fadeLyr2Prefix = Extra Layer 1 - Console
fadeLyr3Pos = Center
fadeLyr3X = 450
fadeLyr3Y = 450
fadeLyr3W =
fadeLyr3H =
fadeLyr3Adjust = 1
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 = 1
fadeLyr4X = 1792|952
fadeLyr4Y = 891|1596
fadeLyr4W = 128
fadeLyr4H =
fadeLyr4Pos = No Alignment
fadeLyr4FPS = 50
fadeLyr4PicPad = 0
fadeTranspGifColor = FFFFFF
fadeBarWindow = Image
fadeBarWindowX =
fadeBarWindowY =
fadeBarWindowW = 900
fadeBarWindowH =
fadeBarWindowR = 30
fadeBarWindowM = 30
fadeBarWindowHatchStyle = 8
fadeBar = 7zOnly
fadeBarNon7zProgressTime = 0
fadeBarBack = true
fadeBarBackColor = FF555555
fadeBarH = 30
fadeBarR = 10
fadeBarColor = DD00BFFF
fadeBarHatchStyle = 8
fadeBarPercentageText = true
fadeBarInfoText = true
fadeBarXOffset = 0
fadeBarYOffset = 150
fadeRomInfoDescription = filtered text
fadeRomInfoSystemName = image
fadeRomInfoYear = text with label
fadeRomInfoDeveloper = text with label
fadeRomInfoPublisher = text with label
fadeRomInfoGenre = disabled
fadeRomInfoRating = image
fadeRomInfoOrder = Description|SystemName|Year|Developer|Genre|Rating|Publisher
fadeRomInfoTextPlacement = User Defined
fadeRomInfoTextMargin = 7
fadeRomInfoText1Options = w1600|787 h90 x165 y870|1575 cFFE1E1E1 r4 s90 Left Regular
fadeRomInfoText2Options = w400 x8 y15 cFF555555 r4 s60 Bold
fadeRomInfoText3Options = w310 x165 y960|1665 cFFE1E1E1 r4 s66 Left Regular
fadeRomInfoText4Options = w1305|492 h66 x460 y960|1665 cFFE1E1E1 r4 s66 Left Regular
fadeRomInfoText5Options = cFF555555 r4 s42 Bold
fadeRomInfoText6Options = h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular
fadeRomInfoText7Options = h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular
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 = topRight
fadeStatsInfoTextMargin = 7
fadeStatsInfoText1Options = cFFB4B4B4 r4 s22 Bold
fadeStatsInfoText2Options = cFFB4B4B4 r4 s22 Bold
fadeStatsInfoText3Options = cFFB4B4B4 r4 s22 Bold
fadeStatsInfoText4Options = cFFB4B4B4 r4 s22 Bold
fadeStatsInfoText5Options = cFFB4B4B4 r4 s22 Bold
fadeStatsInfoText6Options = cFFB4B4B4 r4 s22 Bold
fadeText1X = 0
fadeText1Y = 0
fadeText1Options = cFFB4B4B4 r4 s30 Right Bold
fadeText1 = Loading Game
fadeText2X = 0
fadeText2Y = 0
fadeText2Options = cFFB4B4B4 r4 s30 Right Bold
fadeText2 = Extraction Complete, Ready
fadeText3 = Loading Game
fadeText4 = Loading Complete
fadeFont = Bebas Neue
fadeSystemAndRomLayersOnly = false
fadeExtractionTime = disabled
fadeExtractionTimeTextX = 0
fadeExtractionTimeTextY = 0
fadeExtractionTimeTextOptions = cFF555555 r4 s20 Bold
fadeInterruptKey =
detectFadeErrorEnabled = true
fadeImgPath = L:\RocketLauncher\Media\Fade
RLDataPath = L:\RocketLauncher\Data
RLMediaPath = L:\RocketLauncher\Media
RLErrSoundPath = L:\RocketLauncher\Media\Sounds\Error
modulesPath = L:\RocketLauncher\Modules
moduleFullName = L:\RocketLauncher\Modules\RetroArch\RetroArch.ahk
moduleName = RetroArch
modulePath = L:\RocketLauncher\Modules\RetroArch
moduleExtension = ahk
moduleExtensionsPath = L:\RocketLauncher\Module Extensions
libPath = L:\RocketLauncher\Lib
sevenZEnabled = true
sevenZPath = L:\RocketLauncher\Module Extensions\7z.exe
sevenZDllPath = L:\RocketLauncher\Module Extensions\7z.dll
sevenZExtractPath = C:\RockertLauncher Temp
sevenZExtractPathOrig =
sevenZAttachSystemName = false
sevenZDelTemp = true
sevenZSounds = true
sevenZFormats = .zip|.rar|.7z|.lzh|.gzip|.tar
sevenZFormatsNoP = zip|rar|7z|lzh|gzip|tar
sevenZFormatsRegEx = \.zip|\.rar|\.7z|\.lzh|\.gzip|\.tar
7zExtractPath = C:\RockertLauncher Temp
mgEnabled = false
mgKey = ~NumpadSub
mgBackgroundColor = FF000000
mgSidePadding = 0.2
mgWidthBaseRes = 1920
mgHeightBaseRes = 1080
mgYOffset = 500|800
mgFont = Arial
mgText1Options = x10p y250|500 w80p Center cBBFFFFFF r4 s100 BoldItalic
mgText1Text = Please select a game
mgText2Options = w96p cFFFFFFFF r4 s50 Center BoldItalic
mgText2Offset = 100
mgUseSound = true
mgSoundfreq = 300
mgExitEffect = none
mgSelectedEffect = rotate
mgUseGameArt = false
mgCandidate =
mgValidTypes = \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side
mgOnLaunch = false
pauseEnabled = false
pauseKey = ~NumpadAdd
pauseBackToMenuBarKey = X
pauseZoomInKey = C
pauseZoomOutKey = V
pauseScreenshotKey = ~PrintScreen
pauseHiToTextPath = L:\RocketLauncher\Module Extensions\HiToText.exe
pauseSaveStateKeyCodes =
pauseLoadStateKeyCodes =
keyboardEncoder =
keyboardEncoderEnabled = false
keymapperEnabled = false
keymapperAHKMethod = false
keymapper = xpadder
xpadderFullPath = L:\Utilities\Xpadder\xpadder.exe
joyToKeyFullPath = L:\Utilities\JoyToKey\JoyToKey.exe
profilePath = L:\RocketLauncher\Profiles
keymapperProfilePath = L:\RocketLauncher\Profiles\xpadder
keymapperFrontEndProfileName = RocketLauncherUI
keymapperFrontEndProfile = false
keymapperRocketLauncherProfileEnabled = false
joyIDsEnabled = false
joyIDsPreferredControllersGlobal =
joyIDsPreferredControllersSystem = use_global
joyIDsPreferredControllersOnExit =
CustomJoyNamesEnabled = false
CustomJoyNames =
rotateMethod = false
FEProfile = L:\RocketLauncher\Profiles\xpadder\RocketLauncherUI
defaultProfile = L:\RocketLauncher\Profiles\xpadder\_Default
systemProfile = L:\RocketLauncher\Profiles\xpadder\Amstrad CPC
xPadderSystemProfile = L:\RocketLauncher\Profiles\xpadder\Amstrad CPC\_Default
emuProfile = L:\RocketLauncher\Profiles\xpadder\Amstrad CPC\RetroArch
romProfile = L:\RocketLauncher\Profiles\xpadder\Amstrad CPC\007 - The Living Daylights (Europe)
RocketLauncherProfile = L:\RocketLauncher\Profiles\xpadder\RocketLauncher
blankProfile = L:\RocketLauncher\Profiles\xpadder\_Default\blank
ahkFEProfile = L:\RocketLauncher\Profiles\AHK\RocketLauncherUI
ahkDefaultProfile = L:\RocketLauncher\Profiles\AHK\_Default
ahkSystemProfile = L:\RocketLauncher\Profiles\AHK\Amstrad CPC
ahkEmuProfile = L:\RocketLauncher\Profiles\AHK\Amstrad CPC\RetroArch
ahkRomProfile = L:\RocketLauncher\Profiles\AHK\Amstrad CPC\007 - The Living Daylights (Europe)
ahkRocketLauncherProfile = L:\RocketLauncher\Profiles\AHK\RocketLauncher
bezelEnabled = false
bezelICEnabled = false
statisticsEnabled = true
pressDuration = -1
emuVolume = 1
dxwndIni = L:\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini
dxwndFullPath = L:\RocketLauncher\Module Extensions\dxwnd\dxwnd.exe
qResFullPath = L:\RocketLauncher\Module Extensions\QRes.exe
mon1O =
pacDrivedllFile = L:\RocketLauncher\Module Extensions\PacDrive32.dll
userFadeAnimIniFile = L:\RocketLauncher\Lib\User Fade Animations.ini
 
16:56:53:647 | RL |     INFO  | +16    | BuildScript - Loaded XHotkey Init.ahk scripts
16:56:53:648 | RL |     INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
16:56:53:648 | RL |  WARNING  | +0     | BuildScript - "L:\RocketLauncher\Lib\User Functions Init.ahk" not found
16:56:53:648 | RL |   DEBUG1  | +0     | BuildScript - Module starts on line: 2
16:56:53:648 | RL |     INFO  | +0     | BuildScript - Validating module
16:56:53:648 | RL |     INFO  | +0     | BuildScript - Validation complete
16:56:53:648 | RL |     INFO  | +0     | BuildScript - Module:
MEmu = RetroArch
MEmuV =  v05-11-2015 Nightly
MURL = http://themaister.net/retroarch.html
MAuthor = djvj,zerojay
MVersion = 2.3.4
MCRC = B0095E81
iCRC = 42C3B552
MID = 635038268922229162
MSystem = "Acorn BBC Micro","AAE","Amstrad CPC","Amstrad GX4000","APF Imagination Machine","Applied Technology MicroBee","Apple IIGS","Atari 2600","Atari 5200","Atari 7800","Atari 8-Bit","Atari Classics","Atari Jaguar","Atari Lynx","Atari ST","Atari XEGS","Bally Astrocade","Bandai Gundam RX-78","Bandai Super Vision 8000","Bandai Wonderswan","Bandai Wonderswan Color","Canon X07","Capcom Classics","Capcom Play System","Capcom Play System 2","Capcom Play System 3","Casio PV-1000","Casio PV-2000","Cave","Coleco ADAM","ColecoVision","Commodore MAX Machine","Commodore Amiga","Creatronic Mega Duck","Data East Classics","Dragon Data Dragon","Emerson Arcadia 2001","Entex Adventure Vision","Elektronika BK","Epoch Game Pocket Computer","Epoch Super Cassette Vision","Exidy Sorcerer","Fairchild Channel F","Final Burn Alpha","Funtech Super Acan","GamePark 32","GCE Vectrex","Hartung Game Master","Interton VC 4000","Irem Classics","JungleTac Sport Vii","Konami Classics","MAME","Magnavox Odyssey 2","Microsoft MSX","Microsoft MSX2","Matra & Hachette Alice","Mattel Aquarius","Mattel Intellivision","Midway Classics","Namco Classics","Namco System 22","NEC PC Engine","NEC PC Engine-CD","NEC PC-FX","NEC TurboGrafx-16","NEC SuperGrafx","NEC TurboGrafx-CD","Nintendo 64","Nintendo 64DD","Nintendo Arcade Systems","Nintendo Classics","Nintendo DS","Nintendo Entertainment System","Nintendo Famicom","Nintendo Famicom Disk System","Nintendo Game Boy","Nintendo Game Boy Color","Nintendo Game Boy Japan","Nintendo Game Boy Advance","Nintendo Game & Watch","Nintendo Super Game Boy","Nintendo Pokemon Mini","Nintendo Virtual Boy","Nintendo Super Famicom","Nintendo Satellaview","Nintendo SuFami Turbo","Panasonic 3DO","Elektronska Industrija Pecom 64","Philips CD-i","Philips Videopac","RCA Studio II","Sega 32X","Sega Classics","Sega Mega Drive 32X","Sega Mark III","Sega SC-3000","Sega SG-1000","Sega CD","Sega Dreamcast","Sega Game Gear","Sega Genesis","Sega Master System","Sega Mega Drive","Sega Pico","Sega Saturn","Sega Saturn Japan","Sega VMU","Sega ST-V","Sharp X1","Sinclair ZX Spectrum","Sony PlayStation","Sony PlayStation Minis","Sony PocketStation","Sony PSP","Sord M5","SNK Classics","SNK Neo Geo","SNK Neo Geo AES","SNK Neo Geo MVS","SNK Neo Geo Pocket","SNK Neo Geo CD","SNK Neo Geo Pocket Color","Spectravideo","Super Nintendo Entertainment System","Taito Classics","Tandy TRS-80 Color Computer","Technos","Texas Instruments TI 99-4A","Thomson MO5","Thomson TO7","Tiger Game.com","Tiki-100","Tomy Tutor","VTech CreatiVision","Watara Supervision","Williams Classics"
;----------------------------------------------------------------------------
; Notes:
; If the emu doesn't load and you get no error, usually this means the LibRetro DLL is not working!
; Devs stated they will never add support for mounted images (like via DT)
; Fullscreen is controlled via the module setting in RocketLauncherUI
; This module uses the CLI version of RetroArch (retroarch.exe), not the GUI (retroarch-phoenix.exe).
; The emu may make a mouse cursor appear momentarily during launch, MouseMove and hide_cursor seem to have no effect
; Enable 7z support for archived roms
; Available CLI options: https://github.com/PyroFilmsFX/iOS/blob/master/docs/retroarch.1
;
; LibRetro DLLs:
; LibRetro DLLs come with the emu, but here is another source for them: http://forum.themaister.net/
; Whatever cores you decide to use, make sure they are extracted anywhere in your Emu_Path\cores folder. The module will find and load the default core unless you choose a custom one for each system.
; You can find supported cores that Retroarch supports simply by downloading them from the "retroarch-phoenix.exe" or by visiting here: https://github.com/libretro/libretro.github.com/wiki/Supported-cores
; Some good discussion on cores and filters: http://forum.themaister.net/viewtopic.php?id=270
;
; SRM files:
; srm are stored in a "srm" dir in the emu folder. Each system ran through retroarch gets its own folder inside srm
;
; Save states:
; Save states are stored in a "save" dir in the emu folder. Each system ran through retroarch gets its own folder inside save
;
; Config files:
; By default, the module looks for config files in a folder called config in the RetroArch folder. Example: C:\emus\RetroArch\config. You can change this folder to anything you like by changing the module's ConfigFolder setting in RocketLauncherUI.
; RetroArch's global config file is called "retroarch.cfg". RetroArch will use a system cfg file named to match your System Name (example: Nintendo Entertainment System.cfg).
; RetroArch will also load core config files named after the core name. Example: nestopia_libretro.cfg
; This allows different settings globally, for each system, and for each core. If you want all systems to use the same retroarch.cfg, do not have any system or core cfg files, only have the retroarch.cfg.
; If a core config exists, it takes precedence over the global config. And if a system config exists, it takes precedence over the core config.
;
; MultiGame:
; MultiGame support is currently only available for the Mednafen PSX core. Retroarch uses the same method as Mednafen to load multi-disc games. This method involves m3u playlists which are commonly used for music. The m3u files needed to load multi-disc games are generated for you by the module when you launch a multi-disc game and are saved to your corresponding rom directory. Due to m3u limitations, your multi-disc roms/images cannot be archived -- they must be unzipped. All single disc games can remain archived and you can still enable 7z under system settings. If you do not wish to use MultiGame support you can archive your roms/images and m3u generation will be skipped on launch.
; The m3u files generated by the module contain a list of paths to all roms/images in the multi-disc set. Retroarch automatically loads the first path in the m3u so the first path will always be the disc you are loading. For example, Final Fantasy VII has 3 discs and if you load Disc 2 first, the order of the paths in the m3u will be disc 2, disc 3, disc 1. If you load Disc 3 first, the order will be disc 3, disc 1, disc 2. The module anticipates this and will load the correct disk, selected from the Pause/MultiDisk menus. However if you choose to manually use Retroarch's UI or disk swap keys to change discs, you will need to keep this in mind.
; In order for RocketLauncher's MultiGame UI to swap discs, you must define Eject_Toggle_Key, Next_Disk_Key, and Previous_Disk_Key under global settings for the emulator in RocketLauncher. Because AHK and Retroarch use different naming conventions for some keyboard keys, it is best to use a letter, a number, or F1-F12.
;
; MESS:
; MESS BIOS roms should be placed in the system\mess folder
;
; System Specific Notes:
; Microsoft MSX/MSX2: Launch an MSX game and in the core options, set the console to be an MSX2 and it will play both just fine.
; Nintendo Famicom Disk System - Requires disksys.rom be placed in the folder you define as system_directory in the RetroArch's cfg.
; Sega CD - Requires "bios_CD_E.bin", "bios_CD_J.bin", "bios_CD_U.bin" all be placed in the folder you define as system_directory in the RetroArch's cfg.
; Super Nintendo Entertainment System - requires split all 10 dsp# & st### roms all be placed in the folder you define as system_directory in the RetroArch's cfg. Many games, like Super Mario Kart require these.
; NEC TurboGrafx-CD - Requires "syscard3.pce" be placed in the folder you define as system_directory in the RetroArch's cfg.
; Nintendo Super Game Boy - Set the Module setting in RocketLauncherUI SuperGameBoy to true to enable a system or only a rom to use SGB mode. This is not needed if your systemName is set to the official name of "Nintendo Super Game Boy". Requires "sgb.boot.rom" and "Super Game Boy (World).sfc" to be placed in the folder you define as system_directory in the RetroArch's cfg. This is needed if you want to use Super game boy mode and color palettes. Also requires using the latest bsnes core. Not all games support SGB mode.
; MAME: The nag screen patch has been removed from the MAME core as of some point in March. We will be investigating our options for this. For MAME-based systems, make sure to set 7z use to false as MAME needs zip files.
; Sony PSP/PlayStation Minis: To avoid the dialog box complaining about ppge_atlas.zim, download it from https://github.com/libretro/libretro-ppsspp/blob/master/assets/ppge_atlas.zim and place it in your Retroarch/system/PPSSPP/ directory.
;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()
 
; Here we define all supported systems for this module. This object controls how the module reacts to different systems. RetroArch can play a lot of systems, but needs to know what system you want to run, so this module has to adapt.
; 1 - Official System Name in RocketLauncher
; 2 - Short name used only for easy referencing within module
; 3 - Default core
; 4 - The system ID MESS core recognizes
Log("Module - Started building the " . MEmu . " object",4)
mTypeVar:="
( LTrim
AAE|LibRetro_AAE|mame_libretro
Acorn BBC Micro|LibRetro_BBCB|mess_libretro|bbcb
Amstrad CPC|LibRetro_CPC|mess_libretro|cpc464
Amstrad GX4000|LibRetro_GX4K|mess_libretro|gx4000
APF Imagination Machine|LibRetro_APF|mess_libretro|apfimag
Apple IIGS|LibRetro_AIIGS|mess_libretro|apple2gs
Applied Technology MicroBee|LibRetro_MBEE|mess_libretro|mbeeic
Atari 2600|LibRetro_2600|stella_libretro|a2600
Atari 5200|LibRetro_5200|mess_libretro|a5200
Atari 7800|LibRetro_7800|prosystem_libretro|a7800
Atari 8-Bit|LibRetro_ATARI8|mess_libretro|a800
Atari Classics|LibRetro_ACLS|mame_libretro
Atari Jaguar|LibRetro_JAG|virtualjaguar_libretro|jaguar
Atari Lynx|LibRetro_LYNX|handy_libretro|lynx
Atari ST|LibRetro_ST|hatari_libretro
Atari XEGS|LibRetro_XEGS|mess_libretro|xegs
Bally Astrocade|LibRetro_BAST|mess_libretro|astrocde
Bandai Gundam RX-78|LibRetro_BGRX|mess_libretro|rx78
Bandai Super Vision 8000|LibRetro_SV8K|mess_libretro|sv8000
Bandai Wonderswan|LibRetro_WSAN|mednafen_wswan_libretro|wswan
Bandai Wonderswan Color|LibRetro_WSANC|mednafen_wswan_libretro|wscolor
Canon X07|LibRetro_CX07|mess_libretro|x07
Capcom Classics|LibRetro_CAPC|mame_libretro
Capcom Play System|LibRetro_CPS1|fba_cores_cps1_libretro
Capcom Play System 2|LibRetro_CPS2|fba_cores_cps2_libretro
Capcom Play System 3|LibRetro_CPS3|mame_libretro
Casio PV-1000|LibRetro_CAS1K|mess_libretro|pv1000
Casio PV-2000|LibRetro_CAS2K|mess_libretro|pv2000
Cave|LibRetro_CAVE|mame_libretro
Coleco ADAM|LibRetro_ADAM|mess_libretro|adam
ColecoVision|LibRetro_COLEC|mess_libretro|coleco
Commodore Amiga|LibRetro_PUAE|puae_libretro
Commodore Max Machine|LibRetro_CMAX|mess_libretro|vic10
Creatronic Mega Duck|LibRetro_DUCK|mess_libretro|megaduck
Data East Classics|LibRetro_DATA|mame_libretro
Dragon Data Dragon|LibRetro_DRAG64|mess_libretro|dragon64
Elektronika BK|LibRetro_EBK|mess_libretro|bk0010
Elektronska Industrija Pecom 64|LibRetro_P64|mess_libretro|pecom64
Emerson Arcadia 2001|LibRetro_A2001|mess_libretro|arcadia
Entex Adventure Vision|LibRetro_AVISION|mess_libretro|advision
Epoch Game Pocket Computer|LibRetro_GPCKET|mess_libretro|gamepock
Epoch Super Cassette Vision|LibRetro_SCV|mess_libretro|scv
Exidy Sorcerer|LibRetro_SORCR|mess_libretro|sorcerer
Fairchild Channel F|LibRetro_CHANF|mess_libretro|channelf
Final Burn Alpha|LibRetro_FBA|fb_alpha_libretro
Funtech Super Acan|LibRetro_SACAN|mess_libretro|supracan
GamePark 32|LibRetro_GP32|mess_libretro|gp32
GCE Vectrex|LibRetro_VECTX|mess_libretro|vectrex
Hartung Game Master|LibRetro_GMASTR|mess_libretro|gmaster
Interton VC 4000|LibRetro_VC4K|mess_libretro|vc4000
Irem Classics|LibRetro_IREM|mame_libretro
JungleTac Sport Vii|LibRetro_SPORTV|mess_libretro|vii
Konami Classics|LibRetro_KONC|mame_libretro
Magnavox Odyssey 2|LibRetro_ODYS2|mess_libretro|odyssey2
MAME|LibRetro_MAME|mame_libretro
Matra & Hachette Alice|LibRetro_ALICE|mess_libretro|alice32
Mattel Aquarius|LibRetro_AQUA|mess_libretro|aquarius
Mattel Intellivision|LibRetro_INTV|mess_libretro|intv
MGT Sam Coupe|LibRetro_SAMCP|mess_libretro|
Microsoft MS-DOS|LibRetro_MSDOS|dosbox_libretro
Microsoft MSX|LibRetro_MSX|bluemsx_libretro
Microsoft MSX2|LibRetro_MSX2|bluemsx_libretro
Microsoft Windows 3.x|LibRetro_WIN3X|dosbox_libretro
Midway Classics|LibRetro_MIDC|mame_libretro
Namco Classics|LibRetro_NAMC|mame_libretro
Namco System 22|LibRetro_NAM2|mame_libretro
NEC PC Engine|LibRetro_PCE|mednafen_pce_fast_libretro|pce
NEC PC Engine-CD|LibRetro_PCECD|mednafen_pce_fast_libretro|pce
NEC PC-FX|LibRetro_PCFX|mednafen_pcfx_libretro
NEC SuperGrafx|LibRetro_SGFX|mednafen_supergrafx_libretro|sgx
NEC TurboGrafx-16|LibRetro_TG16|mednafen_pce_fast_libretro|tg16
NEC TurboGrafx-CD|LibRetro_TGCD|mednafen_pce_fast_libretro|tg16
Nintendo 64|LibRetro_N64|mupen64plus_libretro|n64
Nintendo 64DD|LibRetro_N64|mupen64plus_libretro
Nintendo Arcade Systems|LibRetro_NINARC|mame_libretro
Nintendo Classics|LibRetro_NINC|mame_libretro
Nintendo DS|LibRetro_DS|desmume_libretro
Nintendo Entertainment System|LibRetro_NES|nestopia_libretro|nes
Nintendo Famicom|LibRetro_NFAM|nestopia_libretro
Nintendo Famicom Disk System|LibRetro_NFDS|nestopia_libretro|famicom
Nintendo Game Boy|LibRetro_GB|gambatte_libretro|gameboy
Nintendo Game Boy Advance|LibRetro_GBA|vba_next_libretro|gba
Nintendo Game Boy Color|LibRetro_GBC|gambatte_libretro|gbcolor
Nintendo Game Boy Japan|LibRetro_GBJ|gambatte_libretro|gameboy
Nintendo Game & Watch|LibRetro_GW|gw_libretro
Nintendo Pokemon Mini|LibRetro_POKE|mess_libretro|pokemini
Nintendo Satellaview|LibRetro_NSFS|snes9x_libretro
Nintendo SuFami Turbo|LibRetro_NSFST|snes9x_libretro
Nintendo Super Famicom|LibRetro_NSF|bsnes_balanced_libretro
Nintendo Super Game Boy|LibRetro_SGB|bsnes_balanced_libretro
Nintendo Virtual Boy|LibRetro_NVB|mednafen_vb_libretro|vboy
Othello Multivision|LibRetro_OTHO|genesis_plus_gx_libretro
Panasonic 3DO|LibRetro_3DO|4do_libretro
Philips CD-i|LibRetro_CDI|mess_libretro|cdimono1
Philips Videopac|LibRetro_PVID|mess_libretro|videopac
RCA Studio II|LibRetro_STUD2|mess_libretro|studio2
SCUMMVM|LibRetro_SCUMM|scummvm_libretro
Sega 32X|LibRetro_32X|picodrive_libretro|32x
Sega CD|LibRetro_SCD|genesis_plus_gx_libretro|segacd
Sega Classics|LibRetro_SEGC|mame_libretro
Sega Dreamcast|LibRetro_DCAST|reicast_libretro
Sega Game Gear|LibRetro_GG|genesis_plus_gx_libretro|gamegear
Sega Genesis|LibRetro_GEN|genesis_plus_gx_libretro|genesis
Sega Mark III|Libretro_SM3|genesis_plus_gx_libretro
Sega Master System|LibRetro_SMS|genesis_plus_gx_libretro|sms
Sega Mega Drive|LibRetro_GEN|genesis_plus_gx_libretro|megadriv
Sega Mega Drive 32X|LibRetro_MD32X|picodrive_libretro
Sega Pico|LibRetro_PICO|picodrive_libretro
Sega Saturn|LibRetro_SAT|yabause_libretro
Sega Saturn Japan|LibRetro_SAT|yabause_libretro
Sega SC-3000|LibRetro_SC3K|mess_libretro|sc3000
Sega SG-1000|LibRetro_SG1K|genesis_plus_gx_libretro
Sega ST-V|LibRetro_STV|mame_libretro
Sega VMU|LibRetro_SVMU|mess_libretro|svmu
Sharp X1|LibRetro_SX1|mess_libretro|x1
Sinclair ZX Spectrum|LibRetro_SPECZX|mess_libretro|spectrum
SNK Classics|LibRetro_SNKC|mame_libretro
SNK Neo Geo|LibRetro_NEO|fb_alpha_libretro
SNK Neo Geo AES|LibRetro_NEOAES|mame_libretro|aes
SNK Neo Geo CD|LibRetro_NEOCD|mess_libretro|neocdz
SNK Neo Geo MVS|LibRetro_NEOMVS|mame_libretro
SNK Neo Geo Pocket|LibRetro_NGP|mednafen_ngp_libretro|ngp
SNK Neo Geo Pocket Color|LibRetro_NGPC|mednafen_ngp_libretro|ngpc
Sony PlayStation|LibRetro_PSX|mednafen_psx_libretro|psx
Sony PlayStation Minis|LibRetro_PSXMIN|ppsspp_libretro
Sony PocketStation|LibRetro_POCKS|mess_libretro|pockstat
Sony PSP|LibRetro_PSP|ppsspp_libretro
Sord M5|LibRetro_SORD|mess_libretro|m5
Spectravideo|LibRetro_SV328|mess_libretro|svi328n
Super Nintendo Entertainment System|LibRetro_SNES|bsnes_balanced_libretro|snes
Taito Classics|LibRetro_TAIC|mame_libretro
Tandy TRS-80 Color Computer|LibRetro_TRS80|mess_libretro|coco3
Technos|LibRetro_TECHN|mame_libretro
Texas Instruments TI 99-4A|LibRetro_TI99|mess_libretro|ti99_4a
Thomson MO5|LibRetro_MO5|mess_libretro|mo5
Thomson TO7|LibRetro_TO7|mess_libretro|to7
Tiger Game.com|LibRetro_TCOM|mess_libretro|gamecom
Tiki-100|LibRetro_TIKI|mess_libretro|kontiki
Tomy Tutor|LibRetro_TOMY|mess_libretro|tutor
VTech CreatiVision|LibRetro_VTECH|mess_libretro|crvision
Watara Supervision|LibRetro_SUPRV|mess_libretro|svision
Williams Classics|LibRetro_WILLS|mame_libretro
)"
mType := Object()
Loop, Parse, mTypeVar, `n, `r
{
obj := {}
Loop, Parse, A_LoopField, |
If (A_Index = 1)
obj.System := A_LoopField
Else If (A_Index = 2)
obj.ID := A_LoopField
Else If (A_Index = 3)
obj.Core := A_LoopField
Else ; 4
obj.MessID := A_LoopField
mType.Insert(obj["System"], obj)
}
Log("Module - Finished building the " . MEmu . " object",4)
; For easier use throughout the module
retroSystem := mType[systemName].System
retroID := mType[systemName].ID
retroCore := mType[systemName].Core
retroMessID := mType[systemName].MessID
 
If !retroSystem
ScriptError("Your systemName is: " . systemName . "`nIt is not one of the known supported systems for this " . MEmu . " module: " . moduleName)
If !retroCore
ScriptError("Your Core ID is: " . retroID . "`nCould not find a default core to use. Please update the module with a default core.")
 
settingsFile := modulePath . "\" . moduleName . ".ini"
core := IniReadCheck(settingsFile, systemName, "LibRetro_Core",retroCore,,1)
Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
configFolder := IniReadCheck(settingsFile, "Settings", "ConfigFolder",emuPath . "\config",,1)
messRomPath := IniReadCheck(settingsFile, "Settings", "MESS_BIOS_Roms_Folder",,,1)
hideConsole := IniReadCheck(settingsFile, "Settings", "HideConsole","true",,1)
ejectToggleKey := IniReadCheck(settingsFile, "Settings", "Eject_Toggle_Key",,,1)
nextDiskKey := IniReadCheck(settingsFile, "Settings", "Next_Disk_Key",,,1)
prevDiskKey := IniReadCheck(settingsFile, "Settings", "Previous_Disk_Key",,,1)
superGB := IniReadCheck(settingsFile, systemName . "|" . romName, "SuperGameBoy","false",,1)
enableNetworkPlay := IniReadCheck(settingsFile, "Network|" . romName, "Enable_Network_Play","false",,1)
overlay := IniReadCheck(settingsFile, systemName . "|" . romName, "Overlay",,,1)
videoShader := IniReadCheck(settingsFile, systemName . "|" . romName, "VideoShader",,,1)
aspectRatioIndex := IniReadCheck(settingsFile, systemName . "|" . romName, "AspectRatioIndex",,,1)
customViewportWidth := IniReadCheck(settingsFile, systemName . "|" . romName, "CustomViewportWidth",,,1)
customViewportHeight := IniReadCheck(settingsFile, systemName . "|" . romName, "CustomViewportHeight",,,1)
customViewportX := IniReadCheck(settingsFile, systemName . "|" . romName, "CustomViewportX",,,1)
customViewportY := IniReadCheck(settingsFile, systemName . "|" . romName, "CustomViewportY",,,1)
stretchToFillBezel := IniReadCheck(settingsFile, systemName . "|" . romName, "StretchToFillBezel","false",,1)
rotation := IniReadCheck(settingsFile, systemName . "|" . romName, "Rotation",0,,1)
cropOverscan := IniReadCheck(settingsFile, systemName . "|" . romName, "CropOverscan",,,1)
threadedVideo := IniReadCheck(settingsFile, systemName . "|" . romName, "ThreadedVideo",,,1)
vSync := IniReadCheck(settingsFile, systemName . "|" . romName, "VSync",,,1)
integerScale := IniReadCheck(settingsFile, systemName . "|" . romName, "IntegerScale",,,1)
configurationPerCore := IniReadCheck(settingsFile, systemName . "|" . romName, "ConfigurationPerCore","false",,1)
 
configFolder := GetFullName(configFolder)
messRomPath := GetFullName(messRomPath)
overlay := GetFullName(overlay)
videoShader := GetFullName(videoShader)
rotateBezel := false
 
If (retroID = "LibRetro_SGB" || superGB = "true") ; if system or rom is set to use Super Game Boy
{ superGB = true ; setting this just in case it's false and the system is Nintendo Super Game Boy
sgbRomPath := CheckFile(emuPath . "\system\Super Game Boy (World).sfc","Could not find the rom required for Super Game Boy support. Make sure the rom ""Super Game Boy (World).sfc"" is located in: " . emuPath . "\system")
CheckFile(emuPath . "\system\sgb.boot.rom","Could not find the bios required for Super Game Boy support. Make sure the bios ""sgb.boot.rom"" is located in: " . emuPath . "\system")
retroID := "LibRetro_SGB" ; switching to Super Game Boy mode
retroSystem := "Nintendo Super Game Boy"
}
 
; Find the dll for this system
libDll := CheckFile(emuPath . "\cores\" . core . ".dll", "Your " . retroID . " dll is set to " . core . " but could not locate this file:`n" . emuPath . "\cores\" . core . ".dll")
 
; Find the cfg file to use
If !FileExist(configFolder)
ScriptError("You need to make sure ""ConfigFolder"" is pointing to your RetroArch config folder. By default it is looking here: """ . configFolder . """")
globalRetroCfg := emuPath . "\retroarch.cfg"
systemRetroCfg := configFolder . "\" . retroSystem . ".cfg"
coreRetroCfg := configFolder . "\" . core . ".dll.cfg"
Log("Module - Global cfg should be: " . globalRetroCfg,4)
Log("Module - System cfg should be: " . systemRetroCfg,4)
Log("Module - Core cfg should be: " . coreRetroCfg,4)
foundCfg := ""
If FileExist(systemRetroCfg) { ; check for system cfg first
retroCFGFile := systemRetroCfg
foundCfg := 1
Log("Module - Found a System cfg!",4)
} Else If FileExist(coreRetroCfg) { ; 2nd option is a core config
retroCFGFile := coreRetroCfg
foundCfg := 1
Log("Module - Found a Core cfg!",4)
} Else If FileExist(globalRetroCfg) { ; 3rd is global cfg
retroCFGFile := globalRetroCfg
foundCfg := 1
Log("Module - Found a Global cfg!",4)
}
If !foundCfg
Log("Module - Could not find a cfg file to update settings. RetroArch will make one for you.",2)
Else {
Log("Module - " . MEmu . " is using " . retroCFGFile . " as its config file.")
retroCFG := LoadProperties(retroCFGFile)
}
 
If rotation In 1,3 ; use vertical bezel if RA rotation is set to 90 or 270 degrees
rotateBezel := true
 
If RegExMatch(retroID, "LibRetro_NFDS|LibRetro_SCD|LibRetro_TGCD|LibRetro_PCECD|LibRetro_PCFX") { ; these systems require the retroarch settings to be read
retroSysDir := ReadProperty(retroCFG,"system_directory") ; read value
retroSysDir := ConvertRetroCFGKey(retroSysDir) ; remove dbl quotes
StringLeft, retroSysDirLeft, retroSysDir, 2
If (retroSysDirLeft = ":\") { ; if retroarch is set to use a default folder
StringTrimLeft, retroSysDir, retroSysDir, 1
Log("Module - RetroArch is using a relative system path: """ . retroSysDir . """")
retroSysDir := emuPath . retroSysDir
}
If !retroSysDir
ScriptError("RetroArch requires you to set your system_directory and place bios rom(s) in there for """ . retroSystem . """ to function. Please do this first by running ""retroarch-phoenix.exe"" manually.")
StringRight, checkForSlash, retroSysDir, 1
If (checkForSlash = "\") ; check if a backslash is the last character. If it is, remove it, as this is non-standard method to define folders
StringTrimRight, retroSysDir, retroSysDir, 1
}
 
If (RegExMatch(retroID, "LibRetro_N64|LibRetro_NES|LibRetro_LYNX|LibRetro_PSX") || RegExMatch(retroID, "LibRetro_NES") && (InStr(core, "nestopia_libretro"))) { ; these systems will use an ini to store game specific settings
sysSettingsFile := CheckSysFile(modulePath . "\" . systemName . ".ini") ; create the ini if it does not exist
coreOptionsCFGFile := CheckFile((If configurationPerCore = "true" ? configFolder . "\retroarch-core-options.cfg" : emuPath . "\retroarch-core-options.cfg"), "Could not find retroarch-core-options.cfg in retroarch directory: """ . (If configurationPerCore = "true" ? configFolder : emuPath) . """")
coreOptionsCFG := LoadProperties(coreOptionsCFGFile)
If InStr(retroID, "LibRetro_N64") { ; Nintendo 64
mupenGfx := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "Mupen_Gfx_Plugin", "auto",,1)
mupenRsp := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "Mupen_RSP_Plugin", "auto",,1)
mupenCpu := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "Mupen_CPU_Core", "dynamic_recompiler",,1)
mupenPak1 := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "Mupen_Pak_1", "memory",,1)
mupenPak2 := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "Mupen_Pak_2", "memory",,1)
mupenPak3 := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "Mupen_Pak_3", "memory",,1)
mupenPak4 := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "Mupen_Pak_4", "memory",,1)
mupenGfxAccur := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "Mupen_Gfx_Accuracy", "high",,1)
mupenExpMem := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "Mupen_Disable_Exp_Memory", "no",,1)
mupenTexturFilt := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "Mupen_Texture_Filtering", "nearest",,1)
mupenViRefresh := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "Mupen_VI_Refresh", "2200",,1)
mupenFramerate := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "Mupen_Framerate", "fullspeed",,1)
mupenResolution := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "Mupen_Resolution", "640x480",,1)
mupenPolyOffstFctr := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "Mupen_Polygon_Offset_Factor", "-3.0",,1)
mupenPolyOffstUnts := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "Mupen_Polygon_Offset_Units", "-3.0",,1)
mupenViOverlay := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "Mupen_VI_Overlay", "disabled",,1)
mupenAnalogDzone := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "Mupen_Analog_Deadzone", "15",,1)
 
WriteProperty(coreOptionsCFG, "mupen64-gfxplugin", mupenGfx, 1)
WriteProperty(coreOptionsCFG, "mupen64-rspplugin", mupenRsp, 1)
WriteProperty(coreOptionsCFG, "mupen64-cpucore", mupenCpu, 1)
WriteProperty(coreOptionsCFG, "mupen64-pak1", mupenPak1, 1)
WriteProperty(coreOptionsCFG, "mupen64-pak2", mupenPak2, 1)
WriteProperty(coreOptionsCFG, "mupen64-pak3", mupenPak3, 1)
WriteProperty(coreOptionsCFG, "mupen64-pak4", mupenPak4, 1)
WriteProperty(coreOptionsCFG, "mupen64-gfxplugin-accuracy", mupenGfxAccur, 1)
WriteProperty(coreOptionsCFG, "mupen64-disableexpmem", mupenExpMem, 1)
WriteProperty(coreOptionsCFG, "mupen64-filtering", mupenTexturFilt, 1)
WriteProperty(coreOptionsCFG, "mupen64-virefresh", mupenViRefresh, 1)
WriteProperty(coreOptionsCFG, "mupen64-framerate", mupenFramerate, 1)
WriteProperty(coreOptionsCFG, "mupen64-screensize", mupenResolution, 1)
WriteProperty(coreOptionsCFG, "mupen64-polyoffset-factor", mupenPolyOffstFctr, 1)
WriteProperty(coreOptionsCFG, "mupen64-polyoffset-units", mupenPolyOffstUnts, 1)
WriteProperty(coreOptionsCFG, "mupen64-angrylion-vioverlay", mupenViOverlay, 1)
WriteProperty(coreOptionsCFG, "mupen64-astick-deadzone", mupenAnalogDzone, 1)
} Else If InStr(retroID, "LibRetro_NES") { ; these systems will use an ini to store game specific settings
If InStr(core, "nestopia_libretro") { ; Nestopia
nestopiaBlargg := IniReadCheck(sysSettingsFile, "Nestopia" . "|" . romName, "Nestopia_Blargg_NTSC_Filter", "disabled",,1)
nestopiaPalette := IniReadCheck(sysSettingsFile, "Nestopia" . "|" . romName, "Nestopia_Palette", "canonical",,1)
nestopiaNoSprteLimit := IniReadCheck(sysSettingsFile, "Nestopia" . "|" . romName, "Nestopia_Remove_Sprites_Limit", "disabled",,1)
 
WriteProperty(coreOptionsCFG, "nestopia_blargg_ntsc_filter", nestopiaBlargg, 1)
WriteProperty(coreOptionsCFG, "nestopia_palette", nestopiaPalette, 1)
WriteProperty(coreOptionsCFG, "nestopia_nospritelimit", nestopiaNoSprteLimit, 1)
}
} Else If InStr(retroID, "LibRetro_LYNX") { ; Atari Lynx
If InStr(core, "handy_libretro") {   ; Handy
handyRotate := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "Handy_Rotation", "None",,1)
If InStr(handyRotate, "240") or InStr(handyRotate, "90")
rotateBezel := true
WriteProperty(coreOptionsCFG, "handy_rot", handyRotate, 1)
}
} Else If InStr(retroID, "LibRetro_PSX") { ; Sony PlayStation
psxCdImageCache := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "PSX_CD_Image_Cache", """enabled""",,1)
psxMemcardHandling := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "PSX_Memcard_Handling", """libretro""",,1)
psxDualshockAnalogToggle := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "PSX_Dualshock_Analog_Toggle", """enabled""",,1)
 
WriteProperty(coreOptionsCFG, "beetle_psx_cdimagecache", psxCdImageCache, 1)
WriteProperty(coreOptionsCFG, "beetle_psx_use_mednafen_memcard0_method", psxMemcardHandling, 1)
WriteProperty(coreOptionsCFG, "beetle_psx_analog_toggle", psxDualshockAnalogToggle, 1)
}
SaveProperties(coreOptionsCFGFile, coreOptionsCFG)
}
 
hideEmuObj := Object("ahk_class ConsoleWindowClass",0,"RetroArch ahk_class RetroArch",1) ; Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later
7z(romPath, romName, romExtension, 7zExtractPath)
 
mgM3UPath:= romPath . "\" . romTable[1,4] . ".m3u"
 
mgRomExtensions := "cue|iso|ccd"
mgValidExtension := false
 
Loop, Parse, mgRomExtensions, |
If (romExtension = "." . A_LoopField)
mgValidExtension := true
 
If (InStr(retroID, "LibRetro_PSX") && romTable.MaxIndex() && mgValidExtension) { ; See if MultiGame table is populated
m3uRomIndex := Object()
mgType := romTable[1,6] . " "
mgMaxIndex := romTable.MaxIndex()
mgRomIndex := 0
 
If FileExist(mgM3UPath)
FileDelete, %mgM3UPath%
 
Loop %mgMaxIndex% {
If (romTable[A_Index, 3] = romName) {
tempType := romTable[A_Index, 5]
StringTrimLeft, mgRomIndex, tempType, StrLen(mgType)
Log ("Found rom index in rom set in romTable: " . mgRomIndex)
Break
}
}
 
If (mgRomIndex > 0) {
tempRomIndex := mgRomIndex
Loop %mgMaxIndex% {
mgTypeIndex := mgType . tempRomIndex
m3uRomIndex.Insert(tempRomIndex)
 
Loop %mgMaxIndex% {
If (romTable[A_Index, 5] = mgTypeIndex) {
tempRomPath := romTable[A_Index, 1]
FileAppend, %tempRomPath%`n, %mgM3UPath%
Log("Appending rom path to m3u: " . tempRomPath)
Break
}
}
 
If (tempRomIndex < mgMaxIndex)
tempRomIndex++
Else
tempRomIndex := 1
}
}
}
 
; MESS core options
messParam1 := ""
messParam2 := ""
messParam3 := ""
If InStr(core, "mess") { ; if a mess core is used
Log("Module - Retroarch MESS mode enabled")
If !retroMessID
ScriptError("Your systemName is: " . systemName . "`nIt is not one of the known supported systems for the MESS LibRetro core")
Else
Log("Module - MESS mode using a known ident: " . retroMessID)
 
If !messRomPath
ScriptError("Please set the RetroArch module setting ""MESS_BIOS_Roms_Folder"" to the folder that contains your MESS BIOS roms to use MESS with RetroArch.")
 
messParam1 := ""
messParam2 := " -rompath \" . """" . messRomPath . "\" . """"
 
; Build a key/value object containing the different messParam3 choices
messP3 := Object("alice32","cass1","gp32","memc","cpc464","cass","spectrum","cass","dragon64","cass","cdimono1","cdrom","bk0010","cass","neocd","cdrom","neocdz","cdrom","svi328n","cass","pecom64","cass","svmu","quik","gamecom","cart1","mbeeic","quik1")
messParam3 := messP3[retroMessID] ; search object for the retroMessID pair
messParam3 := " -" . (If messParam3 ? messParam3 : "cart") . " \" . """" . romPath . "\" . romName . romExtension . "\" . """"
 
If (retroMessID = "mbeeic") ; Applied Technology MicroBee
{ microbeeModel := IniReadCheck(messSysINI, 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")
retroMessID := 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"
messParam3 := " -" . mediaDeviceType . " \" . """" . romPath . "\" . romName . romExtension . "\" . """"
}
 
fullRomPath := messParam1 . messParam2 . messParam3
} Else If (superGB = "true") {
Log("Module - Retroarch Super Game Boy mode enabled")
fullRomPath := " """ . sgbRomPath . """ --subsystem sgb """ . romPath . "\" . romName . romExtension . """"
} Else {
Log("Module - Retroarch standard mode enabled")
fullRomPath := " """ . romPath . "\" . romName . romExtension . """"
}
 
If (retroID = "LibRetro_NFDS") ; Nintendo Famicom Disk System
{ If !FileExist(retroSysDir . "\disksys.rom")
ScriptError("RetroArch requires ""disksys.rom"" for " . retroSystem . " but could not find it in your system_directory: """ . retroSysDir . """")
} Else If (retroID = "LibRetro_SCD") ; Sega CD
{ If romExtension Not In .bin,.cue,.iso
ScriptError("RetroArch only supports Sega CD games in bin|cue|iso format. It does not support:`n" . romExtension)
If !FileExist(retroSysDir . "\bios_CD_E.bin")
ScriptError("RetroArch requires ""bios_CD_E.bin"" for " . retroSystem . " but could not find it in your system_directory: """ . retroSysDir . """")
If !FileExist(retroSysDir . "\bios_CD_U.bin")
ScriptError("RetroArch requires ""bios_CD_U.bin"" for " . retroSystem . " but could not find it in your system_directory: """ . retroSysDir . """")
If !FileExist(retroSysDir . "\bios_CD_J.bin")
ScriptError("RetroArch requires ""bios_CD_J.bin"" for " . retroSystem . " but could not find it in your system_directory: """ . retroSysDir . """")
} Else If retroID in LibRetro_PCECD,LibRetro_TGCD ; NEC PC Engine-CD and NEC TurboGrafx-CD
{ If romExtension Not In .ccd,.cue
ScriptError("RetroArch only supports " . retroSystem . " games in ccd or cue format. It does not support:`n" . romExtension)
If !FileExist(retroSysDir . "\syscard3.pce")
ScriptError("RetroArch requires ""syscard3.pce"" for " . retroSystem . " but could not find it in your system_directory: """ . retroSysDir . """")
} Else If (retroID = "LibRetro_PCFX")
{ If romExtension Not In .ccd,.cue
ScriptError("RetroArch only supports " . retroSystem . " games in ccd or cue format. It does not support:`n" . romExtension)
If !FileExist(retroSysDir . "\pcfx.bios")
ScriptError("RetroArch requires ""pcfx.bios"" for " . retroSystem . " but could not find it in your system_directory: """ . retroSysDir . """")
}
 
networkSession := ""
If (enableNetworkPlay = "true") {
Log("Module - Network Multi-Player is an available option for " . dbName,4)
 
netplayNickname := IniReadCheck(settingsFile, "Network", "NetPlay_Nickname","Player",,1)
getWANIP := IniReadCheck(settingsFile, "Network", "Get_WAN_IP","false",,1)
 
If (getWANIP = "true")
myPublicIP := GetPublicIP()
 
Log("Module - CAREFUL WHEN POSTING THIS LOG PUBLICLY AS IT CONTAINS YOUR IP ON THE NEXT LINE",2)
defaultServerIP := IniReadCheck(settingsFile, "Network", "Default_Server_IP", myPublicIP,,1)
defaultServerPort := IniReadCheck(settingsFile, "Network", "Default_Server_Port",,,1)
lastIP := IniReadCheck(settingsFile, "Network", "Last_IP", defaultServerIP,,1) ; does not need to be on the ISD
lastPort := IniReadCheck(settingsFile, "Network", "Last_Port", defaultServerPort,,1) ; does not need to be on the ISD
 
mpMenuStatus := MultiPlayerMenu(lastIP,lastPort,networkType,,0)
If (mpMenuStatus = -1) { ; if user exited menu early
Log("Module - Cancelled MultiPlayer Menu. Exiting module.",2)
ExitModule()
}
If networkSession {
Log("Module - Using a Network for " . dbName,4)
IniWrite, %networkPort%, %settingsFile%, Network, Last_Port
; msgbox lastIP: %lastIP%`nlastPort: %lastPort%`nnetworkIP: %networkIP%`nnetworkPort: %networkPort%
If (networkType = "client") {
IniWrite, %networkIP%, %settingsFile%, Network, Last_IP ; Save last used IP and Port for quicker launching next time
netCommand := " -C " . networkIP . " --port " . networkPort . " --nick """ . netplayNickname . """" ; -C = connect as client
} Else { ; server
netCommand := " -H --port " . networkPort . " --nick """ . netplayNickname . """" ; -H = host as server
}
Log("Module - CAREFUL WHEN POSTING THIS LOG PUBLICLY AS IT CONTAINS YOUR IP ON THE NEXT LINE",2)
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)
}
 
BezelStart(,,(If rotateBezel ? 1:""))
 
If foundCfg {
If (stretchToFillBezel = "true" and bezelEnabled = "true" and bezelPath)
{
customViewportWidth := bezelScreenWidth
customViewportHeight := bezelScreenHeight
customViewportX := 0
customViewportY := 0
aspectRatioIndex := 22
Log("Stretching viewport to fit bezel")
}
 
retroCFG := LoadProperties(retroCFGFile) ; load the config into memory
raCfgHasChanges := ""
WriteRetroProperty("input_overlay", overlay)
WriteRetroProperty("video_shader", videoShader)
WriteRetroProperty("aspect_ratio_index", aspectRatioIndex)
WriteRetroProperty("custom_viewport_width", customViewportWidth)
WriteRetroProperty("custom_viewport_height", customViewportHeight)
WriteRetroProperty("custom_viewport_x", customViewportX)
WriteRetroProperty("custom_viewport_y", customViewportY)
WriteRetroProperty("video_rotation", rotation)
WriteRetroProperty("video_crop_overscan", cropOverscan)
WriteRetroProperty("video_threaded", threadedVideo)
WriteRetroProperty("video_vsync", vSync)
WriteRetroProperty("video_scale_integer", integerScale)
WriteRetroProperty("input_disk_eject_toggle", ejectToggleKey)
WriteRetroProperty("input_disk_next", nextDiskKey)
WriteRetroProperty("input_disk_prev", prevDiskKey)
If InStr(retroID, "LibRetro_PSX") {
Loop, 8 ; Loop 8 times for 8 controllers
{ p%A_Index%ControllerType := IniReadCheck(sysSettingsFile, systemName . "|" . romName, "P" . A_Index . "_Controller_Type", 517,,1)
WriteRetroProperty("input_libretro_device_p" . A_Index, p%A_Index%ControllerType)
}
}
 
If raCfgHasChanges {
Log("Module - Saving changed settings to: """ . retroCFGFile . """")
SaveProperties(retroCFGFile, retroCFG)
}
}
 
fullscreen := If fullscreen = "true" ? " -f" : ""
srmPath := emuPath . "\srm\" . retroSystem ; path for this system's srm files
saveStatePath := emuPath . "\save\" . retroSystem ; path for this system's save state files
retroCFGFile := If foundCfg ? " -c """ . retroCFGFile . """" : ""
 
If !FileExist(srmPath)
FileCreateDir, %srmPath% ; creating srm dir if it doesn't exist
If !FileExist(saveStatePath)
FileCreateDir, %saveStatePath% ; creating save dir if it doesn't exist
 
HideEmuStart() ; This fully ensures windows are completely hidden even faster than winwait
 
If InStr(core, "mess") { ; if a mess core is used
Run(executable . " """ . (retroMessID ? retroMessID : "") . fullRomPath . """ " . fullscreen . retroCFGFile . " -L """ . libDll . """ -s """ . srmPath . "\" . romName . ".srm"" -S """ . saveStatePath . "\" . romName . ".state""" . netCommand, emuPath, "Hide")
} Else If (retroID = "LibRetro_SGB" || If superGB = "true") { ; For some reason, the order of our command line matters in this particular case.
Run(executable . " " . fullscreen . retroCFGFile . " -L """ . libDll . """ -s """ . srmPath . "\" . romName . ".srm"" -S """ . saveStatePath . "\" . romName . ".state""" . fullRomPath . netCommand, emuPath, "Hide")
} Else If FileExist(mgM3UPath) {
Run(executable . " " . """" . mgM3UPath . """" . fullscreen . retroCFGFile . " -L """ . libDll . """ -s """ . srmPath . "\" . romName . ".srm"" -S """ . saveStatePath . "\" . romName . ".state""" . netCommand, emuPath, "Hide")
} Else {
Run(executable . " " . fullRomPath . fullscreen . retroCFGFile . " -L """ . libDll . """ -s """ . srmPath . "\" . romName . ".srm"" -S """ . saveStatePath . "\" . romName . ".state""" . netCommand, emuPath, "Hide")
}
 
mpMenuStatus := ""
If networkSession {
canceledServerWait := false
multiplayerMenuExit := false
SetTimer, NetworkConnectedCheck, 500
 
If (networkType = "server") {
Log("Module - Waiting for a client to connect to your server")
mpMenuStatus := MultiPlayerMenu(,,,,,,,,"You are the server. Please wait for your client to connect.")
} Else { ; client
Log("Module - Trying to contact the server to establish a connection.")
mpMenuStatus := MultiPlayerMenu(,,,,,,,,"Attempting to connect to the server...")
}
 
If (mpMenuStatus = -1) { ; if user exited menu early before a client connected
Log("Module - Cancelled waiting for the " . If (networkType = "server") ? "client to connect" : "server to respond" . ". Exiting module.",2)
If Process("Exist", executable)
Process("Close", executable) ; must close process as the exe is waiting for a client to connect and no window was drawn yet
ExitModule()
} Else { ; blank response from MultiPlayerMenu, exited properly
Log("Module - " . If (networkType = "server") ? "Client has connected" : "Connected to the server")
WinWait("RetroArch ahk_class RetroArch")
WinWaitActive("RetroArch ahk_class RetroArch")
}
SetTimer, NetworkConnectedCheck, Off
} Else { ; single player
WinWait("RetroArch ahk_class RetroArch")
WinWaitActive("RetroArch ahk_class RetroArch")
}
 
If (hideConsole = "true")
WinSet, Transparent, On, ahk_class ConsoleWindowClass ; makes the console window transparent so you don't see it on exit
 
BezelDraw()
HideEmuEnd()
FadeInExit()
Process("WaitClose", executable)
7zCleanUp()
BezelExit()
FadeOutExit()
ExitModule()
 
 
; Writes new properties into the retroCFG if defined by user
WriteRetroProperty(key,value="") {
If (value != "") {
Global retroCFG,raCfgHasChanges
WriteProperty(retroCFG, key, value,1,1)
raCfgHasChanges := 1
}
}
 
; Used to convert between RetroArch keys and usable data
ConvertRetroCFGKey(txt,direction="read"){
Global emuPath
If (direction = "read")
{ StringTrimLeft,newtxt,txt,1 ; removes the " from the left of the txt
StringTrimRight,newtxt,newtxt,1 ; removes the " from the right of the txt
relativeCheck := SubStr(newtxt, 1, 1)
If InStr(relativeCheck,":") { ; if the path contains a ":" then it is a relative path
Log("ConvertRetroCFGKey - " . newtxt . " is a relative path",4)
StringTrimLeft,newtxt,newtxt,1 ; removes the : from the left of the txt
newtxt := AbsoluteFromRelative(emuPath, "." . newtxt) ; convert relative to absolute
}
If InStr(newtxt,"/")
StringReplace,newtxt,newtxt,/,\,1 ; replaces all forward slashes with backslashes
} Else If (direction = "write")
{ newtxt := """" . txt . """" ; wraps the txt with ""
If InStr(newtxt,"\")
StringReplace,newtxt,newtxt,\,/,1 ; replaces all backslashes with forward slashes
} Else
ScriptError("Not a valid use of ConvertRetroCFGKey. Only ""read"" or ""write"" are supported.")
Log("ConvertRetroCFGKey - Converted " . txt . " to " . newtxt,4)
Return newtxt
}
 
; This will simply create a new blank ini if one does not exist
CheckSysFile(file){
If !FileExist(file)
FileAppend,, %file%
Return file
}
 
MultiGame:
SetKeyDelay(100)
WinActivate, ahk_class RetroArch
Send, {%ejectToggleKey% down}{%ejectToggleKey% up} ; eject disc in Retroarch
If (!mgLastRomIndex) {
mgLastRomIndex := mgRomIndex
}
selectedRomIndex := 0
StringTrimLeft, selectedRomIndex, selectedRomNum, StrLen(mgType)
 
Loop %mgMaxIndex% {
If (m3uRomIndex[A_index] = mgLastRomIndex) {
tempLastRomIndex := A_index
Log("Temp last index: " . tempLastRomIndex)
}
If (m3uRomIndex[A_index] = selectedRomIndex) {
tempSelectedRomIndex := A_index
Log("temp selected index: " . tempSelectedRomIndex)
}
}
 
mgNewIndex := tempLastRomIndex - tempSelectedRomIndex
 
If (mgNewIndex < 0) {
mgNewIndex := mgNewIndex * -1
Loop %mgNewIndex% {
Log("Sending the next disk key: " . nextDiskKey)
Send, {%nextDiskKey% down}{%nextDiskKey% up}
}
} Else If (mgNewIndex > 0) {
Loop %mgNewIndex% {
Log("Sending the previous disk key: " . mgNewIndex)
Send, {%prevDiskKey% down}{%prevDiskKey% up}
}
}
 
Send, {%ejectToggleKey% down}{%ejectToggleKey% up} ; close disc in Retroarch
mgLastRomIndex := selectedRomIndex
Return
 
NetworkConnectedCheck:
If clientConnected
multiplayerMenuExit := true
Else If WinExist("RetroArch ahk_class RetroArch") {
Log("Module - RetroArch session started, closing the MultiPlayer menu",4)
multiplayerMenuExit := true
}
Return
 
CloseProcess:
FadeOutStart()
WinClose("RetroArch ahk_class RetroArch")
Return
 
16:56:53:673 | RL |     INFO  | +31    | BuildScript - Loaded Multi-Player scripts
16:56:53:675 | RL |     INFO  | +0     | BuildScript - Loaded Statistics.ahk script
16:56:53:678 | RL |  WARNING  | +0     | BuildScript - "L:\RocketLauncher\Lib\User Functions.ahk" not found
16:56:53:679 | RL |     INFO  | +0     | BuildScript - Finished injecting functions into module
16:56:53:679 | RL |     INFO  | +0     | Main - Module is built
16:56:53:679 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\AutoHotkey.dll exists
16:56:53:679 | 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: 3/24/2016 - 6:37:52 PM
Modified: 4/20/2013 - 8:16:32 AM
16:56:53:679 | RL |     INFO  | +0     | Main - Running module
16:56:53:679 | RL |     INFO  | +0     | Main - Starting timer to watch if Front End gets displaced and restore it if it does.
16:56:53:822 | MD |     INFO  | +N/A   | Module initialized
16:56:53:822 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Started
16:56:53:822 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - KeyGroup ~Esc not in TableKeyGroups
16:56:53:822 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 1 check
16:56:53:822 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 2 check
16:56:53:858 | MD |   DEBUG2  | +46    | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~Esc" to call label: "CloseProcess"
16:56:53:860 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Ended
16:56:53:862 | MD |     INFO  | +0     | StartModule - Started
16:56:53:862 | MD |     INFO  | +0     | StartModule - MEmu: RetroArch
MEmuV: v05-11-2015 Nightly
MURL: http://themaister.net/retroarch.html
MAuthor: djvj,zerojay
MVersion: 2.3.4
MCRC: B0095E81
iCRC: 42C3B552
MID:
MSystem: "Acorn BBC Micro","AAE","Amstrad CPC","Amstrad GX4000","APF Imagination Machine","Applied Technology MicroBee","Apple IIGS","Atari 2600","Atari 5200","Atari 7800","Atari 8-Bit","Atari Classics","Atari Jaguar","Atari Lynx","Atari ST","Atari XEGS","Bally Astrocade","Bandai Gundam RX-78","Bandai Super Vision 8000","Bandai Wonderswan","Bandai Wonderswan Color","Canon X07","Capcom Classics","Capcom Play System","Capcom Play System 2","Capcom Play System 3","Casio PV-1000","Casio PV-2000","Cave","Coleco ADAM","ColecoVision","Commodore MAX Machine","Commodore Amiga","Creatronic Mega Duck","Data East Classics","Dragon Data Dragon","Emerson Arcadia 2001","Entex Adventure Vision","Elektronika BK","Epoch Game Pocket Computer","Epoch Super Cassette Vision","Exidy Sorcerer","Fairchild Channel F","Final Burn Alpha","Funtech Super Acan","GamePark 32","GCE Vectrex","Hartung Game Master","Interton VC 4000","Irem Classics","JungleTac Sport Vii","Konami Classics","MAME","Magnavox Odyssey 2","Microsoft MSX","Microsoft MSX2","Matra & Hachette Alice","Mattel Aquarius","Mattel Intellivision","Midway Classics","Namco Classics","Namco System 22","NEC PC Engine","NEC PC Engine-CD","NEC PC-FX","NEC TurboGrafx-16","NEC SuperGrafx","NEC TurboGrafx-CD","Nintendo 64","Nintendo 64DD","Nintendo Arcade Systems","Nintendo Classics","Nintendo DS","Nintendo Entertainment System","Nintendo Famicom","Nintendo Famicom Disk System","Nintendo Game Boy","Nintendo Game Boy Color","Nintendo Game Boy Japan","Nintendo Game Boy Advance","Nintendo Game & Watch","Nintendo Super Game Boy","Nintendo Pokemon Mini","Nintendo Virtual Boy","Nintendo Super Famicom","Nintendo Satellaview","Nintendo SuFami Turbo","Panasonic 3DO","Elektronska Industrija Pecom 64","Philips CD-i","Philips Videopac","RCA Studio II","Sega 32X","Sega Classics","Sega Mega Drive 32X","Sega Mark III","Sega SC-3000","Sega SG-1000","Sega CD","Sega Dreamcast","Sega Game Gear","Sega Genesis","Sega Master System","Sega Mega Drive","Sega Pico","Sega Saturn","Sega Saturn Japan","Sega VMU","Sega ST-V","Sharp X1","Sinclair ZX Spectrum","Sony PlayStation","Sony PlayStation Minis","Sony PocketStation","Sony PSP","Sord M5","SNK Classics","SNK Neo Geo","SNK Neo Geo AES","SNK Neo Geo MVS","SNK Neo Geo Pocket","SNK Neo Geo CD","SNK Neo Geo Pocket Color","Spectravideo","Super Nintendo Entertainment System","Taito Classics","Tandy TRS-80 Color Computer","Technos","Texas Instruments TI 99-4A","Thomson MO5","Thomson TO7","Tiger Game.com","Tiki-100","Tomy Tutor","VTech CreatiVision","Watara Supervision","Williams Classics"
16:56:53:862 | MD |     INFO  | +0     | StartModule - You have a supported System Name for this module: "Amstrad CPC"
16:56:53:890 | MD |     INFO  | +32    | PluginInit - Started
16:56:53:892 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Started - Building Table for: Name|Cloneof|Publisher|Year|Genre|Rating
16:56:53:893 | MD |     INFO  | +0     | CheckFile - Checking if L:\HyperSpin\Databases\Amstrad CPC\Amstrad CPC.xml exists
16:56:53:893 | MD |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 1050492 bytes
Created: 4/14/2016 - 10:05:13 AM
Modified: 4/14/2016 - 8:47:25 PM
16:56:53:893 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching for a "Game Name" in the database
16:56:53:893 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Game Name" in the database!
16:56:53:893 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Name
16:56:53:929 | MD |   DEBUG1  | +31    | BuildDatabaseTable - Found "Name" with a value: "007 - The Living Daylights (Europe)"
16:56:53:932 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Cloneof
16:56:53:949 | MD |   DEBUG1  | +31    | BuildDatabaseTable - Could not find: Cloneof
16:56:53:952 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Publisher
16:56:53:953 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Publisher" with a value: "Domark"
16:56:53:953 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Year
16:56:53:953 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Year" with a value: "1987"
16:56:53:953 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Genre
16:56:53:953 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Genre" with a value: "Action"
16:56:53:953 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Rating
16:56:53:979 | MD |   DEBUG1  | +31    | BuildDatabaseTable - Found "Rating" with a value: "Other - NR (Not Rated)"
16:56:53:982 | MD |   DEBUG2  | +0     | PluginInit - GameInfo:
GameInfo Label: Genre | GameInfo Value: Action
GameInfo Label: Name | GameInfo Value: 007 - The Living Daylights (Europe)
GameInfo Label: Publisher | GameInfo Value: Domark
GameInfo Label: Rating | GameInfo Value: Other - NR (Not Rated)
GameInfo Label: Year | GameInfo Value: 1987
16:56:53:984 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Ended
16:56:53:984 | MD |   DEBUG1  | +0     | BuildAssetsTable - Started - Building Table for: Game Logo|System Logo
16:56:53:984 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Game Logo: L:\HyperSpin\Media\Amstrad CPC\Images\Wheel\007 - The Living Daylights (Europe).png
16:56:53:984 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a System Logo: L:\HyperSpin\Media\Main Menu\Images\Wheel\Amstrad CPC.png
16:56:53:984 | MD |   DEBUG2  | +0     | BuildAssetsTable - Media assets found:
Asset Label: System Logo | Asset Path1:  L:\HyperSpin\Media\Main Menu\Images\Wheel\Amstrad CPC.png | Asset Extension1:  png | Asset Type1:  system
16:56:53:984 | MD |   DEBUG1  | +0     | BuildAssetsTable - Ended
16:56:53:984 | MD |   DEBUG1  | +0     | BuildAssetsTable - Started - Building Table for: Artwork1|Box Art|Cartridge|Flyers|Letters|Other
16:56:53:020 | MD |   DEBUG1  | +32    | BuildAssetsTable - Searching for a Artwork1: L:\HyperSpin\Media\Amstrad CPC\Images\Artwork1\007 - The Living Daylights (Europe).png
16:56:54:022 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Box Art: L:\HyperSpin\Media\Amstrad CPC\Images\Artwork2\007 - The Living Daylights (Europe).png
16:56:54:025 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Cartridge: L:\HyperSpin\Media\Amstrad CPC\Images\Artwork3\007 - The Living Daylights (Europe).png
16:56:54:025 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Flyers: L:\HyperSpin\Media\Amstrad CPC\Images\Artwork4\007 - The Living Daylights (Europe).png
16:56:54:025 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Letters: L:\HyperSpin\Media\Amstrad CPC\Images\Letters
16:56:54:066 | MD |   DEBUG1  | +47    | BuildAssetsTable - Searching for a Other: L:\HyperSpin\Media\Amstrad CPC\Images\Other
16:56:54:066 | MD |   DEBUG2  | +0     | BuildAssetsTable - Media assets found:
Asset Label: Letters | Asset Path1:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\!.png | Asset Extension1:  png | Asset Type1:  system
Asset Label: Letters | Asset Path2:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\'.png | Asset Extension2:  png | Asset Type2:  system
Asset Label: Letters | Asset Path3:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\(.png | Asset Extension3:  png | Asset Type3:  system
Asset Label: Letters | Asset Path4:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\0.png | Asset Extension4:  png | Asset Type4:  system
Asset Label: Letters | Asset Path5:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\1.png | Asset Extension5:  png | Asset Type5:  system
Asset Label: Letters | Asset Path6:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\2.png | Asset Extension6:  png | Asset Type6:  system
Asset Label: Letters | Asset Path7:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\3.png | Asset Extension7:  png | Asset Type7:  system
Asset Label: Letters | Asset Path8:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\4.png | Asset Extension8:  png | Asset Type8:  system
Asset Label: Letters | Asset Path9:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\5.png | Asset Extension9:  png | Asset Type9:  system
Asset Label: Letters | Asset Path10:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\6.png | Asset Extension10:  png | Asset Type10:  system
Asset Label: Letters | Asset Path11:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\7.png | Asset Extension11:  png | Asset Type11:  system
Asset Label: Letters | Asset Path12:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\8.png | Asset Extension12:  png | Asset Type12:  system
Asset Label: Letters | Asset Path13:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\9.png | Asset Extension13:  png | Asset Type13:  system
Asset Label: Letters | Asset Path14:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\a.png | Asset Extension14:  png | Asset Type14:  system
Asset Label: Letters | Asset Path15:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\b.png | Asset Extension15:  png | Asset Type15:  system
Asset Label: Letters | Asset Path16:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\c.png | Asset Extension16:  png | Asset Type16:  system
Asset Label: Letters | Asset Path17:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\d.png | Asset Extension17:  png | Asset Type17:  system
Asset Label: Letters | Asset Path18:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\e.png | Asset Extension18:  png | Asset Type18:  system
Asset Label: Letters | Asset Path19:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\f.png | Asset Extension19:  png | Asset Type19:  system
Asset Label: Letters | Asset Path20:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\g.png | Asset Extension20:  png | Asset Type20:  system
Asset Label: Letters | Asset Path21:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\h.png | Asset Extension21:  png | Asset Type21:  system
Asset Label: Letters | Asset Path22:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\i.png | Asset Extension22:  png | Asset Type22:  system
Asset Label: Letters | Asset Path23:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\j.png | Asset Extension23:  png | Asset Type23:  system
Asset Label: Letters | Asset Path24:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\k.png | Asset Extension24:  png | Asset Type24:  system
Asset Label: Letters | Asset Path25:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\l.png | Asset Extension25:  png | Asset Type25:  system
Asset Label: Letters | Asset Path26:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\m.png | Asset Extension26:  png | Asset Type26:  system
Asset Label: Letters | Asset Path27:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\n.png | Asset Extension27:  png | Asset Type27:  system
Asset Label: Letters | Asset Path28:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\o.png | Asset Extension28:  png | Asset Type28:  system
Asset Label: Letters | Asset Path29:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\p.png | Asset Extension29:  png | Asset Type29:  system
Asset Label: Letters | Asset Path30:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\q.png | Asset Extension30:  png | Asset Type30:  system
Asset Label: Letters | Asset Path31:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\r.png | Asset Extension31:  png | Asset Type31:  system
Asset Label: Letters | Asset Path32:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\s.png | Asset Extension32:  png | Asset Type32:  system
Asset Label: Letters | Asset Path33:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\t.png | Asset Extension33:  png | Asset Type33:  system
Asset Label: Letters | Asset Path34:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\u.png | Asset Extension34:  png | Asset Type34:  system
Asset Label: Letters | Asset Path35:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\v.png | Asset Extension35:  png | Asset Type35:  system
Asset Label: Letters | Asset Path36:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\w.png | Asset Extension36:  png | Asset Type36:  system
Asset Label: Letters | Asset Path37:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\x.png | Asset Extension37:  png | Asset Type37:  system
Asset Label: Letters | Asset Path38:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\y.png | Asset Extension38:  png | Asset Type38:  system
Asset Label: Letters | Asset Path39:  L:\HyperSpin\Media\Amstrad CPC\Images\Letters\z.png | Asset Extension39:  png | Asset Type39:  system
Asset Label: Other | Asset Path1:  L:\HyperSpin\Media\Amstrad CPC\Images\Other\Pointer.png | Asset Extension1:  png | Asset Type1:  system
16:56:54:092 | MD |   DEBUG1  | +31    | BuildAssetsTable - Ended
16:56:54:094 | MD |   DEBUG1  | +0     | BuildAssetsTable - Started - Building Table for: Game Video|System Video
16:56:54:096 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Game Video: L:\HyperSpin\Media\Amstrad CPC\Video\007 - The Living Daylights (Europe).*
16:56:54:096 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a System Video: L:\HyperSpin\Media\Main Menu\Video\Amstrad CPC.*
16:56:54:096 | MD |   DEBUG2  | +0     | BuildAssetsTable - Media assets found:
Asset Label: System Video | Asset Path1:  L:\HyperSpin\Media\Main Menu\Video\Amstrad CPC.mp4 | Asset Extension1:  mp4 | Asset Type1:  system
16:56:54:096 | MD |   DEBUG1  | +0     | BuildAssetsTable - Ended
16:56:54:096 | MD |     INFO  | +0     | PluginInit - Ended
16:56:54:096 | MD |   DEBUG1  | +0     | StartModule - Setting romName to the dbName sent to RocketLauncher: 007 - The Living Daylights (Europe)
16:56:54:096 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Started
16:56:54:132 | MD |   DEBUG2  | +31    | XHotkeyTableCreation - KeyGroup ~e&~t not in TableKeyGroups ~Esc,
16:56:54:135 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 1 check
16:56:54:152 | MD |   DEBUG2  | +31    | XHotkeyTableCreation - Post loop 2 check
16:56:54:155 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~e & ~t" to call label: "ToggleCursor"
16:56:54:156 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Ended
16:56:54:156 | MD |     INFO  | +0     | StartModule - Ended
16:56:54:156 | MD |   DEBUG1  | +0     | Module - Started building the RetroArch object
16:56:54:187 | MD |   DEBUG1  | +32    | Module - Finished building the RetroArch object
16:56:54:188 | MD |     INFO  | +0     | Module Setting - [Amstrad CPC] - LibRetro_Core: mess_libretro
16:56:54:188 | MD |     INFO  | +0     | Module Setting - [Settings] - Fullscreen: true
16:56:54:188 | MD |     INFO  | +0     | Module Setting - [Settings] - ConfigFolder: ..\HyperSpin\Emulators\RetroArch 1.32
16:56:54:188 | MD |     INFO  | +0     | Module Setting - [Settings] - MESS_BIOS_Roms_Folder: ..\HyperSpin\Emulators\RetroArch 1.32
16:56:54:188 | MD |     INFO  | +0     | Module Setting - [Settings] - HideConsole: true
16:56:54:224 | MD |     INFO  | +31    | Module Setting - [Settings] - Eject_Toggle_Key:
16:56:54:227 | MD |     INFO  | +0     | Module Setting - [Settings] - Next_Disk_Key:
16:56:54:228 | MD |     INFO  | +0     | Module Setting - [Settings] - Previous_Disk_Key:
16:56:54:228 | MD |     INFO  | +0     | Module Setting - [Amstrad CPC] - SuperGameBoy: false
16:56:54:228 | MD |     INFO  | +0     | Module Setting - [007 - The Living Daylights (Europe)] - SuperGameBoy: false
16:56:54:228 | MD |     INFO  | +0     | Module Setting - [Network] - Enable_Network_Play: false
16:56:54:228 | MD |     INFO  | +0     | Module Setting - [007 - The Living Daylights (Europe)] - Enable_Network_Play: false
16:56:54:264 | MD |     INFO  | +47    | Module Setting - [Amstrad CPC] - Overlay:
16:56:54:267 | MD |     INFO  | +0     | Module Setting - [007 - The Living Daylights (Europe)] - Overlay:
16:56:54:269 | MD |     INFO  | +0     | Module Setting - [Amstrad CPC] - VideoShader:
16:56:54:269 | MD |     INFO  | +0     | Module Setting - [007 - The Living Daylights (Europe)] - VideoShader:
16:56:54:269 | MD |     INFO  | +0     | Module Setting - [Amstrad CPC] - AspectRatioIndex:
16:56:54:269 | MD |     INFO  | +0     | Module Setting - [007 - The Living Daylights (Europe)] - AspectRatioIndex:
16:56:54:269 | MD |     INFO  | +0     | Module Setting - [Amstrad CPC] - CustomViewportWidth:
16:56:54:295 | MD |     INFO  | +31    | Module Setting - [007 - The Living Daylights (Europe)] - CustomViewportWidth:
16:56:54:298 | MD |     INFO  | +0     | Module Setting - [Amstrad CPC] - CustomViewportHeight:
16:56:54:299 | MD |     INFO  | +0     | Module Setting - [007 - The Living Daylights (Europe)] - CustomViewportHeight:
16:56:54:299 | MD |     INFO  | +0     | Module Setting - [Amstrad CPC] - CustomViewportX:
16:56:54:299 | MD |     INFO  | +0     | Module Setting - [007 - The Living Daylights (Europe)] - CustomViewportX:
16:56:54:299 | MD |     INFO  | +0     | Module Setting - [Amstrad CPC] - CustomViewportY:
16:56:54:299 | MD |     INFO  | +0     | Module Setting - [007 - The Living Daylights (Europe)] - CustomViewportY:
16:56:54:299 | MD |     INFO  | +0     | Module Setting - [Amstrad CPC] - StretchToFillBezel: false
16:56:54:299 | MD |     INFO  | +0     | Module Setting - [007 - The Living Daylights (Europe)] - StretchToFillBezel: false
16:56:54:336 | MD |     INFO  | +31    | Module Setting - [Amstrad CPC] - Rotation: 0
16:56:54:338 | MD |     INFO  | +0     | Module Setting - [007 - The Living Daylights (Europe)] - Rotation: 0
16:56:54:356 | MD |     INFO  | +31    | Module Setting - [Amstrad CPC] - CropOverscan:
16:56:54:360 | MD |     INFO  | +0     | Module Setting - [007 - The Living Daylights (Europe)] - CropOverscan:
16:56:54:360 | MD |     INFO  | +0     | Module Setting - [Amstrad CPC] - ThreadedVideo:
16:56:54:360 | MD |     INFO  | +0     | Module Setting - [007 - The Living Daylights (Europe)] - ThreadedVideo:
16:56:54:360 | MD |     INFO  | +0     | Module Setting - [Amstrad CPC] - VSync:
16:56:54:360 | MD |     INFO  | +0     | Module Setting - [007 - The Living Daylights (Europe)] - VSync:
16:56:54:360 | MD |     INFO  | +0     | Module Setting - [Amstrad CPC] - IntegerScale:
16:56:54:389 | MD |     INFO  | +32    | Module Setting - [007 - The Living Daylights (Europe)] - IntegerScale:
16:56:54:390 | MD |     INFO  | +0     | Module Setting - [Amstrad CPC] - ConfigurationPerCore: false
16:56:54:390 | MD |     INFO  | +0     | Module Setting - [007 - The Living Daylights (Europe)] - ConfigurationPerCore: false
16:56:54:390 | MD |     INFO  | +0     | CheckFile - Checking if L:\HyperSpin\Emulators\RetroArch 1.32\cores\mess_libretro.dll exists
16:56:54:390 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Started
16:56:54:390 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - KeyGroup ~Esc is in TableKeyGroups ~Esc,~e&~t,
16:56:54:390 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 10 check
16:56:54:426 | MD |   DEBUG2  | +31    | XHotkeyTableCreation - Disabled Hotkey for: "~Esc"
16:56:54:429 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 11 check
16:56:54:431 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Disabling "CloseProcess" standard Hotkey method for key(s): "~Esc"
16:56:54:431 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 12 check
16:56:54:431 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Ended
16:56:54:431 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Started
16:56:54:431 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - KeyGroup ~Esc is in TableKeyGroups ~Esc,~e&~t,
16:56:54:431 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 10 check
16:56:54:467 | MD |   DEBUG2  | +47    | XHotkeyTableCreation - Disabled Hotkey for: "~Esc"
16:56:54:469 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 11 check
16:56:54:472 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~Esc" to call label: "CloseError"
16:56:54:472 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 12 check
16:56:54:472 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Ended
16:56:54:814 | MD |   DEBUG1  | +344   | ScriptError - Playing error sound: error10.mp3
16:56:58:572 | MD |     INFO  | +3750  | 7zCleanUp - Started
16:56:58:592 | MD |   DEBUG1  | +31    | 7zCleanUp - Deleted
16:56:58:595 | MD |     INFO  | +0     | 7zCleanUp - Ended
16:57:04:923 | MD |   DEBUG2  | +6328  | XHotkeyTableCreation - Started
16:57:04:925 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - KeyGroup ~Esc is in TableKeyGroups ~Esc,~e&~t,
16:57:04:925 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 10 check
16:57:04:925 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Disabled Hotkey for: "~Esc"
16:57:04:925 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 11 check
16:57:04:925 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Disabling "CloseError" standard Hotkey method for key(s): "~Esc"
16:57:04:925 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 12 check
16:57:04:925 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Ended
16:57:04:962 | MD |   DEBUG2  | +31    | XHotkeyTableCreation - Started
16:57:04:982 | MD |   DEBUG2  | +31    | XHotkeyTableCreation - KeyGroup ~Esc is in TableKeyGroups ~Esc,~e&~t,
16:57:04:984 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 10 check
16:57:04:986 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Disabled Hotkey for: "~Esc"
16:57:04:986 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 11 check
16:57:04:986 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~Esc" to call label: "CloseProcess"
16:57:04:986 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 12 check
16:57:04:986 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Ended
16:57:04:986 | MD |    ERROR  | +0     | ScriptError - Your LibRetro_CPC dll is set to mess_libretro but could not locate this file:
L:\HyperSpin\Emulators\RetroArch 1.32\cores\mess_libretro.dll
16:57:04:014 | MD |     INFO  | +32    | ExitModule - Started
16:57:05:016 | MD |     INFO  | +0     | Starting Updating Statistics:
16:57:05:018 | MD |   DEBUG2  | +0     | Total Elapsed Time in Pause in seconds: 0
16:57:05:020 | MD |   DEBUG2  | +0     | gameSectionStartTime:1198927343
16:57:05:022 | MD |   DEBUG2  | +0     | ElapsedTime:10
16:57:05:024 | MD |   DEBUG2  | +0     | Statistics cleared game name: 007 - The Living Daylights
16:57:05:077 | MD |   DEBUG2  | +62    | Loaded game statistics from ini files:
Number_of_Times_Played: 5
Last_Time_Played: Saturday April 16, 2016 04:49:41 PM
Average_Time_Played: 9
Total_Time_Played: 46
System_Total_Played_Time: 46
Total_Global_Played_Time: 6282
16:57:05:077 | MD |   DEBUG2  | +0     | Updated Statistics: Number_of_Times_Played: 6
Last_Time_Played: Saturday April 16, 2016 04:56:54 PM
Average_Time_Played: 9
Total_Time_Played: 56
System_Total_Played_Time: 56
Total_Global_Played_Time: 6292
16:57:05:280 | MD |     INFO  | +203   | Game section statistics updated.
16:57:05:280 | MD |     INFO  | +0     | ExitModule - Ended
16:57:05:280 | MD |     INFO  | +0     | End of Module Logs
16:57:05:339 | RL |     INFO  | +11672 | Main - Module ended, exiting RocketLauncher normally
16:57:05:341 | RL |     INFO  | +0     | ExitScript - Started
16:57:05:341 | RL |   DEBUG1  | +0     | ExitScript - Restoring taskbar
16:57:05:483 | RL |     INFO  | +140   | SystemCursor - Restoring mouse cursor
16:57:05:503 | RL |   DEBUG1  | +16    | ExitScript - Restored cursor
16:57:05:505 | RL |     INFO  | +0     | ExitScript - Ended
 
 
MAME open and close quick log file
 

16:58:54:087 | RL |     INFO  | +N/A   | Main - RocketLauncher v1.0.1.5a (www.rlauncher.com)
16:58:54:345 | RL |     INFO  | +266   | Main - System Specs:
RocketLauncher Dir: L:\RocketLauncher
RocketLauncher is: 32-bit
OS: Microsoft Windows 10 Pro
SKU: Professional
Total Memory: 65474.39 MB
Free Memory: 51143.16 MB
Used Memory: 14331.230 MB
SystemType: 64-bit
Physical Processors: 1
Logical Processors: 12
GPU 1 Name: NVIDIA GeForce GTX 660 Ti
GPU 1 RAM: -2048.00 MB
GPU 1 Driver Version: 10.18.13.5354
Sound 1 Device: High Definition Audio Device
Sound 1 Status: Enabled
Sound 2 Device: NVIDIA High Definition Audio
Sound 2 Status: Enabled
Sound 3 Device: Apowersoft_AudioDevice
Sound 3 Status: Enabled
OS Language: English_United_States
System Locale: en-US
Formats Locale: en-US
Windows UI Language: en-US
Text Encoding: Windows-1252
OS Admin Status: No
Latest .Net Version: v4.0.30319
Monitor #1 (\\.\DISPLAY1): 1680x1050 (1680x1010 work) [32bit] [60hz] [Landscape]
Monitor #2 (\\.\DISPLAY2): 1680x1050 (1680x1010 work) [32bit] [60hz] [Landscape]  (Primary)
Current AHK Desktop Width: 1680
Current AHK Desktop Height: 1050
AutoHotkey Path:
AHK Version: 1.1.09.04
Unicode: No
16:58:54:345 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\RocketLauncher.exe exists
16:58:54:345 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
FileDescription          RocketLauncher
FileVersion              1.0.1.5
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: 2077184 bytes
Created: 3/24/2016 - 7:19:19 PM
Modified: 3/24/2016 - 7:19:28 PM
16:58:54:345 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\RocketLauncher.dll exists
16:58:54:345 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
FileDescription          RocketLauncher Utils
FileVersion              1.0.0.2
InternalName             RocketLauncher.dll
LegalCopyright           Copyright � RocketLauncher 2013-2015
OriginalFilename         RocketLauncher.dll
ProductName              RocketLauncher
ProductVersion           1.0.0.2
File Size: 61440 bytes
Created: 3/24/2016 - 6:38:09 PM
Modified: 12/23/2015 - 5:41:58 PM
16:58:54:360 | RL |     INFO  | +15    | CheckFile - Checking if L:\RocketLauncher\Module Extensions\Array.ahk exists
16:58:54:371 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Extension.
16:58:54:373 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 4924 bytes
Created: 3/24/2016 - 6:38:08 PM
Modified: 2/20/2011 - 3:35:02 PM
16:58:54:376 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\BinHexRW.ahk exists
16:58:54:380 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:383 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 5077 bytes
Created: 3/24/2016 - 6:38:08 PM
Modified: 10/16/2015 - 4:18:09 AM
16:58:54:385 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\BlockInput.exe exists
16:58:54:385 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
FileDescription
FileVersion              1.1.09.04
InternalName
OriginalFilename
ProductName
ProductVersion           1.1.09.04
File Size: 657920 bytes
Created: 3/24/2016 - 6:38:08 PM
Modified: 1/3/2014 - 12:27:34 PM
16:58:54:385 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\CLR_L.ahk exists
16:58:54:385 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
16:58:54:385 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 5474 bytes
Created: 3/24/2016 - 6:38:08 PM
Modified: 8/25/2015 - 9:55:08 AM
16:58:54:385 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\Control_AniGif.ahk exists
16:58:54:401 | RL |   DEBUG1  | +31    | CRC Check - CRC matches, this is an official unedited Extension.
16:58:54:404 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 5716 bytes
Created: 3/24/2016 - 6:38:08 PM
Modified: 4/30/2013 - 3:56:02 AM
16:58:54:406 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\gdip.ahk exists
16:58:54:406 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
16:58:54:406 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 88789 bytes
Created: 3/24/2016 - 6:38:08 PM
Modified: 1/14/2013 - 7:07:30 AM
16:58:54:406 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\gdip_alt.ahk exists
16:58:54:406 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:406 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 5891 bytes
Created: 3/24/2016 - 6:38:08 PM
Modified: 12/21/2015 - 1:08:03 PM
16:58:54:423 | RL |   DEBUG1  | +16    | gdip_alt.ahk Version: 1.0.3
16:58:54:425 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\gsdll32.dll exists
16:58:54:426 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 13090816 bytes
Created: 3/24/2016 - 6:38:08 PM
Modified: 1/7/2015 - 11:20:42 AM
16:58:54:426 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\itextsharp.dll exists
16:58:54:426 | 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: 3/24/2016 - 6:38:09 PM
Modified: 6/15/2013 - 4:06:21 AM
16:58:54:426 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\Java.ahk exists
16:58:54:426 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:426 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 7841 bytes
Created: 3/24/2016 - 6:38:09 PM
Modified: 12/24/2014 - 1:02:37 PM
16:58:54:442 | RL |   DEBUG1  | +16    | Java.ahk Version: 1.0.0
16:58:54:444 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\JSON.ahk exists
16:58:54:446 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
16:58:54:446 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 9203 bytes
Created: 3/24/2016 - 6:38:09 PM
Modified: 5/6/2013 - 4:22:25 AM
16:58:54:446 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\Origin.ahk exists
16:58:54:446 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:446 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 4904 bytes
Created: 3/24/2016 - 6:38:09 PM
Modified: 3/23/2015 - 4:51:41 AM
16:58:54:462 | RL |   DEBUG1  | +15    | Origin.ahk Version: 1.0.2
16:58:54:464 | RL |     INFO  | +16    | CheckFile - Checking if L:\RocketLauncher\Module Extensions\RegRW64.ahk exists
16:58:54:467 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
16:58:54:467 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 6915 bytes
Created: 3/24/2016 - 6:38:09 PM
Modified: 5/8/2014 - 5:06:39 PM
16:58:54:467 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\RIni.ahk exists
16:58:54:467 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
16:58:54:467 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 67561 bytes
Created: 3/24/2016 - 6:38:09 PM
Modified: 6/6/2013 - 8:56:23 AM
16:58:54:483 | RL |     INFO  | +15    | CheckFile - Checking if L:\RocketLauncher\Module Extensions\SevenZipSharp.dll exists
16:58:54:486 | 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: 3/24/2016 - 6:38:09 PM
Modified: 9/29/2015 - 11:35:11 AM
16:58:54:488 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\Steam.ahk exists
16:58:54:492 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:495 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 5347 bytes
Created: 3/24/2016 - 6:38:09 PM
Modified: 3/23/2015 - 4:52:25 AM
16:58:54:496 | RL |   DEBUG1  | +16    | Steam.ahk Version: 1.0.2
16:58:54:497 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\VA.ahk exists
16:58:54:497 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Extension.
16:58:54:497 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 34688 bytes
Created: 3/24/2016 - 6:38:09 PM
Modified: 3/2/2013 - 11:05:47 AM
16:58:54:497 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\VA_Extension.ahk exists
16:58:54:497 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:514 | RL |   DEBUG1  | +16    | CheckFile - Attributes:
File Size: 3833 bytes
Created: 3/24/2016 - 6:38:09 PM
Modified: 1/14/2015 - 10:16:56 AM
16:58:54:516 | RL |   DEBUG1  | +0     | VA_Extension.ahk Version: 1.0.1
16:58:54:518 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\7z.ahk exists
16:58:54:518 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:518 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 30311 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 1/11/2016 - 2:40:26 PM
16:58:54:518 | RL |   DEBUG1  | +0     | 7z.ahk Version: 1.0.3
16:58:54:518 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Bezel.ahk exists
16:58:54:536 | RL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:538 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 113706 bytes
Created: 3/24/2016 - 7:19:15 PM
Modified: 3/24/2016 - 7:19:17 PM
16:58:54:538 | RL |   DEBUG1  | +0     | Bezel.ahk Version: 1.1.11
16:58:54:538 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Fade.ahk exists
16:58:54:538 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:538 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 38464 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 1/16/2016 - 12:53:46 PM
16:58:54:538 | RL |   DEBUG1  | +0     | Fade.ahk Version: 1.1.5
16:58:54:538 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Fade Init.ahk exists
16:58:54:557 | RL |   DEBUG1  | +32    | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:559 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 1065 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 10/16/2015 - 4:18:27 AM
16:58:54:559 | RL |   DEBUG1  | +0     | Fade Init.ahk Version: 1.0.2
16:58:54:559 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Fade Animations.ahk exists
16:58:54:559 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:559 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 77260 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 1/11/2016 - 2:27:31 PM
16:58:54:559 | RL |   DEBUG1  | +0     | Fade Animations.ahk Version: 1.1.12
16:58:54:575 | RL |     INFO  | +15    | CheckFile - Checking if L:\RocketLauncher\Lib\Keymapper.ahk exists
16:58:54:579 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:582 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 33657 bytes
Created: 3/24/2016 - 7:19:30 PM
Modified: 3/24/2016 - 7:19:30 PM
16:58:54:584 | RL |   DEBUG1  | +0     | Keymapper.ahk Version: 1.1.4
16:58:54:586 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Keymapper Init.ahk exists
16:58:54:588 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:588 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 3956 bytes
Created: 3/24/2016 - 7:19:31 PM
Modified: 3/24/2016 - 7:19:31 PM
16:58:54:588 | RL |   DEBUG1  | +0     | Keymapper Init.ahk Version: 1.0.6
16:58:54:588 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\MultiGame.ahk exists
16:58:54:588 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:588 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 41158 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 1/16/2016 - 12:53:29 PM
16:58:54:605 | RL |   DEBUG1  | +15    | MultiGame.ahk Version: 1.0.9
16:58:54:607 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\MultiGame Init.ahk exists
16:58:54:610 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:610 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 161 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 4/15/2013 - 3:33:19 AM
16:58:54:610 | RL |   DEBUG1  | +0     | MultiGame Init.ahk Version: 1.0.0
16:58:54:610 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\MultiPlayer.ahk exists
16:58:54:610 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:610 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 66776 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 12/7/2015 - 7:37:45 PM
16:58:54:626 | RL |   DEBUG1  | +16    | MultiPlayer.ahk Version: 1.0.8
16:58:54:627 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Pause.ahk exists
16:58:54:629 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:629 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 394398 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 1/11/2016 - 2:20:50 PM
16:58:54:629 | RL |   DEBUG1  | +0     | Pause.ahk Version: 1.1.8
16:58:54:629 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Pause Init.ahk exists
16:58:54:646 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:649 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 553 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 8/24/2015 - 9:00:44 AM
16:58:54:651 | RL |   DEBUG1  | +0     | Pause Init.ahk Version: 1.0.3
16:58:54:653 | RL |     INFO  | +15    | CheckFile - Checking if L:\RocketLauncher\Lib\Password.ahk exists
16:58:54:657 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:660 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 10027 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 1/11/2016 - 2:22:58 PM
16:58:54:662 | RL |   DEBUG1  | +0     | Password.ahk Version: 1.0.3
16:58:54:664 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\RL.ahk exists
16:58:54:669 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:670 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 18545 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 1/11/2016 - 4:47:56 PM
16:58:54:670 | RL |   DEBUG1  | +0     | RL.ahk Version: 1.0
16:58:54:670 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Rom Mapping Launch Menu.ahk exists
16:58:54:670 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:670 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 72261 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 12/7/2015 - 7:37:59 PM
16:58:54:686 | RL |   DEBUG1  | +16    | Rom Mapping Launch Menu.ahk Version: 1.0.7
16:58:54:688 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Shared.ahk exists
16:58:54:695 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:697 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 162548 bytes
Created: 3/24/2016 - 7:19:38 PM
Modified: 3/24/2016 - 7:19:40 PM
16:58:54:699 | RL |   DEBUG1  | +15    | Shared.ahk Version: 1.3.9
16:58:54:700 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Statistics.ahk exists
16:58:54:700 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:700 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 26810 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 1/10/2016 - 2:04:41 PM
16:58:54:700 | RL |   DEBUG1  | +0     | Statistics.ahk Version: 1.0.4
16:58:54:700 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Statistics Init.ahk exists
16:58:54:716 | RL |   DEBUG1  | +16    | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:719 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 33 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 12/24/2014 - 1:23:48 PM
16:58:54:721 | RL |   DEBUG1  | +0     | Statistics Init.ahk Version: 1.0.1
16:58:54:721 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\Virtual Drive.ahk exists
16:58:54:721 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:721 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 18918 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 1/11/2016 - 2:21:47 PM
16:58:54:721 | RL |   DEBUG1  | +0     | Virtual Drive.ahk Version: 1.0.4
16:58:54:721 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\XHotkey.ahk exists
16:58:54:739 | RL |   DEBUG1  | +15    | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:741 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 26540 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 8/14/2015 - 2:14:18 PM
16:58:54:741 | RL |   DEBUG1  | +0     | XHotkey.ahk Version: 1.0.4
16:58:54:741 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Lib\XHotkey Init.ahk exists
16:58:54:741 | RL |   DEBUG1  | +0     | CRC Check - CRC matches, this is an official unedited Library.
16:58:54:741 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 1063 bytes
Created: 3/24/2016 - 6:37:57 PM
Modified: 8/14/2015 - 2:14:25 PM
16:58:54:741 | RL |   DEBUG1  | +0     | XHotkey Init.ahk Version: 1.0.2
16:58:54:741 | RL |   DEBUG1  | +0     | Main - Raw CLI received: "-s Aamber Pegasus -r Galaxy Wars & Hangman (19xx)(-)[translated] -f L:\HyperSpin\HyperSpin.exe -p HyperSpin -c 1 -o 1"
16:58:54:757 | RL |   DEBUG1  | +16    | Main - Received this dbName with no path via CLI: "Galaxy Wars & Hangman (19xx)(-)[translated]"
16:58:54:759 | RL |   DEBUG1  | +0     | Main - dbName: Galaxy Wars & Hangman (19xx)(-)[translated]
16:58:54:761 | RL |     INFO  | +16    | Main - Loading Front End Plugin: "HyperSpin"
16:58:54:761 | RL |     INFO  | +0     | Main - RocketLauncher received "Aamber Pegasus" and "Galaxy Wars & Hangman (19xx)(-)[translated]"
16:58:54:761 | RL |     INFO  | +0     | Main - Did not find a "L:\RocketLauncher\Settings\Aamber Pegasus\Game Options.ini" file, skipping any game-specific options.
16:58:54:761 | RL |     INFO  | +0     | Main - Galaxy Wars & Hangman (19xx)(-)[translated] is using the default emulator: MAME
16:58:54:761 | RL |     INFO  | +0     | Main - Checking for a [MAME] section in L:\RocketLauncher\Settings\Aamber Pegasus\Emulators.ini
16:58:54:778 | RL |     INFO  | +15    | Main - Checking for a [MAME] section in L:\RocketLauncher\Settings\Global Emulators.ini
16:58:54:781 | RL |     INFO  | +0     | Main - Found [MAME] in L:\RocketLauncher\Settings\Global Emulators.ini
16:58:54:783 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Modules\MAME\MAME.ahk exists
16:58:54:788 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 73162 bytes
Created: 3/24/2016 - 6:38:15 PM
Modified: 1/7/2016 - 6:17:13 PM
16:58:54:796 | RL |     INFO  | +16    | Main - CRC Check - CRC matches, this is an official unedited module.
16:58:54:798 | RL |     INFO  | +0     | Main - Galaxy Wars & Hangman (19xx)(-)[translated] will use module: L:\RocketLauncher\Modules\MAME\MAME.ahk
16:58:54:811 | RL |     INFO  | +16    | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
16:58:54:811 | RL |     INFO  | +0     | CheckFile - Checking if L:\HyperSpin\Emulators\Mame 172 64bit + NoNag + Hi-score + Forced Directinput 0.172\mame64.exe exists
16:58:54:811 | RL |   DEBUG1  | +0     | CheckFile - Attributes:
FileDescription          Multiple Arcade Machine Emulator
FileVersion              0, 172, 0, 0
InternalName             MAME
LegalCopyright           Copyright Nicola Salmoria and the MAME team
OriginalFilename         MAME
ProductName              MAME
ProductVersion           0.172
CompanyName              MAME Team
File Size: 134502400 bytes
Created: 4/7/2016 - 8:54:30 PM
Modified: 4/10/2016 - 5:49:46 AM
16:58:54:811 | RL |     INFO  | +0     | Main - INI Keys read
16:58:54:811 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\Module Extensions\7z.exe exists
16:58:54:811 | 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: 3/24/2016 - 6:38:08 PM
Modified: 3/24/2016 - 8:11:59 PM
16:58:54:827 | RL |     INFO  | +15    | CheckFile - Checking if L:\RocketLauncher\Module Extensions\7z.dll exists
16:58:54:830 | 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: 3/24/2016 - 6:38:08 PM
Modified: 9/29/2015 - 11:35:11 AM
16:58:54:833 | RL |     INFO  | +0     | Main - "Galaxy Wars & Hangman (19xx)(-)[translated]" does not qualify for MultiGame. Only roms with any of these strings in their name are acceptable: \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side
16:58:54:833 | RL |     INFO  | +0     | CheckPaths - Started
16:58:54:833 | RL |  WARNING  | +0     | Please make sure your Database Name (Rom Name) does not contain the special characters [ or ] as these are used to denote sections in RocketLauncher's INI Files: Galaxy Wars & Hangman (19xx)(-)[translated]
16:58:54:833 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom: L:\roms\Aamber Pegasus\Galaxy Wars & Hangman (19xx)(-)[translated].7z
16:58:54:833 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom by name in subfolder: L:\roms\Aamber Pegasus\Galaxy Wars & Hangman (19xx)(-)[translated]\Galaxy Wars & Hangman (19xx)(-)[translated].7z
16:58:54:833 | RL |   DEBUG1  | +0     | CheckPaths - Rom not found
16:58:54:851 | RL |   DEBUG1  | +16    | CheckPaths - Looking for rom: L:\roms\Aamber Pegasus\Galaxy Wars & Hangman (19xx)(-)[translated].rar
16:58:54:853 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom by name in subfolder: L:\roms\Aamber Pegasus\Galaxy Wars & Hangman (19xx)(-)[translated]\Galaxy Wars & Hangman (19xx)(-)[translated].rar
16:58:54:853 | RL |   DEBUG1  | +0     | CheckPaths - Rom not found
16:58:54:853 | RL |   DEBUG1  | +0     | CheckPaths - Looking for rom: L:\roms\Aamber Pegasus\Galaxy Wars & Hangman (19xx)(-)[translated].zip
16:58:54:853 | RL |     INFO  | +0     | CheckPaths - Found rom: L:\roms\Aamber Pegasus\Galaxy Wars & Hangman (19xx)(-)[translated].zip
16:58:54:853 | RL |   DEBUG1  | +0     | CheckPaths - Current romName: Galaxy Wars & Hangman (19xx)(-)[translated]
16:58:54:853 | RL |   DEBUG1  | +0     | CheckPaths - Current romPath: L:\roms\Aamber Pegasus
16:58:54:853 | RL |   DEBUG1  | +0     | CheckPaths - Current romExtension: .zip
16:58:54:853 | RL |     INFO  | +0     | CheckPaths - Ended
16:58:54:868 | RL |     INFO  | +15    | BuildScript - User Variables:
;----------------------------------------------------------------------------
; INJECTED VARIABLES
;----------------------------------------------------------------------------
 
#NoTrayIcon
#InstallKeybdHook
DetectHiddenWindows, ON
SetTitleMatchMode, 2
SendMode, Event
0 = 12
pluginPath = L:\RocketLauncher\Plugins
pluginName = HyperSpin
pluginExt = .plugin
contextOnExit = 1
rlMode =
rlTitle = RocketLauncher
rlVersion = 1.0.1.5a
rlAuthor = djvj
rlURL = www.rlauncher.com
langFile = L:\RocketLauncher\Data\Language\Localization.ini
primMonitor = 2
frontendPID =
frontendPath = L:\HyperSpin
frontendExe = HyperSpin.exe
frontendExt = exe
frontendName = HyperSpin
frontendDrive = L:
exitEmulatorKey = ~Esc
restoreFE = false
exitScriptKey = ~q & ~s
toggleCursorKey = ~e & ~t
emuFullPath = L:\HyperSpin\Emulators\Mame 172 64bit + NoNag + Hi-score + Forced Directinput 0.172\mame64.exe
emuPath = L:\HyperSpin\Emulators\Mame 172 64bit + NoNag + Hi-score + Forced Directinput 0.172
emuName = MAME
emuExt = exe
baseRomPath = L:\roms\Aamber Pegasus
romPath = L:\roms\Aamber Pegasus
romPathFromIni = L:\roms\Aamber Pegasus
romExtension = .zip
romExtensionOrig = .zip
romExtensions = 7z|rar|zip|sfc|gba|gb|a78|sv|gbc|rpk|gme|sc|cdt|ws|wsc|ngp|ngc|vms|ipf|n64|z64|sg|fds|caq|vb|vec|wav|cas|min|int|rom|tap|tzx|msa|nes|col|nds|cpr|gg|pce|st2|st|stx|sms|smc|lnx|md|32x|n64|a52|j64|cso|cue|iso|ccd|chd|bin
executable = mame64.exe
systemDbName = Aamber Pegasus
systemName = Aamber Pegasus
dbPath =
dbName = Galaxy Wars & Hangman (19xx)(-)[translated]
dbExt =
romName = Galaxy Wars & Hangman (19xx)(-)[translated]
romMapPath =
romMappingEnabled = false
romMappingLaunchMenuEnabled = false
romMappingFirstMatchingExt = false
romMappingShowAllRomsInArchive = true
romMappingNumberOfGamesByScreen = 7
romMappingHideParent = false
romMappingMenuWidth = 400
romMappingMenuMargin = 65
romMappingTextFont = Bebas Neue
romMappingTextOptions = cFFFFFFFF r4 s60 Bold
romMappingDisabledTextColor = ff888888
romMappingTextSizeDifference = 7
romMappingTextMargin = 15
romMappingTitleTextFont = Bebas Neue
romMappingTitleTextOptions = cFFFFFFFF r4 s90 Bold
romMappingTitle2TextFont = Bebas Neue
romMappingTitle2TextOptions = cFFFFFFFF r4 s22 Bold
romMappingGameInfoTextFont = Bebas Neue
romMappingGameInfoTextOptions = cFFFFFFFF r4 s22 Regular
romMappingGameNameTextFont = Bebas Neue
romMappingGameNameTextOptions = cFFFFFFFF r4 s40 Regular
romMappingBackgroundBrush = aa000000
romMappingColumnBrush = 33000000
romMappingButtonBrush1 = 6f000000
romMappingButtonBrush2 = 33000000
romMappingBackgroundAlign = Stretch and Lose Aspect
romMappingMenuFlagWidth = 55
romMappingMenuFlagSeparation = 7
romMappingDefaultMenuList = FullList
romMappingSingleFilteredRomAutomaticLaunch = false
altArchiveNameOnly =
altRomNameOnly =
altArchiveAndRomName =
altArchiveAndManyRomNames =
altRomNamesOnly =
romMapScenario =
skipchecks = false
romMatchExt = false
blockInputTime = 0
blockInputFile = L:\RocketLauncher\Module Extensions\BlockInput.exe
errorLevelReporting = false
lockLaunch = false
lockLaunchGame =
screenRotationAngle = 0
screenRotationAngleGame =
setResolution =
logFile = L:\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
navP2UpKey = Numpad8
navP2DownKey = Numpad2
navP2LeftKey = Numpad4
navP2RightKey = Numpad6
navP2SelectKey = NumpadEnter
originalWidth = 1680
originalHeight = 1050
vdEnabled = false
vdFullPath =
vdUseSCSI = true
vdDriveLetter =
vdAddDrive = true
servoStikEnabled = false
servoStikExitMode = false
ledblinkyEnabled = false
ledblinkySystemName =
ledblinkyFullPath =
ledblinkyProfilePath = L:\RocketLauncher\Profiles\LEDBlinky
ledblinkyRLProfile = L:\RocketLauncher\Profiles\LEDBlinky\RocketLauncher
winIPACFullPath =
ultraMapEnabled = false
ultraMapFullPath =
emuIdleShutdown = 0
launchPasswordHash = UpUpDownDownLeftRightLeftRight
hideCursor = false
hideEmu = false
hideFE = false
fadeIn = false
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 = Stretch and Lose Aspect
fadeLyr2Pos = Stretch and Lose Aspect
fadeLyr2X = 0
fadeLyr2Y = 0
fadeLyr2W =
fadeLyr2H =
fadeLyr2Adjust = 1
fadeLyr2PicPad = 0
fadeLyr2Prefix = Extra Layer 1 - Console
fadeLyr3Pos = Center
fadeLyr3X = 450
fadeLyr3Y = 450
fadeLyr3W =
fadeLyr3H =
fadeLyr3Adjust = 1
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 = 1
fadeLyr4X = 1792|952
fadeLyr4Y = 891|1596
fadeLyr4W = 128
fadeLyr4H =
fadeLyr4Pos = No Alignment
fadeLyr4FPS = 50
fadeLyr4PicPad = 0
fadeTranspGifColor = FFFFFF
fadeBarWindow = Image
fadeBarWindowX =
fadeBarWindowY =
fadeBarWindowW = 900
fadeBarWindowH =
fadeBarWindowR = 30
fadeBarWindowM = 30
fadeBarWindowHatchStyle = 8
fadeBar = 7zOnly
fadeBarNon7zProgressTime = 0
fadeBarBack = true
fadeBarBackColor = FF555555
fadeBarH = 30
fadeBarR = 10
fadeBarColor = DD00BFFF
fadeBarHatchStyle = 8
fadeBarPercentageText = true
fadeBarInfoText = true
fadeBarXOffset = 0
fadeBarYOffset = 150
fadeRomInfoDescription = filtered text
fadeRomInfoSystemName = image
fadeRomInfoYear = text with label
fadeRomInfoDeveloper = text with label
fadeRomInfoPublisher = text with label
fadeRomInfoGenre = disabled
fadeRomInfoRating = image
fadeRomInfoOrder = Description|SystemName|Year|Developer|Genre|Rating|Publisher
fadeRomInfoTextPlacement = User Defined
fadeRomInfoTextMargin = 7
fadeRomInfoText1Options = w1600|787 h90 x165 y870|1575 cFFE1E1E1 r4 s90 Left Regular
fadeRomInfoText2Options = w400 x8 y15 cFF555555 r4 s60 Bold
fadeRomInfoText3Options = w310 x165 y960|1665 cFFE1E1E1 r4 s66 Left Regular
fadeRomInfoText4Options = w1305|492 h66 x460 y960|1665 cFFE1E1E1 r4 s66 Left Regular
fadeRomInfoText5Options = cFF555555 r4 s42 Bold
fadeRomInfoText6Options = h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular
fadeRomInfoText7Options = h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular
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 = topRight
fadeStatsInfoTextMargin = 7
fadeStatsInfoText1Options = cFFB4B4B4 r4 s22 Bold
fadeStatsInfoText2Options = cFFB4B4B4 r4 s22 Bold
fadeStatsInfoText3Options = cFFB4B4B4 r4 s22 Bold
fadeStatsInfoText4Options = cFFB4B4B4 r4 s22 Bold
fadeStatsInfoText5Options = cFFB4B4B4 r4 s22 Bold
fadeStatsInfoText6Options = cFFB4B4B4 r4 s22 Bold
fadeText1X = 0
fadeText1Y = 0
fadeText1Options = cFFB4B4B4 r4 s30 Right Bold
fadeText1 = Loading Game
fadeText2X = 0
fadeText2Y = 0
fadeText2Options = cFFB4B4B4 r4 s30 Right Bold
fadeText2 = Extraction Complete, Ready
fadeText3 = Loading Game
fadeText4 = Loading Complete
fadeFont = Bebas Neue
fadeSystemAndRomLayersOnly = false
fadeExtractionTime = disabled
fadeExtractionTimeTextX = 0
fadeExtractionTimeTextY = 0
fadeExtractionTimeTextOptions = cFF555555 r4 s20 Bold
fadeInterruptKey =
detectFadeErrorEnabled = true
fadeImgPath = L:\RocketLauncher\Media\Fade
RLDataPath = L:\RocketLauncher\Data
RLMediaPath = L:\RocketLauncher\Media
RLErrSoundPath = L:\RocketLauncher\Media\Sounds\Error
modulesPath = L:\RocketLauncher\Modules
moduleFullName = L:\RocketLauncher\Modules\MAME\MAME.ahk
moduleName = MAME
modulePath = L:\RocketLauncher\Modules\MAME
moduleExtension = ahk
moduleExtensionsPath = L:\RocketLauncher\Module Extensions
libPath = L:\RocketLauncher\Lib
sevenZEnabled = true
sevenZPath = L:\RocketLauncher\Module Extensions\7z.exe
sevenZDllPath = L:\RocketLauncher\Module Extensions\7z.dll
sevenZExtractPath = C:\RockertLauncher Temp
sevenZExtractPathOrig =
sevenZAttachSystemName = false
sevenZDelTemp = true
sevenZSounds = true
sevenZFormats = .zip|.rar|.7z|.lzh|.gzip|.tar
sevenZFormatsNoP = zip|rar|7z|lzh|gzip|tar
sevenZFormatsRegEx = \.zip|\.rar|\.7z|\.lzh|\.gzip|\.tar
7zExtractPath = C:\RockertLauncher Temp
mgEnabled = false
mgKey = ~NumpadSub
mgBackgroundColor = FF000000
mgSidePadding = 0.2
mgWidthBaseRes = 1920
mgHeightBaseRes = 1080
mgYOffset = 500|800
mgFont = Arial
mgText1Options = x10p y250|500 w80p Center cBBFFFFFF r4 s100 BoldItalic
mgText1Text = Please select a game
mgText2Options = w96p cFFFFFFFF r4 s50 Center BoldItalic
mgText2Offset = 100
mgUseSound = true
mgSoundfreq = 300
mgExitEffect = none
mgSelectedEffect = rotate
mgUseGameArt = false
mgCandidate =
mgValidTypes = \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side
mgOnLaunch = false
pauseEnabled = false
pauseKey = ~NumpadAdd
pauseBackToMenuBarKey = X
pauseZoomInKey = C
pauseZoomOutKey = V
pauseScreenshotKey = ~PrintScreen
pauseHiToTextPath = L:\RocketLauncher\Module Extensions\HiToText.exe
pauseSaveStateKeyCodes = {shift down}{F7 down}{F7 up}{shift up}
pauseLoadStateKeyCodes = {F7 down}{F7 up}
keyboardEncoder =
keyboardEncoderEnabled = false
keymapperEnabled = false
keymapperAHKMethod = false
keymapper = xpadder
xpadderFullPath = L:\Utilities\Xpadder\xpadder.exe
joyToKeyFullPath = L:\Utilities\JoyToKey\JoyToKey.exe
profilePath = L:\RocketLauncher\Profiles
keymapperProfilePath = L:\RocketLauncher\Profiles\xpadder
keymapperFrontEndProfileName = RocketLauncherUI
keymapperFrontEndProfile = false
keymapperRocketLauncherProfileEnabled = false
joyIDsEnabled = false
joyIDsPreferredControllersGlobal =
joyIDsPreferredControllersSystem = use_global
joyIDsPreferredControllersOnExit =
CustomJoyNamesEnabled = false
CustomJoyNames =
rotateMethod = false
FEProfile = L:\RocketLauncher\Profiles\xpadder\RocketLauncherUI
defaultProfile = L:\RocketLauncher\Profiles\xpadder\_Default
systemProfile = L:\RocketLauncher\Profiles\xpadder\Aamber Pegasus
xPadderSystemProfile = L:\RocketLauncher\Profiles\xpadder\Aamber Pegasus\_Default
emuProfile = L:\RocketLauncher\Profiles\xpadder\Aamber Pegasus\MAME
romProfile = L:\RocketLauncher\Profiles\xpadder\Aamber Pegasus\Galaxy Wars & Hangman (19xx)(-)[translated]
RocketLauncherProfile = L:\RocketLauncher\Profiles\xpadder\RocketLauncher
blankProfile = L:\RocketLauncher\Profiles\xpadder\_Default\blank
ahkFEProfile = L:\RocketLauncher\Profiles\AHK\RocketLauncherUI
ahkDefaultProfile = L:\RocketLauncher\Profiles\AHK\_Default
ahkSystemProfile = L:\RocketLauncher\Profiles\AHK\Aamber Pegasus
ahkEmuProfile = L:\RocketLauncher\Profiles\AHK\Aamber Pegasus\MAME
ahkRomProfile = L:\RocketLauncher\Profiles\AHK\Aamber Pegasus\Galaxy Wars & Hangman (19xx)(-)[translated]
ahkRocketLauncherProfile = L:\RocketLauncher\Profiles\AHK\RocketLauncher
bezelEnabled = false
bezelICEnabled = false
statisticsEnabled = true
pressDuration = -1
emuVolume = 1
dxwndIni = L:\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini
dxwndFullPath = L:\RocketLauncher\Module Extensions\dxwnd\dxwnd.exe
qResFullPath = L:\RocketLauncher\Module Extensions\QRes.exe
mon1O =
pacDrivedllFile = L:\RocketLauncher\Module Extensions\PacDrive32.dll
userFadeAnimIniFile = L:\RocketLauncher\Lib\User Fade Animations.ini
 
16:58:54:872 | RL |     INFO  | +16    | BuildScript - Loaded XHotkey Init.ahk scripts
16:58:54:873 | RL |     INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
16:58:54:873 | RL |  WARNING  | +0     | BuildScript - "L:\RocketLauncher\Lib\User Functions Init.ahk" not found
16:58:54:873 | RL |   DEBUG1  | +0     | BuildScript - Module starts on line: 2
16:58:54:873 | RL |     INFO  | +0     | BuildScript - Validating module
16:58:54:894 | RL |     INFO  | +16    | BuildScript - Validation complete
16:58:54:896 | RL |     INFO  | +0     | BuildScript - Module:
MEmu = MAME
MEmuV =  v0.166
MURL = http://www.mame.net/
MAuthor = djvj,faahrev,brolly,Tomkun
MVersion = 2.3.1
MCRC = 9B041EF3
iCRC = 72BB0F21
mId = 635746812784197028
MSystem = "AAE","Aamber Pegasus","Acorn Electron","Amstrad CPC","Amstrad GX4000","APF Imagination Machine","Apple II","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","Bit Corporation Gamate","Camputers Lynx","Capcom","Capcom Classics","Capcom Play System","Capcom Play System II","Capcom Play System III","Casio PV-1000","Casio PV-2000","Cave","Coleco ADAM","ColecoVision","Commodore 64","Commodore MAX Machine","Creatronic Mega Duck","Data East Classics","EACA EG2000 Colour Genie","Emerson Arcadia 2001","Entex Adventure Vision","Epoch Game Pocket Computer","Epoch Super Cassette Vision","Exidy Sorcerer","Fairchild Channel F","Fujitsu FM-7","Funtech Super Acan","GamePark 32","GCE Vectrex","Hartung Game Master","HBMAME","Interton VC 4000","Irem Classics","JungleTac Sport Vii","Jupiter Ace","Konami Classics","LaserDisc","Magnavox Odyssey 2","MAME","Matra & Hachette Alice","Mattel Aquarius","Mattel Intellivision","MGT Sam Coupe","Midway Classics","Milton Bradley MicroVision","Namco Classics","Namco System 22","NEC PC-8801","NEC PC Engine","NEC PC Engine-CD","NEC SuperGrafx","NEC TurboGrafx-16","NEC TurboGrafx-CD","Nintendo 64","Nintendo 64DD","Nintendo Arcade Systems","Nintendo Classics","Nintendo Entertainment System","Nintendo Famicom","Nintendo Famicom Disk System","Nintendo Game Boy","Nintendo Game Boy Advance","Nintendo Game Boy Color","Nintendo Pokemon Mini","Nintendo Satellaview","Nintendo Super Famicom","Nintendo Super Game Boy","Nintendo Virtual Boy","Othello Multivision","PacMAME","Philips CD-i","Philips VG 5000","Philips Videopac Plus G7400","RCA Studio II","Sega 32X","Sega CD","Sega Classics","Sega Game Gear","Sega Genesis","Sega Master System","Sega Mega Drive","Sega Model 1","Sega Pico","Sega Saturn","Sega SC-3000","Sega SG-1000","Sega ST-V","Sega VMU","Sharp X1","Sinclair ZX81","SNK Classics","SNK Neo Geo","SNK Neo Geo AES","SNK Neo Geo AES","SNK Neo Geo CD","SNK Neo Geo MVS","SNK Neo Geo Pocket","SNK Neo Geo Pocket Color","Sony PlayStation","Sony PocketStation","Sord M5","Soundic Victory MPT-02","Super Nintendo Entertainment System","Taito Classics","Tandy TRS-80 Color Computer","Texas Instruments TI 99-4A","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
;
; Tape Control:
; MAME tape/cassette emulation is terrible because normally it means you need to manually start and stop the tapes yourself so it's highly suggested that you use another emulator for such systems.
; Tape control commands are accessible through the UI, press tab and then select Tape Control and you can start/stop the loaded tape from there.
; The following hotkeys can also be used:
; F2 - Start Tape
; Left Shift + F2 - Stop Tape
; Insert - While held, runs the game with throttling disabled and with the maximum frameskip. Useful to speedup the long tape loading process.
;
; Be aware that tape games are normally used on PC systems therefore it's likely that full keyboard emulation is enabled which means that you'll need to disable it in order to use any of the above
; hotkeys. To disable it press the Scroll Lock key, press it again to enable it back.
;
; 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.
;
; Jupiter Ace:
; Set mame to 48k ram
;
; 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
;
; RCA Studio 2:
; Most of the games require you to press a button to start the game, like 1 or 2 (refer to the game's manual).
; The game screen will be black until you do.
;
; 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"
; This system requires you to use a MAME build with Direct Input enabled in order to auto start the games. Most games will require commands to be typed to start
; and it's normally too complex to be able to do it through the -ab switch so SendCommand is used instead which means a Direct Input enabled MAME version is required.
;
; 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 CPC|cpc664
Amstrad GX4000|gx4000
APF Imagination Machine|apfimag
Apple II|apple2ep
Apple IIGS|apple2gs
Applied Technology MicroBee|mbeeic
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
Bit Corporation Gamate|gamate
Camputers Lynx|lynx128k
Casio PV-1000|pv1000
Casio PV-2000|pv2000
Coleco ADAM|adam
ColecoVision|coleco
Commodore 64|c64
Commodore MAX Machine|vic10
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
Jupiter Ace|jupace
Magnavox Odyssey 2|odyssey2
Matra & Hachette Alice|alice32
Mattel Aquarius|aquarius
Mattel Intellivision|intv
MGT Sam Coupe|samcoupe
Milton Bradley MicroVision|microvsn
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 64DD|n64dd
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 Videopac Plus G7400|g7400
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
Soundic Victory MPT-02|mpt02
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"
If FileExist(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)
Angle := ListXMLObject["Angle"].Value
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,Angle,romName)
} Else { ;bezel mode = normal
useBezels := " -nouse_bezels"   ; force disabling MAME built-in bezels
BezelStart(,,Angle)
}
}
}
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 && Angle) {
Log("Setting rotation mode to " . verticalRotationMode . " - Game's angle is " . Angle)
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, sevenZExtractPath)
 
; 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,samcoupe,vic10,cpc664 ; 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
{
ExpansionCartLocation := IniReadCheck(sysSettingsFile, "Settings", "ExpansionCartLocation", romPath . "\System",,1)
ExpansionCartLocation := GetFullName(ExpansionCartLocation)
CommandWaitOffset := IniReadCheck(sysSettingsFile, "Settings", "CommandWaitOffset", 0,,1)
 
ExpansionCart := IniReadCheck(sysSettingsFile, romName, "Expansion_Cart","extended_basic.rpk",,1) ; user can specify a rom specific cart instead of the default basic one
Command := IniReadCheck(sysSettingsFile, romName, "Command", "",,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 := " -nat -gromport single -cart1"
param2 := " """ . ExpansionCartLocation . "\" . ExpansionCart . """"
param3 := " -peb:slot2 32kmem -peb:slot3 speech -peb:slot6 tirs232 -peb:slot8 hfdc"
param4 := " -flop1"
param5 := " """ . romPath . "\" . romName . romExtension . """"
If InStr(romName, "(Disk")
{
Sleep, 50
If (romTable.MaxIndex() = 2)
{
param4 := " -flop1 " . " """ . romTable[1,1] . """"
param5 := " -flop2 " . " """ . romTable[2,1] . """"
}
}
} Else If (romExtension = ".rpk") ; Cart Game (RPK Format)
param1 := " -nat -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 In .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 In .d64,.g64,.g41,.d77,.d88,.1dd,.dfi,.imd,.ipf,.mfi,.mfm,.td0,.cqm,.cqi,.dsk
mediaDeviceType := "flop1"
Else If romExtension In .wav,.tap
mediaDeviceType := "cass1"
Else If romExtension In .80,.a0,.e0,.crt
mediaDeviceType := "cart1"
Else If romExtension In .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
If romName not contains (USA
mameID := "videopac"
}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"
}
}Else If (mameID = "samcoupe") ; MGT Sam Coupe
{ AutoBootDelay := IniReadCheck(mameSysINI, "Settings", "AutoBootDelay","2",,1) ; Read delay from config.
AutoBootDelay := " -autoboot_delay " . AutoBootDelay
 
If romExtension in .mgt,.dsk,.d77,.d88,.1dd,.dfi,.imd,.ipf,.mfi,.mfm,.td0,.cqm,.cqi
mediaDeviceType := "flop1"
param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""\nBOOT\n""" . AutoBootDelay . ""
}Else If (mameID = "vic10") ; Commodore MAX Machine
{   AutoBootDelay := IniReadCheck(mameSysINI, "Settings", "AutoBootDelay","2",,1) ; Read delay from config.
AutoBootDelay := " -autoboot_delay " . AutoBootDelay
 
If romExtension in .e0,.80
param1 := " -cart """ . romPath . "\" . romName . romExtension . """"
Else If romExtension in .wav,.tap
param1 := " -cass """ . romPath . "\" . romName . romExtension . """"
Else If romExtension in .t64,.prg,.p00
{
mediaDeviceType := "quik"
param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""RUN""" . AutoBootDelay . ""
}
}Else If (mameID = "cpc664") ; Amstrad CPC
{ LaunchProgram := IniReadCheck(mameSysINI, romName, "LaunchProgram","disk",,1) ; Read command from config.
LaunchProgram := " -autoboot_command " . """RUN \""" . LaunchProgram . "\n"""
AutoBootDelay := IniReadCheck(mameSysINI, "Settings", "AutoBootDelay","2",,1) ; Read delay from config.
AutoBootDelay := " -autoboot_delay " . AutoBootDelay
 
If romExtension in .d77,.d88,.1dd,.dfi,.imd,.ipf,.mfi,.mfm,.td0,.cqm,.cqi,.dsk
mediaDeviceType := "flop1"
param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """" . LaunchProgram . AutoBootDelay
}
 
;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 (messID = "jupace")  ; jupiter ace
{ If (romExtension = ".ace")
param1 := " -dump """ . romPath . "\" . romName . romExtension . """"
}Else If (mameID = "a800" || mameID = "fds") ; Atari 8-Bit, Nintendo Famicom Disk System
{ 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 If (mameID = "apple2ep") ; Apple II
{ If romExtension in .dsk,.do,.po,.rti,.edd,.d77,.d88,.1dd,.dfi,.imd,.i pf,.mfi,.mfm,.td0,.cqm,.cqi
param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
Else If romExtension in .wav
param1 := " -cass """ . romPath . "\" . romName . romExtension . """"
}Else If (mameID = "n64dd") ; Nintendo 64DD
{
If FileExist(romPath . romName . ".n64")
param1 := " -cart """ . romPath . "\" . romName . ".n64"" -quik """ . romPath . "\" . romName . romExtension . """"
Else
param1 := " -quik """ . romPath . "\" . romName . romExtension . """"
}Else If mameID in studio2,mpt02 ;RCA Studio 2
{
If (romExtension != ".txt")
param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"
Else {
If romName contains Doodle
button2 := "A 1" ; Press 1 on P1 controller
If romName contains Patterns
button2 := "A 2" ; Press 2 on P1 controller
If romName contains Bowling
button2 := "A 3" ; Press 3 on P1 controller
If romName contains Freeway
button2 := "A 4" ; Press 4 on P1 controller
If romName contains Addition
button2 := "A 5" ; Press 5 on P1 controller
}
 
; Generate a lua script to press the Clear button so games will start
ScriptFileName := GeneratePressButtonScript("Clear",button2)
bootscript := " -script """ . ScriptFileName . """ -autoboot_delay 1"
}
} 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
If FileExist(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")
 
If (mameID = "ti99_4a") ; Texas Instruments TI 99-4A
{
SendCommand("X", 1000) ;To bypass the first screen
If (Command)
SendCommand(Command,,,,,, CommandWaitOffset) ;Send command affect it with an offset if needed
}
 
;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){
If !FileExist(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,
(
-- This script will reset the machine
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
}
 
GeneratePressButtonScript(button1,button2=""){ ; Generates a lua script to send a soft reset to MAME
Global emuPath
 
ScriptFileName := emuPath . "\press_button.lua"
FileDelete, %ScriptFileName%
If (button2) {
button2str = `n`t`temu.wait(1);`n`t`tioport["%button2%"]:write(1);`n`t`temu.wait(1);`n`t`tioport["%button2%"]:write(0);
}
 
FileAppend,
(
local function press_button()
 if resetcounter == nil then
ioport["%button1%"]:write(1);
emu.wait(1);
ioport["%button1%"]:write(0);
resetcounter = 1;%button2str%
 end
end
if resetcounter == nil then
 emu.wait(1);
 press_button();
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
 
16:58:54:904 | RL |     INFO  | +15    | BuildScript - Loaded Multi-Player scripts
16:58:54:904 | RL |     INFO  | +0     | BuildScript - Loaded Statistics.ahk script
16:58:54:904 | RL |  WARNING  | +0     | BuildScript - "L:\RocketLauncher\Lib\User Functions.ahk" not found
16:58:54:904 | RL |     INFO  | +0     | BuildScript - Finished injecting functions into module
16:58:54:919 | RL |     INFO  | +16    | Main - Module is built
16:58:54:921 | RL |     INFO  | +0     | CheckFile - Checking if L:\RocketLauncher\AutoHotkey.dll exists
16:58:54:923 | 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: 3/24/2016 - 6:37:52 PM
Modified: 4/20/2013 - 8:16:32 AM
16:58:54:924 | RL |     INFO  | +0     | Main - Running module
16:58:54:924 | RL |     INFO  | +0     | Main - Starting timer to watch if Front End gets displaced and restore it if it does.
16:58:55:066 | MD |     INFO  | +N/A   | Module initialized
16:58:55:066 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Started
16:58:55:066 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - KeyGroup ~Esc not in TableKeyGroups
16:58:55:066 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 1 check
16:58:55:066 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 2 check
16:58:55:092 | MD |   DEBUG2  | +31    | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~Esc" to call label: "CloseProcess"
16:58:55:095 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Ended
16:58:55:097 | MD |     INFO  | +0     | StartModule - Started
16:58:55:097 | MD |     INFO  | +0     | StartModule - MEmu: MAME
MEmuV: v0.166
MURL: http://www.mame.net/
MAuthor: djvj,faahrev,brolly,Tomkun
MVersion: 2.3.1
MCRC: 9B041EF3
iCRC: 72BB0F21
MID:
MSystem: "AAE","Aamber Pegasus","Acorn Electron","Amstrad CPC","Amstrad GX4000","APF Imagination Machine","Apple II","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","Bit Corporation Gamate","Camputers Lynx","Capcom","Capcom Classics","Capcom Play System","Capcom Play System II","Capcom Play System III","Casio PV-1000","Casio PV-2000","Cave","Coleco ADAM","ColecoVision","Commodore 64","Commodore MAX Machine","Creatronic Mega Duck","Data East Classics","EACA EG2000 Colour Genie","Emerson Arcadia 2001","Entex Adventure Vision","Epoch Game Pocket Computer","Epoch Super Cassette Vision","Exidy Sorcerer","Fairchild Channel F","Fujitsu FM-7","Funtech Super Acan","GamePark 32","GCE Vectrex","Hartung Game Master","HBMAME","Interton VC 4000","Irem Classics","JungleTac Sport Vii","Jupiter Ace","Konami Classics","LaserDisc","Magnavox Odyssey 2","MAME","Matra & Hachette Alice","Mattel Aquarius","Mattel Intellivision","MGT Sam Coupe","Midway Classics","Milton Bradley MicroVision","Namco Classics","Namco System 22","NEC PC-8801","NEC PC Engine","NEC PC Engine-CD","NEC SuperGrafx","NEC TurboGrafx-16","NEC TurboGrafx-CD","Nintendo 64","Nintendo 64DD","Nintendo Arcade Systems","Nintendo Classics","Nintendo Entertainment System","Nintendo Famicom","Nintendo Famicom Disk System","Nintendo Game Boy","Nintendo Game Boy Advance","Nintendo Game Boy Color","Nintendo Pokemon Mini","Nintendo Satellaview","Nintendo Super Famicom","Nintendo Super Game Boy","Nintendo Virtual Boy","Othello Multivision","PacMAME","Philips CD-i","Philips VG 5000","Philips Videopac Plus G7400","RCA Studio II","Sega 32X","Sega CD","Sega Classics","Sega Game Gear","Sega Genesis","Sega Master System","Sega Mega Drive","Sega Model 1","Sega Pico","Sega Saturn","Sega SC-3000","Sega SG-1000","Sega ST-V","Sega VMU","Sharp X1","Sinclair ZX81","SNK Classics","SNK Neo Geo","SNK Neo Geo AES","SNK Neo Geo AES","SNK Neo Geo CD","SNK Neo Geo MVS","SNK Neo Geo Pocket","SNK Neo Geo Pocket Color","Sony PlayStation","Sony PocketStation","Sord M5","Soundic Victory MPT-02","Super Nintendo Entertainment System","Taito Classics","Tandy TRS-80 Color Computer","Texas Instruments TI 99-4A","Tiger Game.com","Tomy Tutor","VTech CreatiVision","Watara Supervision","Williams Classics"
16:58:55:132 | MD |     INFO  | +0     | StartModule - You have a supported System Name for this module: "Aamber Pegasus"
16:58:55:155 | MD |     INFO  | +31    | PluginInit - Started
16:58:55:157 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Started - Building Table for: Name|Cloneof|Publisher|Year|Genre|Rating
16:58:55:157 | MD |     INFO  | +0     | CheckFile - Checking if L:\HyperSpin\Databases\Aamber Pegasus\Aamber Pegasus.xml exists
16:58:55:157 | MD |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 1234 bytes
Created: 4/14/2016 - 9:49:30 AM
Modified: 4/14/2016 - 9:15:12 PM
16:58:55:157 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching for a "Game Name" in the database
16:58:55:157 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Game Name" in the database!
16:58:55:184 | MD |   DEBUG1  | +32    | BuildDatabaseTable - Searching database for: Name
16:58:55:186 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Name" with a value: "Galaxy Wars & Hangman"
16:58:55:189 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Cloneof
16:58:55:192 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Could not find: Cloneof
16:58:55:195 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Publisher
16:58:55:197 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Could not find: Publisher
16:58:55:214 | MD |   DEBUG1  | +31    | BuildDatabaseTable - Searching database for: Year
16:58:55:217 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Could not find: Year
16:58:55:218 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Genre
16:58:55:218 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Could not find: Genre
16:58:55:218 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Searching database for: Rating
16:58:55:218 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Found "Rating" with a value: "Other - NR (Not Rated)"
16:58:55:218 | MD |   DEBUG2  | +0     | PluginInit - GameInfo:
GameInfo Label: Name | GameInfo Value: Galaxy Wars & Hangman
GameInfo Label: Rating | GameInfo Value: Other - NR (Not Rated)
16:58:55:218 | MD |   DEBUG1  | +0     | BuildDatabaseTable - Ended
16:58:55:255 | MD |   DEBUG1  | +31    | BuildAssetsTable - Started - Building Table for: Game Logo|System Logo
16:58:55:258 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Game Logo: L:\HyperSpin\Media\Aamber Pegasus\Images\Wheel\Galaxy Wars & Hangman (19xx)(-)[translated].png
16:58:55:259 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a System Logo: L:\HyperSpin\Media\Main Menu\Images\Wheel\Aamber Pegasus.png
16:58:55:259 | MD |   DEBUG2  | +0     | BuildAssetsTable - Media assets found:
Asset Label: System Logo | Asset Path1:  L:\HyperSpin\Media\Main Menu\Images\Wheel\Aamber Pegasus.png | Asset Extension1:  png | Asset Type1:  system
16:58:55:259 | MD |   DEBUG1  | +0     | BuildAssetsTable - Ended
16:58:55:259 | MD |   DEBUG1  | +0     | BuildAssetsTable - Started - Building Table for: Artwork1|Box Art|Cartridge|Flyers|Letters|Other
16:58:55:259 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Artwork1: L:\HyperSpin\Media\Aamber Pegasus\Images\Artwork1\Galaxy Wars & Hangman (19xx)(-)[translated].png
16:58:55:296 | MD |   DEBUG1  | +47    | BuildAssetsTable - Searching for a Box Art: L:\HyperSpin\Media\Aamber Pegasus\Images\Artwork2\Galaxy Wars & Hangman (19xx)(-)[translated].png
16:58:55:296 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Cartridge: L:\HyperSpin\Media\Aamber Pegasus\Images\Artwork3\Galaxy Wars & Hangman (19xx)(-)[translated].png
16:58:55:296 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Flyers: L:\HyperSpin\Media\Aamber Pegasus\Images\Artwork4\Galaxy Wars & Hangman (19xx)(-)[translated].png
16:58:55:296 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Letters: L:\HyperSpin\Media\Aamber Pegasus\Images\Letters
16:58:55:361 | MD |   DEBUG1  | +62    | BuildAssetsTable - Searching for a Other: L:\HyperSpin\Media\Aamber Pegasus\Images\Other
16:58:55:361 | MD |   DEBUG2  | +0     | BuildAssetsTable - Media assets found:
Asset Label: Letters | Asset Path1:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\!.png | Asset Extension1:  png | Asset Type1:  system
Asset Label: Letters | Asset Path2:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\'.png | Asset Extension2:  png | Asset Type2:  system
Asset Label: Letters | Asset Path3:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\(.png | Asset Extension3:  png | Asset Type3:  system
Asset Label: Letters | Asset Path4:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\0.png | Asset Extension4:  png | Asset Type4:  system
Asset Label: Letters | Asset Path5:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\1.png | Asset Extension5:  png | Asset Type5:  system
Asset Label: Letters | Asset Path6:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\2.png | Asset Extension6:  png | Asset Type6:  system
Asset Label: Letters | Asset Path7:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\3.png | Asset Extension7:  png | Asset Type7:  system
Asset Label: Letters | Asset Path8:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\4.png | Asset Extension8:  png | Asset Type8:  system
Asset Label: Letters | Asset Path9:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\5.png | Asset Extension9:  png | Asset Type9:  system
Asset Label: Letters | Asset Path10:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\6.png | Asset Extension10:  png | Asset Type10:  system
Asset Label: Letters | Asset Path11:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\7.png | Asset Extension11:  png | Asset Type11:  system
Asset Label: Letters | Asset Path12:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\8.png | Asset Extension12:  png | Asset Type12:  system
Asset Label: Letters | Asset Path13:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\9.png | Asset Extension13:  png | Asset Type13:  system
Asset Label: Letters | Asset Path14:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\a.png | Asset Extension14:  png | Asset Type14:  system
Asset Label: Letters | Asset Path15:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\b.png | Asset Extension15:  png | Asset Type15:  system
Asset Label: Letters | Asset Path16:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\c.png | Asset Extension16:  png | Asset Type16:  system
Asset Label: Letters | Asset Path17:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\d.png | Asset Extension17:  png | Asset Type17:  system
Asset Label: Letters | Asset Path18:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\e.png | Asset Extension18:  png | Asset Type18:  system
Asset Label: Letters | Asset Path19:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\f.png | Asset Extension19:  png | Asset Type19:  system
Asset Label: Letters | Asset Path20:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\g.png | Asset Extension20:  png | Asset Type20:  system
Asset Label: Letters | Asset Path21:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\h.png | Asset Extension21:  png | Asset Type21:  system
Asset Label: Letters | Asset Path22:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\i.png | Asset Extension22:  png | Asset Type22:  system
Asset Label: Letters | Asset Path23:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\j.png | Asset Extension23:  png | Asset Type23:  system
Asset Label: Letters | Asset Path24:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\k.png | Asset Extension24:  png | Asset Type24:  system
Asset Label: Letters | Asset Path25:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\l.png | Asset Extension25:  png | Asset Type25:  system
Asset Label: Letters | Asset Path26:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\m.png | Asset Extension26:  png | Asset Type26:  system
Asset Label: Letters | Asset Path27:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\n.png | Asset Extension27:  png | Asset Type27:  system
Asset Label: Letters | Asset Path28:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\o.png | Asset Extension28:  png | Asset Type28:  system
Asset Label: Letters | Asset Path29:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\p.png | Asset Extension29:  png | Asset Type29:  system
Asset Label: Letters | Asset Path30:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\q.png | Asset Extension30:  png | Asset Type30:  system
Asset Label: Letters | Asset Path31:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\r.png | Asset Extension31:  png | Asset Type31:  system
Asset Label: Letters | Asset Path32:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\s.png | Asset Extension32:  png | Asset Type32:  system
Asset Label: Letters | Asset Path33:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\t.png | Asset Extension33:  png | Asset Type33:  system
Asset Label: Letters | Asset Path34:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\u.png | Asset Extension34:  png | Asset Type34:  system
Asset Label: Letters | Asset Path35:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\v.png | Asset Extension35:  png | Asset Type35:  system
Asset Label: Letters | Asset Path36:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\w.png | Asset Extension36:  png | Asset Type36:  system
Asset Label: Letters | Asset Path37:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\x.png | Asset Extension37:  png | Asset Type37:  system
Asset Label: Letters | Asset Path38:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\y.png | Asset Extension38:  png | Asset Type38:  system
Asset Label: Letters | Asset Path39:  L:\HyperSpin\Media\Aamber Pegasus\Images\Letters\z.png | Asset Extension39:  png | Asset Type39:  system
Asset Label: Other | Asset Path1:  L:\HyperSpin\Media\Aamber Pegasus\Images\Other\Pointer.png | Asset Extension1:  png | Asset Type1:  system
16:58:55:361 | MD |   DEBUG1  | +0     | BuildAssetsTable - Ended
16:58:55:387 | MD |   DEBUG1  | +32    | BuildAssetsTable - Started - Building Table for: Game Video|System Video
16:58:55:390 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a Game Video: L:\HyperSpin\Media\Aamber Pegasus\Video\Galaxy Wars & Hangman (19xx)(-)[translated].*
16:58:55:392 | MD |   DEBUG1  | +0     | BuildAssetsTable - Searching for a System Video: L:\HyperSpin\Media\Main Menu\Video\Aamber Pegasus.*
16:58:55:394 | MD |   DEBUG1  | +0     | BuildAssetsTable - Ended
16:58:55:396 | MD |     INFO  | +0     | PluginInit - Ended
16:58:55:399 | MD |   DEBUG1  | +0     | StartModule - Setting romName to the dbName sent to RocketLauncher: Galaxy Wars & Hangman (19xx)(-)[translated]
16:58:55:401 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Started
16:58:55:417 | MD |   DEBUG2  | +31    | XHotkeyTableCreation - KeyGroup ~e&~t not in TableKeyGroups ~Esc,
16:58:55:420 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 1 check
16:58:55:422 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Post loop 2 check
16:58:55:425 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~e & ~t" to call label: "ToggleCursor"
16:58:55:427 | MD |   DEBUG2  | +0     | XHotkeyTableCreation - Ended
16:58:55:432 | MD |     INFO  | +0     | StartModule - Ended
16:58:55:432 | MD |   DEBUG1  | +0     | Module - Finished building the MAME object
16:58:55:432 | MD |     INFO  | +0     | Module Setting - [Settings] - Fullscreen: true
16:58:55:432 | MD |     INFO  | +0     | Module Setting - [Settings] - LegacyMode: false
16:58:55:432 | MD |     INFO  | +0     | Module Setting - [Aamber Pegasus] - LegacyMode: false
16:58:55:457 | MD |     INFO  | +31    | Module Setting - [Galaxy Wars & Hangman (19xx)(-)[translated]] - LegacyMode: false
16:58:55:459 | MD |     INFO  | +0     | Module Setting - [Settings] - MAME_BIOS_Path: L:\HyperSpin\Emulators\Mame 172 64bit + NoNag + Hi-score + Forced Directinput 0.172\roms
16:58:55:461 | MD |     INFO  | +0     | Module Setting - [Settings] - Videomode: d3d
16:58:55:462 | MD |     INFO  | +0     | Module Setting - [Settings] - PauseMethod: 1
16:58:55:462 | MD |     INFO  | +0     | Module Setting - [Settings] - BilinearFilter: false
16:58:55:462 | MD |     INFO  | +0     | Module Setting - [Aamber Pegasus] - BilinearFilter: false
16:58:55:462 | MD |     INFO  | +0     | Module Setting - [Settings] - HLSL: false
16:58:55:462 | MD |     INFO  | +0     | Module Setting - [Aamber Pegasus] - HLSL: false
16:58:55:462 | MD |     INFO  | +0     | Module Setting - [Galaxy Wars & Hangman (19xx)(-)[translated]] - HLSL: false
16:58:55:462 | MD |     INFO  | +0     | Module Setting - [Settings] - GLSL: false
16:58:55:488 | MD |     INFO  | +31    | Module Setting - [Aamber Pegasus] - GLSL: false
16:58:55:490 | MD |     INFO  | +0     | Module Setting - [Galaxy Wars & Hangman (19xx)(-)[translated]] - GLSL: false
16:58:55:492 | MD |     INFO  | +0     | Module Setting - [Settings] - BezelMode: layout
16:58:55:495 | MD |     INFO  | +0     | Module Setting - [Aamber Pegasus] - BezelMode: layout
16:58:55:519 | MD |     INFO  | +32    | Module Setting - [Galaxy Wars & Hangman (19xx)(-)[translated]] - BezelMode: layout
16:58:55:522 | MD |     INFO  | +0     | Module Setting - [Settings] - VerticalRotationMode: none
16:58:55:523 | MD |     INFO  | +0     | Module Setting - [Aamber Pegasus] - VerticalRotationMode: none
16:58:55:523 | MD |     INFO  | +0     | Module Setting - [Galaxy Wars & Hangman (19xx)(-)[translated]] - VerticalRotationMode: none
16:58:55:523 | MD |     INFO  | +0     | Module Setting - [Settings] - CheatMode: false
16:58:55:523 | MD |     INFO  | +0     | Module Setting - [Settings] - CheatModeKey:
16:58:55:523 | MD |     INFO  | +0     | Module Setting - [Aamber Pegasus] - UseSoftwareList: false
16:58:55:560 | MD |     INFO  | +47    | Module Setting - [Galaxy Wars & Hangman (19xx)(-)[translated]] - UseSoftwareList: false
16:58:55:562 | MD |     INFO  | +0     | Module Setting - [Aamber Pegasus] - StaticParameters:
16:58:55:564 | MD |     INFO  | +0     | Module Setting - [Aamber Pegasus] - Parameters:
16:58:55:564 | MD |     INFO  | +0     | Module Setting - [Galaxy Wars & Hangman (19xx)(-)[translated]] - Parameters:
16:58:55:564 | MD |     INFO  | +0     | Module Setting - [Galaxy Wars & Hangman (19xx)(-)[translated]] - MameRomName:
16:58:55:564 | MD |     INFO  | +0     | Module Setting - [Aamber Pegasus] - Autosave: false
16:58:55:564 | MD |     INFO  | +0     | Module Setting - [Galaxy Wars & Hangman (19xx)(-)[translated]] - Autosave: false
16:58:55:564 | MD |     INFO  | +0     | Module Setting - [Settings] - Volume:
16:58:55:564 | MD |     INFO  | +0     | Module Setting - [Aamber Pegasus] - Volume:
16:58:55:590 | MD |     INFO  | +31    | Module Setting - [Galaxy Wars & Hangman (19xx)(-)[translated]] - Volume:
16:58:55:593 | MD |     INFO  | +0     | Module Setting - [Aamber Pegasus] - Artwork_Crop: true
16:58:55:595 | MD |     INFO  | +0     | Module Setting - [Galaxy Wars & Hangman (19xx)(-)[translated]] - Artwork_Crop: true
16:58:55:598 | MD |     INFO  | +0     | Module Setting - [Aamber Pegasus] - Use_Bezels: false
16:58:55:600 | MD |     INFO  | +0     | Module Setting - [Galaxy Wars & Hangman (19xx)(-)[translated]] - Use_Bezels: false
16:58:55:602 | MD |     INFO  | +0     | Module Setting - [Aamber Pegasus] - Use_Overlays: true
16:58:55:621 | MD |     INFO  | +31    | Module Setting - [Galaxy Wars & Hangman (19xx)(-)[translated]] - Use_Overlays: true
16:58:55:623 | MD |     INFO  | +0     | Module Setting - [Aamber Pegasus] - Use_Backdrops: true
16:58:55:625 | MD |     INFO  | +0     | Module Setting - [Galaxy Wars & Hangman (19xx)(-)[translated]] - Use_Backdrops: true
16:58:55:625 | MD |     INFO  | +0     | Module Setting - [Aamber Pegasus] - Use_Cpanels: false
16:58:55:625 | MD |     INFO  | +0     | Module Setting - [Galaxy Wars & Hangman (19xx)(-)[translated]] - Use_Cpanels: false
16:58:55:625 | MD |     INFO  | +0     | Module Setting - [Aamber Pegasus] - Use_Marquees: false
16:58:55:625 | MD |     INFO  | +0     | Module Setting - [Galaxy Wars & Hangman (19xx)(-)[translated]] - Use_Marquees: false
16:58:55:625 | MD |     INFO  | +0     | Module Setting - [Aamber Pegasus] - IniPath:
16:58:55:625 | MD |     INFO  | +0     | Module Setting - [Aamber Pegasus] - HashPath:
16:58:55:661 | MD |     INFO  | +31    | Module Setting - [Link/Network] - Enable_Link_Play: false
16:58:55:663 | MD |     INFO  | +0     | Module Setting - [Galaxy Wars & Hangman (19xx)(-)[translated]] - Enable_Link_Play: false
16:58:55:665 | MD |     INFO  | +0     | 7z - Started, received L:\roms\Aamber Pegasus\Galaxy Wars & Hangman (19xx)(-)[translated].zip. If rom is an archive, it will extract to C:\RockertLauncher Temp
16:58:55:665 | MD |   DEBUG1  | +0     | 7z - Using Standard method to extract this rom
16:58:55:665 | MD |   DEBUG1  | +0     | 7z - ".zip" found in .zip|.rar|.7z|.lzh|.gzip|.tar
16:58:55:665 | MD |     INFO  | +0     | CheckFile - Checking if L:\roms\Aamber Pegasus\Galaxy Wars & Hangman (19xx)(-)[translated].zip exists
16:58:55:665 | MD |   DEBUG1  | +0     | CheckFile - Attributes:
File Size: 2324 bytes
Created: 4/15/2016 - 9:07:33 PM
Modified: 4/15/2016 - 9:07:33 PM
16:58:55:749 | MD |     INFO  | +94    | 7z - Archive name matches rom name; DLL found rom inside archive using "findFileInZip": "Galaxy Wars & Hangman (19xx)(-)[translated].bin"
16:58:55:784 | MD |   DEBUG1  | +31    | 7z - Invoked COM Object, ROM extracted size: 4096 bytes
16:58:55:786 | MD |   DEBUG1  | +0     | 7z - Checking if this archive has already been extracted in C:\RockertLauncher Temp\Galaxy Wars & Hangman (19xx)(-)[translated]
16:58:55:788 | MD |   DEBUG1  | +0     | 7z - File does not already exist in C:\RockertLauncher Temp\Galaxy Wars & Hangman (19xx)(-)[translated], proceeding to extract it.
16:58:55:790 | MD |   DEBUG1  | +0     | 7z - Calculated a difference of  bytes, so this file will be extracted
16:58:55:824 | MD |   DEBUG1  | +47    | 7z - File found in archive
16:58:55:827 | MD |     INFO  | +0     | 7z - Extracted path of rom will be 115 in length and within the 255 character limit.
16:58:55:828 | MD |     INFO  | +0     | 7z - The sevenZExtractPath has 252604 MB of free space which is enough to extract this game: 0 MB
16:58:55:828 | MD |   DEBUG1  | +0     | 7z - Logging is debug or higher, dumping 7z Extraction info to log
16:58:55:828 | MD |   DEBUG1  | +0     | 7z - Starting 7z extraction of L:\roms\Aamber Pegasus\Galaxy Wars & Hangman (19xx)(-)[translated].zip  to C:\RockertLauncher Temp\Galaxy Wars & Hangman (19xx)(-)[translated]
16:58:55:855 | MD |     INFO  | +31    | Process - Wait 7z.exe 2
16:58:55:859 | MD |   DEBUG1  | +0     | 7z - Starting sevenZTimeout Timer
16:58:55:898 | MD |   DEBUG1  | +32    | Extracting file: | Percentage Extracted:   0%
16:58:56:041 | MD |   DEBUG1  | +140   | Extracting file: Galaxy Wars & Hangman (19xx)(-)[translated].bin | Percentage Extracted: 100%
16:58:56:128 | MD |   DEBUG1  | +94    | sevenZTimeout - 7z.exe is no longer running
16:58:56:172 | MD |   DEBUG1  | +47    | Extracting file: Galaxy Wars & Hangman (19xx)(-)[translated].bin | Percentage Extracted: 100%
16:58:56:173 | MD |   DEBUG1  | +0     | 7z - 7z.exe returned a percentage >= 100, assuming extraction is complete
16:58:56:173 | MD |   DEBUG1  | +0     | 7z - Finished 7z extraction which took 1 seconds
16:58:56:173 | MD |   DEBUG1  | +0     | 7z - Found file in C:\RockertLauncher Temp\Galaxy Wars & Hangman (19xx)(-)[translated]\Galaxy Wars & Hangman (19xx)(-)[translated].bin
16:58:56:173 | MD |   DEBUG1  | +0     | 7z - romPath changed from "L:\roms\Aamber Pegasus" to "C:\RockertLauncher Temp\Galaxy Wars & Hangman (19xx)(-)[translated]"
16:58:56:209 | MD |   DEBUG1  | +31    | 7z - romName changed from "Galaxy Wars & Hangman (19xx)(-)[translated]" to "Galaxy Wars & Hangman (19xx)(-)[translated]"
16:58:56:212 | MD |   DEBUG1  | +0     | 7z - romExtension changed from ".zip" to ".bin"
16:58:56:240 | MD |     INFO  | +31    | 7z - Ended
16:58:56:244 | MD |     INFO  | +0     | Module - Detected MAME Product Version from 'L:\HyperSpin\Emulators\Mame 172 64bit + NoNag + Hi-score + Forced Directinput 0.172\mame64.exe' is 172
16:58:56:270 | MD |     INFO  | +32    | Module - Running MAME in non-legacy mode
16:58:56:273 | MD |   DEBUG1  | +0     | Module - Single session
16:58:56:275 | MD |     INFO  | +0     | Run - Running: L:\HyperSpin\Emulators\Mame 172 64bit + NoNag + Hi-score + Forced Directinput 0.172\"mame64.exe" pegasus -cart1 "C:\RockertLauncher Temp\Galaxy Wars & Hangman (19xx)(-)[translated]\Galaxy Wars & Hangman (19xx)(-)[translated].bin" -rompath "L:\roms\Aamber Pegasus;L:\HyperSpin\Emulators\Mame 172 64bit + NoNag + Hi-score + Forced Directinput 0.172\roms" -nowindow -nohlsl_enable -nogl_glsl -video d3d -artwork_crop -nouse_bezels -use_overlays -use_backdrops -nouse_cpanels -nouse_marquees -nofilter -skip_gameinfo
16:58:56:342 | MD |   DEBUG1  | +78    | Run - ""mame64.exe" pegasus -cart1 "C:\RockertLauncher Temp\Galaxy Wars & Hangman (19xx)(-)[translated]\Galaxy Wars & Hangman (19xx)(-)[translated].bin" -rompath "L:\roms\Aamber Pegasus;L:\HyperSpin\Emulators\Mame 172 64bit + NoNag + Hi-score + Forced Directinput 0.172\roms" -nowindow -nohlsl_enable -nogl_glsl -video d3d -artwork_crop -nouse_bezels -use_overlays -use_backdrops -nouse_cpanels -nouse_marquees -nofilter -skip_gameinfo" Process ID: 13944
16:58:56:346 | MD |   DEBUG1  | +0     | GetActiveWindowStatus - Title: RocketLauncherUI v1.0.1.0 [ FE = HyperSpin 1.4 | Plugin = HyperSpin ] | Class: HwndWrapper[RocketLauncherUI.exe;;cb0caab2-ee86-459f-9fac-40dcb65a2587] | State: 0 | X: 1668 | Y: 64 | Width: 1694 | Height: 975 | Window HWND: 0x1dd08d8 | Process ID: 4308 | Process Path: L:\RocketLauncher\RocketLauncherUI\RocketLauncherUI.exe
16:58:56:349 | MD |     INFO  | +0     | WinWait - Waiting for "ahk_class MAME"
16:58:56:591 | MD |   DEBUG1  | +250   | GetActiveWindowStatus - Title: MAME: Aamber Pegasus [pegasus] | Class: MAME | State: 0 | X: 1680 | Y: 0 | Width: 1680 | Height: 1050 | Window HWND: 0x11f13a0 | Process ID: 13944 | Process Path: L:\HyperSpin\Emulators\Mame 172 64bit + NoNag + Hi-score + Forced Directinput 0.172\mame64.exe
16:58:56:595 | MD |   DEBUG1  | +0     | GetActiveWindowStatus - Title: MAME: Aamber Pegasus [pegasus] | Class: MAME | State: 0 | X: 1680 | Y: 0 | Width: 1680 | Height: 1050 | Window HWND: 0x11f13a0 | Process ID: 13944 | Process Path: L:\HyperSpin\Emulators\Mame 172 64bit + NoNag + Hi-score + Forced Directinput 0.172\mame64.exe
16:58:56:598 | MD |     INFO  | +0     | WinWaitActive - Waiting for "ahk_class MAME"
16:58:56:708 | MD |   DEBUG1  | +109   | GetActiveWindowStatus - Title: MAME: Aamber Pegasus [pegasus] | Class: MAME | State: 0 | X: 1680 | Y: 0 | Width: 1680 | Height: 1050 | Window HWND: 0x11f13a0 | Process ID: 13944 | Process Path: L:\HyperSpin\Emulators\Mame 172 64bit + NoNag + Hi-score + Forced Directinput 0.172\mame64.exe
16:58:57:073 | MD |     INFO  | +375   | Process - WaitClose mame64.exe
16:58:57:078 | MD |     INFO  | +0     | 7zCleanUp - Started
16:58:57:165 | MD |   DEBUG1  | +78    | 7zCleanUp - Deleted C:\RockertLauncher Temp\Galaxy Wars & Hangman (19xx)(-)[translated]
16:58:57:184 | MD |     INFO  | +32    | 7zCleanUp - Ended
16:58:57:187 | MD |     INFO  | +0     | ExitModule - Started
16:58:57:189 | MD |     INFO  | +0     | Starting Updating Statistics:
16:58:57:189 | MD |   DEBUG2  | +0     | Total Elapsed Time in Pause in seconds: 0
16:58:57:189 | MD |   DEBUG2  | +0     | gameSectionStartTime:1199048609
16:58:57:189 | MD |   DEBUG2  | +0     | ElapsedTime:1
16:58:57:189 | MD |   DEBUG2  | +0     | Statistics cleared game name: Galaxy Wars & Hangman
16:58:57:301 | MD |   DEBUG2  | +109   | Loaded game statistics from ini files:
Number_of_Times_Played: 0
Last_Time_Played: 0
Average_Time_Played: 0
Total_Time_Played: 0
System_Total_Played_Time: 60
Total_Global_Played_Time: 6292
16:58:57:301 | MD |   DEBUG2  | +0     | Updated Statistics: Number_of_Times_Played: 1
Last_Time_Played: Saturday April 16, 2016 04:58:55 PM
Average_Time_Played: 1
Total_Time_Played: 1
System_Total_Played_Time: 61
Total_Global_Played_Time: 6293
16:58:57:459 | MD |     INFO  | +156   | Game section statistics updated.
16:58:57:463 | MD |     INFO  | +0     | ExitModule - Ended
16:58:57:463 | MD |     INFO  | +0     | End of Module Logs
16:58:57:520 | RL |     INFO  | +2594  | Main - Module ended, exiting RocketLauncher normally
16:58:57:523 | RL |     INFO  | +0     | ExitScript - Started
16:58:57:524 | RL |   DEBUG1  | +0     | ExitScript - Restoring taskbar
16:58:57:666 | RL |     INFO  | +140   | SystemCursor - Restoring mouse cursor
16:58:57:688 | RL |   DEBUG1  | +32    | ExitScript - Restored cursor
16:58:57:688 | RL |     INFO  | +0     | ExitScript - Ended
 
 
Thank you for any assistance..

 

post-28595-0-53752400-1460793224_thumb.jpg

post-28595-0-03564600-1460793229_thumb.jpg

post-28595-0-47005000-1460793233_thumb.jpg

post-28595-0-02908300-1460793239_thumb.jpg

Posted

again, I'm taking baby steps.  I had to reinstall MAME, and it is working on a few more emulators..I must have jacked something up, but seems to be running like normal again.... So back to normal troubleshooting, I am configuring my modules as in Post #9 here http://www.rlauncher.com/forum/showthread.php?2803-Best-Emulator-For-Each-System&p=25125#post25125  As I try to run Atari 5200 or 7800, or a few others, it says 5200.rom not found (tried in a5200 a5200 ..."Fatal error: Required files are missing, the Machine cannot be run"

 

The Picture is where I have my bios "HyperSpin\Emulators\RetroArch 1.32\system"

 

Is this the correct place for my MAME/MESS/and all other console bios?? 

post-28595-0-91960500-1460899439_thumb.jpg

post-28595-0-92730100-1460899475_thumb.jpg

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...