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: Twitter-Enabled Cabinet?  (Read 1208 times)

0 Members and 1 Guest are viewing this topic.

noapparentfunction

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:October 01, 2013, 08:34:53 pm
Twitter-Enabled Cabinet?
« on: October 01, 2013, 08:34:53 pm »
Hey guys, I came up with an idea the other day and was seeing if there was any advice to be given. My arcade cabinet is fairly popular with my friends and roommates so I wanted the arcade to be able to send a tweet whenever it was started, and whenever a game was launched.

It's easy enough to rig the first part because there are command-line executables that can automatically send an email with a pre-written message to a Twitter account set to post by e-mail. However the difficult part is to get a script (or even a frontend like Mamewah) to read any logfiles and extract the name of the ROM just launched, put it into a script, and send that as an e-mail. If i got this working I'd have it tweet something like "[Super Metroid] for [SNES] is being played!". I know it's marginally useless but I guess that's half the fun, right?

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9272
  • Last login:July 24, 2025, 02:05:45 pm
  • ...
Re: Twitter-Enabled Cabinet?
« Reply #1 on: October 02, 2013, 09:13:40 am »
First thing you need is a front end that will pass along variables to a batch file or autohotkey script.

Mala does this.  %1 is the name of the rom.
It's only going to be the rom name though, not game name.

That's about as much info as I can give.

Alistair Keith

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 47
  • Last login:November 25, 2014, 11:24:17 am
  • I want to build my own arcade controls!
Re: Twitter-Enabled Cabinet?
« Reply #2 on: October 07, 2013, 09:45:40 am »
You can probably create a php app that uses a database (MySQL) which matches up the rom name to the game name. And then use the .bat file to send the information over to that app which then sends the email.

Sounds round-about but there are easy to install mini-webservers like XAMMP
West Ham United Fan
Playstation Fan
Own a Bespoke Arcades sitdown.
Now building myself my own standup with as many games as possible!