SuperModel Network - 2 Player Scud Race - control problem

Having technical difficulties with Supermodel? Last-minute wardrobe malfunction? Get help here.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

SuperModel Network - 2 Player Scud Race - control problem

Postby rmosse » Mon Apr 19, 2021 12:35 pm

Hi Guys,

So i am trying to run 2 player scud race using network in the same pc( 2 separate windows one bieng master and the other, the slave, i did everything right as oriented in this video:
https://www.youtube.com/watch?v=CXzI4AfqrEQ

It actually works very well but the controls only responds to the window in focus making impossible to be player by 2 people .

This is my config files for the controls for each player:

Config file for player 1:

InputSystem =xinput
InputStart1 = "KEY_1,JOY1_BUTTON8"
InputCoin1 = "KEY_3,JOY1_BUTTON7"
; Steering wheel
InputSteering = "JOY1_XAXIS" ; analog, full steering range
; Pedals
InputAccelerator = "JOY1_UP"
InputBrake = "JOY1_DOWN"

Config file for player 2:
InputSystem =xinput
InputStart1 = "KEY_1,JOY5_BUTTON9"
InputCoin1 = "KEY_3,JOY5_BUTTON10"
; Steering wheel
InputSteering = "JOY5_XAXIS" ; analog, full steering range
; Pedals
InputAccelerator = "JOY5_BUTTON7"
InputBrake = "JOY5_BUTTON8"


-----------

As i said the joystick joy1 and joy5 actually work well but only respond when each window is selected(in focus)
I already tried changing the input_system to dinput but it stays the same.

Can someonde help me??
rmosse
 
Posts: 1
Joined: Thu Apr 15, 2021 2:54 pm

Re: SuperModel Network - 2 Player Scud Race - control proble

Postby arcade1000 » Wed Apr 21, 2021 12:42 pm

I had the same issue on Windows 10 and figured out a solution. It might not work for you but you can give it a try:

1. Open the first supermodel with the -input-system=xinput option like below:

supermodel daytona2.zip -ppc-frequency=60 -window -res=640,480 -music-volume=0 -input-system=xinput

2. Move the app window to left side of screen

3. Open the second supermodel without the -input-system option (it might also work with it but for me I use a steering wheel for the second supermodel and just left it without)

supermodel daytona2.zip -ppc-frequency=60 -window -res=640,480

4. Keep the focus on the second supermodel app window . Do not click outside the window. You should be able to use both controllers now

Notes: Without the -input option in step 1 this doesn't work for me. If it still doesn't work try logging off windows and then logging back on and then try again. That will reset the xinput1, xinput2, xinput3, etc assignments that windows assigns to the controllers. Hope this helps.
arcade1000
 
Posts: 1
Joined: Wed Mar 03, 2021 9:15 pm

Re: SuperModel Network - 2 Player Scud Race - control proble

Postby scju » Mon Nov 29, 2021 7:24 am

Hi arcade1000, your solution works for me!

However, for me, using the input-system=xinput opion for two supermodel instances can also work, and even simpler. By this way, no matter what the focus is on, the two supermodel instances can be controlled by two XboxOne controllers each. (PS -Don't forget to change from JOY1 to JOY2, in the player 2 Config file.) [Tested on Windows 7] :D

[Edit: fixed an error]
scju
 
Posts: 7
Joined: Tue Feb 25, 2020 10:56 pm


Return to The Fitting Room

Who is online

Users browsing this forum: No registered users and 1 guest