Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Batch file assistance required - maximising MAME  (Read 1965 times)

0 Members and 1 Guest are viewing this topic.

valiant

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 66
  • Last login:March 05, 2022, 02:49:23 pm
  • One of three lions...
Batch file assistance required - maximising MAME
« 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

valiant

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 66
  • Last login:March 05, 2022, 02:49:23 pm
  • One of three lions...
Re: Batch file assistance required - maximising MAME
« Reply #1 on: November 09, 2019, 06:16:15 pm »
This is the result I get...

keilmillerjr

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1847
  • Last login:October 06, 2023, 10:20:39 pm
  • Web Developer.
Re: Batch file assistance required - maximising MAME
« Reply #2 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.

valiant

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 66
  • Last login:March 05, 2022, 02:49:23 pm
  • One of three lions...
Re: Batch file assistance required - maximising MAME
« Reply #3 on: November 09, 2019, 07:31:42 pm »
How do you do this please KeilMillerJr? Isn’t shelling a PITA?
« Last Edit: November 09, 2019, 07:34:51 pm by valiant »

keilmillerjr

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1847
  • Last login:October 06, 2023, 10:20:39 pm
  • Web Developer.
Re: Batch file assistance required - maximising MAME
« Reply #4 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.

Robbbert

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 216
  • Last login:Yesterday at 09:09:49 am
Re: Batch file assistance required - maximising MAME
« Reply #5 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.
« Last Edit: November 10, 2019, 05:06:58 pm by Robbbert »

valiant

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 66
  • Last login:March 05, 2022, 02:49:23 pm
  • One of three lions...
Re: Batch file assistance required - maximising MAME
« Reply #6 on: November 10, 2019, 05:27:04 am »
Thanks Robbert - tried your suggestion.  Same result unfortunately.