Jump to content
mumboking

LSR aidata bin and corneringdata dat formats

Recommended Posts

mumboking

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

Share this post


Link to post
Share on other sites
kbios

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

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×

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.