Jump to content
  • 2

Dirt 2.0 UDP data out specs

Question

15 answers to this question

Recommended Posts

  • 1

This is bad news.

Lot's of usefull information is lacking. Car Type, car name, oil temp, water temp ...

  • Agree 1

Share this post


Link to post
Share on other sites
  • 0

I have the same question, can we have the UDP struct {} for DR 2.0 please?  Also any new goodies in there perhaps like a bitwise status flag?

Regards

Edited by bn880

Share this post


Link to post
Share on other sites
  • 0

Motion Platforms

If your system has a motion platform, then DiRT Rally 2.0™ should be able to control it. This feature is completely untested beyond checking that the basic data output is correct, and as such should be used entirely at your own risk.

There are 2 supported motion platform types, D-Box and UDP network packets. You can also configure your Fanatac devices FFB and LED display output.

There are 4 different UDP network output formats. The first is designed to be compatible with the "Live for Speed" outsim motion platform format. Details on the other 3 output formats are available on the forums.

To enable, just open the hardware_settings_config.XML file and edit the motion attributes:

 

		<motion_platform>
		<dbox enabled="false" />
		<udp enabled="true"
			extradata="0"
			ip="127.0.0.1".
			port="20777"
			delay="1" />
		<fanatec enabled="false"
				pedalVibrationScale="1.0"
				wheelVibrationScale="1.0"
				ledTrueForGearsFalseForSpeed="true" />
		</motion_platform>
	

 

Motion Platform Parameters - D-Box

  • enabled:
    • set either 'true' or 'false' to enable or disable D-Box support

 

Motion Platform Parameters - UDP

Multiple UDP output devices are supported. If you have more than one device (such as a motion platform and a wheel controller), simply duplicate the entire tag and fill out the relevant data for each device.

  • enabled:
    • set either ‘true’ or ‘false’ to enable or disable the UDP device
  • extradata:
    • set to ‘0’ for ‘Live For Speed’ outsim motion platform format, or 1-3 for the other output formats
  • ip:
    • The network IP address of the UDP device
  • port:
    • The network port of the UDP device
  • delay:
    • The time delay (in 1/100ths of a second) between updates from the game

 

Motion Platform Parameters - Fanatec

  • enabled:
    • set either ‘true’ or ‘false’ to enable or disable the Fanatec specific controller
  • pedalVibrationScale:
    • A scale for the vibration effect of the brake pedal. Defaults to 1
  • wheelVibrationScale:
    • A scale for the motor vibration of the wheel (not the wheel force). Defaults to 1
  • ledTrueForGearsFalseForSpeed:
    • Controls the data displayed on the LED display. Set to ‘true’ to display the current gear, ‘false’ for the current speed

Share this post


Link to post
Share on other sites
  • 0

Unfortunately it doesn't answer our UDP data format question, but thanks 🙂

Share this post


Link to post
Share on other sites
  • 0
16 hours ago, versedi said:

From the original link which includes some offset calculation updates:

https://docs.google.com/spreadsheets/d/1UTgeE7vbnGIzDz-URRk2eBIPc_LR1vWcZklp7xD9N0Y/edit?usp=sharing

Should DiRT 2.0 have new fields/structure, I'll update accordingly. Just hoping DiRT 2.0 on PS4 finally supports UDP ....

Edit: patch 1.03 installed, and no UDP option. No keyboard/button box support either on PS4. :classic_sad: Once again I was too optimistic

Edited by vinceps34
  • Sad 1

Share this post


Link to post
Share on other sites
  • 0

It seems at first test the UDP packet is identical to DR 1.0 (and structure is identical to F1). 

 

DR20_UDP_motec.png

2019-02-26_08h08_25.png

Edited by bn880

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, bn880 said:

It seems at first test the UDP packet is identical to DR 1.0 (and structure is identical to F1). 

 

DR20_UDP_motec.png

2019-02-26_08h08_25.png

Good news then, no rework needed. Just waiting for UDP output on PS4 now.......

 

  • Agree 1

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, EnsiFerrum said:

This is bad news.

Lot's of usefull information is lacking. Car Type, car name, oil temp, water temp ...

It has been the same data since DiRT 1.0 and other codemasters games. Nothing new. And just nothing for console players :classic_wacko:

Share this post


Link to post
Share on other sites
  • 0
On 2/26/2019 at 9:40 PM, vinceps34 said:

It has been the same data since DiRT 1.0 and other codemasters games. Nothing new. And just nothing for console players :classic_wacko:

So much missing data, and no console love for UDP 😢 Fingers crossed for an improvement soon.

  • Agree 1

Share this post


Link to post
Share on other sites
  • 0
On 2/24/2019 at 6:18 PM, Grumps82 said:

Motion Platforms

To enable, just open the hardware_settings_config.XML file and edit the motion attributes:

 


		<motion_platform>
		<dbox enabled="false" />
		<udp enabled="true"
			extradata="0"
			ip="127.0.0.1".
			port="20777"
			delay="1" />
		<fanatec enabled="false"
				pedalVibrationScale="1.0"
				wheelVibrationScale="1.0"
				ledTrueForGearsFalseForSpeed="true" />
		</motion_platform>
	

 

Motion Platform Parameters - UDP

 


Multiple UDP output devices are supported. If you have more than one device (such as a motion platform and a wheel controller), simply duplicate the entire tag and fill out the relevant data for each device.

  • enabled:
    • set either ‘true’ or ‘false’ to enable or disable the UDP device
  • extradata: 
    • set to ‘0’ for ‘Live For Speed’ outsim motion platform format, or 1-3 for the other output formats
  • ip:
    • The network IP address of the UDP device
  • port:
    • The network port of the UDP device
  • delay:
    • The time delay (in 1/100ths of a second) between updates from the game 

 

 

Hello

I use the Blue Tiger motion simulator, in Dirt Rally 1 it work nice with this configuration 

<motion_platform>
                <dbox enabled="false" />
                <udp enabled="true" extradata="0" ip="127.0.0.1" port="55557" delay="1" extradata="0"/>
                <fanatec enabled="true" pedalVibrationScale="1.0" wheelVibrationScale="1.0" ledTrueForGearsFalseForSpeed="true" />
</motion_platform>

 

But in Dirt Rally 2.0, the motion simulator move but not correctly. Have a idea ?

Best regards

 

Franck

 

 

Share this post


Link to post
Share on other sites
  • 0

Just for reference I compared UDP output of a Baumholder/Germany stage from DiRT Rally with DiRT Rally 2.0 (v1.6), the output is fairly similar expect for some difference due to car physics. The track geometry appears to be *identical*, as my time recorder could still recognize the track

https://docs.google.com/spreadsheets/d/1Yxw6iK_GtF4_63I4KzyF-M9t3f_XDMZrCgO7H-0lN0E/edit?usp=sharing

Edited by soong101

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×