[11.2] MAME Default Command-Lines on Details tab broken

Issue #5519 new
famigami created an issue

I have MAME set up and working in Launchbox. However, setting Default Command-Line Paramerters in the Details tab doesn’t work, they only work when set in the associated platforms tab.

For example:

Here, setting -skip_gameinfo DOES NOT work in any platform using MAME at all but it ois expected that it should work for ALL platforms. However:

If I remove -skip_gameinfo from the screenshot earlier, and place it specifically into a platform, like Amstrad CPC shown here, then it works but only for this specific platform (as expected).

Comments (9)

  1. Retro808

    Tested several cabinets and each tested using Mame .219, .222 and .223. The -skip _gameinfo command works in all cases when on the main details tab. Settings in your images look fine. Although the two middle section boxes you have checked are not needed.

    Have you tried a fresh Mame in a different folder? This would eliminate it possibly being something your existing Mame folder causing the issue. Try that and let us know. We have not seen any reports of this issue on the forum.

  2. famigami reporter

    Same result. I have -skip_gameinfo in the details tab and -skip_gameinfo in the associated platforms tab only on Apple I for testing.

    APF Imagination Machine shows the game info screen but Apple I does not. My MAME (Arcade) platform also does not show the game info screen. This throws a wrench into things sine the MAME associated platforms in the MAME emulator settings has no default parameters at all!

    Expected behavior is that all three should not show it.

    Thinking this might be a PC emulation issue, I tried Virtual boy, it shows the game info screen.

    My theory: Default command line parameters in the details tab only work if there are no associated platform parameters set in the associated platforms tab.

  3. Christian

    Unless I am misunderstanding your report this is the expected behavior. Command line is set using the following priorities: Game Command Line > Emulator’s Associated Platform command line > Emulators Command Line, stopping at the first field that has a value. Because Associated Platform has a value in your example it will NOT use the base emulator command line.

  4. famigami reporter

    In that case, as a user, I would expect the behavior to be cumulative. Why would I have to add -skip_gameinfo to every associated platforms (there are hundreds!) when I can apply it universally at the emulator level, while specifying platform specific criteria such as apfimage -cass on a per platform basis and then even further game specific details such as the shader in the individual game level.

    It isn’t practical to expect users to be redundant on the individual game level by adding the full command line structure on the game AND the platform AND the emulator. Launchbox can simply remove repeat instuctions before passing them on to the emulator on launch if it has to.

  5. famigami reporter

    Where before I thought this was a bug, I now propose that the command line instructions structure should be modified to be cumulative: (Emulator details tab + emulator associated platforms tab + game edit screen) - repeat instructions rather than the current game edit screen > emulator associated platforms tab > emulator details tab.

  6. Log in to comment