Jump to content
  • 0

Probleme Hyperspin bouton start clavier


vialex

Question

Bonjour à tous

 

Voila mon probleme

 

J'ai regler hyperspin et rocketlaucher  tout fonctionnais j'active un jeu sous hyperspin sa marche.....je quitte et sa ne remarche plus

Apres plus moyen de lancer un jeu meme en fermant et rallumant hyperspin comme si la touche start ne fonctionnait plus

Tous les jeux marche sous rocketlaucher donc ce n'est pas un probleme de jeux

 

Merci d'avance si vous avez une idee ;)

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

Merci sebastien  Effectivement cela marche et je t'en remercie   Le seul probleme c'est qu'il faut que je le fasse a chaque fois que je veux changer de jeux     Aurait tu une idee pour que cela termine le processus automatiquement a chaque fois

 

Merci d'avance

Link to comment
Share on other sites

Il faudrait que tu regarde rocketlauncher.log dans le dossier de rocketlauncher et que tu le poste ici (ou sur le site de rocketlauncher en expliquant ton problème en anglais)

 

Est-ce que ça te le fait peu importe le système/ému que tu utilise? Il suffit que Rocketlauncher ne capte pas que ton émulateur a "quitté" et attende encore et toujours pour que ça foire.

 

Aussi, comment quittes-tu ton émulateur pour changer de jeu? Utilises-tu la touche d'échappement configurée dans rocketlauncherUI ? 

Link to comment
Share on other sites

Slt axel

 

Pourrais tu me dire ou trouver exactement ou se trouve le fichier Rocketlauncher.log car je ne le trouve pas dans le repertoire rocketlauncher.....

 

Pour le moment je n'ai installer que Mame et pour quitter jappuie sur la touche Echap configurer sur HyperHQ

 

Merci

Link to comment
Share on other sites

[settings]

RocketLauncher_Media_Path=.\Media

Modules_Path=.\Modules

Profiles_Path=.\Profiles

Exit_Script_Key=~q & ~s

Exit_Emulator_Key=~Esc

Toggle_Cursor_Key=~e & ~t

Emu_Idle_Shutdown=0

Launch_Password=UpUpDownDownLeftRightLeftRight

Last_System=MAME

Last_Rom=1941

Last_Module=MAME

[Logging]

Logging_Level=3

Logging_Show_Debug_Console=false

Logging_Include_Module=true

Logging_Include_File_Properties=true

Logging_Show_Command_Window=false

Logging_Log_Command_Window=false

[Navigation]

Navigation_Up_Key=Up

Navigation_Down_Key=Down

Navigation_Left_Key=Left

Navigation_Right_Key=Right

Navigation_Select_Key=Enter

Navigation_P2_Up_Key=Numpad8

Navigation_P2_Down_Key=Numpad2

Navigation_P2_Left_Key=Numpad4

Navigation_P2_Right_Key=Numpad6

Navigation_P2_Select_Key=NumpadEnter

[7z]

7z_Path=.\Module Extensions\7z.exe

[Fade]

Fade_Interrupt_Key=

Fade_Detect_Error=true

[MultiGame]

MultiGame_Key=~NumpadSub

[Pause]

Pause_Key=~NumpadAdd

Pause_Back_to_Menu_Bar_Key=X

Pause_Zoom_In_Key=C

Pause_Zoom_Out_Key=V

Pause_Screenshot_Key=~PrintScreen

Pause_HiToText_Path=.\Module Extensions\HiToText.exe

[Virtual Drive]

Virtual_Drive_Path=

Virtual_Drive_Add_Drive=true

Virtual_Drive_Drive_Letter=

[CPWizard]

CPWizard_Path=

[LEDBlinky]

LEDBlinky_Path=

[Keymapper]

Xpadder_Path=..\Utilities\Xpadder\xpadder.exe

JoyToKey_Path=..\Utilities\JoyToKey\JoyToKey.exe

Custom_Joy_Names_Enabled=false

Custom_Joy_Names=

Keymapper_FrontEnd_Profile_Name=RocketLauncherUI

Keymapper_FrontEnd_Profile=false

Keymapper_RocketLauncher_Profile_Enabled=false

[VJoy]

VJoy_Path=..\Utilities\VJoy\VJoy.exe

[betaBrite]

BetaBrite_Enable=false

BetaBrite_Path=

BetaBrite_Params=usb {AUTO}%FRONTEND%

[Rotate]

Rotate_Method=false

[broadcast]

Broadcast_Window_Title=

Link to comment
Share on other sites

tu a posté le fichier rocketlauncher.ini, le fichier RocketLauncher.log se trouve directement dans le repertoire hyperspin sous le fichier RocketLauncher.exe .

 

il ressemble a cela (extrait):

 


11:38:20:136 | RL |     INFO  | +N/A   | Main - RocketLauncher v1.0.1.3 (www.rlauncher.com)
11:38:20:315 | RL |     INFO  | +172   | Main - System Specs:
                    RocketLauncher Dir: E:\Hyperspin
                    RocketLauncher is: 32-bit
                    OS: Microsoft Windows 7 Édition Intégrale
                    SKU: Ultimate
                    Total Memory: 8165.72 MB
                    Free Memory: 3456.09 MB
                    Used Memory: 4709.633 MB
                    SystemType: 64-bit
                    Physical Processors: 1
                    Logical Processors: 4
                    GPU 1 Name: AMD Radeon HD 7800 Series
                    GPU 1 RAM: -2048.00 MB
                    GPU 1 Driver Version: 15.200.1062.0
                    Sound 1 Device: AMD High Definition Audio Device
                    Sound 1 Status: Enabled
                    Sound 2 Device: Realtek High Definition Audio
                    Sound 2 Status: Enabled
                    OS Language: French_Standard
                    OS Admin Status: Yes
                    Latest .Net Version: v4.0.30319
                    Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1040 work) [Landscape] (Primary)
                    Current AHK Desktop Width: 1920
                    Current AHK Desktop Height: 1080
                    AutoHotkey Path:
                    AHK Version: 1.1.09.04
                    Unicode: No
