MEmu := "TeKnoParrot"
MEmuV := "v1.92"
MURL := ["https://teknogods.com/phpbb/viewforum.php?f=83&sid=ba6d19d6fd412c2ce7668bc3b9cde963"]
MAuthor := ["jviegas","adamgp"]
MVersion := "1.4"
MCRC := ""
iCRC := ""
MID := ""
MSystem := ["Konami PC Based","Namco System ES3","Namco System N2","Raw Thrills PC Based","Sega Lindbergh","Sega Ring","Sega RingWide","Sega RingEdge","Sega RingEdge2","Sega Europa-R","Sega PC Based","Taito Type X","Taito NESiCAxLive","Examu eX-Board"]
;----------------------------------------------------------------------------
; Notes:
; Make sure you enable skipchecks in RLUI since RL won't be able to locate any roms (or create dummy txt files)
; You have to define the config file names for your games. These files are located in your emulator\UserProfiles\ folder.
; As an alternative you can name your games using the config file names in the database
;
; Run RocketlauncherUI, choose Sega Ring system.
; Now select on Modules and click "Edit Global Module Settings".
; Select "Roms Settings" and you can enter the ROM ID (config file names) for each game.
;
;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()
FadeInExitSleep := moduleIni.Read(dbName, "FadeInExitSleep",,,1)
configName := moduleIni.Read(romName . "|Settings", "GameProfile", romName,, 1)
primaryExe := new Emulator(emuPath . "\" . executable . " --profile=" . configName . ".xml")
demulShooterTarget := moduleIni.Read(romName . "|" . systemName . "|Settings", "DemulShooterTarget", "",,1)
demulShooterEnabled := moduleIni.Read(romName . "|Settings", "DemulShooterEnabled", "false",,1)
demulShooterRom := moduleIni.Read(romName . "|Settings", "DemulShooterRom", configName,,1)
BezelStart()
configFile := new File(emuPath . "\UserProfiles\" . configName . ".xml")
If (demulShooterEnabled = "true") { ; If demulshooter is enabled for this game, launch it with relevant options
DemulShooterExe := New DemulShooter()
DemulShooterExe.Launch(demulShooterTarget,demulShooterRom)
}
If (configFile.Exist()) {
primaryExe.Run()
} Else {
ScriptError("Game not found. Please check your module rom settings or whether you have setup your game within the emulator.")
}
BezelDraw()
TimerUtils.Sleep(FadeInExitSleep) ; PCLauncher setting for some stubborn games that keeps the fadeIn screen up a little longer
FadeInExit()
AppWaitExe := new Process(emuPath . "\" . executable)
RLLog.Info("Waiting for AppWaitExe """ . AppWaitExe.FileName . """ to close.")
AppWaitExe.Process("WaitClose")
BezelExit()
FadeOutExit()
ExitModule()
CloseProcess:
FadeOutStart()
If (demulShooterEnabled = "true") {
DemulShooterExe.Close()
}
Return