MAME v0.212 don't launch with RocketLauncher

Status
Not open for further replies.

PsyKos

New member
RL Member
Hi,

since new version (0.212), RocketLauncher doesn't work with MAME.

MAME loads up and close immediately :(

I have deleted MAME.ini from emulator and MAME.ini from Module to test but doesn't work too !

With MAME and MAMEUI, I can launch roms without problems.

With older version, all is fine.

Thank you for your help.
 
Last edited:

agent47

Super Moderator
Staff member
Supporter
RL Member
In .212 they removed the art CLI overrides so attempting to run a game using the module will cause MAME not to run due to unknown parameters. I fixed this in my module when I updated last week. I can post a fix in the morning.
 
In .212 they removed the art CLI overrides so attempting to run a game using the module will cause MAME not to run due to unknown parameters. I fixed this in my module when I updated last week. I can post a fix in the morning.

Nice, Greatly appreciated.
 

tonesmalone

Active member
RL Member
In .212 they removed the art CLI overrides so attempting to run a game using the module will cause MAME not to run due to unknown parameters. I fixed this in my module when I updated last week. I can post a fix in the morning.

Great work agent.


Sent from my iPhone using Tapatalk Pro
 

joe35car

Member
RL Member
At work now, when I get home and start RLUI and click on update will it update to the newest MAME module or will it be posted on this thread?

Thanks
 

agent47

Super Moderator
Staff member
Supporter
RL Member
You'll have to make the changes manually. I would post the full module but a little while back MAME changed the media type params for some of the software list systems and I haven't finished going through and fixing all of them yet so I'm not going to post something that's broken.

Find these lines in the module

Code:
If !networkSession {
	RLLog.Info("Module - SinglePlayer session")
	errLvl := primaryExe.Run(" " . (If mameID = "MAME" ? romName :  mameID . param1 . param2 . param3 . param4 . param5 . param6 ) . ctrlrFile . mameRomPaths . sysStaticParams . romParams . fullscreenParam . hlsl . glsl . cheatEnabled . volume . inipath . hashpath . verticalRotationMode . videomode . artworkCrop . useBezels . useOverlays . useBackdrops . useCpanels . useMarquees . autosave . bootscript . bilinearEnabled . " -skip_gameinfo", winstate,,,,1)	; wrap quotes around exe
}

and change it to

Code:
If !networkSession {
	RLLog.Info("Module - SinglePlayer session")
	if (MAMEVersion > 211) {
		errLvl := primaryExe.Run(" " . (If mameID = "MAME" ? romName :  mameID . param1 . param2 . param3 . param4 . param5 . param6 ) . ctrlrFile . mameRomPaths . sysStaticParams . romParams . fullscreenParam . hlsl . glsl . cheatEnabled . volume . inipath . hashpath . verticalRotationMode . videomode . artworkCrop . autosave . bootscript . bilinearEnabled . " -skip_gameinfo", winstate,,,,1)	; wrap quotes around exe
	}
	else {
		errLvl := primaryExe.Run(" " . (If mameID = "MAME" ? romName :  mameID . param1 . param2 . param3 . param4 . param5 . param6 ) . ctrlrFile . mameRomPaths . sysStaticParams . romParams . fullscreenParam . hlsl . glsl . cheatEnabled . volume . inipath . hashpath . verticalRotationMode . videomode . artworkCrop . useBezels . useOverlays . useBackdrops . useCpanels . useMarquees . autosave . bootscript . bilinearEnabled . " -skip_gameinfo", winstate,,,,1)	; wrap quotes around exe
	}
}

If you use netplay you'll need to also find these lines

Code:
MameMultiPlayer%currentPlayer%Exe := new Process(emuPath . "\" . executable)	; instantiate a new process for each player
errLvl := MameMultiPlayer%currentPlayer%Exe.Run(" " . (If mameID = "MAME" ? romName : mameID . param1 . param2 . param3 . param4 . param5 . param6) . ctrlrFile . mameRomPaths . multiPlayerObj[currentPlayer]["CfgDir"] . multiPlayerObj[currentPlayer]["NvramDir"] . globalInputs . multiPlayerObj[currentPlayer]["LocalHost"] . multiPlayerObj[currentPlayer]["LocalPort"] . multiPlayerObj[currentPlayer]["RemoteHost"] . multiPlayerObj[currentPlayer]["RemotePort"] . sysStaticParams . romParams . fullscreenParam . hlsl . glsl . cheatEnabled . volume . inipath . hashpath . verticalRotationMode . videomode . artworkCrop . useBezels . useOverlays . useBackdrops . useCpanels . useMarquees . autosave . bootscript . bilinearEnabled . " -skip_gameinfo", winstate,,,,1)	; wrap quotes around exe
MameMultiPlayer%currentPlayer%Exe.Process("Exist")	; get PID

and change it to

Code:
MameMultiPlayer%currentPlayer%Exe := new Process(emuPath . "\" . executable)	; instantiate a new process for each player
if (MAMEVersion > 211) {
	errLvl := MameMultiPlayer%currentPlayer%Exe.Run(" " . (If mameID = "MAME" ? romName : mameID . param1 . param2 . param3 . param4 . param5 . param6) . ctrlrFile . mameRomPaths . multiPlayerObj[currentPlayer]["CfgDir"] . multiPlayerObj[currentPlayer]["NvramDir"] . globalInputs . multiPlayerObj[currentPlayer]["LocalHost"] . multiPlayerObj[currentPlayer]["LocalPort"] . multiPlayerObj[currentPlayer]["RemoteHost"] . multiPlayerObj[currentPlayer]["RemotePort"] . sysStaticParams . romParams . fullscreenParam . hlsl . glsl . cheatEnabled . volume . inipath . hashpath . verticalRotationMode . videomode . artworkCrop . autosave . bootscript . bilinearEnabled . " -skip_gameinfo", winstate,,,,1)	; wrap quotes around exe
}
else {
	errLvl := MameMultiPlayer%currentPlayer%Exe.Run(" " . (If mameID = "MAME" ? romName : mameID . param1 . param2 . param3 . param4 . param5 . param6) . ctrlrFile . mameRomPaths . multiPlayerObj[currentPlayer]["CfgDir"] . multiPlayerObj[currentPlayer]["NvramDir"] . globalInputs . multiPlayerObj[currentPlayer]["LocalHost"] . multiPlayerObj[currentPlayer]["LocalPort"] . multiPlayerObj[currentPlayer]["RemoteHost"] . multiPlayerObj[currentPlayer]["RemotePort"] . sysStaticParams . romParams . fullscreenParam . hlsl . glsl . cheatEnabled . volume . inipath . hashpath . verticalRotationMode . videomode . artworkCrop . useBezels . useOverlays . useBackdrops . useCpanels . useMarquees . autosave . bootscript . bilinearEnabled . " -skip_gameinfo", winstate,,,,1)	; wrap quotes around exe
}
MameMultiPlayer%currentPlayer%Exe.Process("Exist")	; get PID
 

Enkak

Member
RL Member
You'll have to make the changes manually. I would post the full module but a little while back MAME changed the media type params for some of the software list systems and I haven't finished going through and fixing all of them yet so I'm not going to post something that's broken.

Find these lines in the module

Code:
If !networkSession {
	RLLog.Info("Module - SinglePlayer session")
	errLvl := primaryExe.Run(" " . (If mameID = "MAME" ? romName :  mameID . param1 . param2 . param3 . param4 . param5 . param6 ) . ctrlrFile . mameRomPaths . sysStaticParams . romParams . fullscreenParam . hlsl . glsl . cheatEnabled . volume . inipath . hashpath . verticalRotationMode . videomode . artworkCrop . useBezels . useOverlays . useBackdrops . useCpanels . useMarquees . autosave . bootscript . bilinearEnabled . " -skip_gameinfo", winstate,,,,1)	; wrap quotes around exe
}

and change it to

Code:
If !networkSession {
	RLLog.Info("Module - SinglePlayer session")
	if (MAMEVersion > 211) {
		errLvl := primaryExe.Run(" " . (If mameID = "MAME" ? romName :  mameID . param1 . param2 . param3 . param4 . param5 . param6 ) . ctrlrFile . mameRomPaths . sysStaticParams . romParams . fullscreenParam . hlsl . glsl . cheatEnabled . volume . inipath . hashpath . verticalRotationMode . videomode . artworkCrop . autosave . bootscript . bilinearEnabled . " -skip_gameinfo", winstate,,,,1)	; wrap quotes around exe
	}
	else {
		errLvl := primaryExe.Run(" " . (If mameID = "MAME" ? romName :  mameID . param1 . param2 . param3 . param4 . param5 . param6 ) . ctrlrFile . mameRomPaths . sysStaticParams . romParams . fullscreenParam . hlsl . glsl . cheatEnabled . volume . inipath . hashpath . verticalRotationMode . videomode . artworkCrop . useBezels . useOverlays . useBackdrops . useCpanels . useMarquees . autosave . bootscript . bilinearEnabled . " -skip_gameinfo", winstate,,,,1)	; wrap quotes around exe
	}
}

If you use netplay you'll need to also find these lines

Code:
MameMultiPlayer%currentPlayer%Exe := new Process(emuPath . "\" . executable)	; instantiate a new process for each player
errLvl := MameMultiPlayer%currentPlayer%Exe.Run(" " . (If mameID = "MAME" ? romName : mameID . param1 . param2 . param3 . param4 . param5 . param6) . ctrlrFile . mameRomPaths . multiPlayerObj[currentPlayer]["CfgDir"] . multiPlayerObj[currentPlayer]["NvramDir"] . globalInputs . multiPlayerObj[currentPlayer]["LocalHost"] . multiPlayerObj[currentPlayer]["LocalPort"] . multiPlayerObj[currentPlayer]["RemoteHost"] . multiPlayerObj[currentPlayer]["RemotePort"] . sysStaticParams . romParams . fullscreenParam . hlsl . glsl . cheatEnabled . volume . inipath . hashpath . verticalRotationMode . videomode . artworkCrop . useBezels . useOverlays . useBackdrops . useCpanels . useMarquees . autosave . bootscript . bilinearEnabled . " -skip_gameinfo", winstate,,,,1)	; wrap quotes around exe
MameMultiPlayer%currentPlayer%Exe.Process("Exist")	; get PID

and change it to

Code:
MameMultiPlayer%currentPlayer%Exe := new Process(emuPath . "\" . executable)	; instantiate a new process for each player
if (MAMEVersion > 211) {
	errLvl := MameMultiPlayer%currentPlayer%Exe.Run(" " . (If mameID = "MAME" ? romName : mameID . param1 . param2 . param3 . param4 . param5 . param6) . ctrlrFile . mameRomPaths . multiPlayerObj[currentPlayer]["CfgDir"] . multiPlayerObj[currentPlayer]["NvramDir"] . globalInputs . multiPlayerObj[currentPlayer]["LocalHost"] . multiPlayerObj[currentPlayer]["LocalPort"] . multiPlayerObj[currentPlayer]["RemoteHost"] . multiPlayerObj[currentPlayer]["RemotePort"] . sysStaticParams . romParams . fullscreenParam . hlsl . glsl . cheatEnabled . volume . inipath . hashpath . verticalRotationMode . videomode . artworkCrop . autosave . bootscript . bilinearEnabled . " -skip_gameinfo", winstate,,,,1)	; wrap quotes around exe
}
else {
	errLvl := MameMultiPlayer%currentPlayer%Exe.Run(" " . (If mameID = "MAME" ? romName : mameID . param1 . param2 . param3 . param4 . param5 . param6) . ctrlrFile . mameRomPaths . multiPlayerObj[currentPlayer]["CfgDir"] . multiPlayerObj[currentPlayer]["NvramDir"] . globalInputs . multiPlayerObj[currentPlayer]["LocalHost"] . multiPlayerObj[currentPlayer]["LocalPort"] . multiPlayerObj[currentPlayer]["RemoteHost"] . multiPlayerObj[currentPlayer]["RemotePort"] . sysStaticParams . romParams . fullscreenParam . hlsl . glsl . cheatEnabled . volume . inipath . hashpath . verticalRotationMode . videomode . artworkCrop . useBezels . useOverlays . useBackdrops . useCpanels . useMarquees . autosave . bootscript . bilinearEnabled . " -skip_gameinfo", winstate,,,,1)	; wrap quotes around exe
}
MameMultiPlayer%currentPlayer%Exe.Process("Exist")	; get PID

Thank you so much for the fix agent47. Works great here. :)
 

capiqua

New member
RL Member
no work with mame x64, but work perfect with MAME x86, HBMAME X86 and... MESS and suggestions line?
 
Last edited:

joe35car

Member
RL Member
Would you care to share what line this is the module? Been scrolling and can't find it. Must be my old age. :)
 

agent47

Super Moderator
Staff member
Supporter
RL Member
no work with mame x64, but work perfect with MAME x86, HBMAME X86 and... MESS and suggestions line?

That doesn't make sense because they're all the same. I use mame x64 and it's what I tested it with. It sounds like you may have some sort of configuration mistake. Ensure you can run games through MAME directly first. If you can, set the logging level in RLUI to troubleshooting, run a game, find the command line RL is using to run MAME and run that from a command prompt. It will list any errors MAME throws.

Well I copied and pasted like above but not working.

Use the module attached to this post to rule out an editing error, which I think is your issue.
 

Attachments

  • MAME.ahk
    79.1 KB · Views: 2,569
That doesn't make sense because they're all the same. I use mame x64 and it's what I tested it with. It sounds like you may have some sort of configuration mistake. Ensure you can run games through MAME directly first. If you can, set the logging level in RLUI to troubleshooting, run a game, find the command line RL is using to run MAME and run that from a command prompt. It will list any errors MAME throws.



Use the module attached to this post to rule out an editing error, which I think is your issue.

Thanks Agent, working fine here.
One issue though, for example on MAME64.exe nonag emulator ? the nag screen come up at start of game (This game has some issues etc)
nonag option seems to be missing on some games, as the nag screen is usually not shown before game starts.
Works fine on previous module. I tested bjtwin (Bombjack Twin) and a few others and although they load ok, the front screen loads up as if you were using normal MAME.
Note: When using mamearcade.exe, arcade64.exe 64bit, they works fine, just seems to be on MAME64.exe

Thanks again for all your hard work.
 
Last edited:

agent47

Super Moderator
Staff member
Supporter
RL Member
One issue though, for example on MAME64.exe nonag emulator ?

No-nag isn't a separate emulator, it's modifying the source code of the original emulator to just hide the nag screens. Some people who distribute no-nag versions know what they're doing when they modify the source and others just apply diff patches found on the net.

Either way, problems with no-nag builds have nothing to do with the module at all. If something is wrong you should contact the person who is distributing it since the problem is with the modified executable or any additional things you may need to do in order to enable it.
 
No-nag isn't a separate emulator, it's modifying the source code of the original emulator to just hide the nag screens. Some people who distribute no-nag versions know what they're doing when they modify the source and others just apply diff patches found on the net.

Either way, problems with no-nag builds have nothing to do with the module at all. If something is wrong you should contact the person who is distributing it since the problem is with the modified executable or any additional things you may need to do in order to enable it.

Ok thanks for info.
 

nguerra

New member
RL Member
Starting a new build after I've been out of it for awhile. Ran into this same problem with 0.212 using MAME64. It fixed the problem perfectly. I didn't run into the no-nag problems but I had also downloaded the 0.212 version 2 no-nag so I don't think I would have seen it anyway. I just wanted to say thank you to the support by Agent47 and everyone else here who is keeping my child hood memories alive.
 

Manddrakke

New member
RL Member
I also want to use v.212 to have the full collection available for this version of Game & Watch and the screen goes all black. It gives incorrect ahk error for this emulator.
 

jimbojambo

New member
That doesn't make sense because they're all the same. I use mame x64 and it's what I tested it with. It sounds like you may have some sort of configuration mistake. Ensure you can run games through MAME directly first. If you can, set the logging level in RLUI to troubleshooting, run a game, find the command line RL is using to run MAME and run that from a command prompt. It will list any errors MAME throws.



Use the module attached to this post to rule out an editing error, which I think is your issue.

fantastic, thank you very much
 
Status
Not open for further replies.
Top