11:38:20:315 | RL |     INFO  | +0     | CheckFile - Checking if E:\Hyperspin\RocketLauncher.exe exists
11:38:20:315 | RL |  WARNING  | +0     | Main - Front End plugin was not sent via CLI. Defaulting to the "HyperSpin" Plugin. If you want to load a different Front End Plugin, please make sure you set up your Front End so it sends this parameter to RocketLauncher: "-p <PLUGINTYPE>"
11:38:20:315 | RL |     INFO  | +0     | CheckFile - Checking if E:\Hyperspin\Plugins\HyperSpin.plugin exists
11:38:20:316 | RL |  WARNING  | +0     | Main - No frontendPath was sent via CLI. Defaulting to use HyperSpin in "..\HyperSpin\HyperSpin.exe". If you want to use a different FE Path, please make sure you set up your Front End so it sends this parameter to RocketLauncher: "-f <PATH_TO_MY_FE\FRONTEND.exe>"
11:38:20:375 | RL |     INFO  | +62    | Main - HyperSpin.exe coordinates are x0 y0 w1920 h1080
11:38:20:375 | RL |     INFO  | +0     | Main - RocketLauncher received "Nintendo 64" and "007 - GoldenEye (USA)"
11:38:20:383 | RL |     INFO  | +16    | Main - Did not find a "E:\Hyperspin\Settings\Nintendo 64\Game Options.ini" file, skipping any game-specific options.
11:38:20:383 | RL |     INFO  | +0     | Main - 007 - GoldenEye (USA) is using the default emulator: Project64 2.x
11:38:20:383 | RL |     INFO  | +0     | Main - Checking for a [Project64 2.x] section in E:\Hyperspin\Settings\Nintendo 64\Emulators.ini
11:38:20:383 | RL |     INFO  | +0     | Main - Checking for a [Project64 2.x] section in E:\Hyperspin\Settings\Global Emulators.ini
11:38:20:383 | RL |     INFO  | +0     | Main - Found [Project64 2.x] in E:\Hyperspin\Settings\Global Emulators.ini
11:38:20:384 | RL |     INFO  | +0     | CheckFile - Checking if E:\Hyperspin\Modules\Project64\Project64 (v2.x).ahk exists
11:38:20:389 | RL |     INFO  | +0     | Main - CRC Check - CRC matches, this is an official unedited module.
11:38:20:389 | RL |     INFO  | +0     | Main - 007 - GoldenEye (USA) will use module: E:\Hyperspin\Modules\Project64\Project64 (v2.x).ahk
11:38:20:406 | RL |     INFO  | +15    | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
11:38:20:471 | RL |     INFO  | +63    | CheckFile - Checking if E:\Hyperspin\Emulators\Nintendo 64\Project64 2.2\Project64.exe exists
11:38:20:494 | RL |     INFO  | +31    | Main - INI Keys read
11:38:20:494 | RL |     INFO  | +0     | CheckFile - Checking if E:\Hyperspin\Module Extensions\7z.exe exists
11:38:20:496 | RL |     INFO  | +0     | CheckFile - Checking if E:\Hyperspin\Module Extensions\7z.dll exists
11:38:20:500 | RL |     INFO  | +0     | Main - "007 - GoldenEye (USA)" does not qualify for MultiGame. Only roms with any of these strings in their name are acceptable: (Disc,(Disk,(Cart,(Tape,(Cassette,(Part,(Side
11:38:20:500 | RL |     INFO  | +0     | CheckPaths - Started
11:38:20:500 | RL |     INFO  | +0     | CheckPaths - Found rom: E:\Hyperspin\Emulators\romfiles\Nintendo 64\007 - GoldenEye (USA).Z64
11:38:20:500 | RL |     INFO  | +0     | CheckPaths - Ended
11:38:20:501 | RL |     INFO  | +0     | BuildScript - User Variables:
 
Link to comment
Share on other sites


08:53:01 | HyperLaunch v2.25c

08:53:01 | System Specs:

HyperSpin Dir: C:\HYPERSPIN

OS: WIN_7

OS Language: 040C

OS Admin Status: No

Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1040 work)

HyperSpin Res: 1920x1080

AHK Version: 1.1.07.03

08:53:01 | HyperLaunch received "MAME" and "blkhole"

08:53:01 | INI Keys read

08:53:01 | Checking paths

08:53:01 | Finished injecting functions into module

08:53:01 | Module is built

08:53:01 | Running module:

;-----------------------------------------------------------

;Built in script

;-----------------------------------------------------------

#NoTrayIcon

DetectHiddenWindows, ON

SetTitleMatchMode, 2

SendMode, Event

0 = 2

exitEmulatorKey = Esc

emuPath = C:\HYPERSPIN\Emulators\MAME\

romPath = C:\ROMS\MAME\

romPathFromIni = C:\ROMS\MAME\

romExtension = .zip

romExtensionOrig = .zip

romExtensions = zip,7z

executable = mame.exe

systemName = MAME

romName = blkhole

daemonToolsPath =

skipchecks = false

fadeIn = false

fadeOut = false

fadeColor = 0x000000

fadeInDuration = 500

fadeOutDuration = 500

fadeInDelay = 0

fadeInInterruptKeys = {LControl}{RControl}{LAlt}{RAlt}{LShift}{RShift}{LWin}{RWin}{AppsKey}{F1}{F2}{F3}{F4}{F5}{F6}{F7}{F8}{F9}{F10}{F11}{F12}{Left}{Right}{Up}{Down}{Home}{End}{PgUp}{PgDn}{Del}{Ins}{BS}{Capslock}{Numlock}{PrintScreen}{Pause}

gameStartImgPath = C:\HYPERSPIN\Media\MAME\Images\GameStart\

moduleExtensionPath = C:\HYPERSPIN\Modules\Module Extensions\

7zEnable = false

7zExtractDir = C:\Users\fab\AppData\Local\Temp\Hyperspin\

7zExtractDirOrig =

7zDelTemp = true

7zFormats = .zip,.rar,.7z,.gzip,.tar

7zFormatsNoP = zip,rar,7z,gzip,tar

mgEnabled = false

mgKey = NumpadSub

mgSelectKey = Enter

mgExitKey = Esc

multiGameImgPath = C:\HYPERSPIN\Media\MAME\Images\MultiGame\

mgBackgroundColor = FF000000

mgSidePadding = 0.2

mgYOffset = 500

mgImageAdjust = 1

mgFont = Arial

mgText1Options = x10p y30p w80p Centre cBBFFFFFF r4 s100 Bold Italic

mgText1Text = Please select a game

mgText2Options = w96p cFFFFFFFF r4 s50 Center Bold Italic

mgText2Offset = 70

mgUseSound = true

mgSoundfreq = 300

mgExitEffect = none

mgSelectedEffect = rotate

mgUseGameArt = false

mgArtworkDir = Artwork1

Hotkey, Esc, CloseProcess

;-----------------------------------------------------------

;Module script

;-----------------------------------------------------------

;MAME

;ver. .157

;MAME.exe|MAME64.exe

;----------------------------------------------------------------------------

; Notes:

; No need to edit mame.ini and set your rom folder, module sends the rompath for you.

;----------------------------------------------------------------------------

GUI_ID := FadeInStart()

Run, %executable% %romName%, %emuPath%, Hide, exePID

WinWait, Ahk_pid %exePID%

WinGetClass,exeWinClass, ahk_pid %exePID%

WinWaitActive, Ahk_class %exeWinClass%

if(ErrorLevel != 0){

if (ErrorLevel = 1){

Error = Failed Validity

}else if(ErrorLevel = 2){

Error = Missing Files

}else if(ErrorLevel = 3){

Error = Fatal Error

}else if(ErrorLevel = 4){

Error = Device Error

}else if(ErrorLevel = 5){

Error = Game Does Not Exist

}else if(ErrorLevel = 6){

Error = Invalid Config

}else if(ErrorLevel = 7 || ErrorLevel = 8 || ErrorLevel = 9){

Error = Identification Error

}else{

Error = Mame Error

}

MsgBox Mame Error - %Error%

}

GUI_ID2 := FadeInExit()

Process, WaitClose, %executable%

GUI_ID4 := FadeOutExit()

WinActivate, Hyperspin

ExitApp

CloseProcess:

GUI_ID3 := FadeOutStart()

WinClose, Ahk_class %exeWinClass%

return

hideDesktop(){

}

FadeInStart(){

}

FadeInExit(){

}

FadeOutStart(){

Suspend, On

}

FadeOutExit(){

}

7z(7zP, 7zN, 7zE, 7zExtractDir){

}

7zCleanUp() {

}

CheckFile(file,msg="",timeout=6){

IfNotExist, %file%

{

If msg

ScriptError(msg, timeout)

Else

ScriptError("Cannot find " . file, timeout)

}

Return %file%

}

ScriptError(error,timeout=6){

MsgBox,48,Error,%error%,%timeout%

ExitApp

}

12:18:37 | User pressed exit_script_key

Voila le fichier je crois que c'est le bon, sachant que j'utilise rocketlauncher mais je pense que c'est pareil que Hyperlauch
Link to comment
Share on other sites

Ah non c'est celui ci désolé :)

23:32:42:092 | RL |     INFO  | +N/A   | Main - RocketLauncher v1.0.1.3 (www.rlauncher.com)
23:32:42:219 | RL |     INFO  | +125   | Main - System Specs:
					RocketLauncher Dir: C:\HYPERSPIN\RocketLauncher
					RocketLauncher is: 32-bit
					OS: Microsoft Windows 7 Édition Familiale Premium 
					SKU: Home Premium
					Total Memory: 4095.37 MB
					Free Memory: 2517.79 MB
					Used Memory: 1577.582 MB
					SystemType: 64-bit
					Physical Processors: 1
					Logical Processors: 2
					GPU 1 Name: NVIDIA GeForce 405
					GPU 1 RAM: 1024.00 MB
					GPU 1 Driver Version: 8.17.12.6684
					Sound 1 Device: NVIDIA High Definition Audio
					Sound 1 Status: Enabled
					Sound 2 Device: NVIDIA High Definition Audio
					Sound 2 Status: Enabled
					Sound 3 Device: NVIDIA High Definition Audio
					Sound 3 Status: Enabled
					Sound 4 Device: Realtek High Definition Audio
					Sound 4 Status: Enabled
					Sound 5 Device: NVIDIA High Definition Audio
					Sound 5 Status: Enabled
					OS Language: French_Standard
					OS Admin Status: No
					Latest .Net Version: v4.0.30319
					Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1040 work) [Landscape] (Primary)
					Current AHK Desktop Width: 1920
					Current AHK Desktop Height: 1080
					AutoHotkey Path: 
					AHK Version: 1.1.09.04
					Unicode: No
23:32:42:219 | RL |     INFO  | +0     | CheckFile - Checking if C:\HYPERSPIN\RocketLauncher\RocketLauncher.exe exists
23:32:42:220 | RL |     INFO  | +15    | Main - Loading Front End Plugin: "HyperSpin"
23:32:42:220 | RL |     INFO  | +0     | Main - RocketLauncher received "MAME" and "1941"
23:32:42:229 | RL |     INFO  | +0     | Main - Found a "Games Options.ini" file, loading it into memory.
23:32:42:229 | RL |     INFO  | +0     | Main - 1941 is using the default emulator: MAME
23:32:42:229 | RL |     INFO  | +0     | Main - Checking for a [MAME] section in C:\HYPERSPIN\RocketLauncher\Settings\MAME\Emulators.ini
23:32:42:229 | RL |     INFO  | +0     | Main - Checking for a [MAME] section in C:\HYPERSPIN\RocketLauncher\Settings\Global Emulators.ini
23:32:42:229 | RL |     INFO  | +0     | Main - Found [MAME] in C:\HYPERSPIN\RocketLauncher\Settings\Global Emulators.ini
23:32:42:230 | RL |     INFO  | +0     | CheckFile - Checking if C:\HYPERSPIN\RocketLauncher\Modules\MAME\MAME.ahk exists
23:32:42:236 | RL |     INFO  | +16    | Main - CRC Check - CRC matches, this is an official unedited module.
23:32:42:236 | RL |     INFO  | +0     | Main - 1941 will use module: C:\HYPERSPIN\RocketLauncher\Modules\MAME\MAME.ahk
23:32:42:257 | RL |     INFO  | +16    | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
23:32:42:261 | RL |     INFO  | +0     | CheckFile - Checking if C:\HYPERSPIN\Emulators\MAME\mame.exe exists
23:32:42:267 | RL |     INFO  | +15    | Main - INI Keys read
23:32:42:267 | RL |     INFO  | +0     | CheckFile - Checking if C:\HYPERSPIN\RocketLauncher\Module Extensions\7z.exe exists
23:32:42:268 | RL |     INFO  | +0     | CheckFile - Checking if C:\HYPERSPIN\RocketLauncher\Module Extensions\7z.dll exists
23:32:42:271 | RL |     INFO  | +0     | Main - "1941" does not qualify for MultiGame. Only roms with any of these strings in their name are acceptable: (Disc,(Disk,(Cart,(Tape,(Cassette,(Part,(Side
23:32:42:271 | RL |     INFO  | +0     | CheckPaths - Started
23:32:42:271 | RL |     INFO  | +0     | CheckPaths - Found rom: C:\ROMS\MAME\1941.zip
23:32:42:271 | RL |     INFO  | +0     | CheckPaths - Ended
23:32:42:272 | RL |     INFO  | +0     | BuildScript - User Variables:
					;----------------------------------------------------------------------------
					; INJECTED VARIABLES
					;----------------------------------------------------------------------------
					
					#NoTrayIcon
					#InstallKeybdHook
					DetectHiddenWindows, ON
					SetTitleMatchMode, 2
					SendMode, Event
					0 = 10
					pluginPath = C:\HYPERSPIN\RocketLauncher\Plugins
					pluginName = HyperSpin
					pluginExt = .plugin
					contextOnExit = 1
					rlMode = 
					rlTitle = RocketLauncher
					rlVersion = 1.0.1.3
					rlAuthor = djvj
					rlURL = www.rlauncher.com
					langFile = C:\HYPERSPIN\RocketLauncher\Data\Language\Localization.ini
					primMonitor = 1
					frontendPID = 
					frontendPath = C:\HYPERSPIN
					frontendExe = HyperSpin.exe
					frontendExt = exe
					frontendName = HyperSpin
					frontendDrive = C:
					exitEmulatorKey = ~Esc
					restoreFE = false
					exitScriptKey = ~q & ~s
					toggleCursorKey = ~e & ~t
					emuFullPath = C:\HYPERSPIN\Emulators\MAME\mame.exe
					emuPath = C:\HYPERSPIN\Emulators\MAME
					emuName = MAME
					emuExt = exe
					romPath = C:\ROMS\MAME
					romPathFromIni = C:\ROMS\MAME
					romExtension = .zip
					romExtensionOrig = .zip
					romExtensions = zip|7z
					executable = mame.exe
					systemDbName = MAME
					systemName = MAME
					dbPath = 
					dbName = 1941
					dbExt = 
					romName = 1941
					romMapPath = 
					romMappingEnabled = false
					romMappingLaunchMenuEnabled = false
					romMappingFirstMatchingExt = false
					romMappingShowAllRomsInArchive = true
					romMappingNumberOfGamesByScreen = 7
					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
					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 = C:\HYPERSPIN\RocketLauncher\Module Extensions\BlockInput.exe
					errorLevelReporting = false
					lockLaunch = false
					lockLaunchGame = 
					screenRotationAngle = 0
					screenRotationAngleGame = 
					logFile = C:\HYPERSPIN\RocketLauncher\RocketLauncher.log
					logLabel := ["    INFO"," WARNING","   ERROR","  DEBUG1","  DEBUG2"]
					logLevel = 3
					logShowDebugConsole = false
					logIncludeModule = true
					logIncludeFileProperties = true
					logShowCommandWindow = false
					logCommandWindow = false
					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 = 
					vdAddDrive = true
					servoStikEnabled = false
					servoStikExitMode = false
					ledblinkyEnabled = false
					ledblinkyFullPath = 
					ledblinkyProfilePath = C:\HYPERSPIN\RocketLauncher\Profiles\LEDBlinky
					ledblinkyRLProfile = C:\HYPERSPIN\RocketLauncher\Profiles\LEDBlinky\RocketLauncher
					emuIdleShutdown = 0
					launchPasswordHash = UpUpDownDownLeftRightLeftRight
					hideCursor = false
					hideEmu = false
					hideFE = false
					fadeIn = false
					fadeInDuration = 500
					fadeInTransitionAnimation = DefaultAnimateFadeIn
					fadeInDelay = 0
					fadeInExitDelay = 0
					fadeOutExitDelay = 0
					fadeOut = false
					fadeOutExtraScreen = false
					fadeOutDuration = 500
					fadeOutTransitionAnimation = DefaultAnimateFadeOut
					fadeOutDelay = 0
					fadeLyrInterpolation = 7
					fadeMuteEmulator = false
					fadeUseBackgrounds = false
					fadeWidthBaseRes = 1920
					fadeHeightBaseRes = 1080
					fadeLyr1Color = FF000000
					fadeLyr1AlignImage = Stretch and Lose Aspect
					fadeLyr2Pos = Stretch and Lose Aspect
					fadeLyr2X = 0
					fadeLyr2Y = 0
					fadeLyr2W = 
					fadeLyr2H = 
					fadeLyr2Adjust = 1
					fadeLyr2PicPad = 0
					fadeLyr2Prefix = Extra Layer 1 - Console
					fadeLyr3Pos = Center
					fadeLyr3X = 450
					fadeLyr3Y = 450
					fadeLyr3W = 
					fadeLyr3H = 
					fadeLyr3Adjust = 1
					fadeLyr3PicPad = 0
					fadeLyr3Speed = 750
					fadeLyr3Animation = DefaultFadeAnimation
					fadeLyr37zAnimation = DefaultFadeAnimation
					fadeLyr3Type = imageandbar
					fadeLyr3ImgFollow7zProgress = true
					fadeLyr3Repeat = 1
					fadeLyr3BackImageTransparency = 30
					fadeLyr3StaticPos = No Alignment
					fadeLyr3StaticX = 0
					fadeLyr3StaticY = 870|1575
					fadeLyr3StaticW = 
					fadeLyr3StaticH = 
					fadeLyr3StaticAdjust = 1
					fadeLyr3StaticPicPad = 0
					fadeLyr3StaticPrefix = Info Bar
					fadeLyr4Adjust = 1
					fadeLyr4X = 1792|952
					fadeLyr4Y = 891|1596
					fadeLyr4W = 128
					fadeLyr4H = 
					fadeLyr4Pos = No Alignment
					fadeLyr4FPS = 50
					fadeLyr4PicPad = 0
					fadeTranspGifColor = FFFFFF
					fadeBarWindow = Image
					fadeBarWindowX = 
					fadeBarWindowY = 
					fadeBarWindowW = 900
					fadeBarWindowH = 
					fadeBarWindowR = 30
					fadeBarWindowM = 30
					fadeBarWindowHatchStyle = 8
					fadeBar = 7zOnly
					fadeBarNon7zProgressTime = 0
					fadeBarBack = true
					fadeBarBackColor = FF555555
					fadeBarH = 30
					fadeBarR = 10
					fadeBarColor = DD00BFFF
					fadeBarHatchStyle = 8
					fadeBarPercentageText = true
					fadeBarInfoText = true
					fadeBarXOffset = 0
					fadeBarYOffset = 150
					fadeRomInfoDescription = filtered text
					fadeRomInfoSystemName = image
					fadeRomInfoYear = text with label
					fadeRomInfoManufacturer = text with label
					fadeRomInfoGenre = disabled
					fadeRomInfoRating = image
					fadeRomInfoOrder = Description|SystemName|Year|Manufacturer|Genre|Rating
					fadeRomInfoTextPlacement = User Defined
					fadeRomInfoTextMargin = 7
					fadeRomInfoText1Options = w1600|787 h90 x165 y870|1575 cFFE1E1E1 r4 s90 Left Regular
					fadeRomInfoText2Options = w400 x8 y15 cFF555555 r4 s60 Bold
					fadeRomInfoText3Options = w310 x165 y960|1665 cFFE1E1E1 r4 s66 Left Regular
					fadeRomInfoText4Options = w1305|492 h66 x460 y960|1665 cFFE1E1E1 r4 s66 Left Regular
					fadeRomInfoText5Options = cFF555555 r4 s42 Bold
					fadeRomInfoText6Options = h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular
					fadeStats_Number_of_Times_Played = text with label
					fadeStats_Last_Time_Played = text with label
					fadeStats_Average_Time_Played = text with label
					fadeStats_Total_Time_Played = text with label
					fadeStats_System_Total_Played_Time = text with label
					fadeStats_Total_Global_Played_Time = text with label
					fadeStatsInfoOrder = Number_of_Times_Played|Last_Time_Played|Average_Time_Played|Total_Time_Played|System_Total_Played_Time|Total_Global_Played_Time
					fadeStatsInfoTextPlacement = topRight
					fadeStatsInfoTextMargin = 7
					fadeStatsInfoText1Options = cFFB4B4B4 r4 s22 Bold
					fadeStatsInfoText2Options = cFFB4B4B4 r4 s22 Bold
					fadeStatsInfoText3Options = cFFB4B4B4 r4 s22 Bold
					fadeStatsInfoText4Options = cFFB4B4B4 r4 s22 Bold
					fadeStatsInfoText5Options = cFFB4B4B4 r4 s22 Bold
					fadeStatsInfoText6Options = cFFB4B4B4 r4 s22 Bold
					fadeText1X = 0
					fadeText1Y = 0
					fadeText1Options = cFFB4B4B4 r4 s30 Right Bold
					fadeText1 = Loading Game
					fadeText2X = 0
					fadeText2Y = 0
					fadeText2Options = cFFB4B4B4 r4 s30 Right Bold
					fadeText2 = Extraction Complete, Ready
					fadeText3 = Loading Game
					fadeText4 = Loading Complete
					fadeFont = Bebas Neue
					fadeSystemAndRomLayersOnly = false
					fadeExtractionTime = disabled
					fadeExtractionTimeTextX = 0
					fadeExtractionTimeTextY = 0
					fadeExtractionTimeTextOptions = cFF555555 r4 s20 Bold
					fadeInterruptKey = 
					detectFadeErrorEnabled = true
					fadeImgPath = C:\HYPERSPIN\RocketLauncher\Media\Fade
					RLDataPath = C:\HYPERSPIN\RocketLauncher\Data
					RLMediaPath = C:\HYPERSPIN\RocketLauncher\Media
					RLErrSoundPath = C:\HYPERSPIN\RocketLauncher\Media\Sounds\Error
					modulesPath = C:\HYPERSPIN\RocketLauncher\Modules
					moduleFullName = C:\HYPERSPIN\RocketLauncher\Modules\MAME\MAME.ahk
					moduleName = MAME
					modulePath = C:\HYPERSPIN\RocketLauncher\Modules\MAME
					moduleExtension = ahk
					moduleExtensionsPath = C:\HYPERSPIN\RocketLauncher\Module Extensions
					libPath = C:\HYPERSPIN\RocketLauncher\Lib
					7zEnabled = false
					7zPath = C:\HYPERSPIN\RocketLauncher\Module Extensions\7z.exe
					7zDllPath = C:\HYPERSPIN\RocketLauncher\Module Extensions\7z.dll
					7zExtractPath = C:\Users\fab\AppData\Local\Temp\HS
					7zExtractPathOrig = 
					7zAttachSystemName = false
					7zDelTemp = true
					7zSounds = true
					7zFormats = .zip,.rar,.7z,.lzh,.gzip,.tar
					7zFormatsNoP = zip,rar,7z,lzh,gzip,tar
					mgEnabled = false
					mgKey = ~NumpadSub
					mgBackgroundColor = FF000000
					mgSidePadding = 0.2
					mgWidthBaseRes = 1920
					mgHeightBaseRes = 1080
					mgYOffset = 500|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 = C:\HYPERSPIN\RocketLauncher\Module Extensions\HiToText.exe
					pauseSaveStateKeyCodes = 
					pauseLoadStateKeyCodes = 
					keymapperEnabled = false
					keymapperAHKMethod = false
					keymapper = xpadder
					xpadderFullPath = C:\HYPERSPIN\Utilities\Xpadder\xpadder.exe
					joyToKeyFullPath = C:\HYPERSPIN\Utilities\JoyToKey\JoyToKey.exe
					keymapperProfilePath = C:\HYPERSPIN\RocketLauncher\Profiles\xpadder
					keymapperFrontEndProfileName = RocketLauncherUI
					keymapperFrontEndProfile = false
					keymapperRocketLauncherProfileEnabled = false
					joyIDsEnabled = false
					joyIDsPreferredControllersGlobal = 
					joyIDsPreferredControllersSystem = use_global
					joyIDsPreferredControllersOnExit = 
					CustomJoyNamesEnabled = false
					CustomJoyNames = 
					rotateMethod = false
					FEProfile = C:\HYPERSPIN\RocketLauncher\Profiles\xpadder\RocketLauncherUI
					defaultProfile = C:\HYPERSPIN\RocketLauncher\Profiles\xpadder\_Default
					systemProfile = C:\HYPERSPIN\RocketLauncher\Profiles\xpadder\MAME
					xPadderSystemProfile = C:\HYPERSPIN\RocketLauncher\Profiles\xpadder\MAME\_Default
					emuProfile = C:\HYPERSPIN\RocketLauncher\Profiles\xpadder\MAME\MAME
					romProfile = C:\HYPERSPIN\RocketLauncher\Profiles\xpadder\MAME\1941
					RocketLauncherProfile = C:\HYPERSPIN\RocketLauncher\Profiles\xpadder\RocketLauncher
					blankProfile = C:\HYPERSPIN\RocketLauncher\Profiles\xpadder\_Default\blank
					ahkFEProfile = C:\HYPERSPIN\RocketLauncher\Profiles\AHK\RocketLauncherUI
					ahkDefaultProfile = C:\HYPERSPIN\RocketLauncher\Profiles\AHK\_Default
					ahkSystemProfile = C:\HYPERSPIN\RocketLauncher\Profiles\AHK\MAME
					ahkEmuProfile = C:\HYPERSPIN\RocketLauncher\Profiles\AHK\MAME\MAME
					ahkRomProfile = C:\HYPERSPIN\RocketLauncher\Profiles\AHK\MAME\1941
					ahkRocketLauncherProfile = C:\HYPERSPIN\RocketLauncher\Profiles\AHK\RocketLauncher
					bezelEnabled = false
					bezelICEnabled = false
					statisticsEnabled = true
					pressDuration = -1
					emuVolume = 1
					dxwndIni = C:\HYPERSPIN\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini
					dxwndFullPath = C:\HYPERSPIN\RocketLauncher\Module Extensions\dxwnd\dxwnd.exe
					mon1O = 
					pacDrivedllFile = C:\HYPERSPIN\RocketLauncher\Module Extensions\PacDrive32.dll
					userFadeAnimIniFile = C:\HYPERSPIN\RocketLauncher\Lib\User Fade Animations.ini

23:32:42:273 | RL |     INFO  | +0     | BuildScript - Loaded XHotkey Init.ahk scripts
23:32:42:274 | RL |     INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
23:32:42:274 | RL |  WARNING  | +0     | BuildScript - "C:\HYPERSPIN\RocketLauncher\Lib\User Functions Init.ahk" not found
23:32:42:274 | RL |     INFO  | +0     | BuildScript - Validating module
23:32:42:279 | RL |     INFO  | +0     | BuildScript - Validation complete
23:32:42:279 | RL |     INFO  | +0     | BuildScript - Module:
					MEmu = MAME
					MEmuV =  v0.163
					MURL = http://www.mame.net/
					MAuthor = djvj,faahrev,brolly,Tomkun
					MVersion = 2.2.2
					MCRC = 99BD11E0
					iCRC = BCD207F4
					mId = 635746812784197028
					MSystem = "AAE","Aamber Pegasus","Acorn Electron","Amstrad GX4000","APF Imagination Machine","Apple IIGS","Applied Technology MicroBee","Atari 8-bit","Atari 2600","Atari 5200","Atari 7800","Atari Classics","Atari Jaguar","Atari Lynx","Bally Astrocade","Bandai Super Vision 8000","Bandai WonderSwan","Bandai WonderSwan Color","Capcom","Capcom Classics","Capcom Play System","Capcom Play System II","Capcom Play System III","Casio PV-1000","Casio PV-2000","Cave","Coleco ADAM","ColecoVision","Creatronic Mega Duck","Data East Classics","Emerson Arcadia 2001","Entex Adventure Vision","Epoch Game Pocket Computer","Epoch Super Cassette Vision","Exidy Sorcerer","Fairchild Channel F","Funtech Super Acan","GCE Vectrex","Hartung Game Master","HBMAME","Interton VC 4000","JungleTac Sport Vii","Konami Classics","LaserDisc","Magnavox Odyssey 2","MAME","Matra & Hachette Alice","Mattel Aquarius","Mattel Intellivision","Midway Classics","Namco Classics","Namco System 22","NEC PC Engine","NEC PC Engine-CD","NEC SuperGrafx","NEC TurboGrafx-16","NEC TurboGrafx-CD","Nintendo 64","Nintendo Arcade Systems","Nintendo Classics","Nintendo Entertainment System","Nintendo Famicom","Nintendo Famicom Disk System","Nintendo Game Boy","Nintendo Game Boy Advance","Nintendo Game Boy Color","Nintendo Super Famicom","Nintendo Super Game Boy","Nintendo Virtual Boy","PacMAME","Philips CD-i","RCA Studio II","Sega 32X","Sega CD","Sega Classics","Sega Game Gear","Sega Genesis","Sega Master System","Sega Mega Drive","Sega Model 1","Sega SG-1000","Sega ST-V","Sinclair ZX81","SNK Classics","SNK Neo Geo","SNK Neo Geo AES","SNK Neo Geo AES","SNK Neo Geo CD","SNK Neo Geo MVS","SNK Neo Geo Pocket","SNK Neo Geo Pocket Color","Sony PlayStation","Sony PocketStation","Sord M5","Super Nintendo Entertainment System","Taito Classics","Tandy TRS-80 Color Computer","Texas Instruments TI 99-4A","Tiger Game.com","Tomy Tutor","VTech CreatiVision","Watara Supervision"
					;----------------------------------------------------------------------------
					; Notes:
					; This module now includes everything from the legacy MAME and MESS modules, but combined to match the merge of the 2 emulators that occured on version 0.162.
					;
					; Exit fade will only work correctly if you don't have Esc, the default MAME exit key,  as your exit key. If you use Esc, turn off the ExitScreen
					; This module will set your rom paths on the fly via CLI, but you must make sure the RLUI module setting for this module "MAME_BIOS_Path" is correctly set. It defaults to your roms subfolder where MAME.exe is found.
					; This module assumes you have bios zip in your MAME "roms" directory, which might be different than your actual roms directory, for each system you need this module for. All tested systems listed below
					; If MAME has a problem reading the bios zips, try archving them with "no compression"
					; This site can help a ton with details for the various systems supported: http://www.progettoemma.net/mess/index.html
					; You may get a black screen or MAME may close w/o notice if you do not have a bios rom for your system when one is needed.
					; If you use bezel, it is recommended to set the module bezel mode to normal, and go to your MAME.ini file, on your emulator folder, and choose these options: artwork_crop 1, use_backdrops 1, use_overlays 1, use_bezels 0 
					;
					; Command Line Options - http://easyemu.mameworld.info/mameguide/mameguide-options.html
					; High Scores DO NOT SAVE when cheats are enabled!
					; HLSL Documentation: http://mamedev.org/source/docs/hlsl.txt.html
					; If you use MAME for AAE, create a vector.ini in mame's ini subfolder and paste these HLSL settings in there: http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=309968&page=&view=&sb=5&o=&vc=1
					;
					; Following systems require a BIOS zip with their roms inside, placed in the "MAME\Roms\" directory:
					; Amstrad GX4000 - N/A
					; APF Imagination Machine - apfimag (tape games), apfm1000 (cart games)
					; Apple IIGS - apple2gs
					; Atari 800 - a800
					; Atari 5200 - a5200
					; Atari 7800 - a7800
					; Atari Jaguar - jaguar
					; Atari Lynx - lynx
					; Bally Astrocade - astrocde
					; Bandai WonderSwan - N/A
					; Bandai WonderSwan Color - N/A
					; Casio PV-2000 - pv2000
					; Coleco ADAM - adam, adam_ddp, adam_fdc, adam_kb, adam_prn, adam_spi
					; ColecoVision - coleco
					; Creatronic Mega Duck - N/A
					; Emerson Arcadia 2001 - N/A
					; Entex Adventure Vision - advision
					; Epoch Game Pocket Computer - gamepock
					; Epoch Super Cassette Vision - scv
					; Exidy Sorcerer - sorcerer
					; Fairchild Channel F - channelf
					; Funtech Super ACan - supracan
					; GCE Vectrex - vextrex
					; Hartung Game Master - gmaster
					; Interton VC 4000 - vc4000
					; JungleTac Sport Vii - vii
					; Magnavox Odyssey 2 - odyssey2
					; Matra & Hachette Alice - alice32
					; Mattel Aquarius - aquarius
					; Mattel Intellivision - intv ("exec.bin" [8,192 bytes] & "grom.bin" [2,048 bytes])
					; MGT Sam Coupe - samcoupe
					; NEC PC Engine - N/A
					; NEC PC Engine-CD - N/A
					; NEC SuperGrafx - N/A
					; NEC TurboGrafx-16 - N/A
					; NEC TurboGrafx-CD - "Super CD-ROM2 System V3.01 (U).pce" [262,144 bytes] (placed in the roms subfolder in the emuPath)
					; Nintendo 64 - n64
					; Nintendo Entertainment System - N/A
					; Nintendo Famicom - famicom
					; Nintendo Famicom Disk System - famicom
					; Nintendo Game Boy - gameboy
					; Nintendo Game Boy Advance - gba
					; Nintendo Game Boy Color - gbcolor
					; Nintendo Super Famicom - supergb
					; Nintendo Super Game Boy Color - supergb
					; Nintendo Virtual Boy - N/A
					; Philips CD-i - the cdimono1
					; RCA Studio II - studio2
					; Sega 32X - 32x
					; Sega CD - segacd, megacd, megacd2j (megacd2j seems to be more compatible over megacdj)
					; Sega Game Gear - gamegear
					; Sega Genesis - N/A
					; Sega Master System - sms
					; Sega Mega Drive - N/A
					; Sinclair ZX81 - zx81
					; SNK Neo Geo AES - aes
					; SNK Neo Geo CD - neocd
					; SNK Neo Geo Pocket - ngp
					; SNK Neo Geo Pocket Color - ngpc
					; Sony PlayStation - psa, pse, psj, psu
					; Sony PocketStation - pockstat
					; Sord M5 - m5
					; Super Nintendo Entertainment System - snes
					; Tandy TRS-80 Color Computer - coco3
					; Texas Instruments TI 99-4A - ti99_4a
					; Tiger Game.com - gamecom
					; Tomy Tutor - tutor
					; VTech CreatiVision - crvision
					; Watara Supervision - N/A
					;
					; Custom Configuration Files:
					; If you want to use custom configuration files (.cfg files) for some games you will need to store them inside your MAME cfg folder using the following structure:
					; cfg\mame_system_name\database_rom_name\mame_system_name.cfg
					; An example of a game that requires specific settings is ICBM Attack for the Bally Astrocade, in this case special cfg file should be:
					; cfg\astrocde\I.C.B.M. Attack (USA) (Unl)\astrocde.cfg
					;
					; Ini Files:
					; Module will set most settings through command line which will override any settings you might have on your MAME ini files. Everything else will be read from 
					; those. MAME supports a hierarchical ini file structure and will load settings from several ini files following a specific order:
					;- mame.ini
					;- <mymame>.ini (i.e. if MAME was renamed mame060.exe, MAME parses mame060.ini here)
					;- debug.ini (if the debugger is enabled)
					;- <parent>.ini (for clones only, may be called recursively)
					;- <gamename>.ini
					;- vertical.ini (for games with vertical monitor orientation)
					;- horizont.ini (for games with horizontal monitor orientation)
					;- vector.ini (for vector games only)
					;- <driver>.ini (based on the source filename of the driver)
					;
					; The settings in the later ini's override those in the earlier ini's.
					; 
					; It's highly recommended that you set skipchecks to 'Rom Only" for MAME otherwise RocketLauncher won't be able to launch several games due 
					; to the way MAME roms are packaged. This will be even more noticeable for those using merged sets.
					;
					; Bally Astrocade:
					; ICBM requires a soft reset (even on the real hardware) to launch. You can read about it here: http://www.ballyalley.com/ballyalley/articles/Playing_ICBM_Attack_Using_MESS.pdf
					; Other games might require this as well, you can enable this in the module's settings so the machine is reset automatically on launch, otherwise you need to press F3 to start the game.
					; Also ICBM Attack uses different controls then the rest of the games. Make sure you follow the procedure explained above under "Custom Configuration Files" to create such file.
					;
					; GCE Vectrex:
					; Requires a vectrex.lay and a png overlay for each game. These all need to be placed in the MAME\artwork\vectrex folder.
					; You can download all these pngs and the lay file in my ftp folder. You need to use the HyperList XML to match the pngs.
					;
					; Magnavox Odyssey 2:
					; Euro games should use the videopac bios instead of the odyssey2 one or you'll get some timing issues.
					; Use the systemName ini file in the folder with this module for this, example:
					; [Moto-Crash (France)]
					; Bios=videopac
					;
					; Texas Instruments TI 99/4A:
					; This system requires full keyboard emulation to work properly
					; Split cart dumps are not supported since MESS .145 so you'll have to convert them to RPK format or use an earlier version of MESS (and a different module)
					; You can check how to convert split cart dumps to RPK here:
					; http://www.ninerpedia.org/index.php/MESS_multicart_system
					; For floppy games make sure you have a RPK dump of an extended basic rom on your roms folder. It should be named "extended_basic.rpk"
					
					; Bezels:
					; Module settings control whether RocketLauncher or MAME bezels are shown
					; In the bezel normal mode only RocketLauncher Bezels will be show and the MAME use_bezels option will be forced disbaled
					; In the bezel layout mode, RocketLauncher Bezels will be drawn only when you do not have a layout file on your MAME folders for the current game
					;
					; ServoStik:
					; The module will automatically control any connected ServoStiks found on the system.
					; It does this by reading the xml info from MAME. If that XML info has directional info at 4 or less, 4-way mode will be enabled. All others get 8-way mode.
					;
					; Per game controller types:
					; MAME allows you to change the controller type for each game by using slot devices. Slot devices are highly customizable and vary greatly from system to 
					; system so to avoid adding a huge complexity to the module this must be done through the Parameters settings.
					; Slot devices are stored in the MAME ini file you are using, so the best way to find the command line you need to use is to start your game set the slot devices 
					; through the MAME UI (Press tab while in MAME) exit and then open the MAME ini file and search for a section named SLOT DEVICES.
					; This is an example for Atari 2600 for a game using wheel controllers on both joy ports:
					; #
					; # SLOT DEVICES
					; #
					; joyport1     wheel
					; joyport2     wheel
					; The suggested method is to set the desired controllers you want to use by default in the Module Global Settings, in this case under the Atari 2600 tab you would 
					; set Parameters=-joyport1 joy -joyport2 joy
					; And then for specific games do the same under Module Specific Settings for that system, if a game requires the wheel controller you'd set 
					; Parameters=-joyport1 wheel -joyport2 wheel
					;
					; Another option is to set the default values in the MAME ini file and make sure you also set writeconfig to 0.
					; Swapping slot devices wipes out SYSTEM custom configs on the unplugged controllers, so to avoid any customised controls getting erased everytime you change slot devices, 
					; ensure you set your controls in the main MAME config file (MAME.ini), not the system one (ex. Atari 2600.ini).
					;----------------------------------------------------------------------------
					StartModule()
					BezelGUI()
					FadeInStart()
					
					; This object controls how the module reacts to different systems. MAME can play a lot of systems, but needs to know what system you want to run, so this module has to adapt.
					mTypeVar=
						( LTrim
						Aamber Pegasus|pegasus
						Acorn Electron|electron
						Amstrad GX4000|gx4000
						APF Imagination Machine|apfimag
						Apple IIGS|apple2gs
						Atari 8-bit|a800
						Atari 2600|a2600
						Atari 5200|a5200
						Atari 7800|a7800
						Atari Jaguar|jaguar
						Atari Lynx|lynx
						Bally Astrocade|astrocde
						Bandai Super Vision 8000|sv8000
						Bandai WonderSwan|wswan
						Bandai WonderSwan Color|wscolor
						Casio PV-1000|pv1000
						Casio PV-2000|pv2000
						Coleco ADAM|adam
						ColecoVision|coleco
						Creatronic Mega Duck|megaduck
						Emerson Arcadia 2001|arcadia
						Entex Adventure Vision|advision
						Epoch Game Pocket Computer|gamepock
						Epoch Super Cassette Vision|scv
						Exidy Sorcerer|sorcerer
						Fairchild Channel F|channelf
						Funtech Super Acan|supracan
						GCE Vectrex|vectrex
						Hartung Game Master|gmaster
						Interton VC 4000|vc4000
						JungleTac Sport Vii|vii
						Magnavox Odyssey 2|odyssey2
						Matra & Hachette Alice|alice32
						Mattel Aquarius|aquarius
						Mattel Intellivision|intv
						Applied Technology MicroBee|mbeeic
						NEC PC Engine|pce
						NEC PC Engine-CD|pce
						NEC SuperGrafx|sgx
						NEC TurboGrafx-16|tg16
						NEC TurboGrafx-CD|tg16
						Nintendo 64|n64
						Nintendo Entertainment System|nes
						Nintendo Famicom|famicom
						Nintendo Famicom Disk System|fds
						Nintendo Game Boy|gameboy
						Nintendo Game Boy Advance|gba
						Nintendo Game Boy Color|gbcolor
						Nintendo Super Famicom|snes
						Nintendo Super Game Boy|supergb
						Nintendo Virtual Boy|vboy
						Philips CD-i|cdimono1
						RCA Studio II|studio2
						Sega 32X|32x
						Sega CD|segacd
						Sega Game Gear|gamegear
						Sega Genesis|genesis
						Sega Master System|sms
						Sega Mega Drive|megadriv
						Sega SG-1000|sg1000
						Sinclair ZX81|zx81
						SNK Neo Geo AES|aes
						SNK Neo Geo CD|neocdz
						SNK Neo Geo Pocket|ngp
						SNK Neo Geo Pocket Color|ngpc
						Sony PlayStation|psx
						Sony PocketStation|pockstat
						Sord M5|m5
						Super Nintendo Entertainment System|snes
						Tandy TRS-80 Color Computer|coco3
						Texas Instruments TI 99-4A|ti99_4a
						Tiger Game.com|gamecom
						Tomy Tutor|tutor
						VTech CreatiVision|crvision
						Watara Supervision|svision
						)
					mType := Object()
					Loop, Parse, mTypeVar, `n, `r
					{
						obj := {}
						Loop, Parse, A_LoopField, |
							If A_Index = 1
								obj.System := A_LoopField
							Else	; 2
								obj.mameID := A_LoopField
						mType.Insert(obj["System"], obj)
					}
					Log("Module - Finished building the " . MEmu . " object",4)
					; For easier use throughout the module
					mameSystem := mType[systemName].System
					mameID := mType[systemName].mameID
					
					If !mameSystem {
						Log("Module - """ . systemName . """ is not a known console or computer system. Defaulting to MAME's Arcade mode for the remainder of this " . MEmu . " module.",2)
						mameSystem := systemName
						mameID := "MAME"
					}
					
					settingsFile := modulePath . "\" . moduleName . ".ini"
					Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)		; Set fullscreen mode
					legacyMode := IniReadCheck(settingsFile, "Settings|" . systemName . "|" . romName, "LegacyMode","false",,1)
					mameBiosPath := IniReadCheck(settingsFile, "Settings", "MAME_BIOS_Path", emuPath . "\roms",,1)
					Videomode := IniReadCheck(settingsFile, "Settings", "Videomode","d3d",,1)	; Choices are gdi,ddraw,d3d. If left blank, MAME uses d3d by default
					pauseMethod := IniReadCheck(settingsFile, "Settings", "PauseMethod",1,,1)	; set the pause method that works better on your machine (preferred methods 1 and 2) 1 = Win7 and Win8 OK - Problems with Win XP, 2 = preferred method for WinXP - Problems in Win7, 3 and 4 = same as 1 and 2, 5 = only use If you have a direct input version of mame, 6 = suspend mame process method, it could crash mame in some computers
					bilinearFilter := IniReadCheck(settingsFile, "Settings|" . mameSystem, "BilinearFilter","false",,1)
					hlsl := IniReadCheck(settingsFile, "Settings|" . mameSystem . "|" . romName, "HLSL","false",,1)
					glsl := IniReadCheck(settingsFile, "Settings|" . mameSystem . "|" . romName, "GLSL","false",,1)
					bezelMode := IniReadCheck(settingsFile, "Settings|" . systemName . "|" . romName, "BezelMode","layout",,1)	; "layout" or "normal"
					verticalRotationMode := IniReadCheck(settingsFile, "Settings|" . mameSystem . "|" . romName, "VerticalRotationMode","none",,1)
					cheatMode := IniReadCheck(settingsFile, "Settings", "CheatMode","false",,1)
					cheatModeKey := IniReadCheck(settingsFile, "Settings", "CheatModeKey",A_Space,,1)	; user defined key to be held down before launching a mame rom.
					UseSoftwareList := IniReadCheck(settingsFile, mameSystem, "UseSoftwareList","false",,1)
					sysStaticParams := IniReadCheck(settingsFile, mameSystem, "StaticParameters", A_Space,,1)
					sysParams := IniReadCheck(settingsFile, mameSystem, "Parameters", A_Space,,1)
					romParams := IniReadCheck(settingsFile, romName, "Parameters", sysParams,,1)
					mameRomName := IniReadCheck(settingsFile, romName, "MameRomName", A_Space,,1)
					autosave := IniReadCheck(settingsFile, systemName . "|" . romName, "Autosave", "false",,1)
					volume := IniReadCheck(settingsFile, "Settings|" . systemName . "|" . romName, "Volume",,,1)
					Artwork_Crop := IniReadCheck(settingsFile, mameSystem . "|" . romName, "Artwork_Crop", "true",,1)
					Use_Bezels := IniReadCheck(settingsFile, mameSystem . "|" . romName, "Use_Bezels", "false",,1)
					Use_Overlays := IniReadCheck(settingsFile, mameSystem . "|" . romName, "Use_Overlays", "true",,1)
					Use_Backdrops := IniReadCheck(settingsFile, mameSystem . "|" . romName, "Use_Backdrops", "true",,1)
					Use_Cpanels := IniReadCheck(settingsFile, mameSystem . "|" . romName, "Use_Cpanels", "false",,1)
					Use_Marquees := IniReadCheck(settingsFile, mameSystem . "|" . romName, "Use_Marquees", "false",,1)
					inipath := IniReadCheck(settingsFile, mameSystem, "IniPath", "",,1)
					mameBiosPath := GetFullName(mameBiosPath)
					
					;Read settings from system name ini file
					sysSettingsFile := modulePath . "\" . mameSystem . ".ini"
					IfExist, %sysSettingsFile% 
					{
						romParams := IniReadCheck(sysSettingsFile, romName, "Parameters", romParams,,1)
						hlsl := IniReadCheck(sysSettingsFile, romName, "HLSL",hlsl,,1)
						glsl := IniReadCheck(sysSettingsFile, romName, "GLSL",glsl,,1)
						Artwork_Crop := IniReadCheck(sysSettingsFile, romName, "Artwork_Crop", Artwork_Crop,,1)
						Use_Bezels := IniReadCheck(sysSettingsFile, romName, "Use_Bezels", Use_Bezels,,1)
						Use_Overlays := IniReadCheck(sysSettingsFile, romName, "Use_Overlays", Use_Overlays,,1)
						Use_Backdrops := IniReadCheck(sysSettingsFile, romName, "Use_Backdrops", Use_Backdrops,,1)
						Use_Cpanels := IniReadCheck(sysSettingsFile, romName, "Use_Cpanels", Use_Cpanels,,1)
						Use_Marquees := IniReadCheck(sysSettingsFile, romName, "Use_Marquees", Use_Marquees,,1)
					}
					
					artworkCrop := If (Artwork_Crop = "true") ? " -artwork_crop" : " -noartwork_crop"
					useBezels := If (Use_Bezels = "true") ? " -use_bezels" : " -nouse_bezels"
					useOverlays := If (Use_Overlays = "true") ? " -use_overlays" : " -nouse_overlays"
					useBackdrops := If (Use_Backdrops = "true") ? " -use_backdrops" : " -nouse_backdrops"
					useCpanels := If (Use_Cpanels = "true") ? " -use_cpanels" : " -nouse_cpanels"
					useMarquees := If (Use_Marquees = "true") ? " -use_marquees" : " -nouse_marquees"
					
					; Get MAME version from executable, this is needed since some CLI switches are not available in older MAME versions
					exeAtrib := FileGetVersionInfo_AW( EmuPath . "\" . executable, "FileVersion|ProductVersion", "|"  )
					Loop, Parse, exeAtrib, |%A_Tab%, %A_Space%
					 A_Index & 1 ? ( _ := A_LoopField ) : ( %_% := A_LoopField )
					If (ProductVersion)
						StringRight, MAMEVersion, ProductVersion, StrLen(ProductVersion) - 2
					Log("Module - Detected MAME Product Version from '" . EmuPath . "\" . executable . "' is " . MAMEVersion)
					
					If inipath
						inipath := AbsoluteFromRelative(EmuPath, inipath)
					
					If (verticalRotationMode = "none")
						verticalRotationMode := ""
					
					hideEmuObj := Object(dialogOpen . " ahk_class ConsoleWindowClass",0,"ahk_class MAMEDebugWindow",0,"ahk_class MAME",1)	;Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later
					
					; Process mame's ListXML for certain features
					If (bezelEnabled = "true" || servoStikEnabled = "auto" || verticalRotationMode) {
						ListXMLObject := Object()
						ListXMLObject := ListXMLInfo(romName)
						If (bezelEnabled = "true") {
							If (bezelMode = "layout"){
								BezelStart("layout",ListXMLObject["Parent"].Value,ListXMLObject["Angle"].Value,romName)
							} Else { ;bezel mode = normal
								useBezels := " -nouse_bezels"   ; force disabling MAME built-in bezels
								BezelStart(,,ListXMLObject["Angle"].Value)
							}
						}
						If (servoStikEnabled = "auto") {
							ServoStik(If ListXMLObject["Ways"].Value <= 4 ? 4 : 8)	; If "ways" in the xml is set to 4 or less, the servo will go into 4-way mode, else 8-way mode will be enabled
						}
						If (verticalRotationMode && ListXMLObject["Angle"].Value) {
							If (verticalRotationMode = "original")
								verticalRotationMode := " -norotate"
							Else If (verticalRotationMode = "right")
								verticalRotationMode := " -ror"
							Else If (verticalRotationMode = "left")
								verticalRotationMode := " -rol"
							Else
								verticalRotationMode := ""
						}
						Else
							verticalRotationMode := ""
					}
					
					7z(romPath, romName, romExtension, 7zExtractPath)
					
					winstate := If (Fullscreen = "true") ? "Hide UseErrorLevel" : "UseErrorLevel"
					fullscreen := If (Fullscreen = "true") ? " -nowindow" : " -window"
					If (Videomode = "opengl")
					{
						hlsl := " -nohlsl_enable"
						If (MAMEVersion > 159)
							glsl := If glsl = "true" ? " -gl_glsl" : (If glsl = "ini" ? "" : " -nogl_glsl")
						Else
							glsl := ""
					}
					Else
					{
						hlsl := If hlsl = "true" ? " -hlsl_enable" : (If hlsl = "ini" ? "" : " -nohlsl_enable")
						If (MAMEVersion > 159)
							glsl := If Videomode = "ini" ? "" : " -nogl_glsl"
						Else
							glsl := ""
							
						If (Videomode = "ini")
							Videomode := ""
					}
					videomode := If (Videomode != "" ) ? " -video " . videomode : ""
					param1 := " -cart """ . romPath . "\" . romName . romExtension . """"	; default param1 used for launching most systems.
					autosave := If autosave = "true"  ? " -autosave" : ""
					volume := If volume != ""  ? " -volume " . volume : ""
					inipath := If inipath != "" ? " -inipath """ . inipath . """" : ""
					
					If romExtension = .txt	; This can be applied to all systems
						param1:=
					
					If mameID = apfimag	; APF Imagination Machine
						If romExtension != .tap
							mameID = apfm1000	; cart games for APF Imagination Machine require a different bios to be loaded
					
					If UseSoftwareList != true
					{	; Now that we know the system we are loading, determine if we use an ini assocated with that system for custom game configs a user might need. Then load the configs associated to that game.
						If mameID in ti99_4a,aes,apple2gs,electron,mbeeic,odyssey2,astrocde	; these systems will use an ini to store game specific settings
						{	mameSysINI := CheckFileMAME(modulePath . "\" . mameSystem . ".ini")	; create the ini if it does not exist
							If mameID = ti99_4a	; Texas Instruments TI 99-4A
							{	mainCart := IniReadCheck(mameSysINI, romName, "Main_Cart",A_Space,,1)
								basicCart := IniReadCheck(mameSysINI, romName, "Basic_Cart","extended_basic.rpk",,1)	; user can specify a rom specific cart instead of the default basic one
								expansionLocation := IniReadCheck(mameSysINI, romName, "Expansion_Location","extended_basic.rpk",,1)
								; Now set the parameters to send to MAME
								If romExtension = .dsk	; Expansion Disk
									; If using the mainCart , send expansionLocation to MAME. This will require DirectInput to be enabled on the MAME build! Else we are loading a Disk game
									param1 := " -gromport multi -cart1", param2:=" """ . romPath . "\" . (If mainCart ? (mainCart):(basicCart)) . """", param3:=" -peb:slot2 32kmem -peb:slot3 speech -peb:slot6 tirs232 -peb:slot8 hfdc", param4:=" -flop1", param5:=" """ . romPath . "\" . romName . romExtension . """"
								Else If romExtension = .rpk	; Cart Game (RPK Format)
									param1 := " -gromport single -cart1", param2:=" """ . romPath . "\" . romName . romExtension . """", param3:=" -peb:slot3 speech" ;-cart will also work here
								param6 := " -ui_active" ;Enable partial keyboard mode at startup
							} Else If mameID = aes	; SNK Neo Geo AES
							{	biosRegion := IniReadCheck(mameSysINI, romName, "BIOS_Region","asia",,1)
								param1 := " -bios " . biosRegion	; can also be japan, but the asian one has english menus for most games
								param2 := " -cart " . romName
							}Else if mameID = apple2gs	; Apple IIGS
							{	externalOS := IniReadCheck(mameSysINI, romName, "External_OS","false",,1)
								2gsSystemFile := "System6.2mg"	;For games without OS included, always force this name and error out if not found
								multipartTable := CreateRomTable(multipartTable)
					
								If externalOS = true
								{	CheckFile(romPath . "\" . 2gsSystemFile)
									param1 := " -flop3", param2:=" """ . romPath . "\" . 2gsSystemFile . """", param3:=" -flop4", param4:=" """ . romPath . "\" . romName . romExtension . """"
								}Else{
									param1 := " -flop3", param2:=" """ . romPath . "\" . romName . romExtension . """"
									If (multipartTable.MaxIndex() > 1)
										param3:=" -flop4", param4 := " """ . multipartTable[2,1] . """"
								}
								param5 := " -ui_active" ;Enable partial keyboard mode at startup
							}Else If mameID = electron ; Acorn Electron
								{ AutoBootDelay := IniReadCheck(mameSysINI, "Settings", "AutoBootDelay","2",,1)	; Read delay from config.
								AutoBootDelay := " -autoboot_delay " . AutoBootDelay
								If romExtension = .bin
									mediaDeviceType := "cart"
								Else	; any other format
									mediaDeviceType := "cass"
									param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""chain""""""""""""\n""" . AutoBootDelay . ""
							}Else If mameID = mbeeic ; Applied Technology MicroBee
							{	microbeeModel := IniReadCheck(mameSysINI, romName, "MicroBee_Model","mbeeic",,1)
								If microbeeModel not in mbee,mbeeic,mbeepc,mbeepc85,mbee56
									ScriptError("This is not a known MicroBee model value: " . microbeeModel)
								Else If (microbeeModel != "mbeeic")
									mameID := microbeeModel
								If romExtension in .mwb,.com,.bee
									mediaDeviceType := "quik1"
								Else If romExtension in .wav,.tap
									mediaDeviceType := "cass"
								Else If romExtension in .rom
									mediaDeviceType := "cart"
								Else If romExtension in .dsk
									mediaDeviceType := "flop1"
								Else	; .bin format
									mediaDeviceType := "quik2"
								param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """"
							}Else if mameID = odyssey2	; Magnavox Odyssey 2
							{	param2 := " -ui_active" ;Enable partial keyboard mode at startup
							}Else if mameID = astrocde ; Bally Astrocade
							{
								BlueRAMBasicRom := IniReadCheck(mameSysINI, "Settings", "BlueRAMBasicRom","Blue RAM Basic v1.1 (USA).bin",,1)	; Blue RAM Basic rom
								RequiresReset := IniReadCheck(mameSysINI, romname, "RequiresReset","false",,1)	; Check if game requires a reset
					
								BlueRAMBasicRomPath := romPath . "\" . BlueRAMBasicRom
								If (romExtension = .script) {
									;Will require blue ram basic
									If !FileExist(BlueRAMBasicRomPath) {
										;Blue RAM Basic games might be in their own sub-folders since they have several files, so let's try to find the Blue RAM cart in the parent folder as well
										SplitPath,romPath,,romBasePath
										BlueRAMBasicRomPath := CheckFile(romBasePath . "\" . BlueRAMBasicRom, "Couldn't find " . BlueRAMBasicRom . " on any of these paths:" . romBasePath . "|" . romPath)
									}
					
									scriptFile := romPath . "\" . romName . romExtension
									param1 := " -cart """ . BlueRAMBasicRomPath . """"
					
									;Replace rompath variable in script
									FileRead, scriptData, %scriptFile%
									StringReplace, scriptData, scriptData, {romPath}, %romPath%, all
					
									;Create cmd file to send to MESS
									FileDelete, %romPath% . "\" . %romName% . ".cmd"
									FileAppend, %scriptData%, %romPath%\%romName%.cmd
									param2 := " -exp blue_ram_16k -debug -debugscript """ . romPath . "\" . romName . ".cmd"""
									
									closeDebugWindow := "true"
								}
							}
					
							;Use a different bios if needed (This must be done after the above if conditions since the mameID will change)
							iniBios := IniReadCheck(mameSysINI, romName, "Bios",mameID,,1) ; for all games, we use the default bios. Some games might require different bios like Odyssey2's Jopac games use the videopac bios instead, which should be defined in the ini
							If (iniBios != "")
								mameID := iniBios	; need to change the bios name for some games
						}
					
						; These systems don't use an ini, but do require parameters to be changed from the default method of launching MAME
						If (mameID = "neocdz" || mameID = "cdimono1" || mameID = "segacd" || mameID = "psx" || (mameID = "tg16" && mameSystem = "NEC TurboGrafx-CD") || (mameID = "pce" && mameSystem = "NEC PC Engine-CD"))	; SNK Neo Geo CD, Philips CD-i, Sega CD, Sony PlayStation, NEC PC Engine-CD or NEC TurboGrafx-CD
						{	If romExtension not in .chd,.cue
								ScriptError("MAME only supports " . mameSystem . " games in chd and cue format. It does not support:`n" . romExtension)
							If (mameSystem = "NEC TurboGrafx-CD") {		; NEC TurboGrafx-CD needs an additional bios mounted as a cart to run
								; tgcdBios := CheckFile(emuPath . "\roms\CD-ROM System V2.01 (U).pce")	; older bios that doesn't seem to work with many games
								tgcdBios := CheckFile(emuPath . "\roms\Super CD-ROM2 System V3.01 (U).pce")
								param2 := " -cart " . """" . tgcdBios . """"
							} Else If (mameSystem = "NEC PC Engine-CD") {		; NEC PC Engine-CD needs an additional bios mounted as a cart to run
								pcecdBios := CheckFile(emuPath . "\roms\Super CD-ROM2 System V3.0 (J).pce")
								param2 := " -cart " . """" . pcecdBios . """"
							} Else If (mameID = "psx") {		; Sony PlayStation
								mameID = psu	; changing mameID sent to MAME to use the USA bios
								; SelectMemCard()	; future function to swap around memcards
								; Usage: mc1 "J:\MAME\software\psu\card1.mc" 
							} If (mameSystem = "Sega CD") {	; 
								If InStr(romName,"(Jap")	; Mega CD Japanese v2
									mameID = megacd2j
								Else If InStr(romName,"(Euro")	; Mega CD European (PAL)
									mameID = megacd
							}
							param1 := " -cdrm """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = gamecom	; Tiger Game.com
						{	If romExtension != .txt
								param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = genesis	; Sega Genesis
						{	If (InStr(romName, "(Europe") || InStr(romName, "(PAL"))	; if rom is from europe, tell MAME to boot a Mega Drive instead
								mameID = megadriv
						}Else If mameID = megadriv	; Sega Mega Drive
						{	If (InStr(romName, "(USA") || InStr(romName, "(NTSC"))	; if rom is from America, tell MAME to boot a Genesis instead
								mameID = genesis
						}Else If mameID = vii ; JungleTac Sport Vii
						{   If romName = Built-In Games (China)	;  Has some built-in games, gotta launch just BIOS for it.
								param1:=
						}Else If mameID = alice32 ; Matra & Hachette Alice
						{   If romExtension != .txt
								param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = pockstat	; Sony PocketStation
						{	If romExtension != .gme
								param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"	
						}Else If mameID = coco3 ; Tandy TRS-80 Color Computer
						{   If romExtension != .txt
								param1 := " -cart """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = zx81 ; Sinclair ZX81
						{   If romExtension != .txt
								param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = sorcerer	; Exidy Sorcerer
						{	If romExtension = .snp   ; Snapshot file
								param1 := " -dump """ . romPath . "\" . romName . romExtension . """"
							Else If romExtension = .bin
								param1 := " -quik """ . romPath . "\" . romName . romExtension . """"
						}Else If (mameID = "a800" || mameID = "fds" || mameID = "samcoupe")	; Atari 8-bit, Nintendo Famicom Disk System, and MGT Sam Coupe
						{	If romExtension != .txt
								param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """"
						}Else If mameID = vectrex	; GCE Vectrex
						{	If romName = Mine Storm (World)	; MAME dumps an error if you try to launch Mine Storm using a rom instead of just booting vectrex w/o a game in it (Mine Storm is built into vectrex)
								param1:=
						}Else If mameID = apfm1000	; APF Imagination Machine/APF M1000
						{	If romName = Rocket Patrol (USA)	; Rocket Patrol is built into the APF M1000 ROM.
								param1:=
						}Else If mameID = adam		; Coleco ADAM
							param1 := (If romExtension = ".ddp" ? " -cass1" : " -floppydisk") . " """ . romPath . "\" . romName . romExtension . """"	;  Decide if disk or ddp game
						Else If mameID = pegasus	; Aamber Pegasus
						{   If romExtension != .txt
								param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """"
						}
					}Else{	; Use Software List
						hashname := mameID
						param1 := " " . romName ; param1 used for launching from software lists
					
						If mameID = aes	; SNK Neo Geo AES
						{	hashname := "neogeo"
							biosRegion := IniReadCheck(mameSysINI, romName, "BIOS_Region","asia",,1)
							param2 := " -bios " . biosRegion	; can also be japan, but the asian one has english menus for most games
						}
						CheckFile(emuPath . "\hash\" . hashname . ".xml","Could not find a software list for the system " . mameID) ;Check if software list for selected system exists
					}
					
					If mameID = vectrex	; GCE Vectrex
						param2 := " -view "  . (If (FileExist(emuPath . "\artwork\Vectrex\" . romName . ".png"))?("""" . romName . """"):"standard")	; need overlays extracted in the artwork\vectres folder. PNGs must match romName
					
					sysStaticParams := If sysStaticParams != ""  ? A_Space . sysStaticParams : "" ; tacking on a space in case user forgot to add one
					romParams := If romParams != ""  ? A_Space . romParams : "" ; tacking on a space in case user forgot to add one
					
					StringReplace,mameRomPaths,romPathFromIni,|,`"`;`",1	; replace all instances of | to ; in the Rom_Path from RL's Emulators.ini so MAME knows where to find your roms
					mameRomPaths := " -rompath """ .  (If mameRomName ? romPath : mameRomPaths) . (If mameBiosPath ? ";" . mameBiosPath : "") . """"	; If using an alt rom, only supply mame with the path to that rom so it doesn't try to use the original rom. If a bios path was supplied, add it into the rom paths sent to MAME
					
					If InStr(romParams,"-rompath")
						ScriptError("""-rompath"" is defined as a parameter for " . romName . ". The MAME module fills this automatically so please remove this from Params in the module's settings.")
					If InStr(sysStaticParams,"-rompath")
						ScriptError("""-rompath"" is defined as a parameter for " . mameSystem . ". The MAME module fills this automatically so please remove this from Params in the module's settings.")
					
					If mameRomName {
						FileMove, %romPath%\%romName%%romExtension%, %romPath%\%mameRomName%%romExtension%	; rename rom to match what mame needs
						originalRomName := romName	; store romName from database so we know what to rename it back to later
						romName := mameRomName
						If ErrorLevel
							ScriptError("There was a problem renaming " . romName . "  to " . mameRomName . " in " . romPath . ". Please check you have write permission to this folder/file and you don't already have a file named """ . mameRomName . """ in your rom folder.",8)
						Else	; if rename was successful, set var so we know to move it back later
							fileRenamed = 1
					}
					
					; use a custom cfg file if it exists and append it to param1
					IfExist, % emuPath . "\cfg\" . mameID . "\" . dbName
						param1 := " -cfg_directory " . """" . emuPath . "\cfg\" . mameID . "\" . dbName . """" . param1
					
					If bilinearFilter = true
						bilinearEnabled := " -filter"
					Else
						bilinearEnabled := " -nofilter"
					
					If cheatMode = true
					{	If (!FileExist(emuPath . "\cheat.zip") && !FileExist(emuPath . "\cheat.7z"))
							ScriptError("You have cheats enabled for " . MEmu . " but could not locate a ""cheat.zip"" or ""cheat.7z"" in " . emuPath)
						Else
							Log("Module - Cheat file found in " . emuPath,4)
						If cheatModeKey	; if user wants to use a key to enable CheatMode
							cheatEnabled := If XHotkeyAllKeysPressed(cheatModeKey) ? " -cheat" : ""	; only enables cheatMode when key is held down on launch
						Else	; no cheat mode key defined
							cheatEnabled := " -cheat"
					}
					
					If (RequiresReset = "true")
					{
						; Generate a lua script to send a system soft reset
						ScriptFileName := GenerateSoftResetScript()
						bootscript := " -script """ . ScriptFileName . """ -autoboot_delay 1"
					}
					
					HideEmuStart()
					
					If legacyMode = true
					{	Log("Module - Running MAME in legacy Mode")
						errLvl := Run("""" . executable . """ " . (If mameID = "MAME" ? romName : mameID . param1 . param2 . param3 . param4 . param5 . param6) . fullscreen . cheatEnabled . volume . mameRomPaths . sysStaticParams . romParams, emuPath, winstate)
					} Else {
						Log("Module - Running MAME in non-legacy mode")
						errLvl := Run("""" . executable . """ " . (If mameID = "MAME" ? romName : mameID . param1 . param2 . param3 . param4 . param5 . param6) . mameRomPaths . sysStaticParams . romParams . fullscreen . hlsl . glsl . cheatEnabled . volume . inipath . verticalRotationMode . videomode . artworkCrop . useBezels . useOverlays . useBackdrops . useCpanels . useMarquees . autosave . bootscript . bilinearEnabled . " -skip_gameinfo", emuPath, winstate)
					}
					
					If errLvl {
						If (errLvl = 1)
							Error = Failed Validity
						Else If(errLvl = 2)
							Error = Missing Files
						Else If(errLvl = 3)
							Error = Fatal Error
						Else If(errLvl = 4)
							Error = Device Error
						Else If(errLvl = 5)
							Error = Game Does Not Exist
						Else If(errLvl = 6)
							Error = Invalid Config
						Else If errLvl in 7,8,9
							Error = Identification Error
						Else
							Error = MAME Error
						Log("MAME Error - " . Error,3)
					}
					
					WinWait("ahk_class MAME")
					WinWaitActive("ahk_class MAME")
					
					;Close the debugger window if exists
					If (closeDebugWindow = "true") {
						WinWait("ahk_class MAMEDebugWindow",,2)
						WinClose("ahk_class MAMEDebugWindow")
					}
					
					BezelDraw()
					HideEmuEnd()
					FadeInExit()
					Process("WaitClose", executable)
					7zCleanUp()
					BezelExit()
					
					If fileRenamed {	; rename file back to alternate name for next launch
						FileMove, %romPath%\%romName%%romExtension%, %romPath%\%originalRomName%%romExtension%
						If ErrorLevel	; if rename was successful, set var so we know to move it back later
							ScriptError("There was a problem renaming " . romName . " back to " . originalRomName)
					}
					
					FadeOutExit()
					ExitModule()
					
					
					; This will simply create a new blank ini if one does not exist
					CheckFileMAME(file){
						IfNotExist, %file%
							FileAppend,, %file%
						Return file
					}
					
					ListXMLInfo(rom){ ; returns MAME info about parent rom, orientation angle, resolution
						Global emuFullPath, emuPath
						ListXMLObject := Object()
						listXMLVarLog :=
						RunWait, % comspec . " /c " . """" . emuFullPath . """" . " -listxml " . rom . " > tempBezel.txt", %emuPath%, Hide
						Fileread, ListxmlContents, %emuPath%\tempBezel.txt
						RegExMatch(ListxmlContents, "s)<game.*name=" . """" . rom . """" . ".*" . "cloneof=" . """" . "[^""""]*", parent)
						RegExMatch(parent,"cloneof=" . """" . ".*", parent)
						RegExMatch(parent,"""" . ".*", parent)
						StringTrimLeft, parent, parent, 1
						RegExMatch(ListxmlContents, "s)<display.*rotate=" . """" . "[0-9]+" . """", angle)
						RegExMatch(angle,"[0-9]+", angle, "-6")
						RegExMatch(ListxmlContents, "s)<display.*width=" . """" . "[0-9]+" . """", width)
						RegExMatch(width,"[0-9]+", width, "-6")
						RegExMatch(ListxmlContents, "s)<display.*height=" . """" . "[0-9]+" . """", Height)
						RegExMatch(Height,"[0-9]+", Height, "-6")
						RegExMatch(ListxmlContents, "s)<control.*ways=" . """" . "[0-9]+" . """", Ways)
						RegExMatch(Ways,"[0-9]+", Ways, "-6")
						logVars := "Parent|Angle|Height|Width|Ways"
						Loop, Parse, logVars, |
						{
							currentobj:={}
							currentobj.Label := A_Loopfield
							currentobj.Value := %A_Loopfield%
							ListXMLObject.Insert(currentobj["Label"], currentobj)
							listXMLLog .= "`r`n`t`t`t`t`t" . currentobj["Label"] . " = " . currentobj["Value"]
						}
						Log("Module - MAME ListXML values: " . listXMLLog,5)
						If (ListXMLObject["Height"].Value > ListXMLObject["Width"].Value) {
							ListXMLObject["Angle"].Value := true
							Log("Module - This game's height is greater than its width, forcing vertical mode",5)
						}
						FileDelete, %emuPath%\tempBezel.txt
						Return ListXMLObject	
					}
					
					GenerateSoftResetScript(){	; Generates a lua script to send a soft reset to MAME
						Global emuPath
					
						ScriptFileName := emuPath . "\soft_reset.lua"
						FileDelete, %ScriptFileName%
						FileAppend,
						(
						local function reset_machine()
						  if resetcounter == nil then
							manager:machine():soft_reset();  
							resetcounter = 1;
						  end
						end
						if resetcounter == nil then
						  emu.wait(1);
						  reset_machine();
						end
						), %ScriptFileName%
					
						Return, ScriptFileName
					}
					
					BezelLabel:
						WinSet, Transparent, 0, ahk_class ConsoleWindowClass
					Return
					
					HaltEmu:
						If pauseMethod = 1
						{	disableSuspendEmu = true
							disableRestoreEmu = true
							PostMessage,0x211, 1, , , ahk_class MAME
						} Else If pauseMethod = 2
						{	disableSuspendEmu = true
							PostMessage,0x211, 1, , , ahk_class MAME
						} Else If pauseMethod = 3
						{	disableSuspendEmu = true
							disableRestoreEmu = true
							PostMessage,% 0x0400+6, 1, , , ahk_class MAME
						} Else If pauseMethod = 4
						{	disableSuspendEmu = true
							PostMessage,% 0x0400+6, 1, , , ahk_class MAME
						} Else If pauseMethod = 5
						{	disableSuspendEmu = true
							Send, {P down}
							Sleep, 1000
							Send, {P up} 
						}
					Return
					RestoreEmu:
						If pauseMethod = 1
						{	PostMessage,0x212, 1, , , ahk_class MAME
							WinActivate, ahk_class MAME
						} Else If pauseMethod = 2
						{	PostMessage,0x212, 1, , , ahk_class MAME
							WinActivate, ahk_class MAME
						} Else If pauseMethod = 3
						{	PostMessage,% 0x0400+6, 0, , , ahk_class MAME
							WinActivate, ahk_class MAME
						} Else If pauseMethod = 4
						{	PostMessage,% 0x0400+6, 0, , , ahk_class MAME
							WinActivate, ahk_class MAME
						} Else If pauseMethod = 5
						{	disableSuspendEmu = true
							Send, {P down}
							Sleep, 1000
							Send, {P up} 
							WinActivate, ahk_class MAME
						} Else If pauseMethod = 6
							WinActivate, ahk_class MAME
					Return
					
					CloseProcess:
						FadeOutStart()
						WinClose("ahk_class MAME")
					Return

23:32:42:292 | RL |     INFO  | +16    | BuildScript - Loaded Multi-Player scripts
23:32:42:294 | RL |     INFO  | +0     | BuildScript - Loaded Statistics.ahk script
23:32:42:294 | RL |  WARNING  | +0     | BuildScript - "C:\HYPERSPIN\RocketLauncher\Lib\User Functions.ahk" not found
23:32:42:294 | RL |     INFO  | +0     | BuildScript - Finished injecting functions into module
23:32:42:296 | RL |     INFO  | +0     | Main - Module is built
23:32:42:296 | RL |     INFO  | +0     | CheckFile - Checking if C:\HYPERSPIN\RocketLauncher\AutoHotkey.dll exists
23:32:42:297 | RL |     INFO  | +0     | Main - Running module
23:32:42:444 | MD |     INFO  | +N/A   | Module initialized
23:32:42:474 | MD |     INFO  | +31    | StartModule - Started
23:32:42:474 | MD |     INFO  | +0     | StartModule - MEmu: MAME
					MEmuV: v0.163
					MURL: http://www.mame.net/
					MAuthor: djvj,faahrev,brolly,Tomkun
					MVersion: 2.2.2
					MCRC: 99BD11E0
					iCRC: BCD207F4
					MID: 
					MSystem: "AAE","Aamber Pegasus","Acorn Electron","Amstrad GX4000","APF Imagination Machine","Apple IIGS","Applied Technology MicroBee","Atari 8-bit","Atari 2600","Atari 5200","Atari 7800","Atari Classics","Atari Jaguar","Atari Lynx","Bally Astrocade","Bandai Super Vision 8000","Bandai WonderSwan","Bandai WonderSwan Color","Capcom","Capcom Classics","Capcom Play System","Capcom Play System II","Capcom Play System III","Casio PV-1000","Casio PV-2000","Cave","Coleco ADAM","ColecoVision","Creatronic Mega Duck","Data East Classics","Emerson Arcadia 2001","Entex Adventure Vision","Epoch Game Pocket Computer","Epoch Super Cassette Vision","Exidy Sorcerer","Fairchild Channel F","Funtech Super Acan","GCE Vectrex","Hartung Game Master","HBMAME","Interton VC 4000","JungleTac Sport Vii","Konami Classics","LaserDisc","Magnavox Odyssey 2","MAME","Matra & Hachette Alice","Mattel Aquarius","Mattel Intellivision","Midway Classics","Namco Classics","Namco System 22","NEC PC Engine","NEC PC Engine-CD","NEC SuperGrafx","NEC TurboGrafx-16","NEC TurboGrafx-CD","Nintendo 64","Nintendo Arcade Systems","Nintendo Classics","Nintendo Entertainment System","Nintendo Famicom","Nintendo Famicom Disk System","Nintendo Game Boy","Nintendo Game Boy Advance","Nintendo Game Boy Color","Nintendo Super Famicom","Nintendo Super Game Boy","Nintendo Virtual Boy","PacMAME","Philips CD-i","RCA Studio II","Sega 32X","Sega CD","Sega Classics","Sega Game Gear","Sega Genesis","Sega Master System","Sega Mega Drive","Sega Model 1","Sega SG-1000","Sega ST-V","Sinclair ZX81","SNK Classics","SNK Neo Geo","SNK Neo Geo AES","SNK Neo Geo AES","SNK Neo Geo CD","SNK Neo Geo MVS","SNK Neo Geo Pocket","SNK Neo Geo Pocket Color","Sony PlayStation","Sony PocketStation","Sord M5","Super Nintendo Entertainment System","Taito Classics","Tandy TRS-80 Color Computer","Texas Instruments TI 99-4A","Tiger Game.com","Tomy Tutor","VTech CreatiVision","Watara Supervision"
23:32:42:474 | MD |     INFO  | +0     | StartModule - You have a supported System Name for this module: "MAME"
23:32:42:477 | MD |     INFO  | +0     | PluginInit - Started
23:32:42:477 | MD |     INFO  | +0     | CheckFile - Checking if C:\HYPERSPIN\Databases\MAME\MAME.xml exists
23:32:42:636 | MD |     INFO  | +156   | PluginInit - Ended
23:32:42:639 | MD |     INFO  | +0     | StartModule - Ended
23:32:42:661 | MD |  WARNING  | +31    | Module - "MAME" is not a known console or computer system. Defaulting to MAME's Arcade mode for the remainder of this MAME module.
23:32:42:661 | MD |     INFO  | +0     | Module Setting - [Settings] - Fullscreen: true
23:32:42:662 | MD |     INFO  | +0     | Module Setting - [Settings] - LegacyMode: false
23:32:42:662 | MD |     INFO  | +0     | Module Setting - [MAME] - LegacyMode: false
23:32:42:662 | MD |     INFO  | +0     | Module Setting - [1941] - LegacyMode: false
23:32:42:662 | MD |     INFO  | +0     | Module Setting - [Settings] - MAME_BIOS_Path: C:\HYPERSPIN\Emulators\MAME\roms
23:32:42:662 | MD |     INFO  | +0     | Module Setting - [Settings] - Videomode: d3d
23:32:42:663 | MD |     INFO  | +0     | Module Setting - [Settings] - PauseMethod: 1
23:32:42:663 | MD |     INFO  | +0     | Module Setting - [Settings] - BilinearFilter: false
23:32:42:663 | MD |     INFO  | +0     | Module Setting - [MAME] - BilinearFilter: false
23:32:42:663 | MD |     INFO  | +0     | Module Setting - [Settings] - HLSL: false
23:32:42:663 | MD |     INFO  | +0     | Module Setting - [MAME] - HLSL: false
23:32:42:664 | MD |     INFO  | +0     | Module Setting - [1941] - HLSL: false
23:32:42:664 | MD |     INFO  | +0     | Module Setting - [Settings] - GLSL: false
23:32:42:664 | MD |     INFO  | +0     | Module Setting - [MAME] - GLSL: false
23:32:42:664 | MD |     INFO  | +0     | Module Setting - [1941] - GLSL: false
23:32:42:664 | MD |     INFO  | +0     | Module Setting - [Settings] - BezelMode: layout
23:32:42:665 | MD |     INFO  | +0     | Module Setting - [MAME] - BezelMode: layout
23:32:42:665 | MD |     INFO  | +0     | Module Setting - [1941] - BezelMode: layout
23:32:42:665 | MD |     INFO  | +0     | Module Setting - [Settings] - VerticalRotationMode: none
23:32:42:665 | MD |     INFO  | +0     | Module Setting - [MAME] - VerticalRotationMode: none
23:32:42:665 | MD |     INFO  | +0     | Module Setting - [1941] - VerticalRotationMode: none
23:32:42:666 | MD |     INFO  | +0     | Module Setting - [Settings] - CheatMode: false
23:32:42:666 | MD |     INFO  | +0     | Module Setting - [Settings] - CheatModeKey: 
23:32:42:666 | MD |     INFO  | +0     | Module Setting - [MAME] - UseSoftwareList: false
23:32:42:666 | MD |     INFO  | +0     | Module Setting - [MAME] - StaticParameters: 
23:32:42:667 | MD |     INFO  | +0     | Module Setting - [MAME] - Parameters: 
23:32:42:667 | MD |     INFO  | +0     | Module Setting - [1941] - Parameters: 
23:32:42:667 | MD |     INFO  | +0     | Module Setting - [1941] - MameRomName: 
23:32:42:667 | MD |     INFO  | +0     | Module Setting - [MAME] - Autosave: false
23:32:42:667 | MD |     INFO  | +0     | Module Setting - [1941] - Autosave: false
23:32:42:668 | MD |     INFO  | +0     | Module Setting - [Settings] - Volume: 
23:32:42:668 | MD |     INFO  | +0     | Module Setting - [MAME] - Volume: 
23:32:42:668 | MD |     INFO  | +0     | Module Setting - [1941] - Volume: 
23:32:42:668 | MD |     INFO  | +0     | Module Setting - [MAME] - Artwork_Crop: true
23:32:42:669 | MD |     INFO  | +0     | Module Setting - [1941] - Artwork_Crop: true
23:32:42:669 | MD |     INFO  | +0     | Module Setting - [MAME] - Use_Bezels: false
23:32:42:669 | MD |     INFO  | +0     | Module Setting - [1941] - Use_Bezels: false
23:32:42:669 | MD |     INFO  | +0     | Module Setting - [MAME] - Use_Overlays: true
23:32:42:669 | MD |     INFO  | +0     | Module Setting - [1941] - Use_Overlays: true
23:32:42:670 | MD |     INFO  | +0     | Module Setting - [MAME] - Use_Backdrops: true
23:32:42:670 | MD |     INFO  | +0     | Module Setting - [1941] - Use_Backdrops: true
23:32:42:670 | MD |     INFO  | +0     | Module Setting - [MAME] - Use_Cpanels: false
23:32:42:671 | MD |     INFO  | +0     | Module Setting - [1941] - Use_Cpanels: false
23:32:42:671 | MD |     INFO  | +0     | Module Setting - [MAME] - Use_Marquees: false
23:32:42:671 | MD |     INFO  | +0     | Module Setting - [1941] - Use_Marquees: false
23:32:42:671 | MD |     INFO  | +0     | Module Setting - [MAME] - IniPath: 
23:32:42:701 | MD |     INFO  | +31    | Module - Detected MAME Product Version from 'C:\HYPERSPIN\Emulators\MAME\mame.exe' is 166
23:32:42:701 | MD |     INFO  | +0     | Module - Running MAME in non-legacy mode
23:32:42:701 | MD |     INFO  | +0     | Run - Running: C:\HYPERSPIN\Emulators\MAME\"mame.exe" 1941 -rompath "C:\ROMS\MAME;C:\HYPERSPIN\Emulators\MAME\roms" -nowindow -nohlsl_enable -nogl_glsl -video d3d -artwork_crop -nouse_bezels -use_overlays -use_backdrops -nouse_cpanels -nouse_marquees -nofilter -skip_gameinfo
23:32:42:803 | MD |     INFO  | +110   | WinWait - Waiting for "ahk_class MAME"
23:32:43:124 | MD |     INFO  | +327   | WinWaitActive - Waiting for "ahk_class MAME"
23:32:43:276 | MD |     INFO  | +141   | Process - WaitClose mame.exe 
23:32:45:383 | MD |     INFO  | +2106  | WinClose - Closing: ahk_class MAME
23:32:45:660 | MD |     INFO  | +280   | ExitModule - Started
23:32:45:660 | MD |     INFO  | +0     | Starting Updating Statistics:
23:32:45:910 | MD |     INFO  | +250   | Game section statistics updated.
23:32:45:912 | MD |     INFO  | +0     | ExitModule - Ended
23:32:45:912 | MD |     INFO  | +0     | End of Module Logs
23:32:45:966 | RL |     INFO  | +3681  | Main - Module ended, exiting RocketLauncher normally
23:32:45:966 | RL |     INFO  | +0     | ExitScript - Started
23:32:45:987 | RL |     INFO  | +16    | SystemCursor - Restoring mouse cursor
23:32:45:998 | RL |     INFO  | +16    | ExitScript - Ended
Link to comment
Share on other sites

Salut,

 

Quand tu as ce genre de problème, essaye de désactiver les fade in et out. La plupart des problèmes peuvent venir de là. Si ça marche sans les fade, tu as isolé le problème. Ensuite, lis bien les commentaires pour les modules. Ici, il est bien marqué:

"Exit fade will only work correctly if you don't have Esc, the default MAME exit key, as your exit key. If you use Esc, turn off the ExitScreen"

Link to comment
Share on other sites

Slt shinobi peux tu me dire comment désactiver ces fameux fade??

 

le message veux dire désactiver les exitscreen mais sa non plus je ne sais pas comment faire...c'est un fichier a modifier ou des touches a configurer?

 

Merci d'avance

Link to comment
Share on other sites

Il faut desactiver les fade dans rocketlauncherUI. Tu choisi ton système et dans "settings, tu a un onglet "Fade general". Ensuite, tu as deux encarts "fade in" et "fade out". Mets "enable" sur "false" pour les deux. Ca peux isoler le problème mais ça le reglera pas. De base, les fade devraient fonctionner nickel. Il y a rien de spécial à paramétrer. Mets bien rocketlauncher à jour en te connectant sur le net. Les modules ont été mis à jour récemment car le module pour mame englobe maintenant celui pour mess.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...