Hahaha, well it was a cpl yearsold, it sounded like he could send mame inputs direct in the raw system, so if anythings possible he might br able to work it out. Can you send me the bat file you are using so far and il have a good look tomorrow.
Raw input injection? Sounds kinky lol. What's it supposed to do?
"mame64.exe" vr -w -cfg_directory cfg -nvram_directory nvram -comm_localhost 0.0.0.0 -comm_localport 15111 -global_inputs -rompath "\\STORINATOR\Games\MAME\MAME 0.166 ROMs";"\\STORINATOR\Games\MAME\MAME 0.166 CHDs;D:\Emulators\MAME\MAME\roms"
"mame64.exe" vr -w -cfg_directory cfg2 -nvram_directory nvram2 -comm_remotehost 127.0.0.1 -comm_remoteport 15111 -comm_localport 15112 -global_inputs -rompath "\\STORINATOR\Games\MAME\MAME 0.166 ROMs";"\\STORINATOR\Games\MAME\MAME 0.166 CHDs;D:\Emulators\MAME\MAME\roms"
"mame64.exe" vr -w -cfg_directory cfg3 -nvram_directory nvram3 -comm_remotehost 127.0.0.1 -comm_remoteport 15111 -comm_localport 15113 -global_inputs -rompath "\\STORINATOR\Games\MAME\MAME 0.166 ROMs";"\\STORINATOR\Games\MAME\MAME 0.166 CHDs;D:\Emulators\MAME\MAME\roms"
"mame64.exe" vr -w -cfg_directory cfg -nvram_directory nvram -comm_localport 15111 -comm_remoteport 15112 -global_inputs
"mame64.exe" vr -w -cfg_directory cfg2 -nvram_directory nvram2 -comm_localport 15112 -comm_remoteport 15113 -global_inputs
"mame64.exe" vr -w -cfg_directory cfg3 -nvram_directory nvram3 -comm_localport 15113 -comm_remoteport 15114 -global_inputs
"mame64.exe" vr -w -cfg_directory cfg4 -nvram_directory nvram4 -comm_localport 15114 -comm_remoteport 15111 -global_inputs
Saw this relating to Raw Input but definitely over my head how it can be implemented.
http://www.codeproject.com/Articles/185522/Using-the-Raw-Input-API-to-Process-Joystick-Input
# = nvram/car
L = localport
R = receive
Rp = remoteport
Tx = transmit
3 L Rp
# R Tx
1 1 2 red (master)
2 3 1 blue (slave)
3 2 3 yellow (slave)
vformula3.bat
start /b mame.exe vformula -nvram_directory nvram1 -localport 15111 -remoteport 15112 -w
start /b mame.exe vformula -nvram_directory nvram2 -localport 15113 -remoteport 15111 -w
start /b mame.exe vformula -nvram_directory nvram3 -localport 15112 -remoteport 15113 -w
vformula9.bat
start /b mame.exe vformula -nvram_directory nvram1 -localport 15111 -remoteport 15112 -w
start /b mame.exe vformula -nvram_directory nvram2 -localport 15113 -remoteport 15111 -w
start /b mame.exe vformula -nvram_directory nvram3 -localport 15112 -remoteport 15114 -w
start /b mame.exe vformula -nvram_directory nvram4 -localport 15115 -remoteport 15113 -w
start /b mame.exe vformula -nvram_directory nvram5 -localport 15114 -remoteport 15116 -w
start /b mame.exe vformula -nvram_directory nvram6 -localport 15117 -remoteport 15115 -w
start /b mame.exe vformula -nvram_directory nvram7 -localport 15116 -remoteport 15118 -w
start /b mame.exe vformula -nvram_directory nvram8 -localport 15119 -remoteport 15117 -w
start /b mame.exe vformula -nvram_directory nvram9 -localport 15118 -remoteport 15119 -w
# = nvram/car
L = localport
R = receive
Rp = remoteport
Tx = transmit
2 L Rp
# R Tx
1 1 2 red (master)
2 2 1 blue (slave)
3 L Rp
# R Tx
1 1 2 red (master)
2 3 1 blue (slave)
3 2 3 yellow (slave)
4 L Rp
# R Tx
1 1 2 red (master)
2 3 1 blue (slave)
3 2 4 yellow (slave)
4 4 3 green (slave)
5 L Rp
# R Tx
1 1 2 red (master)
2 3 1 blue (slave)
3 2 4 yellow (slave)
4 5 3 green (slave)
5 4 5 black (slave)
6 L Rp
# R Tx
1 1 2 red (master)
2 3 1 blue (slave)
3 2 4 yellow (slave)
4 5 3 green (slave)
5 4 6 black (slave)
6 6 5 pink (slave)
7 L Rp
# R Tx
1 1 2 red (master)
2 3 1 blue (slave)
3 2 4 yellow (slave)
4 5 3 green (slave)
5 4 6 black (slave)
6 7 5 pink (slave)
7 6 7 skyblue (slave)
8 L Rp
# R Tx
1 1 2 red (master)
2 3 1 blue (slave)
3 2 4 yellow (slave)
4 5 3 green (slave)
5 4 6 black (slave)
6 7 5 pink (slave)
7 6 8 skyblue (slave)
8 8 7 orange (slave)
9 L Rp
# R Tx
1 1 2 red (master)
2 3 1 blue (slave)
3 2 4 yellow (slave)
4 5 3 green (slave)
5 4 6 black (slave)
6 7 5 pink (slave)
7 6 8 skyblue (slave)
8 9 7 orange (slave)
9 8 9 red(live)
0 L Rp
# R Tx
1 1 2 red (master)
2 3 1 blue (slave)
3 2 4 yellow (slave)
4 5 3 green (slave)
5 4 6 black (slave)
6 7 5 pink (slave)
7 6 8 skyblue (slave)
8 9 7 orange (slave)
9 8 0 red(live)
0 0 9 blue(live)
So 3player lan works fine with VR as test, booted into race mode.
I only set ips in the bat, master to slave 1, slave 1 to slave 2 and slave 2 to master. All seem to use 15112 as the port and listen on 0.0.0.0 as default.
Also people will need new rom file, m1comm.zip from 166 to work