Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: roostaar on November 12, 2018, 05:25:22 pm

Title: Launch/change Mame ROM remotely using SSH
Post by: roostaar 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

Title: Re: Launch/change Mame ROM remotely using SSH
Post by: silmalik 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
Title: Re: Launch/change Mame ROM remotely using SSH
Post by: roostaar on November 14, 2018, 07:30:41 pm
Thank you! Will give that a go and report back. 👍