Jump to content
LaunchBox Community Forums

LaunchBox quietly fails when trying play MAME


evanestal

Recommended Posts

Thanks Retro, I see a platform named "MAME" that is associated with this emulator.

 

image.thumb.png.911256d71a0fa6e44007d75f7e40f6ae.png

 

Also tried the path suggestion.  Here is what I see in logs, and nothing happens (game doesn't launch)

 

2024-01-18 09:08:40 PM Music.Pause Start
2024-01-18 09:08:40 PM Music.Pause Start
2024-01-18 09:08:40 PM MameHighScores.Prepare: Beginning the preparation process...
2024-01-18 09:08:40 PM Aborting MameHighScores.Prepare: Uploading MAME high scores is disabled in settings.
2024-01-18 09:08:40 PM Begin M3U Check.
2024-01-18 09:08:40 PM RomPath after M3U build: D:\Launchbox\Games\MAME\roms\720.zip
2024-01-18 09:08:40 PM MarkGamePlatformChanged called: 720 Degrees (MAME) - LastPlayedDate = 1/18/2024 9:08:40 PM
2024-01-18 09:08:40 PM WARNING: MarkGamePlatformChanged complete, change has been recorded
2024-01-18 09:08:40 PM Game.PlayCount changed from 7 to 8: 720 Degrees (MAME)
2024-01-18 09:08:40 PM MarkGamePlatformChanged called: 720 Degrees (MAME) - PlayCount = 1
2024-01-18 09:08:40 PM WARNING: MarkGamePlatformChanged complete, change has been recorded
2024-01-18 09:08:40 PM DataManager.SaveInternal started.
2024-01-18 09:08:40 PM Saving InputBindings.xml...
2024-01-18 09:08:40 PM Saving GameControllers.xml...
2024-01-18 09:08:40 PM Saving ListCache.xml...
2024-01-18 09:08:40 PM Saving Settings.xml...
2024-01-18 09:08:40 PM Saving UnsyncedChanges.xml...
2024-01-18 09:08:41 PM Saving D:\Launchbox\Data\Platforms\MAME.xml...
2024-01-18 09:08:43 PM FIRST CHANCE EXCEPTION: The given key 'Music' was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException[T](T key)
2024-01-18 09:08:44 PM Aborting MameHighScores.Parse: Uploading MAME high scores is disabled in settings.
2024-01-18 09:08:45 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Start
2024-01-18 09:08:45 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Before Pause Video
2024-01-18 09:08:45 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Completed
2024-01-18 09:08:45 PM DataManager.SaveInternal completed successfully.

Link to comment
Share on other sites

@evanestal So if the roms work directly in Mame (without using LB) then it is a LB setting issue. I do not use all the custom command lines that LB places when it sets up Mame so that might not be the issue.  

What version Mame are you running?

Can you provide some more pics. 

Right click and edit a Mame game and post the following pics:

1. Metadata tab 2. Launching tab 3. Emulation tab

>Tools >Manage >Emulators and edit Mame post a pic of your Associated Platforms tab. 

Link to comment
Share on other sites

I think I'm on to something ...

 

So one thing I noticed was that when I ran from the command line ,  it  DID run, but I didn't notice it wasn't picking up the config file.    That led me down a path to see if that was a factor.

If I run WITHOUT the config file, games launch.   If I run WITH the config file, they fail without so much as a peep even in verbose mode.

Config file attached.

ADCRetro_MAME.cfg

Link to comment
Share on other sites

It is, being a noob I wasn't sure which  (retroarch or mame.exe) was running the games but it was - in fact - retroarch.

I was able to track down the offending line which was :

video_max_swapchain_images = "0"

I basically did a binary search on the config file until I found the line that stopped the load.  No idea WHY that was causing it but commenting it out fixed the issue.

Link to comment
Share on other sites

Good to know, this was a pre-built/pre-configured drive so using RetroArch is based on the drive author's recommendation.  I don't know why he chose RetroArch instead of Mame, but the setting of 0 doesn't seem to be a valid setting (at lesat every reference I read has a value of 2 or 3).   

Thanks for the help, I'll ask the creator of the drive if he has a reason to not be on MAME but just glad it is working!

Link to comment
Share on other sites

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...