#15 Too strict 2DA validation.

GemRB Main Engine
closed-fixed
GamePlay (136)
2
2005-03-25
2004-02-21
No

Hi,

GemRB seems to expect signatures like "2DA V1.0" (with
a single space between the 'A' and the 'V') but some
modules have more than one space (maybe some tabs too)
and this causes LoadTable() to fail loading the 2DA table.

A less stricter parsing (allowing for more than one
space or tab) would be enough. :-)

Don't ask me which module changed the signature, but it
works fine in the original Baldur's Gate 2 + Throne of
Bhaal.

Bye

Discussion

  • Daniele Collantoni

    • priority: 5 --> 2
    • status: open --> open-postponed
     
  • Daniele Collantoni

    Logged In: YES
    user_id=66394

    For our actual knowledge every file signature il exactly 8
    bytes long, this means that the problem you reported should
    not exist. If you could provide us a valid example we may
    take that in consideration.

    Thanks

     
  • Laszlo Toth

    Laszlo Toth - 2005-03-25
    • status: open-postponed --> closed-fixed
     
  • Laszlo Toth

    Laszlo Toth - 2005-03-25

    Logged In: YES
    user_id=885460

    PS: I found some faulty 2da in iwd2, thus this fix was required.

     
  • Laszlo Toth

    Laszlo Toth - 2005-03-25

    Logged In: YES
    user_id=885460

    The bug has been fixed, thanks for your report.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks