PDA

View Full Version : MSX MSX2 MSXTurbo



darkbelmonte
04-02-2010, 10:25 AM
I'm trying to get the "hyperlaunch" run "BlueMSX," when you run it using the "Closemul" perfectly, but it is intriguing how can not the "hyperlaunch. Maybe someone has an idea of what might be going wrong:

My script is below:


;**********************************MSX - MSX2 - MSX2+ - MSX2TurboR***********************************
/*
Follows the example of the command line

C:\BlueMSX>blueMSX.exe /machine "Msx" /rom1 "D:\N O I N T R O\
\10-Yard Fight (japan).zip" /romtype1 sccmirrored /inifile

Script em teste (By Darkbelmonte - Brazil - atualizado em 01/04/2010)
*/

if (systemName = "MSX" && executable = "blueMSX.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% /machine "Msx" /fullscreen /rom1 "%romPath%%romName%%romExtension%" /romtype1 sccmirrored /inifile, Hide UseErrorLevel
}
if (systemName = "MSX2" && executable = "blueMSX.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% /machine "Msx2" /fullscreen /rom1 "%romPath%%romName%%romExtension%" /romtype1 sccmirrored /inifile, Hide UseErrorLevel
}
else if (systemName = "MSX2+" && executable = "blueMSX.exe")
{
if (RomExtension = ".dsk" ||RomExtension = ".DSK" )
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% /machine "Msx2+" /fullscreen /rom1 "%romPath%%romName%%romExtension%" /romtype1 sccmirrored /inifile, Hide UseErrorLevel
}
}
else if (systemName = "MSX2TurboR" && executable = "blueMSX.exe")
{
if (RomExtension = ".dsk" ||RomExtension = ".DSK" )
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
RunWait, %executable% /machine "Turbo-r" /fullscreen /diskA "%romPath%%romName%%romExtension%" /romtype1 sccmirrored /inifile, Hide UseErrorLevel
}
}

/*
Script em teste (By Darkbelmonte - Brazil - atualizado em 01/04/2010)
*/

If we help to have some idea follows the configuration of Closemul.ini



---------------------------------------------------------------------------------------------------------------------------
[Parameters]
Exit Key 1=27
Exit Key 2=
Extract=
Extracted Ext 1=
Extracted Ext 2=
Pre Command=
Post Command=
Mount Program=
Mount Device=
Mount Parameters=
Registry File=
Automation=
Automation Steps=
Automation Delay=
Program=blueMSX.exe
Program 2=
Param Before File=/machine "Turbo-r" /fullscreen /rom1
Param After File=/romtype1 sccmirrored /inifile
File=
Snap 1 Search=
Snap 2 Search=
Snap Extension=
Snap Source Folder=
Snap 1 Dest Folder=
Snap 2 Dest Folder=
Quit Management=
Quit TimeOut=
Disable Quotes=






Want to know what is wrong in my script that does not call the "BlueMSX.exe" to run the ROM, since the command line using cmd.exe I get.
I can run (With Closemul) with the settings below in hyperspin:




[exe info]
path=.\Emulators\BlueMSX\
rompath=D:\N O I N T R O\2\DVD MSX\ROM MSX\
userompath=true
exe=Closemul.exe
romextension=zip
parameters=
searchsubfolders=
pcgame=false
winstate=HIDDEN
hyperlaunch=false



If anyone has any suggestions thank you :tee:

guyverjay
04-03-2010, 02:35 AM
;*************************************MSX******** ******************************

else if (systemName = "MSX" && executable = "blueMSX.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
Runwait, %Executable% /rom1 "%romPath%%romName%%romExtension%" -auto -fullscreen, %EmuPath%, Hide UseErrorLevel
Process, waitClose, %executable%
exitapp

}


This works for me