This is gonna be a long post
So... in this example m2lagfix will be used as a splitter
http://files.arianchen.de/daytona/m2lagfix.ziphttp://files.arianchen.de/daytona/livestats.zip
1. use "daytona usa (saturn ads)" for the spectator. this is important for livestats to find the window.
2. run the spectator in a window and set it to widescreen=1 (16/9). optional, spectator will be disorted if not 16/9
3. there is a lua script included with the livestats tool - this is needed to allow the spectator to "coin up".
4. spectator needs to be "master", "car 1" and "special" (cabinet), the other settings can be set as you like, though all machines should share them
5a. YOU NEED A 8 PLAYER NETWORK! IT DOES NOT WORK WITH LESS UNITS YET
5b. PLAYER 1 MUST NOT BE THE "HOST" OF A RACE (first person to coin up / hit start) - ALWAYS JOIN WITH PLAYER 1.
Getting the "game" running:
1. start your 8 units.
2. start m2lagfix. - if everything is fine the 8 units should sync up and go into attract mode.
Getting the "spectator" running:
1. start "daytona usa (saturn ads)"
2. start "livestats.bat" or "statsupdate.exe" / "livestats.exe" - this actually is part of my "update logic" which goes by hand for now ^^
3. livestats window should come up shortly after. NOTE: if nothing happens, most likely the "window" of daytona cannot be found.
4. spectators daytona should try to link up (THIS UNIT IS MASTER flashing) and "stop flashing" after a few seconds.
Getting the "magic" running:
1. IF m2lagfix and livestats are running correctly (= copying the network stream) the spectator game should come up with attract mode by itself.
2. "coin up" / "press start" on any of player 2 to player 8. - player 1 as well as the spectator should come up with the "do something to join in"-screen.
3. "coin up" / "press start" on player 1 - the spectator should join the game automatically (and select beginner course)
4. wait for the race to start.
m2lagfix.ini[m2rx]
LocalHost=127.0.0.1
LocalPort=8001
RemoteHost=127.0.0.1
RemotePort=9000
StallDetection=1
[m2tx]
LocalHost=127.0.0.1
LocalPort=9000
RemoteHost=127.0.0.1
RemotePort=8001
[m2stats]
RemoteHost=127.0.0.1
RemotePort=8000
m2stats section controls where to send the "copy" of the network stream, this is your livestats ip/port.
m2rx section remote ip/port = 1st daytona unit RxPort.
m2tx section local ip/port = 2nd daytona unit NextPort
stats.ini[client]
localhost=0.0.0.0
localport=8000
[live]
LocalHost=127.0.0.1
LocalPort=7001
RemoteHost=127.0.0.1
RemotePort=7002
client section controls where the "copy" of the network stream is expected.
live section controls where the live stats emulator instance shall be served.
example setupplayer 1 - 192.168.0.1
player 2 - 192.168.0.2
player 3 - 192.168.0.3
player 4 - 192.168.0.4
player 5 - 192.168.0.5
player 6 - 192.168.0.6
player 7 - 192.168.0.7
player 8 - 192.168.0.8
spectator - 192.168.0.10
player 1m2network.ini
[Network]
RxPort=9000
NextIP=192.168.0.2
NextPort=9000
FrameSync=1
player 2m2network.ini
[Network]
RxPort=9000
NextIP=192.168.0.3
NextPort=9000
FrameSync=1
player 3m2network.ini
[Network]
RxPort=9000
NextIP=192.168.0.4
NextPort=9000
FrameSync=1
player 4m2network.ini
[Network]
RxPort=9000
NextIP=192.168.0.5
NextPort=9000
FrameSync=1
player 5m2network.ini
[Network]
RxPort=9000
NextIP=192.168.0.6
NextPort=9000
FrameSync=1
player 7m2network.ini
[Network]
RxPort=9000
NextIP=192.168.0.8
NextPort=9000
FrameSync=1
player 8m2network.ini
[Network]
RxPort=9000
NextIP=192.168.0.10
NextPort=9000
FrameSync=1
spectatorm2lagfix.ini
[m2rx]
LocalHost=127.0.0.1
LocalPort=8001
RemoteHost=192.168.0.1
RemotePort=9000
[m2tx]
LocalHost=192.168.0.10
LocalPort=9000
RemoteHost=127.0.0.1
RemotePort=8001
[m2stats]
RemoteHost=127.0.0.1
RemotePort=8000
stats.ini
[client]
localhost=127.0.0.1
localport=8000
[live]
LocalHost=127.0.0.1
LocalPort=7001
RemoteHost=127.0.0.1
RemotePort=7002
m2network.ini
[Network]
RxPort=7002
NextIP=127.0.0.1
NextPort=7001
FrameSync=1