Thread: GX4000 problemes with retroarch mame core

Results 1 to 14 of 14
  1. Collapse Details
    GX4000 problemes with retroarch mame core 
    #1
    Member
    MainSecondary
    Join Date
    Feb 2015
    Posts
    77
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site
    Hello,
    I have a problem with mame core for gx4000 system.
    All works good outside of rlauncher, but when i try to launch a game with rlauncher that not work.

    My log:
    Code:
    15:50:03:566 | RL |      INFO  | +N/A   | Main - RocketLauncher v1.2.0.1 (www.rlauncher.com)
    15:50:03:592 | RL |   WARNING  | +31    | Main - Logging level is debug or higher and will cause slowdowns to RocketLauncher's performance. When troubleshooting is finished, please lower logging level to restore proper performance.
    15:50:03:678 | RL |     DEBUG  | +79    | Registry.Read - Reading from Registry : RootKey=HKEY_LOCAL_MACHINE, SubKey=System\CurrentControlSet\Control\Windows, ValueName=ErrorMode,RegistryVersion=32
    15:50:03:678 | RL |     DEBUG  | +0     | Registry.Read - Registry Read finished, returning 0
    15:50:03:679 | RL |      INFO  | +0     | Main - System Specs:
    					RocketLauncher Dir: D:\Console RL\RocketLauncher
    					RocketLauncher is: 32-bit
    					OS: Microsoft Windows 10 Famille
    					SKU: Windows 8
    					Total Memory: 16317.11 MB
    					Free Memory: 9623.20 MB
    					Used Memory: 6693.910 MB
    					SystemType: 64-bit
    					Physical Processors: 1
    					Logical Processors: 8
    					GPU 1 Name: NVIDIA GeForce GTX 1080
    					GPU 1 RAM: -1.00 MB
    					GPU 1 Driver Version: 25.21.14.1917
    					Sound 1 Device: Périphérique High Definition Audio
    					Sound 1 Status: Enabled
    					Sound 2 Device: NVIDIA Virtual Audio Device (Wave Extensible) (WDM)
    					Sound 2 Status: Enabled
    					Sound 3 Device: NVIDIA High Definition Audio
    					Sound 3 Status: Enabled
    					OS Language: French_Standard
    					System Locale: fr-FR
    					Formats Locale: fr-FR
    					Windows UI Language: fr-FR
    					Text Encoding: Windows-1252
    					OS Admin Status: No
    					RL Compatibility Flags: 
    					Latest .Net Version: v4.0.30319
    					Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1040 work) [32bit] [60hz] [Landscape]  (Primary)
    					Current AHK Desktop Width: 1920
    					Current AHK Desktop Height: 1080
    					Monitor #1 DPI: 100
    					ErrorMode: 0
    					AutoHotkey Path: 
    					AHK Version: 1.1.13.00
    					Unicode: No
    15:50:03:680 | RL |      INFO  | +0     | CheckFile - Checking if D:\Console RL\RocketLauncher\RocketLauncher.exe exists
    15:50:03:681 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					FileDescription         	RocketLauncher
    					FileVersion             	1.2.0.1
    					LegalCopyright          	©2016 RocketLauncher
    					ProductName             	djvj's one swell guy!
    					ProductVersion          	1.2.0.1
    					CompanyName             	Your favorite Front End companion! Visit us @ www.rlauncher.com
    					File Size:			2195456 bytes
    					Created:			2/23/2019 - 11:06:47
    					Modified:			1/22/2019 - 9:49:31
    15:50:03:682 | RL |      INFO  | +0     | Main - Raw CLI received: "-s Amstrad GX4000 -r batman -f D:\Console RL\LaunchBox\LaunchBox.exe -p LaunchBox -c 1 -o 1"
    15:50:03:683 | RL |     TRACE  | +0     | File.__New - Creating new file object of: "D:\Console RL\RocketLauncher\Module Extensions\RocketLauncher.dll"
    15:50:03:685 | RL |      INFO  | +0     | File.CheckFile - Checking if "D:\Console RL\RocketLauncher\Module Extensions\RocketLauncher.dll" exists
    15:50:03:685 | RL |     TRACE  | +0     | File.Exist - This file exists: D:\Console RL\RocketLauncher\Module Extensions\RocketLauncher.dll
    15:50:03:685 | RL |     DEBUG  | +0     | File.CheckFile - Attributes:
    					FileDescription         	RocketLauncher Utils
    					FileVersion             	1.1.0.0
    					InternalName            	RocketLauncher.dll
    					LegalCopyright          	Copyright © RocketLauncher 2013-2016
    					OriginalFilename        	RocketLauncher.dll
    					ProductName             	RocketLauncher
    					ProductVersion          	1.1.0.0
    					File Size:			81408 bytes
    					Created:			2/23/2019 - 11:06:47
    					Modified:			1/22/2019 - 9:48:59
    15:50:03:690 | RL |      INFO  | +15    | CRC Check - CRC matches, this is an official unedited Extension: D:\Console RL\RocketLauncher\Module Extensions\Array.ahk
    15:50:03:690 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			4926 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:49:21
    15:50:03:692 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Module Extensions\BinHexRW.ahk
    15:50:03:693 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			5112 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:25:10
    15:50:03:693 | RL |      INFO  | +0     | CheckFile - Checking if D:\Console RL\RocketLauncher\Module Extensions\BlockInput.exe exists
    15:50:03:695 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					FileDescription         	 
    					FileVersion             	1.1.09.04
    					InternalName            	 
    					OriginalFilename        	 
    					ProductName             	 
    					ProductVersion          	1.1.09.04
    					File Size:			657920 bytes
    					Created:			2/23/2019 - 11:06:47
    					Modified:			3/5/2016 - 6:03:57
    15:50:03:697 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Extension: D:\Console RL\RocketLauncher\Module Extensions\CLR_L.ahk | vInterop
    15:50:03:697 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			5503 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:49:57
    15:50:03:699 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Extension: D:\Console RL\RocketLauncher\Module Extensions\Control_AniGif.ahk | vAniGif.ahk
    15:50:03:700 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			5716 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			3/5/2016 - 6:03:57
    15:50:03:703 | RL |     ERROR  | +16    | CRC Check - No CRC defined on the header for: D:\Console RL\RocketLauncher\Module Extensions\gdip.ahk
    15:50:03:703 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			88789 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			3/5/2016 - 6:03:57
    15:50:03:705 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Module Extensions\gdip_alt.ahk
    15:50:03:706 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			5955 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:25:23
    15:50:03:706 | RL |      INFO  | +0     | CheckFile - Checking if D:\Console RL\RocketLauncher\Module Extensions\gsdll32.dll exists
    15:50:03:708 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			13090816 bytes
    					Created:			2/23/2019 - 11:06:47
    					Modified:			3/5/2016 - 6:03:58
    15:50:03:708 | RL |      INFO  | +0     | CheckFile - Checking if D:\Console RL\RocketLauncher\Module Extensions\itextsharp.dll exists
    15:50:03:710 | RL |     DEBUG  | +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:			2/23/2019 - 11:06:47
    					Modified:			3/5/2016 - 6:03:58
    15:50:03:712 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Module Extensions\Java.ahk
    15:50:03:712 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			7859 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:25:36
    15:50:03:714 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Extension: D:\Console RL\RocketLauncher\Module Extensions\JSON.ahk
    15:50:03:715 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			9227 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			3/9/2016 - 11:42:45
    15:50:03:717 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Module Extensions\Origin.ahk
    15:50:03:718 | RL |     DEBUG  | +15    | CheckFile - Attributes:
    					File Size:			4915 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:26:16
    15:50:03:720 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Extension: D:\Console RL\RocketLauncher\Module Extensions\RegRW64.ahk
    15:50:03:720 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			6915 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			3/5/2016 - 6:03:57
    15:50:03:723 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Extension: D:\Console RL\RocketLauncher\Module Extensions\RIni.ahk | v1.7
    15:50:03:723 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			67872 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			9/11/2016 - 7:40:14
    15:50:03:724 | RL |      INFO  | +0     | CheckFile - Checking if D:\Console RL\RocketLauncher\Module Extensions\SevenZipSharp.dll exists
    15:50:03:725 | RL |     DEBUG  | +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:			2/23/2019 - 11:06:47
    					Modified:			3/5/2016 - 6:03:57
    15:50:03:727 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Module Extensions\Steam.ahk
    15:50:03:728 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			5517 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:26:25
    15:50:03:730 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Extension: D:\Console RL\RocketLauncher\Module Extensions\VA.ahk
    15:50:03:731 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			34688 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			3/5/2016 - 6:03:57
    15:50:03:733 | RL |      INFO  | +16    | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Module Extensions\VA_Extension.ahk
    15:50:03:734 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			3862 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:26:32
    15:50:03:736 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\7z.ahk
    15:50:03:736 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			33916 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:49:48
    15:50:03:740 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Bezel.ahk
    15:50:03:740 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			121257 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:48:59
    15:50:03:742 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Fade.ahk
    15:50:03:743 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			39707 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:49:31
    15:50:03:745 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Fade Init.ahk
    15:50:03:745 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			1140 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:27:47
    15:50:03:748 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Fade Animations.ahk
    15:50:03:748 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			77961 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:27:37
    15:50:03:751 | RL |      INFO  | +16    | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Keymapper.ahk
    15:50:03:751 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			33682 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:28:29
    15:50:03:753 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Keymapper Init.ahk
    15:50:03:754 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			3966 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:28:17
    15:50:03:756 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\MultiGame.ahk
    15:50:03:757 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			41583 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:28:47
    15:50:03:759 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\MultiGame Init.ahk
    15:50:03:759 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			169 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:28:38
    15:50:03:762 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\MultiPlayer.ahk
    15:50:03:762 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			67277 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:28:55
    15:50:03:768 | RL |      INFO  | +15    | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Pause.ahk
    15:50:03:768 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			408415 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:49:10
    15:50:03:770 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Pause Init.ahk
    15:50:03:771 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			563 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:29:15
    15:50:03:773 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Password.ahk
    15:50:03:773 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			10131 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:29:07
    15:50:03:775 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\DLL\RocketLauncher.ahk
    15:50:03:776 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			31509 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:49:11
    15:50:03:778 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Log\Logger.ahk
    15:50:03:779 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			3558 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:32:18
    15:50:03:781 | RL |      INFO  | +16    | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\MiscUtils.ahk
    15:50:03:781 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			6709 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:49:15
    15:50:03:783 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\Environment\Registry.ahk
    15:50:03:784 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			2084 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:49:42
    15:50:03:786 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\Environment\ArrayUtils.ahk
    15:50:03:786 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			306 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:49:11
    15:50:03:788 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\Environment\LocaleUtils.ahk
    15:50:03:789 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			2104 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:49:05
    15:50:03:791 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\Environment\StringUtils.ahk
    15:50:03:791 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			7754 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:48:51
    15:50:03:793 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\Environment\TimerUtils.ahk
    15:50:03:794 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			2948 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:33:57
    15:50:03:796 | RL |      INFO  | +16    | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\File\ArchiveFile.ahk
    15:50:03:796 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			346 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:49:34
    15:50:03:798 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\File\DemulShooter.ahk
    15:50:03:799 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			786 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:48:47
    15:50:03:801 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\File\Emulator.ahk
    15:50:03:801 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			1231 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:34:30
    15:50:03:803 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\File\File.ahk
    15:50:03:804 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			9522 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:49:21
    15:50:03:806 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\File\FileUtils.ahk
    15:50:03:806 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			339 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:49:07
    15:50:03:808 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\File\Folder.ahk
    15:50:03:809 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			643 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:34:48
    15:50:03:811 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\File\IniFile.ahk
    15:50:03:811 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			4364 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:34:57
    15:50:03:813 | RL |      INFO  | +15    | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\File\Process.ahk
    15:50:03:814 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			9711 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:49:24
    15:50:03:816 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\File\PropertiesFile.ahk
    15:50:03:816 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			4218 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:49:44
    15:50:03:818 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\File\RIniFile.ahk
    15:50:03:819 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			3898 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:35:14
    15:50:03:821 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\File\XMLFile.ahk
    15:50:03:821 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			331 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:48:52
    15:50:03:823 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\Input\KeyUtils.ahk
    15:50:03:824 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			5426 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:35:23
    15:50:03:826 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\UI\Control.ahk
    15:50:03:827 | RL |     DEBUG  | +16    | CheckFile - Attributes:
    					File Size:			4603 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:35:32
    15:50:03:829 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\UI\Window.ahk
    15:50:03:829 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			24655 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:49:21
    15:50:03:831 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Classes\Util\UI\WindowTitle.ahk
    15:50:03:832 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			1171 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:35:49
    15:50:03:835 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Rom Mapping Launch Menu.ahk
    15:50:03:835 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			72279 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:29:33
    15:50:03:837 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Shader.ahk
    15:50:03:838 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			4183 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:29:51
    15:50:03:840 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Shader Init.ahk
    15:50:03:840 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			412 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:29:40
    15:50:03:844 | RL |      INFO  | +15    | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Shared.ahk
    15:50:03:844 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			173248 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			1/22/2019 - 9:49:07
    15:50:03:847 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Statistics.ahk
    15:50:03:847 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			27008 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:30:22
    15:50:03:849 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Statistics Init.ahk
    15:50:03:850 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			43 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:30:14
    15:50:03:852 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\Virtual Drive.ahk
    15:50:03:853 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			20294 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:30:47
    15:50:03:855 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\XHotkey.ahk
    15:50:03:855 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			26615 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:31:04
    15:50:03:857 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Lib\XHotkey Init.ahk
    15:50:03:858 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			1073 bytes
    					Created:			2/23/2019 - 11:06:33
    					Modified:			10/10/2016 - 7:30:56
    15:50:03:858 | RL |     DEBUG  | +0     | Main - Received this dbName with no path via CLI: "batman"
    15:50:03:859 | RL |     DEBUG  | +16    | Main - dbName: batman
    15:50:03:859 | RL |      INFO  | +0     | Main - Loading Front End Plugin: "LaunchBox"
    15:50:03:861 | RL |      INFO  | +0     | CRC Check - CRC matches, this is an official unedited Library: D:\Console RL\RocketLauncher\Plugins\LaunchBox.plugin
    15:50:03:862 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			14956 bytes
    					Created:			2/23/2019 - 11:06:34
    					Modified:			1/22/2019 - 9:49:00
    15:50:03:862 | RL |     TRACE  | +0     | Process.__New - Creating new process object for: "D:\Console RL\LaunchBox\LaunchBox.exe"
    15:50:03:863 | RL |     TRACE  | +0     | File.__New - Creating new file object of: "D:\Console RL\LaunchBox\LaunchBox.exe"
    15:50:03:864 | RL |      INFO  | +0     | Main - RocketLauncher received "Amstrad GX4000" and "batman"
    15:50:03:868 | RL |      INFO  | +0     | Main - Did not find a "D:\Console RL\RocketLauncher\Settings\Amstrad GX4000\Game Options.ini" file, skipping any game-specific options.
    15:50:03:868 | RL |      INFO  | +0     | Main - batman is using the default emulator: RetroArch
    15:50:03:869 | RL |      INFO  | +0     | Main - Checking for a [RetroArch] section in D:\Console RL\RocketLauncher\Settings\Amstrad GX4000\Emulators.ini
    15:50:03:869 | RL |      INFO  | +0     | Main - Checking for a [RetroArch] section in D:\Console RL\RocketLauncher\Settings\Global Emulators.ini
    15:50:03:870 | RL |      INFO  | +0     | Main - Found [RetroArch] in D:\Console RL\RocketLauncher\Settings\Global Emulators.ini
    15:50:03:872 | RL |      INFO  | +0     | CheckFile - Checking if D:\Console RL\RocketLauncher\Modules\RetroArch CHD\RetroArch.ahk exists
    15:50:03:874 | RL |     DEBUG  | +16    | CheckFile - Attributes:
    					File Size:			52652 bytes
    					Created:			2/23/2019 - 11:06:34
    					Modified:			2/15/2019 - 2:07:01
    15:50:03:876 | RL |   WARNING  | +0     | Main - CRC Check - Module has no CRC defined on the header.
    15:50:03:876 | RL |      INFO  | +0     | Main - batman will use module: D:\Console RL\RocketLauncher\Modules\RetroArch CHD\RetroArch.ahk
    15:50:03:896 | RL |      INFO  | +15    | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
    15:50:03:904 | RL |      INFO  | +0     | CheckFile - Checking if D:\Console RL\Emulators\RetroArch\retroarch.exe exists
    15:50:03:906 | RL |     DEBUG  | +16    | CheckFile - Attributes:
    					File Size:			10383872 bytes
    					Created:			2/23/2019 - 11:06:42
    					Modified:			2/23/2019 - 5:55:24
    15:50:03:906 | RL |      INFO  | +0     | Main - INI Keys read
    15:50:03:908 | RL |      INFO  | +0     | CheckFile - Checking if D:\Console RL\RocketLauncher\Module Extensions\7z.exe exists
    15:50:03:909 | RL |     DEBUG  | +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:			2/23/2019 - 11:06:47
    					Modified:			3/5/2016 - 6:03:57
    15:50:03:910 | RL |      INFO  | +0     | CheckFile - Checking if D:\Console RL\RocketLauncher\Module Extensions\7z.dll exists
    15:50:03:911 | RL |     DEBUG  | +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:			2/23/2019 - 11:06:47
    					Modified:			3/5/2016 - 6:03:57
    15:50:03:915 | RL |      INFO  | +0     | Main - "batman" does not qualify for MultiGame. Only roms with any of these strings in their name are acceptable: \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side
    15:50:03:915 | RL |      INFO  | +0     | CheckPaths - Started
    15:50:03:916 | RL |      INFO  | +0     | CheckPaths - Looking for rom: D:\Console RL\Emulators\RetroArch\system\mame\roms\batman.7z
    15:50:03:916 | RL |      INFO  | +0     | CheckPaths - Looking for rom by name in subfolder: D:\Console RL\Emulators\RetroArch\system\mame\roms\batman\batman.7z
    15:50:03:916 | RL |      INFO  | +0     | CheckPaths - Rom not found
    15:50:03:917 | RL |      INFO  | +0     | CheckPaths - Looking for rom: D:\Console RL\Emulators\RetroArch\system\mame\roms\batman.zip
    15:50:03:917 | RL |      INFO  | +0     | CheckPaths - Looking for rom by name in subfolder: D:\Console RL\Emulators\RetroArch\system\mame\roms\batman\batman.zip
    15:50:03:917 | RL |      INFO  | +0     | CheckPaths - Rom not found
    15:50:03:918 | RL |      INFO  | +0     | CheckPaths - Looking for rom: D:\Console RL\Emulators\RetroArch\system\mame\roms\batman.md
    15:50:03:918 | RL |      INFO  | +0     | CheckPaths - Looking for rom by name in subfolder: D:\Console RL\Emulators\RetroArch\system\mame\roms\batman\batman.md
    15:50:03:919 | RL |      INFO  | +0     | CheckPaths - Rom not found
    15:50:03:919 | RL |      INFO  | +0     | CheckPaths - Looking for rom: D:\Console RL\Emulators\RetroArch\system\mame\roms\batman.bin
    15:50:03:919 | RL |      INFO  | +0     | CheckPaths - Looking for rom by name in subfolder: D:\Console RL\Emulators\RetroArch\system\mame\roms\batman\batman.bin
    15:50:03:920 | RL |      INFO  | +0     | CheckPaths - Rom not found
    15:50:03:920 | RL |      INFO  | +0     | CheckPaths - Looking for rom: Z:\Roms\gx4000\batman.7z
    15:50:03:921 | RL |      INFO  | +16    | CheckPaths - Looking for rom by name in subfolder: Z:\Roms\gx4000\batman\batman.7z
    15:50:03:922 | RL |      INFO  | +0     | CheckPaths - Rom not found
    15:50:03:922 | RL |      INFO  | +0     | CheckPaths - Looking for rom: Z:\Roms\gx4000\batman.zip
    15:50:03:924 | RL |      INFO  | +0     | CheckPaths - Found rom: Z:\Roms\gx4000\batman.zip
    15:50:03:924 | RL |     DEBUG  | +0     | CheckPaths - Current romName: batman
    15:50:03:925 | RL |     DEBUG  | +0     | CheckPaths - Current romPath: Z:\Roms\gx4000
    15:50:03:925 | RL |     DEBUG  | +0     | CheckPaths - Current romExtension: .zip
    15:50:03:925 | RL |      INFO  | +0     | CheckPaths - Ended
    15:50:03:926 | RL |      INFO  | +0     | BuildScript - User Variables:
    					;----------------------------------------------------------------------------
    					; INJECTED VARIABLES
    					;----------------------------------------------------------------------------
    					
    					#NoTrayIcon
    					#InstallKeybdHook
    					MiscUtils.DetectHiddenWindows("On")
    					SetTitleMatchMode, 2
    					SendMode, Event
    					Global RLLog
    					Global RLObject
    					0 := "12"
    					rlPath := "D:\Console RL\RocketLauncher"
    					pluginPath := "D:\Console RL\RocketLauncher\Plugins"
    					pluginName := "LaunchBox"
    					pluginExt := ".plugin"
    					contextOnExit := "1"
    					rlMode := ""
    					rlTitle := "RocketLauncher"
    					rlVersion := "1.2.0.1"
    					rlAuthor := "djvj"
    					rlURL := "www.rlauncher.com"
    					langFile := "D:\Console RL\RocketLauncher\Data\Language\Localization.ini"
    					primMonitor := "1"
    					frontendPID := ""
    					frontendPath := "D:\Console RL\LaunchBox"
    					frontendExe := "LaunchBox.exe"
    					frontendExt := "exe"
    					frontendName := "LaunchBox"
    					frontendDrive := "D"
    					exitEmulatorKey := ""
    					restoreFE := "false"
    					exitScriptKey := "~q & ~s"
    					toggleCursorKey := "~e & ~t"
    					emuFullPath := "D:\Console RL\Emulators\RetroArch\retroarch.exe"
    					emuPath := "D:\Console RL\Emulators\RetroArch"
    					emuName := "RetroArch"
    					emuExt := "exe"
    					baseRomPath := ""
    					romPath := "Z:\Roms\gx4000"
    					romPathFromIni := "D:\Console RL\Emulators\RetroArch\system\mame\roms|Z:\Roms\gx4000"
    					romExtension := ".zip"
    					romExtensionOrig := ".zip"
    					romExtensions := "7z|zip|md|bin"
    					executable := "retroarch.exe"
    					systemDbName := "Amstrad GX4000"
    					systemName := "Amstrad GX4000"
    					dbPath := ""
    					dbName := "batman"
    					dbExt := ""
    					romFoundByExt := ""
    					romName := "batman"
    					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 := "D:\Console RL\RocketLauncher\Module Extensions\BlockInput.exe"
    					errorLevelReporting := "false"
    					lockLaunch := "false"
    					lockLaunchGame := ""
    					screenRotationAngle := "0"
    					screenRotationAngleGame := ""
    					setResolution := ""
    					logFile := ""
    					logLabel := ["    INFO"," WARNING","   ERROR","   DEBUG","   TRACE"]
    					logLevel := "10"
    					logShowDebugConsole := "false"
    					logShowCommandWindow := "false"
    					logCommandWindow := "false"
    					logIncludeModule := "true"
    					logIncludeFileProperties := "true"
    					logIncludeDLLLogs := "false"
    					errorSounds := "true"
    					rlDebugConsoleStdout := ""
    					sysLang := "French_Standard"
    					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 := "1920"
    					originalHeight := "1080"
    					vdEnabled := "false"
    					vdFullPath := ""
    					vdUseSCSI := "true"
    					vdDriveLetter := ""
    					vdDriveLetterScsi := ""
    					vdAddDrive := "true"
    					demulShooterPath := ""
    					servoStikEnabled := "false"
    					servoStikExitMode := "false"
    					ledblinkyEnabled := "false"
    					ledblinkySystemName := ""
    					ledblinkyFullPath := ""
    					ledblinkyProfilePath := "D:\Console RL\RocketLauncher\Profiles\LEDBlinky"
    					ledblinkyRLProfile := "D:\Console RL\RocketLauncher\Profiles\LEDBlinky\RocketLauncher"
    					winIPACFullPath := ""
    					ultraMapEnabled := "false"
    					ultraMapFullPath := ""
    					emuIdleShutdown := "0"
    					launchPasswordHash := "UpUpDownDownLeftRightLeftRight"
    					cursorSize := ""
    					hideCursor := "false"
    					hideEmu := "false"
    					hideFE := "false"
    					suspendFE := "false"
    					fadeIn := "true"
    					fadeInDuration := "500"
    					fadeInTransitionAnimation := "DefaultAnimateFadeIn"
    					fadeInDelay := "2000"
    					fadeInExitDelay := "0"
    					fadeOutExitDelay := "3000"
    					fadeOut := "true"
    					fadeOutExtraScreen := "false"
    					fadeOutDuration := "500"
    					fadeOutTransitionAnimation := "DefaultAnimateFadeOut"
    					fadeOutDelay := "0"
    					fadeLyrInterpolation := "7"
    					fadeMuteEmulator := "false"
    					fadeUseBackgrounds := "false"
    					fadeClickThrough := "false"
    					fadeSounds := "true"
    					fade7zProgressMode := "extraction"
    					fadeWidthBaseRes := "1920"
    					fadeHeightBaseRes := "1080"
    					fadeLyr1Color := "FF000000"
    					fadeLyr1AlignImage := "Stretch and Lose Aspect"
    					fadeLyr2Pos := "No Alignment"
    					fadeLyr2X := "0"
    					fadeLyr2Y := "0"
    					fadeLyr2W := "1910"
    					fadeLyr2H := "1070"
    					fadeLyr2Adjust := "1"
    					fadeLyr2PicPad := "5"
    					fadeLyr2Prefix := "Extra Layer 1 - Console"
    					fadeLyr3Pos := "Center"
    					fadeLyr3X := ""
    					fadeLyr3Y := ""
    					fadeLyr3W := "1400"
    					fadeLyr3H := "150"
    					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 := "25"
    					fadeLyr4Y := "700"
    					fadeLyr4W := "300"
    					fadeLyr4H := "350"
    					fadeLyr4Pos := "No Alignment"
    					fadeLyr4FPS := "70"
    					fadeLyr4PicPad := "20"
    					fadeTranspGifColor := "FFFFFF"
    					fadeBarWindow := "Image"
    					fadeBarWindowX := ""
    					fadeBarWindowY := ""
    					fadeBarWindowW := "900"
    					fadeBarWindowH := ""
    					fadeBarWindowR := "30"
    					fadeBarWindowM := "30"
    					fadeBarWindowHatchStyle := "8"
    					fadeBar := "false"
    					fadeProgressDuration := "0"
    					fadeBarBack := "true"
    					fadeBarBackColor := "FF555555"
    					fadeBarH := "30"
    					fadeBarR := "10"
    					fadeBarColor := "DD00BFFF"
    					fadeBarHatchStyle := "8"
    					fadeBarPercentageText := "true"
    					fadeBarInfoText := "true"
    					fadeBarXOffset := "0"
    					fadeBarYOffset := "150"
    					fadeRomInfoDescription := "image"
    					fadeRomInfoSystemName := "disabled"
    					fadeRomInfoYear := "filtered text with label"
    					fadeRomInfoDeveloper := "disabled"
    					fadeRomInfoPublisher := "image"
    					fadeRomInfoGenre := "disabled"
    					fadeRomInfoRating := "disabled"
    					fadeRomInfoOrder := "Description|SystemName|Year|Genre|Publisher|Developer|Rating"
    					fadeRomInfoTextPlacement := "User Defined"
    					fadeRomInfoTextMargin := "7"
    					fadeRomInfoText1Options := "w350 h175 x1525 y685 cFFFFFFFF r4 s90 Top Regular"
    					fadeRomInfoText2Options := "w700 x365 y840 cFFFFFFFF r4 s48 Bold Underline NoWrap"
    					fadeRomInfoText3Options := "w700 x893 y865 cFFFFFFFF r4 s48 Right Regular Underline NoWrap"
    					fadeRomInfoText4Options := ""
    					fadeRomInfoText5Options := "w275 h150 x1600 y880 Top"
    					fadeRomInfoText6Options := ""
    					fadeRomInfoText7Options := "w150 h100 x1400 y250"
    					fadeStats_Number_of_Times_Played := "text with label"
    					fadeStats_Last_Time_Played := "text with label"
    					fadeStats_Average_Time_Played := "disabled"
    					fadeStats_Total_Time_Played := "text with label"
    					fadeStats_System_Total_Played_Time := "disabled"
    					fadeStats_Total_Global_Played_Time := "disabled"
    					fadeStatsInfoOrder := "Number_of_Times_Played|Last_Time_Played|Average_Time_Played|Total_Time_Played|System_Total_Played_Time|Total_Global_Played_Time"
    					fadeStatsInfoTextPlacement := "User Defined"
    					fadeStatsInfoTextMargin := "7"
    					fadeStatsInfoText1Options := "w700 x890 y930 cFFDFDFDF r4 s25 Right Bold NoWrap"
    					fadeStatsInfoText2Options := "w700 x890 y965 cFFDFDFDF r4 s25 Right Bold NoWrap"
    					fadeStatsInfoText3Options := ""
    					fadeStatsInfoText4Options := "w700 x890 y1000 cFFDFDFDF r4 s25 Right Bold NoWrap"
    					fadeStatsInfoText5Options := ""
    					fadeStatsInfoText6Options := ""
    					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 := "Impact"
    					fadeSystemAndRomLayersOnly := "true"
    					fadeExtractionTime := "disabled"
    					fadeExtractionTimeTextX := "0"
    					fadeExtractionTimeTextY := "0"
    					fadeExtractionTimeTextOptions := "cFF555555 r4 s20 Bold"
    					fadeInterruptKey := ""
    					detectFadeErrorEnabled := "true"
    					fadeImgPath := "D:\Console RL\RocketLauncher\Media\Fade"
    					RLDataPath := "D:\Console RL\RocketLauncher\Data"
    					RLMediaPath := "D:\Console RL\RocketLauncher\Media"
    					RLErrSoundPath := "D:\Console RL\RocketLauncher\Media\Sounds\Error"
    					modulesPath := "D:\Console RL\RocketLauncher\Modules"
    					moduleFullName := "D:\Console RL\RocketLauncher\Modules\RetroArch CHD\RetroArch.ahk"
    					moduleName := "RetroArch"
    					modulePath := "D:\Console RL\RocketLauncher\Modules\RetroArch CHD"
    					moduleExtension := "ahk"
    					moduleExtensionsPath := "D:\Console RL\RocketLauncher\Module Extensions"
    					libPath := "D:\Console RL\RocketLauncher\Lib"
    					sevenZEnabled := "false"
    					sevenZPath := "D:\Console RL\RocketLauncher\Module Extensions\7z.exe"
    					sevenZDllPath := "D:\Console RL\RocketLauncher\Module Extensions\7z.dll"
    					sevenZExtractPath := "D:\Console RL\RocketLauncher\Temp"
    					sevenZExtractPathOrig := ""
    					sevenZAttachSystemName := "false"
    					sevenZDelTemp := "true"
    					sevenZFormats := ".zip|.rar|.7z|.lha|.lzh|.gzip|.tar"
    					sevenZFormatsNoP := "zip|rar|7z|lha|lzh|gzip|tar"
    					sevenZFormatsRegEx := "\.zip|\.rar|\.7z|\.lha|\.lzh|\.gzip|\.tar"
    					sevenZGamesToKeep := ""
    					sevenZDeletePerSystem := "false"
    					sevenZExtensions := "zip|rar|7z|lha|lzh|gzip|tar"
    					7zExtractPath := "D:\Console RL\RocketLauncher\Temp"
    					mgEnabled := "true"
    					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 := "D:\Console RL\RocketLauncher\Module Extensions\HiToText.exe"
    					pauseSaveStateKeyCodes := ""
    					pauseLoadStateKeyCodes := ""
    					keyboardEncoder := ""
    					keyboardEncoderEnabled := "false"
    					keymapperEnabled := "true"
    					keymapperAHKMethod := "false"
    					keymapper := "joytokey"
    					xpadderFullPath := "D:\Console RL\Utilities\Xpadder\xpadder.exe"
    					joyToKeyFullPath := "D:\Console RL\Utilities\JoyToKey\JoyToKey.exe"
    					profilePath := "D:\Console RL\RocketLauncher\Profiles"
    					keymapperProfilePath := "D:\Console RL\RocketLauncher\Profiles\joytokey"
    					keymapperFrontEndProfileName := "BigBox"
    					keymapperFrontEndProfile := "joytokey"
    					keymapperRocketLauncherProfileEnabled := "true"
    					joyIDsEnabled := "false"
    					joyIDsPreferredControllersGlobal := ""
    					joyIDsPreferredControllersSystem := "use_global"
    					joyIDsPreferredControllersOnExit := ""
    					CustomJoyNamesEnabled := "false"
    					CustomJoyNames := "Controller (Xbox One For Windows)|p1"
    					rotateMethod := "false"
    					FEProfile := "D:\Console RL\RocketLauncher\Profiles\joytokey\BigBox"
    					defaultProfile := "D:\Console RL\RocketLauncher\Profiles\joytokey\_Default"
    					systemProfile := "D:\Console RL\RocketLauncher\Profiles\joytokey\Amstrad GX4000"
    					xPadderSystemProfile := "D:\Console RL\RocketLauncher\Profiles\joytokey\Amstrad GX4000\_Default"
    					emuProfile := "D:\Console RL\RocketLauncher\Profiles\joytokey\Amstrad GX4000\RetroArch"
    					romProfile := "D:\Console RL\RocketLauncher\Profiles\joytokey\Amstrad GX4000\batman"
    					RocketLauncherProfile := "D:\Console RL\RocketLauncher\Profiles\joytokey\RocketLauncher"
    					blankProfile := "D:\Console RL\RocketLauncher\Profiles\joytokey\blank"
    					ahkFEProfile := "D:\Console RL\RocketLauncher\Profiles\AHK\BigBox"
    					ahkDefaultProfile := "D:\Console RL\RocketLauncher\Profiles\AHK\_Default"
    					ahkSystemProfile := "D:\Console RL\RocketLauncher\Profiles\AHK\Amstrad GX4000"
    					ahkEmuProfile := "D:\Console RL\RocketLauncher\Profiles\AHK\Amstrad GX4000\RetroArch"
    					ahkRomProfile := "D:\Console RL\RocketLauncher\Profiles\AHK\Amstrad GX4000\batman"
    					ahkRocketLauncherProfile := "D:\Console RL\RocketLauncher\Profiles\AHK\RocketLauncher"
    					bezelEnabled := "true"
    					bezelICEnabled := "false"
    					shaderName := "false"
    					shaderColor := ""
    					shaderTransparency := ""
    					statisticsEnabled := "true"
    					pressDuration := "-1"
    					emuVolume := "1"
    					dxwndIni := "D:\Console RL\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini"
    					dxwndFullPath := "D:\Console RL\RocketLauncher\Module Extensions\dxwnd\dxwnd.exe"
    					qResFullPath := "D:\Console RL\RocketLauncher\Module Extensions\QRes.exe"
    					mon1O := ""
    					pacDrivedllFile := "D:\Console RL\RocketLauncher\Module Extensions\PacDrive32.dll"
    					userFadeAnimIniFile := "D:\Console RL\RocketLauncher\Lib\User Fade Animations.ini"
    					testFile := ""
    					testDuration := ""
    					initialErrorMode := "0"
    
    15:50:03:927 | RL |      INFO  | +0     | BuildScript - Loaded XHotkey Init.ahk scripts
    15:50:03:927 | RL |      INFO  | +0     | BuildScript - Loaded Keymapper Init.ahk scripts
    15:50:03:927 | RL |      INFO  | +0     | BuildScript - Loaded Fade Init.ahk scripts
    15:50:03:928 | RL |      INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
    15:50:03:928 | RL |      INFO  | +0     | BuildScript - Loaded MultiGame Init.ahk scripts
    15:50:03:929 | RL |     DEBUG  | +0     | BuildScript - Module starts on line: 2
    15:50:03:929 | RL |      INFO  | +0     | BuildScript - Validating module
    15:50:03:934 | RL |      INFO  | +0     | BuildScript - Validation complete
    15:50:03:934 | RL |      INFO  | +0     | BuildScript - Module:
    					MEmu := "RetroArch Beta"
    					MEmuV := "v0.0.1"
    					MURL := ["http://themaister.net/retroarch.html"]
    					MAuthor := ["djvj","zerojay","SweatyPickle"]
    					MVersion := "0.0.1"
    					
    					MSystem := ["Acorn BBC Micro","AAE","Amstrad CPC","Amstrad GX4000","APF Imagination Machine","Applied Technology MicroBee","Apple IIGS","Arcade","Arcade Classics","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 II","Capcom Play System III","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","Fujitsu FM Towns","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","Nintendo 64 HD","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","NES HD","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","ScummVM","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 Meganet","Sega Nomad","Sega Pico","Super Nintendo MSU-1","Sega Saturn","Sega Saturn Japan","Sega VMU","Sega ST-V","Sharp X1","Sharp X68000","Sinclair ZX Spectrum","Sinclair ZX81","Sony PlayStation","Sony PlayStation Minis","Sony PocketStation","Sony PSP","Sony PSP Minis","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","Sega CD 32X"]
    					;----------------------------------------------------------------------------
    					; 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:
    					; The srm files location is determined by the configuration file used (savefile_directory = ":\whatever") The default RetroArch srm directory is ":\saves" You can select to sort into core folders (ie: :/saves/Mednafen PSX) by changing sort_savefiles_enable = "true" in the configuration file.
    					;
    					; Save states:
    					; The save state files location is determined by the configuration file used (savestate_directory = ":\whatever") The default RetroArch savestate directory is ":\states" You can select to sort into core folders (ie: :/states/Mednafen PSX) by changing sort_savestates_enable = "true" in the configuration file.
    					;
    					; 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.  This will be the config folder for the module and will NOT change the location of RetroArch's own /config directory.
    					; 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.
    					;
    					; Core Options:
    					; By default, RetroArch creates a retroarch-core-options.cfg in it's root directory.  Example: C:\emus\RetroArch\retroarch-core-options.cfg.  This will always be used if the default RetroArch.cfg is loaded.  If a configuration file from any other location is used, RetroArch will create a retroarch-core-options.cfg file in the root of that directory.  The module has an option to have RetroArch use only the default retroarch-core-options.cfg file no matter the path of the config directory or location of the configuiration file being used.  To enable this option set Single_Core_Options to true.
    					
    					; 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.
    					;
    					; MAME:
    					; MAME BIOS roms should be placed in Rom Path's directory. Some systems require the BIOS roms be placed in the MAME internal name directory. (Example: :\Rom Folder\a5200). The MAME BIOS_Roms_Folder option will have no effect unless you are using an older version of the mess core. 
    					;
    					; 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 (using pce fast core) - Requires "syscard3.pce" be placed in the folder you define as system_directory in the RetroArch's cfg.
    					; NEC TurboGrafx-CD (using MAME core)
    					;   - You'll need to update a couple mame specific options in the Retroarch core options file to get it to boot from the cli. These should probably be updated automagically by the module. Turning softlists off, but might not need to.
    					;       mame_boot_from_cli = "enabled"
    					;       mame_softlists_enable = "disabled"
    					;       mame_softlists_auto_media = "disabled"
    					;	- Requires hash folder from MAME/MESS/UME, either from the source or release package. Save this in the system_directory you've defined for RetroArch. Something like \RetroArch\system\mame\hash\
    					;	- Requires the CD bios file(s) saved in the mame bios folder you've defined. Usually \RetroArch\system\mame\bios\
    					;		For PC Engine-CD you'll need the file "[cd] cd-rom system (japan) (v2.1).pce" zipped as cdsys.zip and saved in a pce subfolder in your bios path, so \RetroArch\system\mame\bios\pce\cdsys.zip
    					;		For PC Engine SuperGrafx-CD you'll need the file "[cd] super cd-rom system (japan) (v3.0).pce" zipped as scdsys.zip and saved in a pce subfolder in your bios path, so \RetroArch\system\mame\bios\pce\scdsys.zip
    					;		For TurboGrafx-CD you'll need the file "[cd] turbografx cd system card (usa) (v2.0).pce" zipped as cdsys.zip and saved in a tg16 subfolder in your bios path, so \RetroArch\system\mame\bios\tg16\cdsys.zip
    					;		For TurboDuo you'll need the file "[cd] turbografx cd super system card (usa) (v3.0).pce" zipped as scdsys.zip and saved in a tg16 subfolder in your bios path, so \RetroArch\system\mame\bios\tg16\scdsys.zip
    					; 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.
    					; 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()
    					
    					primaryExe := new Emulator(emuPath . "\" . executable)	; instantiate emulator executable object
    					emuPrimaryWindow := new Window(new WindowTitle("RetroArch","RetroArch"))	; instantiate primary emulator window object
    					emuConsoleWindow := new Window(new WindowTitle("","ConsoleWindowClass"))	; instantiate emulator console window object
    					
    					; 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 MAME core recognizes
    					RLLog.Debug("Module - Started building the " . MEmu . " object")
    					mTypeVar:="
    						( LTrim
    						AAE|LibRetro_AAE|mame_libretro
    						Acorn BBC Micro|LibRetro_BBCB|mame_libretro|bbcb
    						Amstrad CPC|LibRetro_CPC|mame_libretro|cpc464
    						Amstrad GX4000|LibRetro_GX4K|mame_libretro|gx4000
    						APF Imagination Machine|LibRetro_APF|mame_libretro|apfimag
    						Apple IIGS|LibRetro_AIIGS|mame_libretro|apple2gs
    						Applied Technology MicroBee|LibRetro_MBEE|mame_libretro|mbeeic
    						Arcade|LibRetro_ARCADE|mame_libretro
    						Arcade Classics|LibRetro_ARCADE|mame_libretro
    						Atari 2600|LibRetro_2600|stella_libretro|a2600
    						Atari 5200|LibRetro_5200|mame_libretro|a5200
    						Atari 7800|LibRetro_7800|prosystem_libretro|a7800
    						Atari 8-Bit|LibRetro_ATARI8|mame_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|mame_libretro|xegs
    						Bally Astrocade|LibRetro_BAST|mame_libretro|astrocde
    						Bandai Gundam RX-78|LibRetro_BGRX|mame_libretro|rx78
    						Bandai Super Vision 8000|LibRetro_SV8K|mame_libretro|sv8000
    						Bandai Wonderswan|LibRetro_WSAN|mednafen_wswan_libretro|wswan
    						Bandai Wonderswan Color|LibRetro_WSANC|mednafen_wswan_libretro|wscolor
    						Canon X07|LibRetro_CX07|mame_libretro|x07
    						Capcom Classics|LibRetro_CAPC|mame_libretro
    						Capcom Play System|LibRetro_CPS1|fbalpha_libretro
    						Capcom Play System II|LibRetro_CPS2|fbalpha_libretro
    						Capcom Play System III|LibRetro_CPS3|mame_libretro
    						Casio PV-1000|LibRetro_CAS1K|mame_libretro|pv1000
    						Casio PV-2000|LibRetro_CAS2K|mame_libretro|pv2000
    						Cave|LibRetro_CAVE|mame_libretro
    						Coleco ADAM|LibRetro_ADAM|mame_libretro|adam
    						ColecoVision|LibRetro_COLEC|mame_libretro|coleco
    						Commodore Amiga|LibRetro_PUAE|puae_libretro
    						Commodore Max Machine|LibRetro_CMAX|mame_libretro|vic10
    						Creatronic Mega Duck|LibRetro_DUCK|mame_libretro|megaduck
    						Data East Classics|LibRetro_DATA|mame_libretro
    						Dragon Data Dragon|LibRetro_DRAG64|mame_libretro|dragon64
    						Elektronika BK|LibRetro_EBK|mame_libretro|bk0010
    						Elektronska Industrija Pecom 64|LibRetro_P64|mame_libretro|pecom64
    						Emerson Arcadia 2001|LibRetro_A2001|mame_libretro|arcadia
    						Entex Adventure Vision|LibRetro_AVISION|mame_libretro|advision
    						Epoch Game Pocket Computer|LibRetro_GPCKET|mame_libretro|gamepock
    						Epoch Super Cassette Vision|LibRetro_SCV|mame_libretro|scv
    						Exidy Sorcerer|LibRetro_SORCR|mame_libretro|sorcerer
    						Fairchild Channel F|LibRetro_CHANF|mame_libretro|channelf
    						Final Burn Alpha|LibRetro_FBA|fbalpha_libretro
    						Fujitsu FM Towns|LibRetro_MAME|mame_libretro
    						Funtech Super Acan|LibRetro_SACAN|mame_libretro|supracan
    						GamePark 32|LibRetro_GP32|mame_libretro|gp32
    						GCE Vectrex|LibRetro_VECTX|mame_libretro|vectrex
    						Hartung Game Master|LibRetro_GMASTR|mame_libretro|gmaster
    						Interton VC 4000|LibRetro_VC4K|mame_libretro|vc4000
    						Irem Classics|LibRetro_IREM|mame_libretro
    						JungleTac Sport Vii|LibRetro_SPORTV|mame_libretro|vii
    						Konami Classics|LibRetro_KONC|mame_libretro
    						Magnavox Odyssey 2|LibRetro_ODYS2|mame_libretro|odyssey2
    						MAME|LibRetro_MAME|mame_libretro|mame
    						Matra & Hachette Alice|LibRetro_ALICE|mame_libretro|alice32
    						Mattel Aquarius|LibRetro_AQUA|mame_libretro|aquarius
    						Mattel Intellivision|LibRetro_INTV|mame_libretro|intv
    						MGT Sam Coupe|LibRetro_SAMCP|mame_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,cart
    						NEC PC Engine-CD|LibRetro_PCECD|mednafen_pce_fast_libretro|pce,cdrom
    						NEC PC-FX|LibRetro_PCFX|mednafen_pcfx_libretro
    						NEC SuperGrafx|LibRetro_SGFX|mednafen_supergrafx_libretro|sgx,cart
    						NEC TurboGrafx-16|LibRetro_TG16|mednafen_pce_fast_libretro|tg16,cart
    						NEC TurboGrafx-CD|LibRetro_TGCD|mednafen_pce_fast_libretro|tg16,cdrom
    						NES HD|LibRetro_NES|mesen_libretro.dll|nes
    						Nintendo 64|LibRetro_N64|mupen64plus_libretro|n64
    						Nintendo 64 HD|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|mame_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|mame_libretro|cdimono1
    						Philips Videopac|LibRetro_PVID|mame_libretro|videopac
    						RCA Studio II|LibRetro_STUD2|mame_libretro|studio2
    						SCUMMVM|LibRetro_SCUMM|scummvm_libretro
    						Sega 32X|LibRetro_32X|picodrive_libretro|32x
    						Sega CD|LibRetro_SCD|genesis_plus_gx_libretro|segacd
    						Sega CD 32X|Libretro_PICO|picodrive_libretro
    						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 Meganet|LibRetro_GEN|genesis_plus_gx_libretro|genesis
    						Sega Nomad|LibRetro_GEN|genesis_plus_gx_libretro|genesis
    						Sega Pico|LibRetro_PICO|picodrive_libretro
    						Sega Saturn|LibRetro_SAT|yabause_libretro|saturn
    						Sega Saturn Japan|LibRetro_SAT|yabause_libretro|saturnjp
    						Sega SC-3000|LibRetro_SC3K|mame_libretro|sc3000
    						Sega SG-1000|LibRetro_SG1K|genesis_plus_gx_libretro
    						Sega ST-V|LibRetro_STV|mame_libretro
    						Sega VMU|LibRetro_SVMU|mame_libretro|svmu
    						Sharp X1|LibRetro_SX1|mame_libretro|x1
    						Sharp X68000|LibRetro_SX68000|mame_libretro|x68000
    						Sinclair ZX Spectrum|LibRetro_SPECZX|mame_libretro|spectrum
    						Sinclair ZX81|LibRetro_ZX81|81_libretro|zx81
    						SNK Classics|LibRetro_SNKC|mame_libretro
    						SNK Neo Geo|LibRetro_NEO|fbalpha_libretro
    						SNK Neo Geo AES|LibRetro_NEOAES|mame_libretro|aes
    						SNK Neo Geo CD|LibRetro_NEOCD|mame_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|psu
    						Sony PlayStation Minis|LibRetro_PSXMIN|ppsspp_libretro
    						Sony PocketStation|LibRetro_POCKS|mame_libretro|pockstat
    						Sony PSP|LibRetro_PSP|ppsspp_libretro
    						Sony PSP Minis|LibRetro_PSP|ppsspp_libretro
    						Sord M5|LibRetro_SORD|mame_libretro|m5
    						Spectravideo|LibRetro_SV328|mame_libretro|svi328n
    						Super Nintendo Entertainment System|LibRetro_SNES|bsnes_balanced_libretro|snes
    						Super Nintendo MSU-1|LibRetro_SNES|snes9X_libretro
    						Taito Classics|LibRetro_TAIC|mame_libretro
    						Tandy TRS-80 Color Computer|LibRetro_TRS80|mame_libretro|coco3
    						Technos|LibRetro_TECHN|mame_libretro
    						Texas Instruments TI 99-4A|LibRetro_TI99|mame_libretro|ti99_4a
    						Thomson MO5|LibRetro_MO5|mame_libretro|mo5
    						Thomson TO7|LibRetro_TO7|mame_libretro|to7
    						Tiger Game.com|LibRetro_TCOM|mame_libretro|gamecom
    						Tiki-100|LibRetro_TIKI|mame_libretro|kontiki
    						Tomy Tutor|LibRetro_TOMY|mame_libretro|tutor
    						VTech CreatiVision|LibRetro_VTECH|mame_libretro|crvision
    						Watara Supervision|LibRetro_SUPRV|mame_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
    								StringSplit, tmp, A_LoopField, `,
    								obj.MAMEID := tmp1
    								obj.MAMEMedia := tmp2
    							}
    						}
    						mType.Insert(obj["System"], obj)
    					}
    					RLLog.Debug("Module - Finished building the " . MEmu . " object")
    					; For easier use throughout the module
    					retroSystem := mType[systemName].System
    					retroID := mType[systemName].ID
    					retroCore := mType[systemName].Core
    					retroMAMEID := mType[systemName].MAMEID
    					retroMAMEMedia := mType[systemName].MAMEMedia
    					RLLog.Info("Module - Using these system variables:")
    					RLLog.Info("Module - retroSystem: " . retroSystem)
    					RLLog.Info("Module - retroID: " . retroID)
    					RLLog.Info("Module - retroCore: " . retroCore)
    					RLLog.Info("Module - retroMAMEID: " . retroMAMEID)
    					RLLog.Info("Module - retroMAMEMedia: " . retroMAMEMedia)
    					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.")
    					
    					Fullscreen := moduleIni.Read("Settings", "Fullscreen","true",,1)
    					configFolder := moduleIni.Read("Settings", "ConfigFolder",emuPath . "\config",,1)
    					singlecoreoptions := moduleIni.Read("Settings", "single_core_options","false",,1) = "true" ? ":\retroarch-core-options.cfg" : """"
    					mameRomPath := moduleIni.Read("MAME", "BIOS_Roms_Folder",,,1)
    					mameHideNag := If moduleIni.Read("MAME", "Hide_Nag_Screen","false",,1) = "true" ? "enabled" : "disabled"
    					mameHideInfo := If moduleIni.Read("MAME", "Hide_Info_Screen","false",,1) = "true" ? "enabled" : "disabled"
    					mameHideWarn := If moduleIni.Read("MAME", "Hide_Warning_Screen","false",,1) = "true" ? "enabled" : "disabled"
    					hideConsole := moduleIni.Read("Settings", "HideConsole","true",,1)
    					ejectToggleKey := moduleIni.Read("Settings", "Eject_Toggle_Key",,,1)
    					nextDiskKey := moduleIni.Read("Settings", "Next_Disk_Key",,,1)
    					prevDiskKey := moduleIni.Read("Settings", "Previous_Disk_Key",,,1)
    					core := moduleIni.Read(romName . "|" . systemName, "LibRetro_Core",retroCore,,1)
    					superGB := moduleIni.Read(romName . "|" . systemName, "SuperGameBoy","false",,1)
    					enableNetworkPlay := moduleIni.Read(romName . "|Network", "Enable_Network_Play","false",,1)
    					overlay := moduleIni.Read(romName . "|" . systemName, "Overlay",,,1)
    					videoShader := moduleIni.Read(romName . "|" . systemName, "VideoShader",,,1)
    					aspectRatioIndex := moduleIni.Read(romName . "|" . systemName, "AspectRatioIndex",,,1)
    					customViewportWidth := moduleIni.Read(romName . "|" . systemName, "CustomViewportWidth",,,1)
    					customViewportHeight := moduleIni.Read(romName . "|" . systemName, "CustomViewportHeight",,,1)
    					customViewportX := moduleIni.Read(romName . "|" . systemName, "CustomViewportX",,,1)
    					customViewportY := moduleIni.Read(romName . "|" . systemName, "CustomViewportY",,,1)
    					stretchToFillBezel := moduleIni.Read(romName . "|" . systemName, "StretchToFillBezel","false",,1)
    					rotation := moduleIni.Read(romName . "|" . systemName, "Rotation",0,,1)
    					cropOverscan := moduleIni.Read(romName . "|" . systemName, "CropOverscan",,,1)
    					threadedVideo := moduleIni.Read(romName . "|" . systemName, "ThreadedVideo",,,1)
    					vSync := moduleIni.Read(romName . "|" . systemName, "VSync",,,1)
    					integerScale := moduleIni.Read(romName . "|" . systemName, "IntegerScale",,,1)
    					configurationPerCore := moduleIni.Read(romName . "|" . systemName, "ConfigurationPerCore","false",,1)
    					
    					If (StringUtils.Contains(core, "^(mame|mess|ume)") && !retroMAMEID) {
    						retroMAMEID := "mame"	; set all systems that use a mame core to the default mame ID so any system name is supported
    						RLLog.Warning("Module - Setting MAMEID to default ""mame"" for """ . retroSystem . """")
    					}
    					
    					configFolder := RLObject.getFullPathFromRelative(rlPath,configFolder)
    					mameRomPath := If mameRomPath ? RLObject.getFullPathFromRelative(rlPath,mameRomPath) : romPath
    					overlay := RLObject.getFullPathFromRelative(rlPath,overlay)
    					videoShader := RLObject.getFullPathFromRelative(rlPath,videoShader)
    					rotateBezel := false
    					
    					configFolder := new Folder(configFolder)
    					
    					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 !configFolder.Exist()
    						ScriptError("You need to make sure ""ConfigFolder"" is pointing to your RetroArch config folder. By default it is looking here: """ . configFolder.FilePath . """")
    					globalRetroCfg := emuPath . "\retroarch.cfg"
    					systemRetroCfg := configFolder.FilePath . "\" . retroSystem . ".cfg"
    					coreRetroCfg := configFolder.FilePath . "\" . core . ".cfg"
    					RLLog.Info("Module - Global cfg should be: " . globalRetroCfg)
    					RLLog.Info("Module - System cfg should be: " . systemRetroCfg)
    					RLLog.Info("Module - Core cfg should be: " . coreRetroCfg)
    					foundCfg := ""
    					
    					systemRetroCfg := new File(systemRetroCfg)
    					coreRetroCfg := new File(coreRetroCfg)
    					globalRetroCfg := new File(globalRetroCfg)
    					
    					If systemRetroCfg.Exist() {	; check for system cfg first
    						retroCFGFile := systemRetroCfg
    						foundCfg := 1
    						RLLog.Info("Module - Found a System cfg!")
    					} Else If coreRetroCfg.Exist() {	; 2nd option is a core config
    						retroCFGFile := coreRetroCfg
    						foundCfg := 1
    						RLLog.Info("Module - Found a Core cfg!")
    					} Else If globalRetroCfg.Exist() {	; 3rd is global cfg
    						retroCFGFile := globalRetroCfg
    						foundCfg := 1
    						RLLog.Info("Module - Found a Global cfg!")
    					}
    					If foundCfg {
    						RLLog.Info("Module - " . MEmu . " is using " . retroCFGFile.FileFullPath . " as its config file.")
    						retroCFG := LoadProperties(retroCFGFile.FileFullPath)
    					} Else
    						RLLog.Warning("Module - Could not find a cfg file to update settings. RetroArch will make one for you.")
    					
    					If StringUtils.Contains(rotation,"1|3") ; use vertical bezel if RA rotation is set to 90 or 270 degrees
    						rotateBezel := true
    					
    					If StringUtils.Contains(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
    						retroSysDirLeft := StringUtils.Left(retroSysDir, 2)
    						If (retroSysDirLeft = ":\") {	; if retroarch is set to use a default folder
    							retroSysDir := StringUtils.TrimLeft(retroSysDir, 1)
    							RLLog.Info("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.")
    						checkForSlash := StringUtils.Right(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
    							retroSysDir := StringUtils.TrimRight(retroSysDir, 1)
    					}
    					
    					If (StringUtils.Contains(core, "^(mame|mess|ume)")) || (StringUtils.Contains(retroID, "LibRetro_N64|LibRetro_NES|LibRetro_LYNX|LibRetro_PSX")) || (StringUtils.Contains(retroID, "LibRetro_NES") && (StringUtils.Contains(core, "nestopia_libretro"))) {	; these systems will use an ini to store game specific settings
    						RLLog.Info("Module - Reading / creating system ini for specific settings.")
    						If !StringUtils.Contains(core, "^(mame|mess|ume)") {
    							If !SystemModuleIni.Exist()
    								SystemModuleIni.Append		; create a new blank ini file if one does not exist
    						}
    					
    						coreOptionsCFG := LoadProperties(coreOptionsCFGFile.FileFullPath)
    						
    						If StringUtils.Contains(core, "^(mame|mess|ume)") {	; Set some MAME/MESS/UME core options.
    							tmpCore := If StringUtils.Contains(core, "mame") ? "mame" : "mess"
    							WriteProperty(coreOptionsCFG, tmpCore . "_read_config", """enabled""", 1)
    							WriteProperty(coreOptionsCFG, tmpCore . "_boot_from_cli", """enabled""", 1)				; This needs to be enabled in order to run games with RLauncher
    							WriteProperty(coreOptionsCFG, tmpCore . "_hide_nagscreen", "" . mameHideNag . "", 1)
    							WriteProperty(coreOptionsCFG, tmpCore . "_hide_infoscreen", "" . mameHideInfo . "", 1)
    							WriteProperty(coreOptionsCFG, tmpCore . "_hide_warnings", "" . mameHideWarn . "", 1)
    						} Else If StringUtils.Contains(retroID, "LibRetro_N64") {	; Nintendo 64
    							mupenGfx := moduleIni.Read(romName . "|" . systemName, "Mupen_Gfx_Plugin", "auto",,1)
    							mupenRsp := moduleIni.Read(romName . "|" . systemName, "Mupen_RSP_Plugin", "auto",,1)
    							mupenCpu := moduleIni.Read(romName . "|" . systemName, "Mupen_CPU_Core", "dynamic_recompiler",,1)
    							mupenPak1 := moduleIni.Read(romName . "|" . systemName, "Mupen_Pak_1", "memory",,1)
    							mupenPak2 := moduleIni.Read(romName . "|" . systemName, "Mupen_Pak_2", "memory",,1)
    							mupenPak3 := moduleIni.Read(romName . "|" . systemName, "Mupen_Pak_3", "memory",,1)
    							mupenPak4 := moduleIni.Read(romName . "|" . systemName, "Mupen_Pak_4", "memory",,1)
    							mupenGfxAccur := moduleIni.Read(romName . "|" . systemName, "Mupen_Gfx_Accuracy", "high",,1)
    							mupenExpMem := moduleIni.Read(romName . "|" . systemName, "Mupen_Disable_Exp_Memory", "no",,1)
    							mupenTexturFilt := moduleIni.Read(romName . "|" . systemName, "Mupen_Texture_Filtering", "nearest",,1)
    							mupenViRefresh := moduleIni.Read(romName . "|" . systemName, "Mupen_VI_Refresh", "2200",,1)
    							mupenFramerate := moduleIni.Read(romName . "|" . systemName, "Mupen_Framerate", "fullspeed",,1)
    							mupenResolution := moduleIni.Read(romName . "|" . systemName, "Mupen_Resolution", "640x480",,1)
    							mupenPolyOffstFctr := moduleIni.Read(romName . "|" . systemName, "Mupen_Polygon_Offset_Factor", "-3.0",,1)
    							mupenPolyOffstUnts := moduleIni.Read(romName . "|" . systemName, "Mupen_Polygon_Offset_Units", "-3.0",,1)
    							mupenViOverlay := moduleIni.Read(romName . "|" . systemName, "Mupen_VI_Overlay", "disabled",,1)
    							mupenAnalogDzone := moduleIni.Read(romName . "|" . systemName, "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 StringUtils.Contains(retroID, "LibRetro_NES") {		; these systems will use an ini to store game specific settings
    							If StringUtils.Contains(core, "nestopia_libretro") {	; Nestopia
    								nestopiaBlargg := moduleIni.Read(romName . "|Nestopia", "Nestopia_Blargg_NTSC_Filter", "disabled",,1)
    								nestopiaPalette := moduleIni.Read(romName . "|Nestopia", "Nestopia_Palette", "canonical",,1)
    								nestopiaNoSprteLimit := moduleIni.Read(romName . "|Nestopia", "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 StringUtils.Contains(retroID, "LibRetro_LYNX") {	; Atari Lynx
    							If StringUtils.Contains(core, "handy_libretro") {   ; Handy
    								handyRotate := moduleIni.Read(romName . "|" . systemName, "Handy_Rotation", "None",,1)
    								If StringUtils.Contains(handyRotate, "240") or StringUtils.Contains(handyRotate, "90")
    									rotateBezel := true
    								WriteProperty(coreOptionsCFG, "handy_rot", handyRotate, 1)
    							}
    						} Else If StringUtils.Contains(retroID, "LibRetro_PSX") {	; Sony PlayStation
    							psxCdImageCache := moduleIni.Read(romName . "|" . systemName, "PSX_CD_Image_Cache", """enabled""",,1)
    							psxMemcardHandling := moduleIni.Read(romName . "|" . systemName, "PSX_Memcard_Handling", """libretro""",,1)
    							psxDualshockAnalogToggle := moduleIni.Read(romName . "|" . systemName, "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.FileFullPath, coreOptionsCFG)
    					}
    					
    					hideEmuObj := Object(emuConsoleWindow,0,emuPrimaryWindow,1)
    					7z(romPath, romName, romExtension, sevenZExtractPath)
    					
    					mgM3UFile := new File(romPath . "\" . romTable[1,4] . ".m3u")
    					
    					mgRomExtensions := "cue|iso|ccd"
    					mgValidExtension := false
    					
    					Loop, Parse, mgRomExtensions, |
    						If (romExtension = "." . A_LoopField)
    							mgValidExtension := true
    					
    					If (StringUtils.Contains(retroID, "LibRetro_PSX") && romTable.MaxIndex() && mgValidExtension) { ; See if MultiGame table is populated	
    						m3uRomIndex := Object()
    						mgType := romTable[1,6] . " "
    						mgMaxIndex := romTable.MaxIndex()
    						mgRomIndex := 0
    					
    						If mgM3UFile.Exist()
    							mgM3UFile.Delete()
    					
    						Loop % mgMaxIndex
    						{
    							If (romTable[A_Index, 3] = romName) {
    								tempType := romTable[A_Index, 5]
    								mgRomIndex := StringUtils.TrimLeft(tempType, StringUtils.StringLength(mgType))
    								RLLog.Info("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]
    										mgM3UFile.Append(tempRomPath . "`n")
    										RLLog.Info("Module - Appending rom path to m3u: " . tempRomPath)
    										Break
    									}
    								}
    					
    								If (tempRomIndex < mgMaxIndex)
    									tempRomIndex++
    								Else
    									tempRomIndex := 1
    							}
    						}
    					}
    					
    					; MAME/MESS/UME core options
    					MAMEParam1 := ""
    					MAMEParam2 := ""
    					MAMEParam3 := ""
    					If StringUtils.Contains(core, "^(mame|mess|ume)") {	; if a MAME/MESS/UME core is used
    						If !retroMAMEID
    							ScriptError("Your systemName is: " . systemName . "`nIt is not one of the known supported systems for the MAME/MESS/UME LibRetro core")
    						Else
    							RLLog.Info("Module - MAME/MESS/UME mode using a known ident: " . retroMAMEID)
    					
    						If !mameRomPath
    							ScriptError("Please set the RetroArch module setting ""BIOS_Roms_Folder"" to the folder that contains your MAME/MESS/UME BIOS roms to use with RetroArch.")
    						
    						If (retroMAMEID = "mame") {		; want this for arcade mame only
    							RLLog.Info("Module - Retroarch MAME/MESS/UME Arcade mode enabled")
    							fullRomPath := " """ . romPath . "\" . romName . romExtension . """"
    						} Else {
    							RLLog.Info("Module - Retroarch MAME/MESS/UME Console/PC mode enabled")
    							MAMEParam1 := ""
    							MAMEParam2 := " -rompath \""" . mameRomPath . "\"""
    					
    							; If we already have a media type, then use it.
    							If (StringUtils.Contains(retroMAMEID, "tg16|pce") && retroMAMEMedia = "cart") {
    								;MAMEParam3 := " -cart \" . """" . romPath . "\" . romName . romExtension . "\" . """"
    								MAMEParam3 := " -cart \""" . romPath . "\" . romName . romExtension . "\"""""
    							; TODO: This needs a better way to handle the cdrom bios files, in my opinion. As it is, there's no clean way to pick between the v2.00 or v3.00 bios.
    							;       Defaulting to the TurboDuo cdrom bios since it will play 2.00 or 3.00 games.
    							} Else If (StringUtils.Contains(retroMAMEID, "tg16|pce") && retroMAMEMedia = "cdrom") {
    								;MAMEParam3 := " -cart cdsys -cdrm \" . """" . romPath . "\" . romName . romExtension . "\" . """"
    								MAMEParam3 := " -cart scdsys -cdrm \""" . romPath . "\" . romName . romExtension . "\"""""
    							} Else {
    								; Build a key/value object containing the different MAMEParam3 choices
    								MAMEP3 := Object("alice32","cass1","gp32","memc","cpc464","cass","spectrum","cass","dragon64","cass","cdimono1","cdrom","bk0010","cass","neocd","cdrom","neocdz","cdrom","saturn","cdrm","saturnjp","cdrm","svi328n","cass","pecom64","cass","psu","cdrm","svmu","quik","gamecom","cart1","mbeeic","quik1")
    								MAMEParam3 := MAMEP3[retroMAMEID]	; search object for the retroMAMEID pair
    								MAMEParam3 := " -" . (If MAMEParam3 ? MAMEParam3 : "cart") . " \" . """" . romPath . "\" . romName . romExtension . "\" . """"
    							}
    					
    							If (retroMAMEID = "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")
    									retroMAMEID := 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"
    								MAMEParam3 := " -" . mediaDeviceType . " \" . """" . romPath . "\" . romName . romExtension . "\" . """"
    							}
    							
    							If (retroMAMEID = "x68000") ; Sharp X68000
    							{	
    								If romExtension in .xdf,.hdm,.2hd,.dim,.d77,.d88,.1dd,.dfi,.imd,.ipf,.mfi,.mfm,.td0,.cqm,.cqi,.dsk
    									mediaDeviceType := "flop1"
    								Else	; .bin format
    									mediaDeviceType := "sasi"
    								MAMEParam3 := " -" . mediaDeviceType . " \" . """" . romPath . "\" . romName . romExtension . "\" . """"
    							}
    							
    							fullRomPath := MAMEParam1 . MAMEParam2 . MAMEParam3
    						}
    					} Else If (superGB = "true") {
    						RLLog.Info("Module - Retroarch Super Game Boy mode enabled")
    						fullRomPath := " """ . sgbRomPath . """ --subsystem sgb """ . romPath . "\" . romName . romExtension . """"
    					} Else {
    						RLLog.Info("Module - Retroarch standard mode enabled")
    						fullRomPath := " """ . romPath . "\" . romName . romExtension . """"
    					}
    					
    					If (retroID = "LibRetro_NFDS")	; Nintendo Famicom Disk System
    					{	disksysRom := new File(retroSysDir . "\disksys.rom")
    						If !disksysRom.Exist()
    							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 !StringUtils.Contains(romExtension, "\.bin|\.cue|\.iso|\.chd")
    							ScriptError("RetroArch only supports Sega CD games in bin|cue|iso format. It does not support:`n" . romExtension)
    						biosCDEBin := new File(retroSysDir . "\bios_CD_E.bin")
    						biosCDUBin := new File(retroSysDir . "\bios_CD_U.bin")
    						biosCDJBin := new File(retroSysDir . "\bios_CD_J.bin")
    						If !biosCDEBin.Exist()
    							ScriptError("RetroArch requires ""bios_CD_E.bin"" for " . retroSystem . " but could not find it in your system_directory: """ . retroSysDir . """")
    						If !biosCDUBin.Exist()
    							ScriptError("RetroArch requires ""bios_CD_U.bin"" for " . retroSystem . " but could not find it in your system_directory: """ . retroSysDir . """")
    						If !biosCDJBin.Exist()
    							ScriptError("RetroArch requires ""bios_CD_J.bin"" for " . retroSystem . " but could not find it in your system_directory: """ . retroSysDir . """")
    					} Else If StringUtils.Contains(retroID,"LibRetro_PCECD|LibRetro_TGCD")	; NEC PC Engine-CD and NEC TurboGrafx-CD
    					{	If !StringUtils.Contains(romExtension,"\.ccd|\.cue|\.chd")
    							ScriptError("RetroArch only supports " . retroSystem . " games in ccd or cue format. It does not support:`n" . romExtension)
    						sysCard3Pce := new File(retroSysDir . "\syscard3.pce")
    						If !sysCard3Pce.Exist()
    							ScriptError("RetroArch requires ""syscard3.pce"" for " . retroSystem . " but could not find it in your system_directory: """ . retroSysDir . """")
    					} Else If (retroID = "LibRetro_PCFX")
    					{	If !StringUtils.Contains(romExtension,"\.ccd|\.chd|\.cue")
    							ScriptError("RetroArch only supports " . retroSystem . " games in ccd,chd or cue format. It does not support:`n" . romExtension)
    						pcfxBios := new File(retroSysDir . "\pcfx.bios")
    						If !pcfxBios.Exist()
    							ScriptError("RetroArch requires ""pcfx.bios"" for " . retroSystem . " but could not find it in your system_directory: """ . retroSysDir . """")
    					} Else If (retroID = "LibRetro_SCUMM")
    					{
    						scummFile := new File(romPath . "\" . romName . ".scummvm")
    						If !scummFile.Exist()
    							scummFile.Append("""" . romName . """")
    					}
    					
    					networkSession := ""
    					If (enableNetworkPlay = "true") {
    						RLLog.Info("Module - Network Multi-Player is an available option for " . dbName)
    					
    						netplayNickname := moduleIni.Read("Network", "NetPlay_Nickname","Player",,1)
    						getWANIP := moduleIni.Read("Network", "Get_WAN_IP","false",,1)
    					
    						If (getWANIP = "true")
    							myPublicIP := GetPublicIP()
    					
    						RLLog.Warning("Module - CAREFUL WHEN POSTING THIS LOG PUBLICLY AS IT CONTAINS YOUR IP ON THE NEXT LINE")
    						defaultServerIP := moduleIni.Read("Network", "Default_Server_IP", myPublicIP,,1)
    						defaultServerPort := moduleIni.Read("Network", "Default_Server_Port",,,1)
    						lastIP := moduleIni.Read("Network", "Last_IP", defaultServerIP,,1)	; does not need to be on the ISD
    						lastPort := moduleIni.Read("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
    							RLLog.Warning("Module - Cancelled MultiPlayer Menu. Exiting module.")
    							ExitModule()
    						}
    						If networkSession {
    							RLLog.Info("Module - Using a Network for " . dbName)
    							moduleIni.Write(networkPort, "GlobalModuleIni", "Network", "Last_Port")
    							; msgbox lastIP: %lastIP%`nlastPort: %lastPort%`nnetworkIP: %networkIP%`nnetworkPort: %networkPort%
    							If (networkType = "client") {
    								moduleIni.Write(networkIP, "GlobalModuleIni", "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
    							}
    							RLLog.Warning("Module - CAREFUL WHEN POSTING THIS LOG PUBLICLY AS IT CONTAINS YOUR IP ON THE NEXT LINE")
    							RLLog.Info("Module - Starting a network session using the IP """ . networkIP . """ and PORT """ . networkPort . """")
    						} Else
    							RLLog.Info("Module - User chose Single Player mode for this session")
    					}
    					
    					BezelStart(,,(If rotateBezel ? 1:""))
    					
    					If foundCfg {
    						If (stretchToFillBezel = "true" and bezelEnabled = "true" and bezelPath)
    						{
    							customViewportWidth := bezelScreenWidth
    							customViewportHeight := bezelScreenHeight
    							customViewportX := 0
    							customViewportY := 0
    							aspectRatioIndex := 22
    							RLLog.Info("Stretching viewport to fit bezel")
    						}
    					
    						raCfgHasChanges := ""
    						WriteRetroProperty("core_options_path", singlecoreoptions)
    						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 StringUtils.Contains(retroID, "LibRetro_PSX") {
    							Loop, 8	; Loop 8 times for 8 controllers
    							{	p%A_Index%ControllerType := moduleIni.Read(romName . "|" . systemName, "P" . A_Index . "_Controller_Type", 517,,1)
    								WriteRetroProperty("input_libretro_device_p" . A_Index, p%A_Index%ControllerType)
    							}
    						}
    					
    						If raCfgHasChanges {
    							RLLog.Info("Module - Saving changed settings to: """ . retroCFGFile.FileFullPath . """")
    							SaveProperties(retroCFGFile.FileFullPath, retroCFG)
    						}
    					}
    					
    					fullscreen := If fullscreen = "true" ? " -f" : ""
    					retroCFGFileCLI := If foundCfg ? " -c """ . retroCFGFile.FileFullPath . """" : ""
    					
    					
    					
    					HideAppStart(hideEmuObj,hideEmu)
    					
    					If (StringUtils.Contains(core, "^(mame|mess|ume)") && (retroMAMEID != "mame")) {    ; if a MAME/MESS/UME core is used
    						primaryExe.Run(" """ . (retroMAMEID ? retroMAMEID : "") . fullRomPath . """ " . fullscreen . retroCFGFileCLI . " -L """ . libDll . netCommand, "Hide")
    					} Else If (retroID = "LibRetro_SCUMM") {
    						primaryExe.Run(" """ . scummFile . """" . fullscreen . retroCFGFileCLI . " -L """ . libDll . "" . netCommand, "Hide")
    					} Else If (retroID = "LibRetro_SGB" || If superGB = "true") { ; For some reason, the order of our command line matters in this particular case.
    						primaryExe.Run(fullscreen . retroCFGFileCLI . " -L """ . libDll . fullRomPath . netCommand, "Hide")
    					} Else If mgM3UFile.Exist() {
    						primaryExe.Run(" """ . mgM3UFile.FileFullPath . """" . fullscreen . retroCFGFileCLI . " -L """ . libDll . netCommand, "Hide")
    					} Else {
    						primaryExe.Run(" " . fullRomPath . fullscreen . retroCFGFileCLI . " -L """ . libDll . netCommand, "Hide")
    					}
    					
    					mpMenuStatus := ""
    					If networkSession {
    						canceledServerWait := false
    						multiplayerMenuExit := false
    						TimerUtils.SetTimer("NetworkConnectedCheck", 500)
    					
    						If (networkType = "server") {
    							RLLog.Info("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
    							RLLog.Info("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
    							RLLog.Warning("Module - Cancelled waiting for the " . If (networkType = "server") ? "client to connect" : "server to respond" . ". Exiting module.")
    							If primaryExe.Process("Exist")
    								primaryExe.Process("Close")	; 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
    							RLLog.Info("Module - " . If (networkType = "server") ? "Client has connected" : "Connected to the server")
    							emuPrimaryWindow.Wait()
    							emuPrimaryWindow.WaitActive()
    						}
    						TimerUtils.SetTimer("NetworkConnectedCheck", "Off")
    					} Else {	; single player
    						emuPrimaryWindow.Wait()
    						emuPrimaryWindow.WaitActive()
    					}
    					
    					If (hideConsole = "true")
    						emuConsoleWindow.Set("Transparent", "On")	; makes the console window transparent so you don't see it on exit
    					
    					BezelDraw()
    					HideAppEnd(hideEmuObj,hideEmu)
    					FadeInExit()
    					primaryExe.Process("WaitClose")
    					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,RLLog
    						If (direction = "read")
    						{	newtxt := StringUtils.TrimLeft(txt,1,0)	; removes the " from the left of the txt
    							newtxt := StringUtils.TrimRight(newtxt,1,0)	; removes the " from the right of the txt
    							relativeCheck := StringUtils.SubStr(newtxt,1,1,0)
    							If StringUtils.Contains(relativeCheck,":",0) {	; if the path contains a ":" then it is a relative path
    								RLLog.Debug("ConvertRetroCFGKey - " . newtxt . " is a relative path")
    								newtxt := StringUtils.TrimLeft(newtxt,1,0)	; removes the : from the left of the txt
    								newtxt := AbsoluteFromRelative(emuPath, "." . newtxt)	; convert relative to absolute
    							}
    							If StringUtils.Contains(newtxt,"/",0)
    								newtxt := StringUtils.Replace(newtxt,"/","\",1,,0)	; replaces all forward slashes with backslashes
    						} Else If (direction = "write")
    						{	newtxt := """" . txt . """"	; wraps the txt with ""
    							If StringUtils.Contains(newtxt,"\\",0)
    								newtxt := StringUtils.Replace(newtxt,"\","/",1,,0)	; replaces all backslashes with forward slashes
    						} Else
    							ScriptError("Not a valid use of ConvertRetroCFGKey. Only ""read"" or ""write"" are supported.")
    						RLLog.Debug("ConvertRetroCFGKey - Converted " . txt . " to " . newtxt)
    						Return newtxt
    					}
    					
    					MultiGame:
    						KeyUtils.SetKeyDelay(100)
    						emuPrimaryWindow.Activate()
    						KeyUtils.Send("{" . ejectToggleKey . " down}{" . ejectToggleKey . " up}")	; eject disc in Retroarch
    						If (!mgLastRomIndex) {
    							mgLastRomIndex := mgRomIndex
    						}
    						selectedRomIndex := 0
    						selectedRomIndex := StringUtils.TrimLeft(selectedRomNum, StringUtils.StringLength(mgType,0))
    						
    						Loop % mgMaxIndex
    						{
    							If (m3uRomIndex[A_index] = mgLastRomIndex) {
    								tempLastRomIndex := A_index
    								RLLog.Debug("Module - Last index: " . tempLastRomIndex)
    							}
    							If (m3uRomIndex[A_index] = selectedRomIndex) {
    								tempSelectedRomIndex := A_index
    								RLLog.Debug("Module - Selected index: " . tempSelectedRomIndex)
    							}
    						}
    						
    						mgNewIndex := tempLastRomIndex - tempSelectedRomIndex
    						
    						If (mgNewIndex < 0) {
    							mgNewIndex := mgNewIndex * -1
    							Loop % mgNewIndex
    							{
    								RLLog.Debug("Module - Sending the next disk key: " . nextDiskKey)
    								KeyUtils.Send("{" . nextDiskKey . " down}{" . nextDiskKey . " up}")
    							}
    						} Else If (mgNewIndex > 0) {
    							Loop % mgNewIndex
    							{
    								RLLog.Debug("Module - Sending the previous disk key: " . mgNewIndex)
    								KeyUtils.Send("{" . prevDiskKey . " down}{" . prevDiskKey . " up}")
    							}
    						}
    						
    						KeyUtils.Send("{" . ejectToggleKey . " down}{" . ejectToggleKey . " up}")	; close disc in Retroarch
    						mgLastRomIndex := selectedRomIndex
    					Return
    					
    					NetworkConnectedCheck:
    						If clientConnected
    							multiplayerMenuExit := true
    						Else If emuPrimaryWindow.Exist() {
    							RLLog.Info("Module - RetroArch session started, closing the MultiPlayer menu")
    							multiplayerMenuExit := true
    						}
    					Return
    					
    					CloseProcess:
    						FadeOutStart()
    						emuPrimaryWindow.Close()
    					Return
    
    15:50:03:935 | RL |      INFO  | +0     | BuildScript - Loaded MultiGame scripts
    15:50:03:936 | RL |      INFO  | +0     | BuildScript - Loaded Multi-Player scripts
    15:50:03:936 | RL |      INFO  | +0     | BuildScript - Loaded Statistics.ahk script
    15:50:03:937 | RL |      INFO  | +15    | BuildScript - "D:\Console RL\RocketLauncher\Lib\User Functions\Global.ahk" not found
    15:50:03:937 | RL |      INFO  | +0     | BuildScript - "D:\Console RL\RocketLauncher\Lib\User Functions\Amstrad GX4000.ahk" not found
    15:50:03:938 | RL |      INFO  | +0     | BuildScript - "D:\Console RL\RocketLauncher\Lib\User Functions\Emulators\RetroArch.ahk" not found
    15:50:03:938 | RL |      INFO  | +0     | BuildScript - "D:\Console RL\RocketLauncher\Lib\User Functions\Amstrad GX4000\Emulators\RetroArch.ahk" not found
    15:50:03:939 | RL |      INFO  | +0     | BuildScript - "D:\Console RL\RocketLauncher\Lib\User Functions\Amstrad GX4000\batman.ahk" not found
    15:50:03:939 | RL |      INFO  | +0     | BuildScript - Finished injecting functions into module
    15:50:03:940 | RL |      INFO  | +0     | Main - Module is built
    15:50:03:940 | RL |      INFO  | +0     | CheckFile - Checking if D:\Console RL\RocketLauncher\AutoHotkey.dll exists
    15:50:03:942 | RL |     DEBUG  | +0     | CheckFile - Attributes:
    					FileDescription         	AutoHotkey_H ANSI 32-bit
    					FileVersion             	1.1.13.00
    					InternalName            	AutoHotkey_H
    					LegalCopyright          	Copyright (C) 2003-2013
    					OriginalFilename        	AutoHotkey.exe
    					ProductName             	AutoHotkey_H
    					ProductVersion          	1.1.13.00
    					File Size:			802304 bytes
    					Created:			2/23/2019 - 11:06:47
    					Modified:			9/7/2013 - 6:54:32
    15:50:03:943 | RL |      INFO  | +0     | Main - Starting timer to watch if Front End gets displaced and restore it if it does.
    15:50:03:943 | RL |      INFO  | +0     | Main - Running module
    15:50:04:067 | MD |      INFO  | +N/A   | Module initialized
    15:50:04:068 | MD |      INFO  | +0     | CheckFile - Checking if D:\Console RL\Utilities\JoyToKey\JoyToKey.exe exists
    15:50:04:069 | MD |     DEBUG  | +0     | CheckFile - Attributes:
    					FileDescription         	Convert joystick input to keyboard/mouse input
    					FileVersion             	6.2.0.417
    					InternalName            	JoyToKey
    					LegalCopyright          	Copyright(C) JTK, 1999-2019
    					OriginalFilename        	JoyToKey
    					ProductName             	JoyToKey
    					ProductVersion          	Version 6
    					File Size:			1993728 bytes
    					Created:			3/1/2019 - 7:21:23
    					Modified:			2/2/2019 - 8:33:08
    15:50:04:069 | MD |      INFO  | +0     | Keymapper - Loading joytokey
    15:50:04:069 | MD |      INFO  | +0     | RunKeymapper - Started, using method "load"
    15:50:04:070 | MD |      INFO  | +0     | GetJoystickArray - Started
    15:50:04:101 | MD |     TRACE  | +31    | GetJoystickArray - Joysticks Detected: 0100000000000000
    15:50:04:102 | MD |      INFO  | +0     | GetJoystickGUID - Started
    15:50:04:102 | MD |      INFO  | +0     | GetJoystickGUID - Ended and found GUID: F0C0C0B7E73AE9118001444553540000
    15:50:04:103 | MD |     TRACE  | +0     | GetJoystickArray - ID: 2 | Port: 1 | Name: Controller (Xbox One For Windows) | MID: 045e | PID: 02ea | GUID: F0C0C0B7E73AE9118001444553540000
    15:50:04:103 | MD |      INFO  | +0     | GetJoystickArray - Ended
    15:50:04:103 | MD |     TRACE  | +0     | RunKeymapper - Found your keymapper application here: "D:\Console RL\Utilities\JoyToKey\JoyToKey.exe"
    15:50:04:104 | MD |     TRACE  | +0     | RunKeymapper - Looping through controllers to find joytokey profiles for each one
    15:50:04:104 | MD |     TRACE  | +0     | GetProfile - Searching for these profiles (| delimited): D:\Console RL\RocketLauncher\Profiles\joytokey\Amstrad GX4000\batman\batman|D:\Console RL\RocketLauncher\Profiles\joytokey\Amstrad GX4000\RetroArch\RetroArch|D:\Console RL\RocketLauncher\Profiles\joytokey\Amstrad GX4000\Amstrad GX4000|D:\Console RL\RocketLauncher\Profiles\joytokey\_Default\_Default
    15:50:04:104 | MD |     TRACE  | +0     | GetProfile - Searching for a Player 1 profile -> D:\Console RL\RocketLauncher\Profiles\joytokey\Amstrad GX4000\batman\batman.cfg
    15:50:04:105 | MD |     TRACE  | +0     | GetProfile - Searching for a Player 1 profile -> D:\Console RL\RocketLauncher\Profiles\joytokey\Amstrad GX4000\RetroArch\RetroArch.cfg
    15:50:04:105 | MD |     TRACE  | +0     | GetProfile - Searching for a Player 1 profile -> D:\Console RL\RocketLauncher\Profiles\joytokey\Amstrad GX4000\Amstrad GX4000.cfg
    15:50:04:105 | MD |     TRACE  | +0     | GetProfile - Searching for a Player 1 profile -> D:\Console RL\RocketLauncher\Profiles\joytokey\_Default\_Default.cfg
    15:50:04:106 | MD |      INFO  | +0     | GetProfile - Loading Player 1 Profile -> D:\Console RL\RocketLauncher\Profiles\joytokey\_Default\_Default.cfg
    15:50:04:106 | MD |      INFO  | +0     | RunJoyToKey - Started
    15:50:04:106 | MD |      INFO  | +0     | Process - Exist xpadder.exe 
    15:50:04:131 | MD |      INFO  | +32    | WinClose - Closing: JoyToKey ahk_class TMainForm
    15:50:04:359 | MD |      INFO  | +234   | Process - WaitClose JoyToKey.exe 2
    15:50:04:364 | MD |      INFO  | +0     | Run - Running: D:\Console RL\Utilities\JoyToKey\JoyToKey.exe "D:\Console RL\RocketLauncher\Profiles\joytokey\_Default\_Default.cfg"
    15:50:04:406 | MD |     DEBUG  | +47    | Run - "JoyToKey.exe "D:\Console RL\RocketLauncher\Profiles\joytokey\_Default\_Default.cfg"" Process ID: 9168
    15:50:04:406 | MD |      INFO  | +0     | RunJoyToKey - Ended
    15:50:04:407 | MD |      INFO  | +0     | RunKeymapper - Ended
    15:50:04:407 | MD |     DEBUG  | +0     | fadeInTransitionAnimation: DefaultAnimateFadeIn
    15:50:04:407 | MD |     DEBUG  | +0     | fadeOutTransitionAnimation: DefaultAnimateFadeOut
    15:50:04:408 | MD |     DEBUG  | +0     | fadeLyr3Animation: DefaultFadeAnimation
    15:50:04:408 | MD |     DEBUG  | +0     | fadeLyr37zAnimation: DefaultFadeAnimation
    15:50:04:409 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Started
    15:50:04:409 | MD |     DEBUG  | +0     | XHotkeyTableCreation - KeyGroup ~NumpadSub not in TableKeyGroups 
    15:50:04:409 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Post loop 1 check
    15:50:04:410 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Post loop 2 check
    15:50:04:410 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~NumpadSub" to call label: "StartMulti"
    15:50:04:410 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Ended
    15:50:04:411 | MD |     TRACE  | +0     | CustomFunction.Init - Starting
    15:50:04:411 | MD |     TRACE  | +0     | CustomFunction.Init - Ending
    15:50:04:412 | MD |      INFO  | +0     | StartModule - Started
    15:50:04:412 | MD |      INFO  | +0     | StartModule - MEmu: RetroArch Beta
    					MEmuV: v0.0.1
    					MURL: http://themaister.net/retroarch.html
    					MAuthor: djvj|zerojay|SweatyPickle
    					MVersion: 0.0.1
    					MCRC: D50F0E70
    					iCRC: 
    					MID: 
    					MSystem: Acorn BBC Micro|AAE|Amstrad CPC|Amstrad GX4000|APF Imagination Machine|Applied Technology MicroBee|Apple IIGS|Arcade|Arcade Classics|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 II|Capcom Play System III|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|Fujitsu FM Towns|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|Nintendo 64 HD|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|NES HD|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|ScummVM|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 Meganet|Sega Nomad|Sega Pico|Super Nintendo MSU-1|Sega Saturn|Sega Saturn Japan|Sega VMU|Sega ST-V|Sharp X1|Sharp X68000|Sinclair ZX Spectrum|Sinclair ZX81|Sony PlayStation|Sony PlayStation Minis|Sony PocketStation|Sony PSP|Sony PSP Minis|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|Sega CD 32X
    15:50:04:412 | MD |      INFO  | +0     | StartModule - You have a supported System Name for this module: "Amstrad GX4000"
    15:50:04:413 | MD |      INFO  | +0     | LocaleUtils.i18n - Started
    15:50:04:414 | MD |     DEBUG  | +0     | LocaleUtils.i18n - Section "French_Standard" & key "dialog.open" not found, trying section "French"
    15:50:04:414 | MD |      INFO  | +0     | LocaleUtils.i18n - Ended, using "Ouvrir" for "dialog.open"
    15:50:04:414 | MD |      INFO  | +0     | LocaleUtils.i18n - Started
    15:50:04:415 | MD |     DEBUG  | +0     | LocaleUtils.i18n - Section "French_Standard" & key "dialog.start" not found, trying section "French"
    15:50:04:415 | MD |      INFO  | +0     | LocaleUtils.i18n - Ended, using "Démarrer" for "dialog.start"
    15:50:04:416 | MD |      INFO  | +0     | PluginInit - Started
    15:50:04:416 | MD |      INFO  | +0     | Process - Exist LaunchBox.exe 
    15:50:04:420 | MD |      INFO  | +0     | Process - Exist LaunchBox.exe 
    15:50:04:425 | MD |     DEBUG  | +16    | BuildDatabaseTable - Started - Building Table for: Developer|Notes|Platform|Publisher|Rating|Year|StarRating|Name|CloneOf|Series|PlayMode|Genre|Status|Source|Region|Favorite|Completed|Portable|CloneOf
    15:50:04:425 | MD |      INFO  | +0     | CheckFile - Checking if D:\Console RL\LaunchBox\Data\Platforms\Amstrad GX4000.xml exists
    15:50:04:426 | MD |     DEBUG  | +0     | CheckFile - Attributes:
    					File Size:			66854 bytes
    					Created:			3/2/2019 - 3:22:43
    					Modified:			3/2/2019 - 3:29:16
    15:50:04:426 | MD |     DEBUG  | +0     | BuildDatabaseTable - Searching LaunchBox database file for XML section: <ApplicationPath>Z:\Roms\gx4000\batman.zip</ApplicationPath>
    15:50:04:427 | MD |     DEBUG  | +0     | BuildDatabaseTable - Found "Game Name" in the database!
    15:50:04:427 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for: Developer
    15:50:04:428 | MD |     DEBUG  | +0     | BuildDatabaseTable - Found "Developer" with a value: "Ocean Software"
    15:50:04:428 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for: Notes
    15:50:04:428 | MD |     DEBUG  | +0     | BuildDatabaseTable - Found "Notes" with a value: "The game consists of five stages based on events from the movie. Each stage has a time limit and a health gauge (represented by Batman's face turning into the Joker's), with Batman losing a life if he runs out of either. The levels have varying gameplay"
    15:50:04:429 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for: Platform
    15:50:04:430 | MD |     DEBUG  | +0     | BuildDatabaseTable - Found "Platform" with a value: "Amstrad GX4000"
    15:50:04:430 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for: Publisher
    15:50:04:430 | MD |     DEBUG  | +0     | BuildDatabaseTable - Found "Publisher" with a value: "Ocean Software"
    15:50:04:431 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for: Rating
    15:50:04:431 | MD |     DEBUG  | +0     | BuildDatabaseTable - Found "Rating" with a value: "Not Rated"
    15:50:04:431 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for: Year
    15:50:04:432 | MD |     DEBUG  | +0     | BuildDatabaseTable - Found "Year" with a value: "1990"
    15:50:04:432 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for: StarRating
    15:50:04:433 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for: Name
    15:50:04:433 | MD |     DEBUG  | +0     | BuildDatabaseTable - Found "Name" with a value: "Batman"
    15:50:04:433 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for: CloneOf
    15:50:04:434 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for: Series
    15:50:04:434 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for: PlayMode
    15:50:04:435 | MD |     DEBUG  | +0     | BuildDatabaseTable - Found "PlayMode" with a value: "Un joueur"
    15:50:04:435 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for: Genre
    15:50:04:435 | MD |     DEBUG  | +0     | BuildDatabaseTable - Found "Genre" with a value: "Action;Platform"
    15:50:04:436 | MD |     DEBUG  | +15    | BuildDatabaseTable - Looking database for: Status
    15:50:04:436 | MD |     DEBUG  | +0     | BuildDatabaseTable - Found "Status" with a value: "ROM importée"
    15:50:04:436 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for: Source
    15:50:04:437 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for: Region
    15:50:04:437 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for: Favorite
    15:50:04:438 | MD |     DEBUG  | +0     | BuildDatabaseTable - Found "Favorite" with a value: "false"
    15:50:04:438 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for: Completed
    15:50:04:438 | MD |     DEBUG  | +0     | BuildDatabaseTable - Found "Completed" with a value: "false"
    15:50:04:439 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for: Portable
    15:50:04:439 | MD |     DEBUG  | +0     | BuildDatabaseTable - Found "Portable" with a value: "false"
    15:50:04:439 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for: CloneOf
    15:50:04:440 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for platform path for: Videos_Path
    15:50:04:440 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for platform path for: Front_Path
    15:50:04:441 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for platform path for: Back_Path
    15:50:04:441 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for platform path for: ClearLogo_Path
    15:50:04:441 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for platform path for: Fanart_Path
    15:50:04:442 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for platform path for: Screenshot_Path
    15:50:04:442 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for platform path for: Banner_Path
    15:50:04:442 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for platform path for: SteamBanner_Path
    15:50:04:443 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for platform path for: Manuals_Path
    15:50:04:443 | MD |     DEBUG  | +0     | BuildDatabaseTable - Looking database for platform path for: Music_Path
    15:50:04:444 | MD |     TRACE  | +0     | PluginInit - GameInfo:
    					GameInfo Label: Back_Path | GameInfo Value: 
    					GameInfo Label: Banner_Path | GameInfo Value: 
    					GameInfo Label: ClearLogo_Path | GameInfo Value: 
    					GameInfo Label: CloneOf | GameInfo Value: 
    					GameInfo Label: Completed | GameInfo Value: false
    					GameInfo Label: Developer | GameInfo Value: Ocean Software
    					GameInfo Label: Fanart_Path | GameInfo Value: 
    					GameInfo Label: Favorite | GameInfo Value: false
    					GameInfo Label: Front_Path | GameInfo Value: 
    					GameInfo Label: Genre | GameInfo Value: Action;Platform
    					GameInfo Label: Manuals_Path | GameInfo Value: 
    					GameInfo Label: Music_Path | GameInfo Value: 
    					GameInfo Label: Name | GameInfo Value: Batman
    					GameInfo Label: Notes | GameInfo Value: The game consists of five stages based on events from the movie. Each stage has a time limit and a health gauge (represented by Batman's face turning into the Joker's), with Batman losing a life if he runs out of either. The levels have varying gameplay
    					GameInfo Label: Platform | GameInfo Value: Amstrad GX4000
    					GameInfo Label: PlayMode | GameInfo Value: Un joueur
    					GameInfo Label: Portable | GameInfo Value: false
    					GameInfo Label: Publisher | GameInfo Value: Ocean Software
    					GameInfo Label: Rating | GameInfo Value: Not Rated
    					GameInfo Label: Region | GameInfo Value: 
    					GameInfo Label: Screenshot_Path | GameInfo Value: 
    					GameInfo Label: Series | GameInfo Value: 
    					GameInfo Label: Source | GameInfo Value: 
    					GameInfo Label: StarRating | GameInfo Value: 0
    					GameInfo Label: Status | GameInfo Value: ROM importée
    					GameInfo Label: SteamBanner_Path | GameInfo Value: 
    					GameInfo Label: Videos_Path | GameInfo Value: 
    					GameInfo Label: Year | GameInfo Value: 1990
    15:50:04:444 | MD |     DEBUG  | +0     | BuildDatabaseTable - Ended
    15:50:04:445 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Game Logo
    15:50:04:445 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Game Logo: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman.*
    15:50:04:445 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:446 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Game Logo-01
    15:50:04:446 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Game Logo-01: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.*
    15:50:04:447 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:447 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:447 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Game Logo-02
    15:50:04:448 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Game Logo-02: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-02.*
    15:50:04:448 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:449 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:449 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Game Logo-03
    15:50:04:449 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Game Logo-03: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-03.*
    15:50:04:450 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:450 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:450 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Game Logo-04
    15:50:04:451 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Game Logo-04: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-04.*
    15:50:04:451 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:451 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:452 | MD |      INFO  | +16    | BuildAssetsTable - Started - Building Table for: Game Logo-05
    15:50:04:452 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Game Logo-05: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-05.*
    15:50:04:453 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:453 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:454 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Game Logo-06
    15:50:04:454 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Game Logo-06: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-06.*
    15:50:04:455 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:455 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:456 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Game Logo-07
    15:50:04:456 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Game Logo-07: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-07.*
    15:50:04:456 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:457 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:458 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Game Logo-08
    15:50:04:458 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Game Logo-08: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-08.*
    15:50:04:458 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:459 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:459 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Game Logo-09
    15:50:04:459 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Game Logo-09: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-09.*
    15:50:04:460 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:460 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:461 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Game Logo
    15:50:04:461 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Game Logo: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman.*
    15:50:04:461 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:462 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:462 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Game Logo-01
    15:50:04:463 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Game Logo-01: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.*
    15:50:04:463 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:464 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:464 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Game Logo-02
    15:50:04:464 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Game Logo-02: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-02.*
    15:50:04:465 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:465 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:466 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Game Logo-03
    15:50:04:466 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Game Logo-03: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-03.*
    15:50:04:466 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:467 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:467 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Game Logo-04
    15:50:04:467 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Game Logo-04: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-04.*
    15:50:04:468 | MD |     DEBUG  | +15    | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:468 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:469 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Game Logo-05
    15:50:04:469 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Game Logo-05: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-05.*
    15:50:04:469 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:470 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:470 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Game Logo-06
    15:50:04:471 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Game Logo-06: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-06.*
    15:50:04:471 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:471 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:472 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Game Logo-07
    15:50:04:472 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Game Logo-07: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-07.*
    15:50:04:473 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:473 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:473 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Game Logo-08
    15:50:04:474 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Game Logo-08: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-08.*
    15:50:04:474 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:475 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:475 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Game Logo-09
    15:50:04:475 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Game Logo-09: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-09.*
    15:50:04:476 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:476 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:477 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: System Logo
    15:50:04:477 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a System Logo: D:\Console RL\LaunchBox\Images\Platforms\Amstrad GX4000\Clear Logo\Amstrad GX4000.*
    15:50:04:478 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:478 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:478 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: System Logo-01
    15:50:04:479 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a System Logo-01: D:\Console RL\LaunchBox\Images\Platforms\Amstrad GX4000\Clear Logo\Amstrad GX4000-01.*
    15:50:04:479 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:480 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:480 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: System Logo-02
    15:50:04:481 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a System Logo-02: D:\Console RL\LaunchBox\Images\Platforms\Amstrad GX4000\Clear Logo\Amstrad GX4000-02.*
    15:50:04:481 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:481 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:482 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: System Logo-03
    15:50:04:482 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a System Logo-03: D:\Console RL\LaunchBox\Images\Platforms\Amstrad GX4000\Clear Logo\Amstrad GX4000-03.*
    15:50:04:483 | MD |     DEBUG  | +16    | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:483 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:483 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: System Logo-04
    15:50:04:484 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a System Logo-04: D:\Console RL\LaunchBox\Images\Platforms\Amstrad GX4000\Clear Logo\Amstrad GX4000-04.*
    15:50:04:484 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:485 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:485 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: System Logo-05
    15:50:04:485 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a System Logo-05: D:\Console RL\LaunchBox\Images\Platforms\Amstrad GX4000\Clear Logo\Amstrad GX4000-05.*
    15:50:04:486 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:486 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:487 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: System Logo-06
    15:50:04:487 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a System Logo-06: D:\Console RL\LaunchBox\Images\Platforms\Amstrad GX4000\Clear Logo\Amstrad GX4000-06.*
    15:50:04:487 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:488 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:488 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: System Logo-07
    15:50:04:489 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a System Logo-07: D:\Console RL\LaunchBox\Images\Platforms\Amstrad GX4000\Clear Logo\Amstrad GX4000-07.*
    15:50:04:489 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:489 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:490 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: System Logo-08
    15:50:04:490 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a System Logo-08: D:\Console RL\LaunchBox\Images\Platforms\Amstrad GX4000\Clear Logo\Amstrad GX4000-08.*
    15:50:04:491 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:491 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:491 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: System Logo-09
    15:50:04:492 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a System Logo-09: D:\Console RL\LaunchBox\Images\Platforms\Amstrad GX4000\Clear Logo\Amstrad GX4000-09.*
    15:50:04:492 | MD |     DEBUG  | +0     | BuildAssetsTable - Media assets found: 
    					Asset Label: Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\Batman-01.png | Asset Extension1:  png | Asset Type1:  game
    					Asset Label: Rom Game Logo-01 | Asset Path1:  D:\Console RL\LaunchBox\Images\Amstrad GX4000\Clear Logo\batman-01.png | Asset Extension1:  png | Asset Type1:  game
    15:50:04:493 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:493 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Background
    15:50:04:493 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Background: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\Batman.*
    15:50:04:494 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:494 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Background-01
    15:50:04:495 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Background-01: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\Batman-01.*
    15:50:04:495 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:495 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Background-02
    15:50:04:496 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Background-02: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\Batman-02.*
    15:50:04:496 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:497 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Background-03
    15:50:04:497 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Background-03: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\Batman-03.*
    15:50:04:498 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:498 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Background-04
    15:50:04:498 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Background-04: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\Batman-04.*
    15:50:04:499 | MD |      INFO  | +16    | BuildAssetsTable - Ended
    15:50:04:499 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Background-05
    15:50:04:500 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Background-05: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\Batman-05.*
    15:50:04:500 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:501 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Background-06
    15:50:04:501 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Background-06: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\Batman-06.*
    15:50:04:501 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:502 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Background-07
    15:50:04:502 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Background-07: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\Batman-07.*
    15:50:04:503 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:503 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Background-08
    15:50:04:503 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Background-08: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\Batman-08.*
    15:50:04:504 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:504 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Background-09
    15:50:04:505 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Background-09: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\Batman-09.*
    15:50:04:505 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:506 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Background
    15:50:04:506 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Background: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\batman.*
    15:50:04:506 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:507 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Background-01
    15:50:04:507 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Background-01: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\batman-01.*
    15:50:04:508 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:508 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Background-02
    15:50:04:508 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Background-02: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\batman-02.*
    15:50:04:509 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:509 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Background-03
    15:50:04:510 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Background-03: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\batman-03.*
    15:50:04:510 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:510 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Background-04
    15:50:04:511 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Background-04: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\batman-04.*
    15:50:04:511 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:512 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Background-05
    15:50:04:512 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Background-05: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\batman-05.*
    15:50:04:513 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:513 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Background-06
    15:50:04:513 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Background-06: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\batman-06.*
    15:50:04:514 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:514 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Background-07
    15:50:04:515 | MD |     DEBUG  | +15    | BuildAssetsTable - Searching for a Rom Background-07: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\batman-07.*
    15:50:04:515 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:516 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Background-08
    15:50:04:516 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Background-08: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\batman-08.*
    15:50:04:516 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:517 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Background-09
    15:50:04:517 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Background-09: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Background\batman-09.*
    15:50:04:518 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:518 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Fanart - Background
    15:50:04:518 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Fanart - Background: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Batman.*
    15:50:04:519 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:519 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Fanart - Background-01
    15:50:04:520 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Fanart - Background-01: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Batman-01.*
    15:50:04:520 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:520 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Fanart - Background-02
    15:50:04:521 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Fanart - Background-02: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Batman-02.*
    15:50:04:521 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:522 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Fanart - Background-03
    15:50:04:522 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Fanart - Background-03: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Batman-03.*
    15:50:04:523 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:523 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Fanart - Background-04
    15:50:04:523 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Fanart - Background-04: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Batman-04.*
    15:50:04:524 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:524 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Fanart - Background-05
    15:50:04:525 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Fanart - Background-05: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Batman-05.*
    15:50:04:525 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:526 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Fanart - Background-06
    15:50:04:526 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Fanart - Background-06: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Batman-06.*
    15:50:04:526 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:527 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Fanart - Background-07
    15:50:04:527 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Fanart - Background-07: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Batman-07.*
    15:50:04:528 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:528 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Fanart - Background-08
    15:50:04:528 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Fanart - Background-08: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Batman-08.*
    15:50:04:529 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:529 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Fanart - Background-09
    15:50:04:530 | MD |     DEBUG  | +16    | BuildAssetsTable - Searching for a Fanart - Background-09: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\Batman-09.*
    15:50:04:530 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:531 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Fanart - Background
    15:50:04:531 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Fanart - Background: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\batman.*
    15:50:04:532 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:532 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Fanart - Background-01
    15:50:04:533 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Fanart - Background-01: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\batman-01.*
    15:50:04:533 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:534 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Fanart - Background-02
    15:50:04:534 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Fanart - Background-02: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\batman-02.*
    15:50:04:534 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:535 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Fanart - Background-03
    15:50:04:535 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Fanart - Background-03: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\batman-03.*
    15:50:04:536 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:536 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Fanart - Background-04
    15:50:04:536 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Fanart - Background-04: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\batman-04.*
    15:50:04:537 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:537 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Fanart - Background-05
    15:50:04:538 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Fanart - Background-05: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\batman-05.*
    15:50:04:538 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:539 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Fanart - Background-06
    15:50:04:539 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Fanart - Background-06: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\batman-06.*
    15:50:04:539 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:540 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Fanart - Background-07
    15:50:04:540 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Fanart - Background-07: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\batman-07.*
    15:50:04:541 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:541 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Fanart - Background-08
    15:50:04:542 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Fanart - Background-08: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\batman-08.*
    15:50:04:542 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:542 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Rom Fanart - Background-09
    15:50:04:543 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rom Fanart - Background-09: D:\Console RL\LaunchBox\Images\Amstrad GX4000\Fanart - Background\batman-09.*
    15:50:04:543 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:04:544 | MD |      INFO  | +0     | PluginInit - Ended
    15:50:04:544 | MD |     DEBUG  | +0     | StartModule - Setting romName to the dbName sent to RocketLauncher: batman
    15:50:04:545 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Started
    15:50:04:545 | MD |     DEBUG  | +0     | XHotkeyTableCreation - KeyGroup ~e&~t not in TableKeyGroups ~NumpadSub,
    15:50:04:545 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Post loop 1 check
    15:50:04:546 | MD |     DEBUG  | +16    | XHotkeyTableCreation - Post loop 2 check
    15:50:04:546 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~e & ~t" to call label: "ToggleCursor"
    15:50:04:547 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Ended
    15:50:04:547 | MD |     TRACE  | +0     | Process.__New - Creating new process object for: "D:\Console RL\LaunchBox\LaunchBox.exe"
    15:50:04:548 | MD |     TRACE  | +0     | File.__New - Creating new file object of: "D:\Console RL\LaunchBox\LaunchBox.exe"
    15:50:04:549 | MD |     TRACE  | +0     | File.__New - Creating new file object of: "D:\Console RL\RocketLauncher\Modules\RetroArch CHD\Amstrad GX4000\batman.ini"
    15:50:04:551 | MD |     TRACE  | +0     | File.__New - Creating new file object of: "D:\Console RL\RocketLauncher\Modules\RetroArch CHD\Amstrad GX4000.ini"
    15:50:04:553 | MD |     TRACE  | +0     | File.__New - Creating new file object of: "D:\Console RL\RocketLauncher\Modules\RetroArch CHD\RetroArch.ini"
    15:50:04:554 | MD |     TRACE  | +0     | File.Exist - This file exists: D:\Console RL\RocketLauncher\Modules\RetroArch CHD\RetroArch.ini
    15:50:04:556 | MD |     DEBUG  | +0     | RIniFile.__New - "Module" at index 1, adding "GlobalModuleIni" from: "D:\Console RL\RocketLauncher\Modules\RetroArch CHD\RetroArch.ini"
    15:50:04:557 | MD |      INFO  | +0     | StartModule - Ended
    15:50:04:558 | MD |      INFO  | +0     | BezelGUI - Started
    15:50:04:584 | MD |      INFO  | +31    | BezelGUI - Ended
    15:50:04:585 | MD |     DEBUG  | +0     | FadeInStart - Started
    15:50:04:585 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Started
    15:50:04:586 | MD |     DEBUG  | +0     | XHotkeyTableCreation - KeyGroup ~NumpadSub is in TableKeyGroups ~NumpadSub,~e&~t,
    15:50:04:586 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Post loop 10 check
    15:50:04:587 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Disabled Hotkey for: "~NumpadSub"
    15:50:04:587 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Post loop 11 check
    15:50:04:588 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Disabling "StartMulti" standard Hotkey method for key(s): "~NumpadSub"
    15:50:04:588 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Post loop 12 check
    15:50:04:589 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Ended
    15:50:04:589 | MD |     DEBUG  | +0     | FadeInStart - No keys were set to interrupt fade so ability to interrupt fade is disabled
    15:50:04:590 | MD |     TRACE  | +0     | FadeInStart - Fade screen scale factor: X=1.000000, Y= 1.000000
    15:50:04:590 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Layer 1" media exists in: D:\Console RL\RocketLauncher\Media\Fade\Amstrad GX4000\batman\Layer 1*.*
    15:50:04:590 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Layer 1" media exists in: D:\Console RL\RocketLauncher\Media\Fade\Amstrad GX4000\_Default\Horizontal\Layer 1*.*
    15:50:04:591 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Layer 1" media exists in: D:\Console RL\RocketLauncher\Media\Fade\Amstrad GX4000\_Default\Layer 1*.*
    15:50:04:591 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Layer 1" media exists in: D:\Console RL\RocketLauncher\Media\Fade\_Default\Horizontal\Layer 1*.*
    15:50:04:592 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Layer 1" media exists in: D:\Console RL\RocketLauncher\Media\Fade\_Default\Layer 1*.*
    15:50:04:592 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Extra Layer 1 - Console" media exists in: D:\Console RL\RocketLauncher\Media\Fade\Amstrad GX4000\batman\Extra Layer 1 - Console*.*
    15:50:04:593 | MD |     DEBUG  | +15    | GetFadeDirPicFile - Checking if any Fade "Extra Layer 1 - Console" media exists in: D:\Console RL\RocketLauncher\Media\Fade\Amstrad GX4000\_Default\Horizontal\Extra Layer 1 - Console*.*
    15:50:04:594 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Extra Layer 1 - Console" media exists in: D:\Console RL\RocketLauncher\Media\Fade\Amstrad GX4000\_Default\Extra Layer 1 - Console*.*
    15:50:04:595 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Extra Layer 1 - Console" media exists in: D:\Console RL\RocketLauncher\Media\Fade\_Default\Horizontal\Extra Layer 1 - Console*.*
    15:50:04:595 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Extra Layer 1 - Console" media exists in: D:\Console RL\RocketLauncher\Media\Fade\_Default\Extra Layer 1 - Console*.*
    15:50:04:605 | MD |      INFO  | +0     | DefaultAnimateFadeIn - Started, direction is: in
    15:50:04:606 | MD |      INFO  | +0     | DefaultAnimateFadeIn - Drawing First FadeIn Image.
    15:50:05:094 | MD |      INFO  | +500   | DefaultAnimateFadeIn - Ended
    15:50:05:114 | MD |      INFO  | +16    | DefaultFadeAnimation - Started
    15:50:05:114 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Info Bar" media exists in: D:\Console RL\RocketLauncher\Media\Fade\Amstrad GX4000\batman\Info Bar*.*
    15:50:05:115 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Info Bar" media exists in: D:\Console RL\RocketLauncher\Media\Fade\Amstrad GX4000\_Default\Horizontal\Info Bar*.*
    15:50:05:115 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Info Bar" media exists in: D:\Console RL\RocketLauncher\Media\Fade\Amstrad GX4000\_Default\Info Bar*.*
    15:50:05:116 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Info Bar" media exists in: D:\Console RL\RocketLauncher\Media\Fade\_Default\Horizontal\Info Bar*.*
    15:50:05:116 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Info Bar" media exists in: D:\Console RL\RocketLauncher\Media\Fade\_Default\Info Bar*.*
    15:50:05:117 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Layer 3" media exists in: D:\Console RL\RocketLauncher\Media\Fade\Amstrad GX4000\batman\Layer 3*.*
    15:50:05:117 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Layer 3" media exists in: D:\Console RL\RocketLauncher\Media\Fade\Amstrad GX4000\_Default\Horizontal\Layer 3*.*
    15:50:05:118 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Layer 3" media exists in: D:\Console RL\RocketLauncher\Media\Fade\Amstrad GX4000\_Default\Layer 3*.*
    15:50:05:118 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Layer 3" media exists in: D:\Console RL\RocketLauncher\Media\Fade\_Default\Horizontal\Layer 3*.*
    15:50:05:119 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Layer 3" media exists in: D:\Console RL\RocketLauncher\Media\Fade\_Default\Layer 3*.*
    15:50:05:121 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: Genre Logo|Rating Logo|Developer Logo|Publisher Logo|Year Logo
    15:50:05:121 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Genre Logo: D:\Console RL\RocketLauncher\Media\Genre\_Default\Action;Platform.*
    15:50:05:122 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Rating Logo: D:\Console RL\RocketLauncher\Media\Rating\_Default\Not Rated.*
    15:50:05:122 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Developer Logo: D:\Console RL\RocketLauncher\Media\Developer\_Default\Ocean Software.*
    15:50:05:123 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Publisher Logo: D:\Console RL\RocketLauncher\Media\Publisher\_Default\Ocean Software.*
    15:50:05:123 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Year Logo: D:\Console RL\RocketLauncher\Media\Year\_Default\1990.*
    15:50:05:124 | MD |      INFO  | +16    | BuildAssetsTable - Ended
    15:50:05:125 | MD |      INFO  | +0     | BuildAssetsTable - Started - Building Table for: System Logo|Game Logo|Game Logo
    15:50:05:126 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a System Logo: D:\Console RL\RocketLauncher\Media\Logos\Amstrad GX4000\_Default\
    15:50:05:126 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Game Logo: D:\Console RL\RocketLauncher\Media\Logos\Amstrad GX4000\batman\
    15:50:05:127 | MD |     DEBUG  | +0     | BuildAssetsTable - Searching for a Game Logo: 
    15:50:05:127 | MD |      INFO  | +0     | BuildAssetsTable - Ended
    15:50:05:137 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Loading start" media exists in: D:\Console RL\RocketLauncher\Media\Fade\Amstrad GX4000\batman\Loading start*.*
    15:50:05:137 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Loading start" media exists in: D:\Console RL\RocketLauncher\Media\Fade\Amstrad GX4000\_Default\Horizontal\Loading start*.*
    15:50:05:138 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Loading start" media exists in: D:\Console RL\RocketLauncher\Media\Fade\Amstrad GX4000\_Default\Loading start*.*
    15:50:05:141 | MD |     DEBUG  | +15    | GetFadeDirPicFile - Checking if any Fade "Loading start" media exists in: D:\Console RL\RocketLauncher\Media\Fade\_Default\Horizontal\Loading start*.*
    15:50:05:142 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Loading start" media exists in: D:\Console RL\RocketLauncher\Media\Fade\_Default\Loading start*.*
    15:50:05:142 | MD |     DEBUG  | +0     | FadeInDelay - Started
    15:50:05:203 | MD |      INFO  | +63    | DefaultFadeAnimationLoop - percentage
    15:50:05:206 | MD |     DEBUG  | +0     | DefaultFadeAnimationLoop - Fade Layer 3 is drawn so animation loop is finished.
    15:50:05:266 | MD |      INFO  | +62    | DefaultFadeAnimationLoop - percentage3
    15:50:05:267 | MD |     DEBUG  | +0     | DefaultFadeAnimationLoop - AnimationLoop has finished
    15:50:05:267 | MD |     DEBUG  | +0     | DefaultFadeAnimationLoop - Ended
    15:50:05:269 | MD |     DEBUG  | +0     | DefaultFadeAnimationLoop - Fade Layer 3 is drawn so animation loop is finished.
    15:50:07:108 | MD |     DEBUG  | +1844  | FadeInDelay - Ended
    15:50:07:108 | MD |      INFO  | +0     | DefaultFadeAnimation - Ended
    15:50:07:109 | MD |     DEBUG  | +0     | FadeInStart - Ended
    15:50:07:110 | MD |      INFO  | +0     | DxwndUpdateIniPath - DxwndIni set to D:\Console RL\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini
    15:50:07:110 | MD |     TRACE  | +0     | CustomFunction.PreStart - Starting
    15:50:07:111 | MD |     TRACE  | +0     | CustomFunction.PreStart - Ending
    15:50:07:112 | MD |     DEBUG  | +0     | CoverFE - Started
    15:50:07:146 | MD |     DEBUG  | +31    | CoverFE - Ended
    15:50:07:148 | MD |     TRACE  | +0     | Emulator.__New - Creating new emulator object for: "D:\Console RL\Emulators\RetroArch\retroarch.exe"
    15:50:07:149 | MD |     TRACE  | +0     | Process.__New - Creating new process object for: "D:\Console RL\Emulators\RetroArch\retroarch.exe"
    15:50:07:150 | MD |     TRACE  | +0     | File.__New - Creating new file object of: "D:\Console RL\Emulators\RetroArch\retroarch.exe"
    15:50:07:154 | MD |     TRACE  | +0     | Window.__New - Created: "RetroArch ahk_class RetroArch"
    15:50:07:156 | MD |     TRACE  | +16    | Window.__New - Created: "ahk_class ConsoleWindowClass"
    15:50:07:157 | MD |     DEBUG  | +0     | Module - Started building the RetroArch Beta object
    15:50:07:159 | MD |     DEBUG  | +0     | Module - Finished building the RetroArch Beta object
    15:50:07:160 | MD |      INFO  | +0     | Module - Using these system variables:
    15:50:07:161 | MD |      INFO  | +0     | Module - retroSystem: Amstrad GX4000
    15:50:07:163 | MD |      INFO  | +0     | Module - retroID: LibRetro_GX4K
    15:50:07:164 | MD |      INFO  | +0     | Module - retroCore: mame_libretro
    15:50:07:165 | MD |      INFO  | +0     | Module - retroMAMEID: gx4000
    15:50:07:166 | MD |      INFO  | +0     | Module - retroMAMEMedia: 
    15:50:07:167 | MD |      INFO  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - Fullscreen: true
    15:50:07:168 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - ConfigFolder: No value for this key
    15:50:07:169 | MD |      INFO  | +0     | RIniFile.Read - Module - ConfigFolder: D:\Console RL\Emulators\RetroArch\config (DEFAULT)
    15:50:07:170 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - single_core_options: No value for this key
    15:50:07:172 | MD |      INFO  | +16    | RIniFile.Read - Module - single_core_options: false (DEFAULT)
    15:50:07:173 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [MAME] - BIOS_Roms_Folder: No value for this key
    15:50:07:174 | MD |      INFO  | +0     | RIniFile.Read - Module - BIOS_Roms_Folder: (NO VALUE)
    15:50:07:175 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [MAME] - Hide_Nag_Screen: No value for this key
    15:50:07:176 | MD |      INFO  | +0     | RIniFile.Read - Module - Hide_Nag_Screen: false (DEFAULT)
    15:50:07:177 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [MAME] - Hide_Info_Screen: No value for this key
    15:50:07:178 | MD |      INFO  | +0     | RIniFile.Read - Module - Hide_Info_Screen: false (DEFAULT)
    15:50:07:180 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [MAME] - Hide_Warning_Screen: No value for this key
    15:50:07:181 | MD |      INFO  | +0     | RIniFile.Read - Module - Hide_Warning_Screen: false (DEFAULT)
    15:50:07:182 | MD |      INFO  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - HideConsole: false
    15:50:07:182 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - Eject_Toggle_Key: No value for this key
    15:50:07:183 | MD |      INFO  | +0     | RIniFile.Read - Module - Eject_Toggle_Key: (NO VALUE)
    15:50:07:184 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - Next_Disk_Key: No value for this key
    15:50:07:185 | MD |      INFO  | +0     | RIniFile.Read - Module - Next_Disk_Key: (NO VALUE)
    15:50:07:186 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Settings] - Previous_Disk_Key: No value for this key
    15:50:07:186 | MD |      INFO  | +0     | RIniFile.Read - Module - Previous_Disk_Key: (NO VALUE)
    15:50:07:187 | MD |     TRACE  | +15    | RIniFile.Read - Module {GlobalModuleIni} - [batman] - LibRetro_Core: No value for this key
    15:50:07:188 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Amstrad GX4000] - LibRetro_Core: No value for this key
    15:50:07:189 | MD |      INFO  | +0     | RIniFile.Read - Module - LibRetro_Core: mame_libretro (DEFAULT)
    15:50:07:190 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [batman] - SuperGameBoy: No value for this key
    15:50:07:190 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Amstrad GX4000] - SuperGameBoy: No value for this key
    15:50:07:191 | MD |      INFO  | +0     | RIniFile.Read - Module - SuperGameBoy: false (DEFAULT)
    15:50:07:192 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [batman] - Enable_Network_Play: No value for this key
    15:50:07:192 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Network] - Enable_Network_Play: No value for this key
    15:50:07:193 | MD |      INFO  | +0     | RIniFile.Read - Module - Enable_Network_Play: false (DEFAULT)
    15:50:07:194 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [batman] - Overlay: No value for this key
    15:50:07:194 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Amstrad GX4000] - Overlay: No value for this key
    15:50:07:195 | MD |      INFO  | +0     | RIniFile.Read - Module - Overlay: (NO VALUE)
    15:50:07:195 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [batman] - VideoShader: No value for this key
    15:50:07:196 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Amstrad GX4000] - VideoShader: No value for this key
    15:50:07:197 | MD |      INFO  | +0     | RIniFile.Read - Module - VideoShader: (NO VALUE)
    15:50:07:197 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [batman] - AspectRatioIndex: No value for this key
    15:50:07:198 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Amstrad GX4000] - AspectRatioIndex: No value for this key
    15:50:07:198 | MD |      INFO  | +0     | RIniFile.Read - Module - AspectRatioIndex: (NO VALUE)
    15:50:07:199 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [batman] - CustomViewportWidth: No value for this key
    15:50:07:199 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Amstrad GX4000] - CustomViewportWidth: No value for this key
    15:50:07:200 | MD |      INFO  | +0     | RIniFile.Read - Module - CustomViewportWidth: (NO VALUE)
    15:50:07:200 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [batman] - CustomViewportHeight: No value for this key
    15:50:07:201 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Amstrad GX4000] - CustomViewportHeight: No value for this key
    15:50:07:201 | MD |      INFO  | +0     | RIniFile.Read - Module - CustomViewportHeight: (NO VALUE)
    15:50:07:202 | MD |     TRACE  | +16    | RIniFile.Read - Module {GlobalModuleIni} - [batman] - CustomViewportX: No value for this key
    15:50:07:202 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Amstrad GX4000] - CustomViewportX: No value for this key
    15:50:07:203 | MD |      INFO  | +0     | RIniFile.Read - Module - CustomViewportX: (NO VALUE)
    15:50:07:203 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [batman] - CustomViewportY: No value for this key
    15:50:07:204 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Amstrad GX4000] - CustomViewportY: No value for this key
    15:50:07:205 | MD |      INFO  | +0     | RIniFile.Read - Module - CustomViewportY: (NO VALUE)
    15:50:07:205 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [batman] - StretchToFillBezel: No value for this key
    15:50:07:205 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Amstrad GX4000] - StretchToFillBezel: No value for this key
    15:50:07:206 | MD |      INFO  | +0     | RIniFile.Read - Module - StretchToFillBezel: false (DEFAULT)
    15:50:07:206 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [batman] - Rotation: No value for this key
    15:50:07:207 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Amstrad GX4000] - Rotation: No value for this key
    15:50:07:207 | MD |      INFO  | +0     | RIniFile.Read - Module - Rotation: 0 (DEFAULT)
    15:50:07:208 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [batman] - CropOverscan: No value for this key
    15:50:07:208 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Amstrad GX4000] - CropOverscan: No value for this key
    15:50:07:209 | MD |      INFO  | +0     | RIniFile.Read - Module - CropOverscan: (NO VALUE)
    15:50:07:209 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [batman] - ThreadedVideo: No value for this key
    15:50:07:210 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Amstrad GX4000] - ThreadedVideo: No value for this key
    15:50:07:210 | MD |      INFO  | +0     | RIniFile.Read - Module - ThreadedVideo: (NO VALUE)
    15:50:07:210 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [batman] - VSync: No value for this key
    15:50:07:211 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Amstrad GX4000] - VSync: No value for this key
    15:50:07:211 | MD |      INFO  | +0     | RIniFile.Read - Module - VSync: (NO VALUE)
    15:50:07:212 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [batman] - IntegerScale: No value for this key
    15:50:07:212 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Amstrad GX4000] - IntegerScale: No value for this key
    15:50:07:213 | MD |      INFO  | +0     | RIniFile.Read - Module - IntegerScale: (NO VALUE)
    15:50:07:213 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [batman] - ConfigurationPerCore: No value for this key
    15:50:07:213 | MD |     TRACE  | +0     | RIniFile.Read - Module {GlobalModuleIni} - [Amstrad GX4000] - ConfigurationPerCore: No value for this key
    15:50:07:214 | MD |      INFO  | +0     | RIniFile.Read - Module - ConfigurationPerCore: false (DEFAULT)
    15:50:07:214 | MD |     TRACE  | +0     | StringUtils.Contains - "mame_libretro" contains "^(mame|mess|ume)" at position 1
    15:50:07:215 | MD |     TRACE  | +0     | File.__New - Creating new file object of: "D:\Console RL\Emulators\RetroArch\config"
    15:50:07:217 | MD |     TRACE  | +0     | Folder.__New - Created new folder object of: "D:\Console RL\Emulators\RetroArch\config"
    15:50:07:217 | MD |      INFO  | +0     | CheckFile - Checking if D:\Console RL\Emulators\RetroArch\cores\mame_libretro.dll exists
    15:50:07:218 | MD |     DEBUG  | +15    | CheckFile - Attributes:
    					FileDescription         	MAME
    					FileVersion             	0, 206, 0, 0
    					InternalName            	MAME
    					LegalCopyright          	Copyright Nicola Salmoria and the MAME team
    					OriginalFilename        	MAME
    					ProductName             	MAME
    					ProductVersion          	0.206
    					CompanyName             	MAME Team
    					File Size:			411983378 bytes
    					Created:			2/23/2019 - 11:06:38
    					Modified:			2/23/2019 - 5:58:50
    15:50:07:219 | MD |     TRACE  | +0     | File.Exist - This file exists: D:\Console RL\Emulators\RetroArch\config
    15:50:07:219 | MD |      INFO  | +0     | Module - Global cfg should be: D:\Console RL\Emulators\RetroArch\retroarch.cfg
    15:50:07:219 | MD |      INFO  | +0     | Module - System cfg should be: D:\Console RL\Emulators\RetroArch\config\Amstrad GX4000.cfg
    15:50:07:220 | MD |      INFO  | +0     | Module - Core cfg should be: D:\Console RL\Emulators\RetroArch\config\mame_libretro.cfg
    15:50:07:220 | MD |     TRACE  | +0     | File.__New - Creating new file object of: "D:\Console RL\Emulators\RetroArch\config\Amstrad GX4000.cfg"
    15:50:07:222 | MD |     TRACE  | +0     | File.__New - Creating new file object of: "D:\Console RL\Emulators\RetroArch\config\mame_libretro.cfg"
    15:50:07:223 | MD |     TRACE  | +0     | File.__New - Creating new file object of: "D:\Console RL\Emulators\RetroArch\retroarch.cfg"
    15:50:07:225 | MD |     TRACE  | +0     | File.Exist - This file exists: D:\Console RL\Emulators\RetroArch\retroarch.cfg
    15:50:07:225 | MD |      INFO  | +0     | Module - Found a Global cfg!
    15:50:07:226 | MD |      INFO  | +0     | Module - RetroArch Beta is using D:\Console RL\Emulators\RetroArch\retroarch.cfg as its config file.
    15:50:07:226 | MD |      INFO  | +0     | LoadProperties - Started and loading this cfg into memory: D:\Console RL\Emulators\RetroArch\retroarch.cfg
    15:50:07:228 | MD |      INFO  | +0     | LoadProperties - Ended
    15:50:07:228 | MD |     TRACE  | +0     | StringUtils.Contains - "0" does not contain "1|3"
    15:50:07:229 | MD |     TRACE  | +0     | StringUtils.Contains - "LibRetro_GX4K" does not contain "LibRetro_NFDS|LibRetro_SCD|LibRetro_TGCD|LibRetro_PCECD|LibRetro_PCFX"
    15:50:07:229 | MD |     TRACE  | +0     | StringUtils.Contains - "mame_libretro" contains "^(mame|mess|ume)" at position 1
    15:50:07:230 | MD |      INFO  | +0     | Module - Reading / creating system ini for specific settings.
    15:50:07:230 | MD |     TRACE  | +0     | StringUtils.Contains - "mame_libretro" contains "^(mame|mess|ume)" at position 1
    15:50:07:231 | MD |      INFO  | +0     | LoadProperties - Started and loading this cfg into memory: 
    15:50:07:231 | MD |      INFO  | +0     | LoadProperties - Ended
    15:50:07:231 | MD |     TRACE  | +0     | StringUtils.Contains - "mame_libretro" contains "^(mame|mess|ume)" at position 1
    15:50:07:232 | MD |     TRACE  | +0     | StringUtils.Contains - "mame_libretro" contains "mame" at position 1
    15:50:07:232 | MD |     DEBUG  | +0     | WriteProperty - Writing - mame_read_config: "enabled"
    15:50:07:233 | MD |     DEBUG  | +0     | WriteProperty - Writing - mame_boot_from_cli: "enabled"
    15:50:07:233 | MD |     DEBUG  | +0     | WriteProperty - Writing - mame_hide_nagscreen: disabled
    15:50:07:234 | MD |     DEBUG  | +16    | WriteProperty - Writing - mame_hide_infoscreen: disabled
    15:50:07:234 | MD |     DEBUG  | +0     | WriteProperty - Writing - mame_hide_warnings: disabled
    15:50:07:234 | MD |      INFO  | +0     | SaveProperties - Started and saving this cfg to disk: 
    15:50:07:235 | MD |      INFO  | +0     | SaveProperties - Ended
    15:50:07:235 | MD |     TRACE  | +0     | File.__New - Creating new file object of: "Z:\Roms\gx4000\.m3u"
    15:50:07:237 | MD |     TRACE  | +0     | StringUtils.Contains - "LibRetro_GX4K" does not contain "LibRetro_PSX"
    15:50:07:237 | MD |     TRACE  | +0     | StringUtils.Contains - "mame_libretro" contains "^(mame|mess|ume)" at position 1
    15:50:07:238 | MD |      INFO  | +0     | Module - MAME/MESS/UME mode using a known ident: gx4000
    15:50:07:238 | MD |      INFO  | +0     | Module - Retroarch MAME/MESS/UME Console/PC mode enabled
    15:50:07:239 | MD |     TRACE  | +0     | StringUtils.Contains - "gx4000" does not contain "tg16|pce"
    15:50:07:239 | MD |     TRACE  | +0     | StringUtils.Contains - "gx4000" does not contain "tg16|pce"
    15:50:07:239 | MD |     TRACE  | +0     | StringUtils.Contains - "LibRetro_GX4K" does not contain "LibRetro_PCECD|LibRetro_TGCD"
    15:50:07:240 | MD |      INFO  | +0     | BezelStart - Started
    15:50:07:240 | MD |     DEBUG  | +0     | BezelStart - Bezel mode Normal selected.
    15:50:07:249 | MD |     TRACE  | +16    | BezelStart - Bezel variable values: 
    					[Settings] Game_Monitor = 
    					[Settings] Bezel_Supported_Image_Files = png|gif|tif|bmp|jpg
    					[Settings] Bezel_Delay = 0
    					[Bezel Change] Bezel_Transition_Duration = 500
    					[Bezel Change] Bezel_Save_Selected = false
    					[Bezel Change] Extra_FullScreen_Bezel = false
    					[Background] Background_Change_Timer = 0
    					[Background] Background_Transition_Animation = fade
    					[Background] Background_Transition_Duration = 500
    					[Background] Use_Backgrounds = false
    					[Bezel Change Keys] Next_Bezel_Key = 
    					[Bezel Change Keys] Previous_Bezel_Key = 
    15:50:07:250 | MD |      INFO  | +0     | BezelStart - Game will be moved to monitor 1 if RL finds a valid bezel to be show.
    15:50:07:250 | MD |     DEBUG  | +0     | BezelStart - Assuming that game has horizontal orientation.
    15:50:07:250 | MD |     DEBUG  | +0     | BezelFilesPath - Looking for Bezel in: D:\Console RL\RocketLauncher\Media\Bezels\Amstrad GX4000\batman
    15:50:07:251 | MD |     DEBUG  | +0     | BezelFilesPath - Looking for Bezel in: D:\Console RL\RocketLauncher\Media\Bezels\Amstrad GX4000\_Default\RetroArch\Horizontal
    15:50:07:251 | MD |     DEBUG  | +0     | BezelFilesPath - Looking for Bezel in: D:\Console RL\RocketLauncher\Media\Bezels\Amstrad GX4000\_Default\RetroArch
    15:50:07:252 | MD |     DEBUG  | +0     | BezelFilesPath - Looking for Bezel in: D:\Console RL\RocketLauncher\Media\Bezels\Amstrad GX4000\_Default\Horizontal
    15:50:07:252 | MD |     DEBUG  | +0     | BezelFilesPath - Looking for Bezel in: D:\Console RL\RocketLauncher\Media\Bezels\Amstrad GX4000\_Default
    15:50:07:253 | MD |     DEBUG  | +0     | BezelFilesPath - Looking for Bezel in: D:\Console RL\RocketLauncher\Media\Bezels\_Default\Horizontal
    15:50:07:253 | MD |     DEBUG  | +0     | BezelFilesPath - Looking for Bezel in: D:\Console RL\RocketLauncher\Media\Bezels\_Default
    15:50:07:254 | MD |   WARNING  | +0     | BezelFilesPath - Bezels are enabled, however none of the Bezel files, with extensions png|gif|tif|bmp|jpg exist on the bezel folders.
    15:50:07:254 | MD |      INFO  | +0     | BezelStart - Ended
    15:50:07:255 | MD |     DEBUG  | +0     | WriteProperty - Writing - core_options_path: "
    15:50:07:260 | MD |     DEBUG  | +0     | WriteProperty - Writing - video_rotation: 0
    15:50:07:260 | MD |     TRACE  | +0     | StringUtils.Contains - "LibRetro_GX4K" does not contain "LibRetro_PSX"
    15:50:07:260 | MD |      INFO  | +0     | Module - Saving changed settings to: "D:\Console RL\Emulators\RetroArch\retroarch.cfg"
    15:50:07:261 | MD |      INFO  | +0     | SaveProperties - Started and saving this cfg to disk: D:\Console RL\Emulators\RetroArch\retroarch.cfg
    15:50:07:264 | MD |      INFO  | +0     | SaveProperties - Ended
    15:50:07:264 | MD |     TRACE  | +0     | StringUtils.Contains - "mame_libretro" contains "^(mame|mess|ume)" at position 1
    15:50:07:281 | MD |     TRACE  | +31    | CustomFunction.PreLaunch - Starting
    15:50:07:281 | MD |     TRACE  | +0     | CustomFunction.PreLaunch - Ending
    15:50:07:282 | MD |      INFO  | +0     | Process.Run - Running: D:\Console RL\Emulators\RetroArch\retroarch.exe  "gx4000 -rompath \"Z:\Roms\gx4000\" -cart \"Z:\Roms\gx4000\batman.zip\""  -f -c "D:\Console RL\Emulators\RetroArch\retroarch.cfg" -L "D:\Console RL\Emulators\RetroArch\cores\mame_libretro.dll
    15:50:07:293 | MD |     DEBUG  | +0     | Process.Run - "retroarch.exe  "gx4000 -rompath \"Z:\Roms\gx4000\" -cart \"Z:\Roms\gx4000\batman.zip\""  -f -c "D:\Console RL\Emulators\RetroArch\retroarch.cfg" -L "D:\Console RL\Emulators\RetroArch\cores\mame_libretro.dll" Process ID: 10644
    15:50:07:294 | MD |     TRACE  | +0     | CustomFunction.PostLaunch - Starting
    15:50:07:295 | MD |     TRACE  | +0     | CustomFunction.PostLaunch - Ending
    15:50:07:295 | MD |     TRACE  | +0     | Window.__New - Created: "ahk_id 592436"
    15:50:07:296 | MD |     TRACE  | +16    | MiscUtils.DetectHiddenWindows - Mode changed to "Off"
    15:50:07:296 | MD |     TRACE  | +0     | Window.GetPos - Retrieved x:0 y:0 w: 1920 h: 1080 from "ahk_id 592436"
    15:50:07:297 | MD |     TRACE  | +0     | MiscUtils.DetectHiddenWindows - Mode changed to "On"
    15:50:07:298 | MD |     DEBUG  | +0     | MiscUtils.GetActiveWindowStatus - Title: CoverFE | Class: AutoHotkeyGUI | State: 0 | X: 0 | Y: 0 | Width: 1920 | Height: 1080 | Window HWND: 0x90a34 | Process ID: 5048 | Process Path: D:\Console RL\RocketLauncher\RocketLauncher.exe
    15:50:07:299 | MD |      INFO  | +0     | Window.Wait - Waiting for window "RetroArch ahk_class RetroArch"
    15:50:07:552 | MD |     TRACE  | +250   | Window.__New - Created: "ahk_id 592436"
    15:50:07:552 | MD |     TRACE  | +0     | MiscUtils.DetectHiddenWindows - Mode changed to "Off"
    15:50:07:553 | MD |     TRACE  | +0     | Window.GetPos - Retrieved x:0 y:0 w: 1920 h: 1080 from "ahk_id 592436"
    15:50:07:553 | MD |     TRACE  | +0     | MiscUtils.DetectHiddenWindows - Mode changed to "On"
    15:50:07:554 | MD |     DEBUG  | +0     | MiscUtils.GetActiveWindowStatus - Title: CoverFE | Class: AutoHotkeyGUI | State: 0 | X: 0 | Y: 0 | Width: 1920 | Height: 1080 | Window HWND: 0x90a34 | Process ID: 5048 | Process Path: D:\Console RL\RocketLauncher\RocketLauncher.exe
    15:50:07:554 | MD |     TRACE  | +0     | Window.__New - Created: "ahk_id 592436"
    15:50:07:555 | MD |     TRACE  | +0     | MiscUtils.DetectHiddenWindows - Mode changed to "Off"
    15:50:07:555 | MD |     TRACE  | +0     | Window.GetPos - Retrieved x:0 y:0 w: 1920 h: 1080 from "ahk_id 592436"
    15:50:07:556 | MD |     TRACE  | +0     | MiscUtils.DetectHiddenWindows - Mode changed to "On"
    15:50:07:556 | MD |     DEBUG  | +0     | MiscUtils.GetActiveWindowStatus - Title: CoverFE | Class: AutoHotkeyGUI | State: 0 | X: 0 | Y: 0 | Width: 1920 | Height: 1080 | Window HWND: 0x90a34 | Process ID: 5048 | Process Path: D:\Console RL\RocketLauncher\RocketLauncher.exe
    15:50:07:556 | MD |      INFO  | +0     | Window.WaitActive - Waiting for "RetroArch ahk_class RetroArch"
    15:50:07:734 | MD |     TRACE  | +187   | Window.__New - Created: "ahk_id 919764"
    15:50:07:734 | MD |     TRACE  | +0     | MiscUtils.DetectHiddenWindows - Mode changed to "Off"
    15:50:07:735 | MD |     TRACE  | +0     | Window.GetPos - Retrieved x:0 y:0 w: 1920 h: 1080 from "ahk_id 919764"
    15:50:07:735 | MD |     TRACE  | +0     | MiscUtils.DetectHiddenWindows - Mode changed to "On"
    15:50:07:736 | MD |     DEBUG  | +0     | MiscUtils.GetActiveWindowStatus - Title: RetroArch | Class: RetroArch | State: 0 | X: 0 | Y: 0 | Width: 1920 | Height: 1080 | Window HWND: 0xe08d4 | Process ID: 10644 | Process Path: D:\Console RL\Emulators\RetroArch\retroarch.exe
    15:50:07:744 | MD |     TRACE  | +0     | CustomFunction.PreBezelDraw - Starting
    15:50:07:745 | MD |     TRACE  | +0     | CustomFunction.SetFullscreenPostLaunch - Starting
    15:50:07:746 | MD |     TRACE  | +0     | CustomFunction.SetFullscreenPostLaunch - Setting fullscreen to  -f
    15:50:07:746 | MD |     TRACE  | +0     | CustomFunction.SetFullscreenPostLaunch - Ending
    15:50:07:747 | MD |     TRACE  | +0     | CustomFunction.PreBezelDraw - Ending
    15:50:07:748 | MD |      INFO  | +0     | BezelDraw - Started
    15:50:07:749 | MD |      INFO  | +16    | BezelDraw - Ended
    15:50:07:750 | MD |     DEBUG  | +0     | FadeInExit - Started
    15:50:07:750 | MD |      INFO  | +0     | DefaultAnimateFadeIn - Started, direction is: out
    15:50:07:780 | MD |     DEBUG  | +31    | GetFadeDirPicFile - Checking if any Fade "Loading complete" media exists in: D:\Console RL\RocketLauncher\Media\Fade\Amstrad GX4000\batman\Loading complete*.*
    15:50:07:783 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Loading complete" media exists in: D:\Console RL\RocketLauncher\Media\Fade\Amstrad GX4000\_Default\Horizontal\Loading complete*.*
    15:50:07:783 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Loading complete" media exists in: D:\Console RL\RocketLauncher\Media\Fade\Amstrad GX4000\_Default\Loading complete*.*
    15:50:07:784 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Loading complete" media exists in: D:\Console RL\RocketLauncher\Media\Fade\_Default\Horizontal\Loading complete*.*
    15:50:07:784 | MD |     DEBUG  | +0     | GetFadeDirPicFile - Checking if any Fade "Loading complete" media exists in: D:\Console RL\RocketLauncher\Media\Fade\_Default\Loading complete*.*
    15:50:08:255 | MD |      INFO  | +469   | DefaultAnimateFadeIn - Ended
    15:50:08:297 | MD |     DEBUG  | +47    | XHotkeyTableCreation - Started
    15:50:08:299 | MD |     DEBUG  | +0     | XHotkeyTableCreation - KeyGroup ~NumpadSub is in TableKeyGroups ~NumpadSub,~e&~t,
    15:50:08:300 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Post loop 10 check
    15:50:08:301 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Disabled Hotkey for: "~NumpadSub"
    15:50:08:302 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Post loop 11 check
    15:50:08:303 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~NumpadSub" to call label: "StartMulti"
    15:50:08:304 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Post loop 12 check
    15:50:08:304 | MD |     DEBUG  | +0     | XHotkeyTableCreation - Ended
    15:50:08:305 | MD |     DEBUG  | +0     | FadeInExit - Ended, waiting for user to close launched application
    15:50:08:306 | MD |     TRACE  | +0     | CustomFunction.PostLoad - Starting
    15:50:08:307 | MD |     TRACE  | +0     | CustomFunction.PostLoad - Ending
    15:50:08:308 | MD |      INFO  | +0     | Process.Process - "WaitClose" "retroarch.exe" 
    15:50:08:308 | MD |     TRACE  | +0     | Process.GetProcessID
    this is a screenshot of the game
    Sans titre.png

    can you help me please?
    Last edited by orphen92 ; 03-02-2019 at 10:02 AM.
     

  2. Collapse Details
    Re: GX4000 problemes with retroarch mame core 
    #2
    Junior Member
    MainSecondary
    Join Date
    Jun 2018
    Posts
    4
    That line:
    Code:
    15:50:07:282 | MD |      INFO  | +0     | Process.Run - Running: D:\Console RL\Emulators\RetroArch\retroarch.exe  "gx4000 -rompath \"Z:\Roms\gx4000\" -cart \"Z:\Roms\gx4000\batman.zip\""  -f -c "D:\Console RL\Emulators\RetroArch\retroarch.cfg" -L "D:\Console RL\Emulators\RetroArch\cores\mame_libretro.dll
    I'm not sure it's OK that there's a backslash preceding the -rompath and -cart paths? i.e. \"Z:\Roms\gx4000\" instead of just "Z:\Roms\gx4000\"

    If you open a cmd prompt, paste that line and run it outside of rlauncher does it work?
    Code:
    D:\Console RL\Emulators\RetroArch\retroarch.exe  "gx4000 -rompath \"Z:\Roms\gx4000\" -cart \"Z:\Roms\gx4000\batman.zip\""  -f -c "D:\Console RL\Emulators\RetroArch\retroarch.cfg" -L "D:\Console RL\Emulators\RetroArch\cores\mame_libretro.dll
    If not does it work if you leave the preceding backslashes off?
     

  3. Collapse Details
    Re: GX4000 problemes with retroarch mame core 
    #3
    Senior Member mccorkled's Avatar
    MainSecondary
    Join Date
    May 2015
    Posts
    368
    I have been trying to get this running for well over a year with the same problem.
     

  4. Collapse Details
    Re: GX4000 problemes with retroarch mame core 
    #4
    Senior Member mccorkled's Avatar
    MainSecondary
    Join Date
    May 2015
    Posts
    368
    I got this working yesterday. Download the new mame (arcade core) and deleting your settings file and make a new one.
     

  5. Collapse Details
    Re: GX4000 problemes with retroarch mame core 
    #5
    Member
    MainSecondary
    Join Date
    Jan 2015
    Posts
    81
    Quote Originally Posted by mccorkled View Post
    I got this working yesterday. Download the new mame (arcade core) and deleting your settings file and make a new one.
    What settings file did you delete? I can't get it to work through rocketlauncher no matter what I do.

    Would you mind posting how you have yours setup?
     

  6. Collapse Details
    Re: GX4000 problemes with retroarch mame core 
    #6
    Senior Member mccorkled's Avatar
    MainSecondary
    Join Date
    May 2015
    Posts
    368
    Quote Originally Posted by Styphelus View Post
    What settings file did you delete? I can't get it to work through rocketlauncher no matter what I do.

    Would you mind posting how you have yours setup?
    Your retroarch core settings file.


    Sent from my iPhone using Tapatalk
     

  7. Collapse Details
    Re: GX4000 problemes with retroarch mame core 
    #7
    Member
    MainSecondary
    Join Date
    Jan 2015
    Posts
    81
    Quote Originally Posted by mccorkled View Post
    Your retroarch core settings file.


    Sent from my iPhone using Tapatalk
    Didn't work. Even installed a fresh copy or retroarch, downloaded the latest mame core (mame_libretro), and copied the gx4000.xml file to retroach/system/mame/hash.

    My roms are in Roms/gx4000 folder and all named according to the gx4000.xml file. for example Barbarian II is named barb2.zip. The bin file inside the zip is named the same.

    Everything works great from inside retroarch. However, when I lunch through rocketlauncher, retroarch starts but crashes at the mame loading screen. I have to close it through task manager.

    Am I missing something? Does rocketlauncher require any special settings for this system? Seems odd.
     

  8. Collapse Details
    Re: GX4000 problemes with retroarch mame core 
    #8
    Senior Member mccorkled's Avatar
    MainSecondary
    Join Date
    May 2015
    Posts
    368
    I don’t use a hash file. You going to be around tomorrow during the day eastern time?


    Sent from my iPhone using Tapatalk
     

  9. Collapse Details
    Re: GX4000 problemes with retroarch mame core 
    #9
    Member
    MainSecondary
    Join Date
    Jan 2015
    Posts
    81
    Unfortunately I'm not available during the day. I'm at work.

    How do you not use a hash file? Are you sure? The games won't load from retroarch without one.

    I might just have to use Mame or WinApe for this system. I was trying to use retroarch mainly to get rid of that black border around the games that you get with this system. It's weird that they work fine in retroarch but not with rocketlauncher. It's the first time rocketlauncher has failed me.
     

  10. Collapse Details
    Re: GX4000 problemes with retroarch mame core 
    #10
    Senior Member mccorkled's Avatar
    MainSecondary
    Join Date
    May 2015
    Posts
    368
    Lol. Yes I’m sure. I have several systems working using MAME without the hash file that everyone says you “need”.


    Sent from my iPhone using Tapatalk
     

  11. Collapse Details
    Re: GX4000 problemes with retroarch mame core 
    #11
    Member
    MainSecondary
    Join Date
    Jan 2015
    Posts
    81
    Quote Originally Posted by mccorkled View Post
    Lol. Yes I’m sure. I have several systems working using MAME without the hash file that everyone says you “need”.


    Sent from my iPhone using Tapatalk
    Would you mind sharing how you did that or share your retroarch config file? I deleted my hash files yesterday on my clean retroarch install and nothing would load. This is driving me nuts. Spent some time over the last 2 days trying to get it to work and so far no luck.
     

  12. Collapse Details
    Re: GX4000 problemes with retroarch mame core 
    #12
    Senior Member mccorkled's Avatar
    MainSecondary
    Join Date
    May 2015
    Posts
    368
    Mine was working years ago and then I updated the core and it stopped working. I recently updated the core again and it started working. I've posted this issue over at RA a few times and no one seems to care. Here is the core I use that I know is working. Here is my config.
     

  13. Collapse Details
    Re: GX4000 problemes with retroarch mame core 
    #13
    Member
    MainSecondary
    Join Date
    Jan 2015
    Posts
    81
    Quote Originally Posted by mccorkled View Post
    Mine was working years ago and then I updated the core and it stopped working. I recently updated the core again and it started working. I've posted this issue over at RA a few times and no one seems to care. Here is the core I use that I know is working. Here is my config.
    Thanks a lot for your help. I got it working but the issue is with the retroarch module, not with the core. Using the latest retroarch module, it crashes at the mame loading screen. Looking at the log file I get:

    Running: H:\Emulators\Retroarch\retroarch.exe "gx4000 -rompath \"H:\Roms\gx4000\" -cart \"H:\Roms\gx4000\batman.zip\"" -f -c "H:\Emulators\Retroarch\config\Amstrad GX4000.cfg" -L "H:\Emulators\Retroarch\cores\mame_libretro.dl l"

    There seems to be \ before the rom path and after the rom extensions. Not sure if that is the only issue.

    Then I tried an older retroarch module I got from Gigapig years ago and it worked. Using his module I get:

    Running: H:\Emulators\Retroarch\retroarch.exe "H:\Roms\gx4000\batman.zip" -f -c "H:\Emulators\Retroarch\config\Amstrad GX4000.cfg" -L "H:\Emulators\Retroarch\cores\mame_libretro.dl l"

    I have no idea how to modify the current module so for now I'm just going to have a second retroarch module for the GX4000 and use that since it seems to work.

    I've attached the module in case someone else is having the same issue.
    Attached Files Attached Files
    Last edited by Styphelus ; 10-17-2019 at 11:58 PM.
     

  14. Collapse Details
    Re: GX4000 problemes with retroarch mame core 
    #14
    Senior Member mccorkled's Avatar
    MainSecondary
    Join Date
    May 2015
    Posts
    368
    Code:
    MEmu := "RetroArch"
    MEmuV := "v1.3.6"
    MURL := ["http://themaister.net/retroarch.html"]
    MAuthor := ["djvj","zerojay","SweatyPickle"]
    MVersion := "2.4.3"
    MCRC := "699AB8F7"
    iCRC := "FB2DB971"
    MID := "635038268922229162"
    MSystem := ["Acorn BBC Micro","AAE","Amstrad CPC","Amstrad GX4000","APF Imagination Machine","Applied Technology MicroBee","Apple IIGS","Arcade Classics","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 II","Capcom Play System III","Casio PV-1000","Casio PV-2000","Cave","Coleco ADAM","ColecoVision","Commodore MAX Machine","Commodore Amiga","Commodore MAX Machine","Commodore 64","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","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 3DS","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","Bandai SuFami Turbo","Panasonic 3DO","Elektronska Industrija Pecom 64","Philips CD-i","Philips Videopac","RCA Studio II","Sammy Atomiswave","ScummVM","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 Meganet","Sega Naomi","Sega Nomad","Sega Pico","Sega Saturn","Sega Saturn Japan","Sega VMU","Sega ST-V","Sharp X1","Sharp X68000","Sinclair ZX Spectrum","Sinclair ZX81","Sony PlayStation","Sony PlayStation Minis","Sony PocketStation","Sony PSP","Sony PSP Minis","Sord M5","SNES CD","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:
    ; The srm files location is determined by the configuration file used (savefile_directory = ":\whatever") The default RetroArch srm directory is ":\saves" You can select to sort into core folders (ie: :/saves/Mednafen PSX) by changing sort_savefiles_enable = "true" in the configuration file.
    ;
    ; Save states:
    ; The save state files location is determined by the configuration file used (savestate_directory = ":\whatever") The default RetroArch savestate directory is ":\states" You can select to sort into core folders (ie: :/states/Mednafen PSX) by changing sort_savestates_enable = "true" in the configuration file.
    ;
    ; 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.  This will be the config folder for the module and will NOT change the location of RetroArch's own /config directory.
    ; 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.
    ;
    ; Core Options:
    ; By default, RetroArch creates a retroarch-core-options.cfg in it's root directory.  Example: C:\emus\RetroArch\retroarch-core-options.cfg.  This will always be used if the default RetroArch.cfg is loaded.  If a configuration file from any other location is used, RetroArch will create a retroarch-core-options.cfg file in the root of that directory.  The module has an option to have RetroArch use only the default retroarch-core-options.cfg file no matter the path of the config directory or location of the configuiration file being used.  To enable this option set Single_Core_Options to true.
    
    ; 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.
    ;
    ; MAME:
    ; MAME BIOS roms should be placed in Rom Path's directory. Some systems require the BIOS roms be placed in the MAME internal name directory. (Example: :\Rom Folder\a5200). The MAME BIOS_Roms_Folder option will have no effect unless you are using an older version of the mess core. 
    ;
    ; 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 (using pce fast core) - Requires "syscard3.pce" be placed in the folder you define as system_directory in the RetroArch's cfg.
    ; NEC TurboGrafx-CD (using MAME core)
    ;   - You'll need to update a couple mame specific options in the Retroarch core options file to get it to boot from the cli. These should probably be updated automagically by the module. Turning softlists off, but might not need to.
    ;       mame_boot_from_cli = "enabled"
    ;       mame_softlists_enable = "disabled"
    ;       mame_softlists_auto_media = "disabled"
    ;	- Requires hash folder from MAME/MESS/UME, either from the source or release package. Save this in the system_directory you've defined for RetroArch. Something like \RetroArch\system\mame\hash\
    ;	- Requires the CD bios file(s) saved in the mame bios folder you've defined. Usually \RetroArch\system\mame\bios\
    ;		For PC Engine-CD you'll need the file "[cd] cd-rom system (japan) (v2.1).pce" zipped as cdsys.zip and saved in a pce subfolder in your bios path, so \RetroArch\system\mame\bios\pce\cdsys.zip
    ;		For PC Engine SuperGrafx-CD you'll need the file "[cd] super cd-rom system (japan) (v3.0).pce" zipped as scdsys.zip and saved in a pce subfolder in your bios path, so \RetroArch\system\mame\bios\pce\scdsys.zip
    ;		For TurboGrafx-CD you'll need the file "[cd] turbografx cd system card (usa) (v2.0).pce" zipped as cdsys.zip and saved in a tg16 subfolder in your bios path, so \RetroArch\system\mame\bios\tg16\cdsys.zip
    ;		For TurboDuo you'll need the file "[cd] turbografx cd super system card (usa) (v3.0).pce" zipped as scdsys.zip and saved in a tg16 subfolder in your bios path, so \RetroArch\system\mame\bios\tg16\scdsys.zip
    ; 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.
    ; 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()
    
    primaryExe := new Emulator(emuPath . "\" . executable)	; instantiate emulator executable object
    emuPrimaryWindow := new Window(new WindowTitle("RetroArch","RetroArch"))	; instantiate primary emulator window object
    emuConsoleWindow := new Window(new WindowTitle("","ConsoleWindowClass"))	; instantiate emulator console window object
    
    ; 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 MAME core recognizes
    RLLog.Debug("Module - Started building the " . MEmu . " object")
    mTypeVar:="
    	( LTrim
    	AAE|LibRetro_AAE|mame_libretro
    	Acorn BBC Micro|LibRetro_BBCB|mame_libretro|bbcb
    	Amstrad CPC|LibRetro_CPC|mame_libretro|cpc464
    	Amstrad GX4000|LibRetro_GX4K|mame_libretro|gx4000
    	APF Imagination Machine|LibRetro_APF|mame_libretro|apfimag
    	Apple IIGS|LibRetro_AIIGS|mame_libretro|apple2gs
    	Applied Technology MicroBee|LibRetro_MBEE|mame_libretro|mbeeic
    	Arcade Classics|LibRetro_ARCADE|mame_libretro
    	Atari 2600|LibRetro_2600|stella_libretro|a2600
    	Atari 5200|LibRetro_5200|mame_libretro|a5200
    	Atari 7800|LibRetro_7800|prosystem_libretro|a7800
    	Atari 8-Bit|LibRetro_ATARI8|mame_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|mame_libretro|xegs
    	Bally Astrocade|LibRetro_BAST|mame_libretro|astrocde
    	Bandai Gundam RX-78|LibRetro_BGRX|mame_libretro|rx78
    	Bandai Super Vision 8000|LibRetro_SV8K|mame_libretro|sv8000
    	Bandai Wonderswan|LibRetro_WSAN|mednafen_wswan_libretro|wswan
    	Bandai Wonderswan Color|LibRetro_WSANC|mednafen_wswan_libretro|wscolor
    	Canon X07|LibRetro_CX07|mame_libretro|x07
    	Capcom Classics|LibRetro_CAPC|mame_libretro
    	Capcom Play System|LibRetro_CPS1|fbalpha_libretro
    	Capcom Play System II|LibRetro_CPS2|fbalpha_libretro
    	Capcom Play System III|LibRetro_CPS3|mame_libretro
    	Casio PV-1000|LibRetro_CAS1K|mame_libretro|pv1000
    	Casio PV-2000|LibRetro_CAS2K|mame_libretro|pv2000
    	Cave|LibRetro_CAVE|mame_libretro
    	Coleco ADAM|LibRetro_ADAM|mame_libretro|adam
    	ColecoVision|LibRetro_COLEC|mame_libretro|coleco
    	Commodore Amiga|LibRetro_PUAE|puae_libretro
    	Commodore Max Machine|LibRetro_CMAX|mame_libretro|vic10
    	Commodore 64|LibRetro_VICE|vice_x64_libretro
    	Creatronic Mega Duck|LibRetro_DUCK|mame_libretro|megaduck
    	Data East Classics|LibRetro_DATA|mame_libretro
    	Dragon Data Dragon|LibRetro_DRAG64|mame_libretro|dragon64
    	Elektronika BK|LibRetro_EBK|mame_libretro|bk0010
    	Elektronska Industrija Pecom 64|LibRetro_P64|mame_libretro|pecom64
    	Emerson Arcadia 2001|LibRetro_A2001|mame_libretro|arcadia
    	Entex Adventure Vision|LibRetro_AVISION|mame_libretro|advision
    	Epoch Game Pocket Computer|LibRetro_GPCKET|mame_libretro|gamepock
    	Epoch Super Cassette Vision|LibRetro_SCV|mame_libretro|scv
    	Exidy Sorcerer|LibRetro_SORCR|mame_libretro|sorcerer
    	Fairchild Channel F|LibRetro_CHANF|mame_libretro|channelf
    	Final Burn Alpha|LibRetro_FBA|fbalpha_libretro
    	Funtech Super Acan|LibRetro_SACAN|mame_libretro|supracan
    	GamePark 32|LibRetro_GP32|mame_libretro|gp32
    	GCE Vectrex|LibRetro_VECTX|mame_libretro|vectrex
    	Hartung Game Master|LibRetro_GMASTR|mame_libretro|gmaster
    	Interton VC 4000|LibRetro_VC4K|mame_libretro|vc4000
    	Irem Classics|LibRetro_IREM|mame_libretro
    	JungleTac Sport Vii|LibRetro_SPORTV|mame_libretro|vii
    	Konami Classics|LibRetro_KONC|mame_libretro
    	Magnavox Odyssey 2|LibRetro_ODYS2|mame_libretro|odyssey2
    	MAME|LibRetro_MAME|mame_libretro|mame
    	Matra & Hachette Alice|LibRetro_ALICE|mame_libretro|alice32
    	Mattel Aquarius|LibRetro_AQUA|mame_libretro|aquarius
    	Mattel Intellivision|LibRetro_INTV|mame_libretro|intv
    	MGT Sam Coupe|LibRetro_SAMCP|mame_libretro|
    	Microsoft MS-DOS|LibRetro_MSDOS|dosbox_libretro
    	Microsoft MSX|LibRetro_MSX|bluemsx_libretro
    	Microsoft MSX2|LibRetro_MSX2|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,cart
    	NEC PC Engine-CD|LibRetro_PCECD|mednafen_pce_fast_libretro|pce,cdrom
    	NEC PC-FX|LibRetro_PCFX|mednafen_pcfx_libretro
    	NEC SuperGrafx|LibRetro_SGFX|mednafen_supergrafx_libretro|sgx,cart
    	NEC TurboGrafx-16|LibRetro_TG16|mednafen_pce_fast_libretro|tg16,cart
    	NEC TurboGrafx-CD|LibRetro_TGCD|mednafen_pce_fast_libretro|tg16,cdrom
    	Nintendo 64|LibRetro_N64|mupen64plus_libretro|n64
    	Nintendo 64DD|LibRetro_N64|mupen64plus_libretro
    	Nintendo 3DS|LibRetro_3DS|citra_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|mame_libretro|pokemini
    	Nintendo Satellaview|LibRetro_NSFS|snes9x_libretro
    	Bandai 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|mame_libretro|cdimono1
    	Philips Videopac|LibRetro_PVID|mame_libretro|videopac
    	RCA Studio II|LibRetro_STUD2|mame_libretro|studio2
    	Sammy Atomiswave|LibRetro_Atomiswave|reicast_oit_libretro
    	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_oit_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 Meganet|LibRetro_GEN|genesis_plus_gx_libretro|genesis
    	Sega Naomi|LibRetro_Naomi|reicast_oit_libretro
    	Sega Nomad|LibRetro_GEN|genesis_plus_gx_libretro|genesis
    	Sega Pico|LibRetro_PICO|picodrive_libretro
    	Sega Saturn|LibRetro_SAT|yabause_libretro|saturn
    	Sega Saturn Japan|LibRetro_SAT|yabause_libretro|saturnjp
    	Sega SC-3000|LibRetro_SC3K|mame_libretro|sc3000
    	Sega SG-1000|LibRetro_SG1K|genesis_plus_gx_libretro
    	Sega ST-V|LibRetro_STV|mame_libretro
    	Sega VMU|LibRetro_SVMU|mame_libretro|svmu
    	Sharp X1|LibRetro_SX1|mame_libretro|x1
    	Sharp X68000|LibRetro_SX68000|mame_libretro|x68000
    	Sinclair ZX Spectrum|LibRetro_SPECZX|mame_libretro|spectrum
    	Sinclair ZX81|LibRetro_ZX81|81_libretro|zx81
    	SNES CD|LibRetro_SNES|SNES9x_libretro|snes
    	SNK Classics|LibRetro_SNKC|mame_libretro
    	SNK Neo Geo|LibRetro_NEO|fbalpha_libretro
    	SNK Neo Geo AES|LibRetro_NEOAES|mame_libretro|aes
    	SNK Neo Geo CD|LibRetro_NEOCD|mame_libretro|neocdz
    	SNK Neo Geo CD|LibRetro_FBNEO|fbneo_libretro
    	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|psu
    	Sony PlayStation Minis|LibRetro_PSXMIN|ppsspp_libretro
    	Sony PocketStation|LibRetro_POCKS|mame_libretro|pockstat
    	Sony PSP|LibRetro_PSP|ppsspp_libretro
    	Sony PSP Minis|LibRetro_PSP|ppsspp_libretro
    	Sord M5|LibRetro_SORD|mame_libretro|m5
    	Spectravideo|LibRetro_SV328|mame_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|mame_libretro|coco3
    	Technos|LibRetro_TECHN|mame_libretro
    	Texas Instruments TI 99-4A|LibRetro_TI99|mame_libretro|ti99_4a
    	Thomson MO5|LibRetro_MO5|mame_libretro|mo5
    	Thomson TO7|LibRetro_TO7|mame_libretro|to7
    	Tiger Game.com|LibRetro_TCOM|mame_libretro|gamecom
    	Tiki-100|LibRetro_TIKI|mame_libretro|kontiki
    	Tomy Tutor|LibRetro_TOMY|mame_libretro|tutor
    	VTech CreatiVision|LibRetro_VTECH|mame_libretro|crvision
    	Watara Supervision|LibRetro_SUPRV|mame_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
    			StringSplit, tmp, A_LoopField, `,
    			obj.MAMEID := tmp1
    			obj.MAMEMedia := tmp2
    		}
    	}
    	mType.Insert(obj["System"], obj)
    }
    RLLog.Debug("Module - Finished building the " . MEmu . " object")
    ; For easier use throughout the module
    retroSystem := mType[systemName].System
    retroID := mType[systemName].ID
    retroCore := mType[systemName].Core
    retroMAMEID := mType[systemName].MAMEID
    retroMAMEMedia := mType[systemName].MAMEMedia
    RLLog.Info("Module - Using these system variables:")
    RLLog.Info("Module - retroSystem: " . retroSystem)
    RLLog.Info("Module - retroID: " . retroID)
    RLLog.Info("Module - retroCore: " . retroCore)
    RLLog.Info("Module - retroMAMEID: " . retroMAMEID)
    RLLog.Info("Module - retroMAMEMedia: " . retroMAMEMedia)
    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.")
    
    Fullscreen := moduleIni.Read("Settings", "Fullscreen","true",,1)
    configFolder := moduleIni.Read("Settings", "ConfigFolder",emuPath . "\config",,1)
    singlecoreoptions := moduleIni.Read("Settings", "single_core_options","false",,1) = "true" ? ":\retroarch-core-options.cfg" : """"
    mameRomPath := moduleIni.Read("MAME", "BIOS_Roms_Folder",,,1)
    mameHideNag := If moduleIni.Read("MAME", "Hide_Nag_Screen","false",,1) = "true" ? "enabled" : "disabled"
    mameHideInfo := If moduleIni.Read("MAME", "Hide_Info_Screen","false",,1) = "true" ? "enabled" : "disabled"
    mameHideWarn := If moduleIni.Read("MAME", "Hide_Warning_Screen","false",,1) = "true" ? "enabled" : "disabled"
    hideConsole := moduleIni.Read("Settings", "HideConsole","true",,1)
    ejectToggleKey := moduleIni.Read("Settings", "Eject_Toggle_Key",,,1)
    nextDiskKey := moduleIni.Read("Settings", "Next_Disk_Key",,,1)
    prevDiskKey := moduleIni.Read("Settings", "Previous_Disk_Key",,,1)
    core := moduleIni.Read(romName . "|" . systemName, "LibRetro_Core",retroCore,,1)
    superGB := moduleIni.Read(romName . "|" . systemName, "SuperGameBoy","false",,1)
    enableNetworkPlay := moduleIni.Read(romName . "|Network", "Enable_Network_Play","false",,1)
    overlay := moduleIni.Read(romName . "|" . systemName, "Overlay",,,1)
    videoShader := moduleIni.Read(romName . "|" . systemName, "VideoShader",,,1)
    aspectRatioIndex := moduleIni.Read(romName . "|" . systemName, "AspectRatioIndex",,,1)
    customViewportWidth := moduleIni.Read(romName . "|" . systemName, "CustomViewportWidth",,,1)
    customViewportHeight := moduleIni.Read(romName . "|" . systemName, "CustomViewportHeight",,,1)
    customViewportX := moduleIni.Read(romName . "|" . systemName, "CustomViewportX",,,1)
    customViewportY := moduleIni.Read(romName . "|" . systemName, "CustomViewportY",,,1)
    stretchToFillBezel := moduleIni.Read(romName . "|" . systemName, "StretchToFillBezel","false",,1)
    rotation := moduleIni.Read(romName . "|" . systemName, "Rotation",0,,1)
    cropOverscan := moduleIni.Read(romName . "|" . systemName, "CropOverscan",,,1)
    threadedVideo := moduleIni.Read(romName . "|" . systemName, "ThreadedVideo",,,1)
    vSync := moduleIni.Read(romName . "|" . systemName, "VSync",,,1)
    integerScale := moduleIni.Read(romName . "|" . systemName, "IntegerScale",,,1)
    configurationPerCore := moduleIni.Read(romName . "|" . systemName, "ConfigurationPerCore","false",,1)
    coreOverrides := moduleIni.Read(romName . "|" . systemName, "CoreOverrides","false",,1)
    
    If (StringUtils.Contains(core, "^(mame|mess|ume)") && !retroMAMEID) {
    	retroMAMEID := "mame"	; set all systems that use a mame core to the default mame ID so any system name is supported
    	RLLog.Warning("Module - Setting MAMEID to default ""mame"" for """ . retroSystem . """")
    }
    
    configFolder := RLObject.getFullPathFromRelative(rlPath,configFolder)
    mameRomPath := If mameRomPath ? RLObject.getFullPathFromRelative(rlPath,mameRomPath) : romPath
    overlay := RLObject.getFullPathFromRelative(rlPath,overlay)
    videoShader := RLObject.getFullPathFromRelative(rlPath,videoShader)
    rotateBezel := false
    
    configFolder := new Folder(configFolder)
    
    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 !configFolder.Exist()
    	ScriptError("You need to make sure ""ConfigFolder"" is pointing to your RetroArch config folder. By default it is looking here: """ . configFolder.FilePath . """")
    globalRetroCfg := emuPath . "\retroarch.cfg"
    systemRetroCfg := configFolder.FilePath . "\" . retroSystem . ".cfg"
    coreRetroCfg := configFolder.FilePath . "\" . core . ".cfg"
    RLLog.Info("Module - Global cfg should be: " . globalRetroCfg)
    RLLog.Info("Module - System cfg should be: " . systemRetroCfg)
    RLLog.Info("Module - Core cfg should be: " . coreRetroCfg)
    foundCfg := ""
    
    systemRetroCfg := new File(systemRetroCfg)
    coreRetroCfg := new File(coreRetroCfg)
    globalRetroCfg := new File(globalRetroCfg)
    
    If systemRetroCfg.Exist() {	; check for system cfg first
    	retroCFGFile := systemRetroCfg
    	foundCfg := 1
    	RLLog.Info("Module - Found a System cfg!")
    } Else If coreRetroCfg.Exist() {	; 2nd option is a core config
    	retroCFGFile := coreRetroCfg
    	foundCfg := 1
    	RLLog.Info("Module - Found a Core cfg!")
    } Else If globalRetroCfg.Exist() {	; 3rd is global cfg
    	retroCFGFile := globalRetroCfg
    	foundCfg := 1
    	RLLog.Info("Module - Found a Global cfg!")
    }
    If foundCfg {
    	RLLog.Info("Module - " . MEmu . " is using " . retroCFGFile.FileFullPath . " as its config file.")
    	retroCFG := LoadProperties(retroCFGFile.FileFullPath)
    } Else
    	RLLog.Warning("Module - Could not find a cfg file to update settings. RetroArch will make one for you.")
    
    If StringUtils.Contains(rotation,"1|3") ; use vertical bezel if RA rotation is set to 90 or 270 degrees
    	rotateBezel := true
    
    If StringUtils.Contains(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
    	retroSysDirLeft := StringUtils.Left(retroSysDir, 2)
    	If (retroSysDirLeft = ":\") {	; if retroarch is set to use a default folder
    		retroSysDir := StringUtils.TrimLeft(retroSysDir, 1)
    		RLLog.Info("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.")
    	checkForSlash := StringUtils.Right(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
    		retroSysDir := StringUtils.TrimRight(retroSysDir, 1)
    }
    
    If (StringUtils.Contains(core, "^(mame|mess|ume)")) || (StringUtils.Contains(retroID, "LibRetro_N64|LibRetro_NES|LibRetro_LYNX|LibRetro_PSX")) || (StringUtils.Contains(retroID, "LibRetro_NES") && (StringUtils.Contains(core, "nestopia_libretro"))) {	; these systems will use an ini to store game specific settings
    	RLLog.Info("Module - Reading / creating system ini for specific settings.")
    	If !StringUtils.Contains(core, "^(mame|mess|ume)") {
    		If !SystemModuleIni.Exist()
    			SystemModuleIni.Append		; create a new blank ini file if one does not exist
    	}
    
    	coreOptionsCFG := LoadProperties(coreOptionsCFGFile.FileFullPath)
    	
    	If StringUtils.Contains(core, "^(mame|mess|ume)") {	; Set some MAME/MESS/UME core options.
    		tmpCore := If StringUtils.Contains(core, "mame") ? "mame" : "mess"
    		WriteProperty(coreOptionsCFG, tmpCore . "_read_config", """enabled""", 1)
    		WriteProperty(coreOptionsCFG, tmpCore . "_boot_from_cli", """enabled""", 1)				; This needs to be enabled in order to run games with RLauncher
    		WriteProperty(coreOptionsCFG, tmpCore . "_hide_nagscreen", "" . mameHideNag . "", 1)
    		WriteProperty(coreOptionsCFG, tmpCore . "_hide_infoscreen", "" . mameHideInfo . "", 1)
    		WriteProperty(coreOptionsCFG, tmpCore . "_hide_warnings", "" . mameHideWarn . "", 1)
    	} Else If StringUtils.Contains(retroID, "LibRetro_N64") {	; Nintendo 64
    		mupenGfx := moduleIni.Read(romName . "|" . systemName, "Mupen_Gfx_Plugin", "auto",,1)
    		mupenRsp := moduleIni.Read(romName . "|" . systemName, "Mupen_RSP_Plugin", "auto",,1)
    		mupenCpu := moduleIni.Read(romName . "|" . systemName, "Mupen_CPU_Core", "dynamic_recompiler",,1)
    		mupenPak1 := moduleIni.Read(romName . "|" . systemName, "Mupen_Pak_1", "memory",,1)
    		mupenPak2 := moduleIni.Read(romName . "|" . systemName, "Mupen_Pak_2", "memory",,1)
    		mupenPak3 := moduleIni.Read(romName . "|" . systemName, "Mupen_Pak_3", "memory",,1)
    		mupenPak4 := moduleIni.Read(romName . "|" . systemName, "Mupen_Pak_4", "memory",,1)
    		mupenGfxAccur := moduleIni.Read(romName . "|" . systemName, "Mupen_Gfx_Accuracy", "high",,1)
    		mupenExpMem := moduleIni.Read(romName . "|" . systemName, "Mupen_Disable_Exp_Memory", "no",,1)
    		mupenTexturFilt := moduleIni.Read(romName . "|" . systemName, "Mupen_Texture_Filtering", "nearest",,1)
    		mupenViRefresh := moduleIni.Read(romName . "|" . systemName, "Mupen_VI_Refresh", "2200",,1)
    		mupenFramerate := moduleIni.Read(romName . "|" . systemName, "Mupen_Framerate", "fullspeed",,1)
    		mupenResolution := moduleIni.Read(romName . "|" . systemName, "Mupen_Resolution", "640x480",,1)
    		mupenPolyOffstFctr := moduleIni.Read(romName . "|" . systemName, "Mupen_Polygon_Offset_Factor", "-3.0",,1)
    		mupenPolyOffstUnts := moduleIni.Read(romName . "|" . systemName, "Mupen_Polygon_Offset_Units", "-3.0",,1)
    		mupenViOverlay := moduleIni.Read(romName . "|" . systemName, "Mupen_VI_Overlay", "disabled",,1)
    		mupenAnalogDzone := moduleIni.Read(romName . "|" . systemName, "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 StringUtils.Contains(retroID, "LibRetro_NES") {		; these systems will use an ini to store game specific settings
    		If StringUtils.Contains(core, "nestopia_libretro") {	; Nestopia
    			nestopiaBlargg := moduleIni.Read(romName . "|Nestopia", "Nestopia_Blargg_NTSC_Filter", "disabled",,1)
    			nestopiaPalette := moduleIni.Read(romName . "|Nestopia", "Nestopia_Palette", "canonical",,1)
    			nestopiaNoSprteLimit := moduleIni.Read(romName . "|Nestopia", "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 StringUtils.Contains(retroID, "LibRetro_LYNX") {	; Atari Lynx
    		If StringUtils.Contains(core, "handy_libretro") {   ; Handy
    			handyRotate := moduleIni.Read(romName . "|" . systemName, "Handy_Rotation", "None",,1)
    			If StringUtils.Contains(handyRotate, "240") or StringUtils.Contains(handyRotate, "90")
    				rotateBezel := true
    			WriteProperty(coreOptionsCFG, "handy_rot", handyRotate, 1)
    		}
    	} Else If StringUtils.Contains(retroID, "LibRetro_PSX") {	; Sony PlayStation
    		psxCdImageCache := moduleIni.Read(romName . "|" . systemName, "PSX_CD_Image_Cache", """enabled""",,1)
    		psxMemcardHandling := moduleIni.Read(romName . "|" . systemName, "PSX_Memcard_Handling", """libretro""",,1)
    		psxDualshockAnalogToggle := moduleIni.Read(romName . "|" . systemName, "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.FileFullPath, coreOptionsCFG)
    }
    
    hideEmuObj := Object(emuConsoleWindow,0,emuPrimaryWindow,1)
    7z(romPath, romName, romExtension, sevenZExtractPath)
    
    mgM3UFile := new File(romPath . "\" . romTable[1,4] . ".m3u")
    
    mgRomExtensions := "cue|iso|ccd"
    mgValidExtension := false
    
    Loop, Parse, mgRomExtensions, |
    	If (romExtension = "." . A_LoopField)
    		mgValidExtension := true
    
    If (StringUtils.Contains(retroID, "LibRetro_PSX|Libretro_SAT") && romTable.MaxIndex() && mgValidExtension) { ; See if MultiGame table is populated	
    	m3uRomIndex := Object()
    	mgType := romTable[1,6] . " "
    	mgMaxIndex := romTable.MaxIndex()
    	mgRomIndex := 0
    
    	If mgM3UFile.Exist()
    		mgM3UFile.Delete()
    
    	Loop % mgMaxIndex
    	{
    		If (romTable[A_Index, 3] = romName) {
    			tempType := romTable[A_Index, 5]
    			mgRomIndex := StringUtils.TrimLeft(tempType, StringUtils.StringLength(mgType))
    			RLLog.Info("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]
    					mgM3UFile.Append(tempRomPath . "`n")
    					RLLog.Info("Module - Appending rom path to m3u: " . tempRomPath)
    					Break
    				}
    			}
    
    			If (tempRomIndex < mgMaxIndex)
    				tempRomIndex++
    			Else
    				tempRomIndex := 1
    		}
    	}
    }
    
    ; MAME/MESS/UME core options
    MAMEParam1 := ""
    MAMEParam2 := ""
    MAMEParam3 := ""
    If StringUtils.Contains(core, "^(mame|mess|ume)") {	; if a MAME/MESS/UME core is used
    	If !retroMAMEID
    		ScriptError("Your systemName is: " . systemName . "`nIt is not one of the known supported systems for the MAME/MESS/UME LibRetro core")
    	Else
    		RLLog.Info("Module - MAME/MESS/UME mode using a known ident: " . retroMAMEID)
    
    	If !mameRomPath
    		ScriptError("Please set the RetroArch module setting ""BIOS_Roms_Folder"" to the folder that contains your MAME/MESS/UME BIOS roms to use with RetroArch.")
    	
    	If (retroMAMEID = "mame") {		; want this for arcade mame only
    		RLLog.Info("Module - Retroarch MAME/MESS/UME Arcade mode enabled")
    		fullRomPath := " """ . romPath . "\" . romName . romExtension . """"
    	} Else {
    		RLLog.Info("Module - Retroarch MAME/MESS/UME Console/PC mode enabled")
    		MAMEParam1 := ""
    		MAMEParam2 := " -rompath \""" . mameRomPath . "\"""
    
    		; If we already have a media type, then use it.
    		If (StringUtils.Contains(retroMAMEID, "tg16|pce") && retroMAMEMedia = "cart") {
    			;MAMEParam3 := " -cart \" . """" . romPath . "\" . romName . romExtension . "\" . """"
    			MAMEParam3 := " -cart \""" . romPath . "\" . romName . romExtension . "\"""""
    		; TODO: This needs a better way to handle the cdrom bios files, in my opinion. As it is, there's no clean way to pick between the v2.00 or v3.00 bios.
    		;       Defaulting to the TurboDuo cdrom bios since it will play 2.00 or 3.00 games.
    		} Else If (StringUtils.Contains(retroMAMEID, "tg16|pce") && retroMAMEMedia = "cdrom") {
    			;MAMEParam3 := " -cart cdsys -cdrm \" . """" . romPath . "\" . romName . romExtension . "\" . """"
    			MAMEParam3 := " -cart scdsys -cdrm \""" . romPath . "\" . romName . romExtension . "\"""""
    		} Else {
    			; Build a key/value object containing the different MAMEParam3 choices
    			MAMEP3 := Object("alice32","cass1","gp32","memc","cpc464","cass","spectrum","cass","dragon64","cass","cdimono1","cdrom","bk0010","cass","neocd","cdrom","neocdz","cdrom","saturn","cdrm","saturnjp","cdrm","svi328n","cass","pecom64","cass","psu","cdrm","svmu","quik","gamecom","cart1","mbeeic","quik1")
    			MAMEParam3 := MAMEP3[retroMAMEID]	; search object for the retroMAMEID pair
    			MAMEParam3 := " -" . (If MAMEParam3 ? MAMEParam3 : "cart") . " \" . """" . romPath . "\" . romName . romExtension . "\" . """"
    		}
    
    		If (retroMAMEID = "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")
    				retroMAMEID := 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"
    			MAMEParam3 := " -" . mediaDeviceType . " \" . """" . romPath . "\" . romName . romExtension . "\" . """"
    		}
    		
    		If (retroMAMEID = "x68000") ; Sharp X68000
    		{	
    			If romExtension in .xdf,.hdm,.2hd,.dim,.d77,.d88,.1dd,.dfi,.imd,.ipf,.mfi,.mfm,.td0,.cqm,.cqi,.dsk
    				mediaDeviceType := "flop1"
    			Else	; .bin format
    				mediaDeviceType := "sasi"
    			MAMEParam3 := " -" . mediaDeviceType . " \" . """" . romPath . "\" . romName . romExtension . "\" . """"
    		}
    		
    		fullRomPath := MAMEParam1 . MAMEParam2 . MAMEParam3
    	}
    } Else If (superGB = "true") {
    	RLLog.Info("Module - Retroarch Super Game Boy mode enabled")
    	fullRomPath := " """ . sgbRomPath . """ --subsystem sgb """ . romPath . "\" . romName . romExtension . """"
    } Else If (retroID = "LibRetro_FBNEO") {
    	RLLog.Info("Module - Retroarch FinalBurn Neo enabled")
    	fullRomPath := " --subsystem neocd """ . romPath . "\" . romName . romExtension . """"
    } Else {
    	RLLog.Info("Module - Retroarch standard mode enabled")
    	fullRomPath := " """ . romPath . "\" . romName . romExtension . """"
    }
    
    If (retroID = "LibRetro_NFDS")	; Nintendo Famicom Disk System
    {	disksysRom := new File(retroSysDir . "\disksys.rom")
    	If !disksysRom.Exist()
    		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 !StringUtils.Contains(romExtension, "\.bin|\.cue|\.iso")
    		ScriptError("RetroArch only supports Sega CD games in bin|cue|iso format. It does not support:`n" . romExtension)
    	biosCDEBin := new File(retroSysDir . "\bios_CD_E.bin")
    	biosCDUBin := new File(retroSysDir . "\bios_CD_U.bin")
    	biosCDJBin := new File(retroSysDir . "\bios_CD_J.bin")
    	If !biosCDEBin.Exist()
    		ScriptError("RetroArch requires ""bios_CD_E.bin"" for " . retroSystem . " but could not find it in your system_directory: """ . retroSysDir . """")
    	If !biosCDUBin.Exist()
    		ScriptError("RetroArch requires ""bios_CD_U.bin"" for " . retroSystem . " but could not find it in your system_directory: """ . retroSysDir . """")
    	If !biosCDJBin.Exist()
    		ScriptError("RetroArch requires ""bios_CD_J.bin"" for " . retroSystem . " but could not find it in your system_directory: """ . retroSysDir . """")
    } Else If StringUtils.Contains(retroID,"LibRetro_PCECD|LibRetro_TGCD")	; NEC PC Engine-CD and NEC TurboGrafx-CD
    {	If !StringUtils.Contains(romExtension,"\.ccd|\.cue|\.pce")
    		ScriptError("RetroArch only supports " . retroSystem . " games in ccd or cue format. It does not support:`n" . romExtension)
    	sysCard3Pce := new File(retroSysDir . "\syscard3.pce")
    	If !sysCard3Pce.Exist()
    		ScriptError("RetroArch requires ""syscard3.pce"" for " . retroSystem . " but could not find it in your system_directory: """ . retroSysDir . """")
    } Else If (retroID = "LibRetro_PCFX")
    {	If !StringUtils.Contains(romExtension,"\.ccd|\.cue")
    		ScriptError("RetroArch only supports " . retroSystem . " games in ccd or cue format. It does not support:`n" . romExtension)
    	pcfxBios := new File(retroSysDir . "\pcfx.rom")
    	If !pcfxBios.Exist()
    		ScriptError("RetroArch requires ""pcfx.rom"" for " . retroSystem . " but could not find it in your system_directory: """ . retroSysDir . """")
    } Else If (retroID = "LibRetro_SCUMM")
    {
    	scummFile := new File(romPath . "\" . romName . ".scummvm")
    	If !scummFile.Exist()
    		scummFile.Append("""" . romName . """")
    }
    
    networkSession := ""
    If (enableNetworkPlay = "true") {
    	RLLog.Info("Module - Network Multi-Player is an available option for " . dbName)
    
    	netplayNickname := moduleIni.Read("Network", "NetPlay_Nickname","Player",,1)
    	getWANIP := moduleIni.Read("Network", "Get_WAN_IP","false",,1)
    
    	If (getWANIP = "true")
    		myPublicIP := GetPublicIP()
    
    	RLLog.Warning("Module - CAREFUL WHEN POSTING THIS LOG PUBLICLY AS IT CONTAINS YOUR IP ON THE NEXT LINE")
    	defaultServerIP := moduleIni.Read("Network", "Default_Server_IP", myPublicIP,,1)
    	defaultServerPort := moduleIni.Read("Network", "Default_Server_Port",,,1)
    	lastIP := moduleIni.Read("Network", "Last_IP", defaultServerIP,,1)	; does not need to be on the ISD
    	lastPort := moduleIni.Read("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
    		RLLog.Warning("Module - Cancelled MultiPlayer Menu. Exiting module.")
    		ExitModule()
    	}
    	If networkSession {
    		RLLog.Info("Module - Using a Network for " . dbName)
    		moduleIni.Write(networkPort, "GlobalModuleIni", "Network", "Last_Port")
    		; msgbox lastIP: %lastIP%`nlastPort: %lastPort%`nnetworkIP: %networkIP%`nnetworkPort: %networkPort%
    		If (networkType = "client") {
    			moduleIni.Write(networkIP, "GlobalModuleIni", "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
    		}
    		RLLog.Warning("Module - CAREFUL WHEN POSTING THIS LOG PUBLICLY AS IT CONTAINS YOUR IP ON THE NEXT LINE")
    		RLLog.Info("Module - Starting a network session using the IP """ . networkIP . """ and PORT """ . networkPort . """")
    	} Else
    		RLLog.Info("Module - User chose Single Player mode for this session")
    }
    
    BezelStart(,,(If rotateBezel ? 1:""))
    
    If foundCfg {
    	If (stretchToFillBezel = "true" and bezelEnabled = "true" and bezelPath)
    	{
    		customViewportWidth := bezelScreenWidth
    		customViewportHeight := bezelScreenHeight
    		customViewportX := 0
    		customViewportY := 0
    		aspectRatioIndex := 22
    		RLLog.Info("Stretching viewport to fit bezel")
    	}
    
    	raCfgHasChanges := ""
    	WriteRetroProperty("core_options_path", singlecoreoptions)
    	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 StringUtils.Contains(retroID, "LibRetro_PSX") {
    		Loop, 8	; Loop 8 times for 8 controllers
    		{	p%A_Index%ControllerType := moduleIni.Read(romName . "|" . systemName, "P" . A_Index . "_Controller_Type", 517,,1)
    			WriteRetroProperty("input_libretro_device_p" . A_Index, p%A_Index%ControllerType)
    		}
    	}
    
    	If raCfgHasChanges {
    		RLLog.Info("Module - Saving changed settings to: """ . retroCFGFile.FileFullPath . """")
    		SaveProperties(retroCFGFile.FileFullPath, retroCFG)
    	}
    }
    
    fullscreen := If fullscreen = "true" ? " -f" : ""
    retroCFGFileCLI := If foundCfg ? " -c """ . retroCFGFile.FileFullPath . """" : ""
    
    coreOverridesRelative := AbsoluteFromRelative("", coreOverrides)
    coreOverridesCfg := new File(coreOverridesRelative)
    
    If coreOverridesCfg.Exist() {
    	retroCoreOverrides := " --appendconfig """ . coreOverridesRelative . """"
    }
    
    HideAppStart(hideEmuObj,hideEmu)
    
    If (StringUtils.Contains(core, "^(mame|mess|ume)") && (retroMAMEID != "mame")) {    ; if a MAME/MESS/UME core is used
    	primaryExe.Run(" """ . (retroMAMEID ? retroMAMEID : "") . fullRomPath . """ " . fullscreen . retroCFGFileCLI . " -L """ . libDll . """" . retroCoreOverrides . netCommand, "Hide")
    } Else If (retroID = "LibRetro_SCUMM") {
    	primaryExe.Run(" """ . scummFile . """" . fullscreen . retroCFGFileCLI . " -L """ . libDll . """" . retroCoreOverrides . netCommand, "Hide")
    } Else If (retroID = "LibRetro_SGB" || If superGB = "true") { ; For some reason, the order of our command line matters in this particular case.
    	primaryExe.Run(fullscreen . retroCFGFileCLI . " -L """ . libDll . """" . fullRomPath . retroCoreOverrides . netCommand, "Hide")
    } Else If mgM3UFile.Exist() {
    	primaryExe.Run(" """ . mgM3UFile.FileFullPath . """" . fullscreen . retroCFGFileCLI . " -L """ . libDll . """" . retroCoreOverrides . netCommand, "Hide")
    } Else {
    	primaryExe.Run(" " . fullRomPath . fullscreen . retroCFGFileCLI . " -L """ . libDll . """" . retroCoreOverrides . netCommand, "Hide")
    }
    
    mpMenuStatus := ""
    If networkSession {
    	canceledServerWait := false
    	multiplayerMenuExit := false
    	TimerUtils.SetTimer("NetworkConnectedCheck", 500)
    
    	If (networkType = "server") {
    		RLLog.Info("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
    		RLLog.Info("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
    		RLLog.Warning("Module - Cancelled waiting for the " . If (networkType = "server") ? "client to connect" : "server to respond" . ". Exiting module.")
    		If primaryExe.Process("Exist")
    			primaryExe.Process("Close")	; 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
    		RLLog.Info("Module - " . If (networkType = "server") ? "Client has connected" : "Connected to the server")
    		emuPrimaryWindow.Wait()
    		emuPrimaryWindow.WaitActive()
    	}
    	TimerUtils.SetTimer("NetworkConnectedCheck", "Off")
    } Else {	; single player
    	emuPrimaryWindow.Wait()
    	emuPrimaryWindow.WaitActive()
    }
    
    If (hideConsole = "true")
    	emuConsoleWindow.Set("Transparent", "On")	; makes the console window transparent so you don't see it on exit
    
    BezelDraw()
    HideAppEnd(hideEmuObj,hideEmu)
    FadeInExit()
    primaryExe.Process("WaitClose")
    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,RLLog
    	If (direction = "read")
    	{	newtxt := StringUtils.TrimLeft(txt,1,0)	; removes the " from the left of the txt
    		newtxt := StringUtils.TrimRight(newtxt,1,0)	; removes the " from the right of the txt
    		relativeCheck := StringUtils.SubStr(newtxt,1,1,0)
    		If StringUtils.Contains(relativeCheck,":",0) {	; if the path contains a ":" then it is a relative path
    			RLLog.Debug("ConvertRetroCFGKey - " . newtxt . " is a relative path")
    			newtxt := StringUtils.TrimLeft(newtxt,1,0)	; removes the : from the left of the txt
    			newtxt := AbsoluteFromRelative(emuPath, "." . newtxt)	; convert relative to absolute
    		}
    		If StringUtils.Contains(newtxt,"/",0)
    			newtxt := StringUtils.Replace(newtxt,"/","\",1,,0)	; replaces all forward slashes with backslashes
    	} Else If (direction = "write")
    	{	newtxt := """" . txt . """"	; wraps the txt with ""
    		If StringUtils.Contains(newtxt,"\\",0)
    			newtxt := StringUtils.Replace(newtxt,"\","/",1,,0)	; replaces all backslashes with forward slashes
    	} Else
    		ScriptError("Not a valid use of ConvertRetroCFGKey. Only ""read"" or ""write"" are supported.")
    	RLLog.Debug("ConvertRetroCFGKey - Converted " . txt . " to " . newtxt)
    	Return newtxt
    }
    
    MultiGame:
    	KeyUtils.SetKeyDelay(100)
    	emuPrimaryWindow.Activate()
    	KeyUtils.Send("{" . ejectToggleKey . " down}{" . ejectToggleKey . " up}")	; eject disc in Retroarch
    	If (!mgLastRomIndex) {
    		mgLastRomIndex := mgRomIndex
    	}
    	selectedRomIndex := 0
    	selectedRomIndex := StringUtils.TrimLeft(selectedRomNum, StringUtils.StringLength(mgType,0))
    	
    	Loop % mgMaxIndex
    	{
    		If (m3uRomIndex[A_index] = mgLastRomIndex) {
    			tempLastRomIndex := A_index
    			RLLog.Debug("Module - Last index: " . tempLastRomIndex)
    		}
    		If (m3uRomIndex[A_index] = selectedRomIndex) {
    			tempSelectedRomIndex := A_index
    			RLLog.Debug("Module - Selected index: " . tempSelectedRomIndex)
    		}
    	}
    	
    	mgNewIndex := tempLastRomIndex - tempSelectedRomIndex
    	
    	If (mgNewIndex < 0) {
    		mgNewIndex := mgNewIndex * -1
    		Loop % mgNewIndex
    		{
    			RLLog.Debug("Module - Sending the next disk key: " . nextDiskKey)
    			KeyUtils.Send("{" . nextDiskKey . " down}{" . nextDiskKey . " up}")
    		}
    	} Else If (mgNewIndex > 0) {
    		Loop % mgNewIndex
    		{
    			RLLog.Debug("Module - Sending the previous disk key: " . mgNewIndex)
    			KeyUtils.Send("{" . prevDiskKey . " down}{" . prevDiskKey . " up}")
    		}
    	}
    	
    	KeyUtils.Send("{" . ejectToggleKey . " down}{" . ejectToggleKey . " up}")	; close disc in Retroarch
    	mgLastRomIndex := selectedRomIndex
    Return
    
    NetworkConnectedCheck:
    	If clientConnected
    		multiplayerMenuExit := true
    	Else If emuPrimaryWindow.Exist() {
    		RLLog.Info("Module - RetroArch session started, closing the MultiPlayer menu")
    		multiplayerMenuExit := true
    	}
    Return
    
    CloseProcess:
    	FadeOutStart()
    	emuPrimaryWindow.Close()
    Return
     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •