NFSTools / Attribulator

A command-line tool that allows users to export and edit AttribSys (VLT) databases as text files.
14 stars 5 forks source link

Array capacities are not validated when loading exported databases #6

Closed LeoCodes21 closed 4 years ago

LeoCodes21 commented 4 years ago

The following data:

    transmission:
      Capacity: 2
      Data:
      - ClassKey: transmission
        CollectionKey: brera
      - ClassKey: transmission
        CollectionKey: brera_h
      - ClassKey: transmission
        CollectionKey: brera_a
      - ClassKey: transmission
        CollectionKey: brera_t

is invalid because there are 4 elements in the array, but the array has a specified capacity of 2. The generated files work in-game, but cannot be loaded by VaultLib due to an internal error in the array loader.