Command Box when loading game

Get answers to questions about using mGalaxy.
Post Reply
sharpy2010
Newbie
Newbie
Posts: 8
Joined: Fri Jul 24, 2015 7:59 pm

Hi everyone!

When I press enter in mGalaxy to select a game, a command box appears for about half a second, then the game starts within Mame.

I wonder if it would be possible some way to hide that command box from showing up whilst the game loads.

Thanks!

Chris.
Attachments
command box.jpg
jmd
Elite Member
Elite Member
Posts: 207
Joined: Mon Feb 05, 2007 2:33 pm

Maybe you could try this:
Open mGalaxy/Data/Definition/Emulators.xml with a text editor
Do a search on "MAME" untill you find this line:

Code: Select all

<Emulator name="MAME" hidden="false">
then, replace "false" by "true"
Save

From what I understand, this parameter is supposed to set the visibility of the command window

Start mGalaxy and tell us if it's working the way you'd like ;)
Last edited by jmd on Thu Feb 09, 2023 8:15 pm, edited 1 time in total.
sharpy2010
Newbie
Newbie
Posts: 8
Joined: Fri Jul 24, 2015 7:59 pm

Hi JMD, thanks for taking the time to reply!

This is frustrating.... I made the change, and it did EXACTLY what I wanted it to, it hid the command window.

The only problem is that when I press Escape to come out of the game that loads, and back into mGalaxy, Mame crashes and does not exit.

I'll show you what I changed, and maybe you can let me know if something is wrong:

<Emulator name="MAME" hidden="true">
<Systems>
<System name="Arcade" option="" script="false" cmd="-rompath "%path" %file%ext -volume -%volume(32,0) -skip_gameinfo -nowindow -joystick" extensions="zip|7z|chd"/>
<System name="Capcom CPS-1" option="" script="false" cmd="-rompath "%path" %file%ext -volume -%volume(32,0) -skip_gameinfo -nowindow -joystick" extensions="zip|7z|chd"/>
<System name="Capcom CPS-2" option="" script="false" cmd="-rompath "%path" %file%ext -volume -%volume(32,0) -skip_gameinfo -nowindow -joystick" extensions="zip|7z|chd"/>
<System name="Capcom CPS-3" option="" script="false" cmd="-rompath "%path" %file%ext -volume -%volume(32,0) -skip_gameinfo -nowindow -joystick" extensions="zip|7z|chd"/>
</Systems>
<Requirement>None</Requirement>
</Emulator>
sharpy2010
Newbie
Newbie
Posts: 8
Joined: Fri Jul 24, 2015 7:59 pm

I've now done some experimentantion, and the command box that opens up is Windows Powershell. Some messing about with the configuration settings of Poweshell means that the box now loads in a maximised window and looks a lot better (but not quite perfect). It only displays for a split second anyway, but I wanted it to not happen at all! I've tried having powershell disappear when it loses focus, but that doesn't work (emulator still crashes on exit) and doesn't look great anyway.

So, progress is being made! I'll update if I find a method to fully hide / remove the command box!
User avatar
mgalaxy
Administrator
Administrator
Posts: 1190
Joined: Tue Dec 05, 2006 7:46 pm

Unfortunately this is not possible with MAME at the moment.
Is it possible for you to use RetroArch with a MAME core ?...because then you won't have this problem!
sharpy2010
Newbie
Newbie
Posts: 8
Joined: Fri Jul 24, 2015 7:59 pm

mgalaxy wrote: Unfortunately this is not possible with MAME at the moment.
Is it possible for you to use RetroArch with a MAME core ?...because then you won't have this problem!
Ah thats a shame. I found that setting the window to fullscreen makes a much more pleasant loading screen than the windowed command box. Thats my workaround at the moment.

mGalaxy is great, really happy with it so far. It's running on my own PC, but going to make a standalone cabinet soon!
User avatar
mgalaxy
Administrator
Administrator
Posts: 1190
Joined: Tue Dec 05, 2006 7:46 pm

I might have a solution for you ;)

Enclosed you'll find 2 files.
  • Copy (and overwrite) 'Emulators.xml' into: 'mGalaxy > Data > Definition' folder
  • Copy 'MAME.au3' into: 'mGalaxy > Data > Scripts' folder
Report here if it's working like it should ;)
Attachments

[The extension has been deactivated and can no longer be displayed.]

[The extension xml has been deactivated and can no longer be displayed.]

Last edited by mgalaxy on Sat Feb 11, 2023 11:20 am, edited 1 time in total.
sharpy2010
Newbie
Newbie
Posts: 8
Joined: Fri Jul 24, 2015 7:59 pm

Hi mGalaxy!

YES!!!!

That is working perfectly and is exactly what I wanted!

Thank you very much, I really appreciate it  :D :D :D
mgalaxy wrote: I might have a solution for you ;)

Enclosed you'll find 2 files.
  • Copy (and overwrite) 'Emulators.xml' into: 'mGalaxy > Data > Definition' folder
  • Copy 'MAME.au3' into: 'mGalaxy > Data > Scripts' folder
Report here if it's working like it should ;)
Post Reply