Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

i'm using tab key while in mame to set the controls and after exiting mame, it doesn't save the mame/cfg/*.cfg file if the mame64.exe was launched with LaunchBox (either by launching game or using right click menu and choosing "open mame"). If i launch mame64.exe manually the cfg's save just fine. I've tried running launchbox as admin (and also tried mame64.exe as admin too) but it doesn't make a difference. I've tested with both mame 0.160 and mame 0.212 ... same results. Launchbox is locking the cfg files down somehow when launched via launchbox... any ideas?

 

thanks

Posted
5 minutes ago, MrSco said:

i'm using tab key while in mame to set the controls and after exiting mame, it doesn't save the mame/cfg/*.cfg file if the mame64.exe was launched with LaunchBox (either by launching game or using right click menu and choosing "open mame"). If i launch mame64.exe manually the cfg's save just fine. I've tried running launchbox as admin (and also tried mame64.exe as admin too) but it doesn't make a difference. I've tested with both mame 0.160 and mame 0.212 ... same results. Launchbox is locking the cfg files down somehow when launched via launchbox... any ideas?

 

thanks

Launchbox has no control over files in the emulator folders at all, you have something else strange going on here. I just tested here by launching Mortal Kombat 3 in MAME, i set my controls via Tab menu/Input (this machine) then quit MAME and it saved the control config just fine.

image.thumb.png.82c18eda1b3539ecf222a83d38ef446c.png

Posted
2 minutes ago, Charco said:

Are you sure that you only have one instance of MAME? Could LB be pointing at another exe file?

I’ve double checked that. Definitely the correct exe

Posted

Also, the nvram (midway volume for example) settings don’t save either when launched with LaunchBox. It definitely seems like a permissions issue. But launching as admin has no effect... so weird. 

Posted (edited)

0 ...

 

but as I said before, if I launch MAME exe directly everything saves fine. Only when launched with launchbox or big box does it not save

Edited by MrSco
Posted
2 hours ago, DOS76 said:

Okay then. Hopefully you can find a solution

Thanks. Me too. I’ll keep tinkering and post back my findings here no matter how stupid I end up looking ?

Posted

I figured out what it was... me being dumb...

In my mame emulator setup in LB for autohotkey running script, I had...

$Esc::
{
     Process, Close, {{{StartupEXE}}}
}

I switched it to ... 

$Esc::
{
     WinClose, ahk_class MAME
}

and now the settings save when exiting mame via launchbox/bigbox.... the Process, Close method must not exit mame gracefully and therefor doesn't save anything. hope this saves someone else some time.

 

thanks everyone for the tips!

  • Like 3
Posted

If you are using the built in MAME UI cancel you can remove the script from that section completely but since you have it working I guess that isn't an issue.

Posted
14 hours ago, DOS76 said:

If you are using the built in MAME UI cancel you can remove the script from that section completely but since you have it working I guess that isn't an issue.

yea, i am using built-in mame ui cancel, but i also have some xpadder stuff going on during launch/exit... i just didn't include in my examples for simplicity.

 

thanks for the help!

  • 10 months later...
Posted
On 11/23/2019 at 5:35 PM, MrSco said:

I figured out what it was... me being dumb...

In my mame emulator setup in LB for autohotkey running script, I had...


$Esc::
{
     Process, Close, {{{StartupEXE}}}
}

I switched it to ... 


$Esc::
{
     WinClose, ahk_class MAME
}

and now the settings save when exiting mame via launchbox/bigbox.... the Process, Close method must not exit mame gracefully and therefor doesn't save anything. hope this saves someone else some time.

 

thanks everyone for the tips!

Thank you for this solution.  It also solved the problem for me.

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...