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: Capturing changes on the screen  (Read 1248 times)

0 Members and 1 Guest are viewing this topic.

Generic Eric

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4520
  • Last login:July 15, 2024, 09:18:25 pm
  • Restore! Don't maim for MAME, build from scratch!
    • forum.arcadecontrols.com/index.php/topic,143226.0.html
Capturing changes on the screen
« on: April 14, 2014, 10:27:13 am »
I'm trying to get a better idea of how to implement mamehooker.  Say I wanted a LED to flash the underside of my control panel or part of my marquee when the k.o. was flashing, could mamehooker make that happen?

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Today at 01:14:11 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Capturing changes on the screen
« Reply #1 on: April 14, 2014, 12:35:21 pm »
Uh you've got to be a bit more specific man.  What game?  If it doesn't have outputs then no, it won't work.  Mamehooker isn't a hack, it interfaces to mame's official output system. 

Generic Eric

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4520
  • Last login:July 15, 2024, 09:18:25 pm
  • Restore! Don't maim for MAME, build from scratch!
    • forum.arcadecontrols.com/index.php/topic,143226.0.html
Re: Capturing changes on the screen
« Reply #2 on: April 14, 2014, 12:41:19 pm »
Uh you've got to be a bit more specific man.  What game?  If it doesn't have outputs then no, it won't work.  Mamehooker isn't a hack, it interfaces to mame's official output system.

Sure.  I thought I mentioned punchout in my previous post.  I'm going to give your mamehooker a go after work this week. 

Vigo

  • the Scourage of Carpathia
  • Global Moderator
  • Trade Count: (+24)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6417
  • Last login:June 25, 2025, 03:09:16 pm
Re: Capturing changes on the screen
« Reply #3 on: April 14, 2014, 01:08:33 pm »
Autohotkey might be able to help with custom lighting. Similiar to what Nitz and Le Chuck put together for joystick autoswitch to 4 way on the Tron light cycles stage. Have a script that will trigger every time K.O. is onscreen.

http://forum.arcadecontrols.com/index.php/topic,117395.msg1243777.html#msg1243777






BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9272
  • Last login:Yesterday at 09:59:14 pm
  • ...
Re: Capturing changes on the screen
« Reply #4 on: April 14, 2014, 03:06:30 pm »
1. Did the original arcade machine have an output for such a thing?
2. Is the output hooked up in MAME?


Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Today at 01:14:11 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Capturing changes on the screen
« Reply #5 on: April 14, 2014, 07:10:49 pm »
No it didn't, so no it won't work. 

That being said, troubleshooter 2 might do it.  You can use the output sections only, so you'd have to fire up cheat engine or something similar and determine the byte where the KO variable is stored, hook that to an output and use the broadcast outputs option to send it along to mamehooker.  Just remember that memory locations are rather temperamental, so if you ever upgrade your mame version your are likely to have to search for the byte all over again.