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 --- Bug Reports --- Site News

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

  

Author Topic: Launch/change Mame ROM remotely using SSH  (Read 489 times)

0 Members and 1 Guest are viewing this topic.

roostaar

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:May 15, 2019, 04:44:43 am
  • I want to build my own arcade controls!
Launch/change Mame ROM remotely using SSH
« on: November 12, 2018, 05:25:22 pm »
Evening all

I wonder if it might be possible to launch GroovyMAME games remotely using SSH or similar.

Say you didn't want a front end running at all, but wanted to change games as per user request remotely via terminal.

I have SSH running on my W10 arcade PC and can successfully login remotely using Terminal.app on my OS X iMac.

I can launch games locally using a cmd window on the PC

When I try to launch a game using SSH however, it seems to attempt to render the game in the Terminal window, not run the game on the PC

This is what I get...

iMac:~ arcade$ ssh arcade@192.168.0.54 "C:\GroovyMAME\groovymame.exe sf2"
arcade@192.168.0.54's password:
SwitchRes: could not find a video mode that meets your specs
Error getting identifier for adapter #0
Unable to initialize DirectVideo chipset is not compatible.
3D 9
Fatal error: Unable to complete window creation


Any way this is possible?


Hope so! Cheers


silmalik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 77
  • Last login:Today at 02:07:13 pm
  • I want to build my own arcade controls!
Re: Launch/change Mame ROM remotely using SSH
« Reply #1 on: November 13, 2018, 02:16:38 pm »
Hi,

From a Windows PC, PSEXEC can be used with something like this:
psexec.exe \\remotePC -u username -p password -i 1 -w C:\mameFolder C:\MameFolder\mame.exe victory

Now, from another OS, running local PSEXEC may work:
[SSH]>psexec.exe -i 1 -w C:\mameFolder C:\MameFolder\mame.exe Victory

roostaar

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:May 15, 2019, 04:44:43 am
  • I want to build my own arcade controls!
Re: Launch/change Mame ROM remotely using SSH
« Reply #2 on: November 14, 2018, 07:30:41 pm »
Thank you! Will give that a go and report back. 👍