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

From Rigged Wiki
Jump to navigation Jump to search
m
 
(5 intermediate revisions by the same user not shown)
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.  
[https://github.com/zocram4cc/pytelerig 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==
 
*[https://github.com/ViGEm/ViGEmBus/releases ViGEm]: 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 [https://www.python.org/downloads/ here]
 
==Usage as a streamer==


==Requirements==
*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.
 
==Usage as a manager==
Get on IRC, query the IRC bot named Telerig.
 
The commands are:
 
1/2 for preset change up and down.


*[https://vigem.org/ VigEm] on the server side (aka the streamer) is required to create the virtual controller.
3/4 for mentality change up and down.
*[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==
5, 6, 7 and 8 for advanced tactics 1, 2, 3, and 4 respectively


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.
If you're not registered as a current manager or send some incorrect input, the bot will tell you. Otherwise you'll have no feedback (for now). Remember, input only works when the ingame clock is on.

Latest revision as of 18:22, 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: 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

Usage as a streamer

  • 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.

Usage as a manager

Get on IRC, query the IRC bot named Telerig.

The commands are:

1/2 for preset change up and down.

3/4 for mentality change up and down.

5, 6, 7 and 8 for advanced tactics 1, 2, 3, and 4 respectively

If you're not registered as a current manager or send some incorrect input, the bot will tell you. Otherwise you'll have no feedback (for now). Remember, input only works when the ingame clock is on.