Skip to content

Bash script allowing you to play video games hosted on a Windows machine, but controlled from a Linux machine.

License

Notifications You must be signed in to change notification settings

TheMohawkNinja/play

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"play" is a script that allows a user to control a game that is hosted on a Windows machine from a Linux machine.

REQUIREMENTS:

	Windows machine (gaming rig)
	----------------------------
	winrun_svr
	ControlMyMonitor from Nirsoft
	A DDC-compatible monitor (you can use ControlMyMonitor to check)

	Linux machine (client)
	----------------------
	winrun
	ddcutil
	root privleges

INSTALLATION:

	Linux machine
	-------------
	Copy "chmon" and "play" to "/usr/bin"

CONFIGURATION:

	Open ~/.config/play/config and fill out the values accordingly.

HOW TO USE:

	play [COMMAND]
        Launch the game defined by the COMMAND parameter.

	play -l
        Print a formatted table of games saved to the games.list file excluding file paths.

        play -lv
        Print a formatted table of games saved to the games.list file including file paths and task names.

	play -f [PATTERN]
        Search for a matching PATTERN in the games.list file and list results excluding file paths.

        play -fv [PATTERN]
        Search for a matching PATTERN in the games.list file and list results including file paths and task names.

        play -a [COMMAND] [TITLE] [PATH] [TASK]
        Add a game to the list that is located at the PATH on the Windows machine, is started by using the COMMAND parameter, and can be easily referenced in the -l functionality by the game's formal TITLE, which shows up in Task Manager as TASK (typically a ".exe" file).
         
		Filepath shortcuts for PATH can be found in the ~/.config/play/config file and referenced via the --help flag

	play -r [PATTERN]
        Search for a matching PATTERN in the games.list file and remove it from the games.list file. This will generate a games.list.bak file, which is the games.list file before the specified program is removed.

	play -? OR play --help
	Print help text.

About

Bash script allowing you to play video games hosted on a Windows machine, but controlled from a Linux machine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages