Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: valiant on November 09, 2019, 05:30:54 pm

Title: Batch file assistance required - maximising MAME
Post by: valiant on November 09, 2019, 05:30:54 pm
Hi

I am finishing off a dedicated Star Wars cabinet, and I am trying to get Windows 7 to boot straight into MAME with the starwars ROM.

I set up the following batch file to run from my startup folder:

@echo off
cls
cd c:\Hyperspin\Emulators\MAME
start /max mame64.exe starwars

However, the MAME screen refuses to maximise the screen, and the command prompt stays in front instead.  MAME (with Star Wars running) is minimised as a window on the taskbar.

Very infuriating, as I have spent all of this evening tweaking configurations of the batch file to no avail.

Any help or advice gratefully appreciated.

Cheers
Title: Re: Batch file assistance required - maximising MAME
Post by: valiant on November 09, 2019, 06:16:15 pm
This is the result I get...
Title: Re: Batch file assistance required - maximising MAME
Post by: keilmillerjr on November 09, 2019, 06:25:47 pm
You do not need a batch file to do this. Change shell to mame instead of explorer.
Title: Re: Batch file assistance required - maximising MAME
Post by: valiant on November 09, 2019, 07:31:42 pm
How do you do this please KeilMillerJr? Isn’t shelling a PITA?
Title: Re: Batch file assistance required - maximising MAME
Post by: keilmillerjr on November 09, 2019, 07:41:21 pm
How do you do this please KeilMillerJr? Isn’t shelling a PITA?

No. I made a guide on my wiki in signature for win 10. It takes maybe 3 minutes. Have a glance and then search how to do it on win7 as it will be different. Some people use an app called instasheller that does it for you. I don’t use it.
Title: Re: Batch file assistance required - maximising MAME
Post by: Robbbert on November 10, 2019, 04:20:28 am
You could try this?

@echo off
cls
cd c:\Hyperspin\Emulators\MAME
start /max mame64.exe starwars -nowindow
exit


The "-nowindow" tells MAME to go full-screen.
The "exit" might be able to close the command window.
Title: Re: Batch file assistance required - maximising MAME
Post by: valiant on November 10, 2019, 05:27:04 am
Thanks Robbert - tried your suggestion.  Same result unfortunately.