Difference between revisions of "User:MarcoZ/Project Telerig"

From Rigged Wiki
Jump to navigation Jump to search
m
(to be fleshed out)
Line 3: Line 3:
'''This is still a very early prototype.'''
'''This is still a very early prototype.'''


Telerig is a barebones Xinput forwarder via TCP/IP, using VigEm for its virtual controllers. It allows for managers to plug in a virtual controller on the streamer's computer and directly control a streamer's PES, while watching the Rigcam for feedback. All input is forwarded (although I plan to disallow start button presses, for obvious reasons) and the managers are able to do their game plan, substitutions and live preset, mentality and advanced tactical switches without asking the streamer to intervene.  
Telerig is a now almost ready for producion tool that allows the manager to inject live management changes exclusively while the game is running. It will only let a manager inject controls for ATs, mentalities and preset while the game is running (it knows this by looking at the PES window and looking for a specific part of the ingame clock), at least for now.
 
==Requirements==
==Requirements==


*[https://vigem.org/ VigEm] on the server side (aka the streamer) is required to create the virtual controller.
*[VigEm https://github.com/ViGEm/ViGEmBus/releases]: It will allow the program to create virtual controllers on your PC. The script will then forward your real controllers to the fake ones.
*Proper port forwarding on the server side
*Python 3 - after installing run pip install irc opencv-python xinput-python pywin32 vgamepad numpy to have all the necessary junk for this to work, download from [here https://www.python.org/downloads/]
*[https://www.microsoft.com/accessories/en-us/products/gaming/xbox-360-controller-for-windows/52a-00004#techspecs-connect Xbox 360 Controller for Windows drivers], for Windows 7 and older. May not be necessary but some XInput related stuff requires this.
*I dunno lul this needs way more testing than what's been done thus far


==Testing==
==Usage==


MarcoZ is available at the usual places and is welcome to rig a couple of games with one or two guinea pigs that are willing to test this out. I may also set up something like [https://implyingrigged.info/wiki/Tuesday_Night_Rigging Tuesday Night Rigging] (or pass on my server\client prototype to other streamers to test in invitationals\private rigging sessions), should there be enough demand for it.
*Unplug all your xbox compatible controllers.
*Open a windowed preview window from OBS studio capturing PES, it doesn't matter where you put it, as long as you keep it open.
*Open PES and go past the start menu.
*Run the program from a command prompt. The syntax you should use is C:\path\to\program\main.py YourNicknameonIRC WhichModelToUse.jpg - You'll have to choose the JPG depending on if you have an elite scoreboard or a babby scoreboard (or some other scoreboard lmao), check beforehand.
*Plug in your two (virtual or real, it doesn't matter) xbox controllers.
*Wait for it to automatically go into coach mode.
*Rig as usual.
*After a match, query the telerig bot on IRC and tell it "home nextmanagersnickname" and "away nextmanagersnickname" to change the managers. You can check who's managing by messaging it "current"
*Rig and repeat.

Revision as of 18:12, 22 February 2022

Incomplete.svg The content of this page or section is incomplete because we're a bunch of lazy fucks. Feel free to help out.

This is still a very early prototype.

Telerig is a now almost ready for producion tool that allows the manager to inject live management changes exclusively while the game is running. It will only let a manager inject controls for ATs, mentalities and preset while the game is running (it knows this by looking at the PES window and looking for a specific part of the ingame clock), at least for now.

Requirements

  • [VigEm https://github.com/ViGEm/ViGEmBus/releases]: It will allow the program to create virtual controllers on your PC. The script will then forward your real controllers to the fake ones.
  • Python 3 - after installing run pip install irc opencv-python xinput-python pywin32 vgamepad numpy to have all the necessary junk for this to work, download from [here https://www.python.org/downloads/]

Usage

  • Unplug all your xbox compatible controllers.
  • Open a windowed preview window from OBS studio capturing PES, it doesn't matter where you put it, as long as you keep it open.
  • Open PES and go past the start menu.
  • Run the program from a command prompt. The syntax you should use is C:\path\to\program\main.py YourNicknameonIRC WhichModelToUse.jpg - You'll have to choose the JPG depending on if you have an elite scoreboard or a babby scoreboard (or some other scoreboard lmao), check beforehand.
  • Plug in your two (virtual or real, it doesn't matter) xbox controllers.
  • Wait for it to automatically go into coach mode.
  • Rig as usual.
  • After a match, query the telerig bot on IRC and tell it "home nextmanagersnickname" and "away nextmanagersnickname" to change the managers. You can check who's managing by messaging it "current"
  • Rig and repeat.