Jump to content

aidata bin and corneringdata dat formats


mumboking
 Share

Recommended Posts

I've had this information for a while and don't believe I've posted it anywhere... I should probably post it.
Note: I have never played LEGO Stunt Rally, I have only figured out this information by comparing files to txt versions that someone had given me.

 

ART0001\aidata\*.bin format
Unsigned, Little Endian
Using f1speed as an example.

00 00 00 00 (Is zeros in all bins)
1E (RacingLine)
00 (Is 00 in all bins, could be part of previous value)
43 (Braking)
00 (Is 00 in all bins, could be part of previous value)
3C (Overtaking)
00 (Is 00 in all bins, could be part of previous value)
50 (Speed)
00 (Is 00 in all bins, could be part of previous value)
90 01 (Reflex)
00 00 00 (Is zeros in all bins) (Maybe Blocking is somewhere in here? Hard to tell.)
32 (CutsCorners)
23 (Intelligence)
14 (Craziness)

bin version (in hex) between the ====s
===========================================================
00 00 00 00 1E 00 43 00 3C 00 50 00 90 01 00 00 00 32 23 14
===========================================================

txt version between the ====s
=================
[Reflex]=400
[RacingLine]=30
[Overtaking]=60
[Blocking]=00
[CutsCorners]=50
[Braking]=67
[Speed]=80
[Intelligence]=35
[Craziness]=20



=================

 

ART0001\aidata\corneringdata\*.dat format
Little Endian floats

Small (Confirmed)
Big (Confirmed)
SmallSmall_Same (Confirmed)
SmallSmall_Opp (Confirmed)
BigBig_Same (Assumed)
BigBig_Opp (Assumed)
BigSamll_Same (Confirmed)
SamllBig_Same (Confirmed)
BigSmall_Opp (Assumed)
SmallBig_Opp (Assumed)

Some variables are assumed, as their values are not unique in any of the dats.
The order of most variables seems to be the same as the txt version, so it's assumed these are too.

 

What you do with this is up to you.

  • Like 2
Link to comment
Share on other sites

That's very cool, thanks! I verified that the values you suspected are indeed 16-bit signed ints. I'm working on an all-in-one tool that will support editing these files too... just a teaser:

srs.png

  • Like 2
Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.