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: closemul automation: capturing window title  (Read 1342 times)

0 Members and 1 Guest are viewing this topic.

TheManuel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 825
  • Last login:April 09, 2025, 10:13:43 pm
  • On and off hobbyist
closemul automation: capturing window title
« on: August 04, 2008, 12:47:50 pm »
Here I go again with closemul.

I'm trying to wrap colemul around MAME in order to automate the left and right arrow key presses needed to get past the dislcaimer screen the first time you run a game in MAME.
The problem is that the automation (which massive88 kindly helped me figure out on a recent post) requires the window title to be passed to closemul. 

This is extremely inconvenient for MAME becuase the window title on a MAME screen includes the title of the game being played.  Note that this is not the filename but the full title of the game which in MAME are different in contrast to most other emulators.

Does anyone know of a more generic way to reference the window title of a MAME window?

Thank you.
"The Manuel"

massive88

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 938
  • Last login:February 26, 2024, 02:21:01 pm
Re: closemul automation: capturing window title
« Reply #1 on: August 04, 2008, 01:14:03 pm »
Compile your own mame using the Highscore Diffs and Headkaze's utility, and dont worry about the nag screens ever again!

To answer the actual question though, if you were using Mamewah you could probably do it by passing closemul the window parameter from the command line using the rom tag, not sure about how to go about it in Mala. Never messed with that though.
« Last Edit: August 04, 2008, 01:15:44 pm by massive88 »

TheManuel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 825
  • Last login:April 09, 2025, 10:13:43 pm
  • On and off hobbyist
Re: closemul automation: capturing window title
« Reply #2 on: August 04, 2008, 01:47:47 pm »
Well I want to do it from a screensaver where I don't have the game title as as output.

About compiling my own, I am using MAMEplus 0.104 which has a few speed advantages I could not get from the official builds.  In my slow machine setup, speed is a critical factor.
"The Manuel"