evanestal Posted January 18 Share Posted January 18 Games work ok at the command line, but when using the LB or BB UI the game will start loading and then return to the menu. I'm attaching a LaunchBox log file that shows attempts to launch several games, and the config screens asked for in the pinned thread. Debug 2024-01-18 03-08-51 PM.log Debug 2024-01-18 03-18-58 PM.log Quote Link to comment Share on other sites More sharing options...
Retro808 Posted January 18 Share Posted January 18 Check your associated platform tab and make sure you have the correct platform name listed there. Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted January 18 Share Posted January 18 Also, for your Default Command-line Parameters, try adding -rompath %romlocation% after -keyboardprovider dinput and see if that helps. -keyboardprovider dinput -rompath %romlocation% Quote Link to comment Share on other sites More sharing options...
evanestal Posted January 19 Author Share Posted January 19 Thanks Retro, I see a platform named "MAME" that is associated with this emulator. 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. Quote Link to comment Share on other sites More sharing options...
Retro808 Posted January 19 Share Posted January 19 @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. Quote Link to comment Share on other sites More sharing options...
evanestal Posted January 19 Author Share Posted January 19 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 Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted January 19 Share Posted January 19 Um... that looks kind of like a RetroArch config file. Not [stand-alone] MAME. Where exactly did you find it? Quote Link to comment Share on other sites More sharing options...
evanestal Posted January 19 Author Share Posted January 19 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. Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted January 19 Share Posted January 19 Ya, all the suggestions given were geared towards stand-alone MAME. In the case of Arcade machines, RetroArch will "work" (as you eventually got it to [nice tracking down the issue, BTW]), but stand-alone MAME is what's strongly recommended. Quote Link to comment Share on other sites More sharing options...
evanestal Posted January 19 Author Share Posted January 19 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.