MaxxWyndham / ToxicRagers

A library for the manipulation of various game files
8 stars 5 forks source link

TWTs always extract fine, but some are mangled if explored in-memory #8

Closed LiamDobbelaere closed 2 years ago

LiamDobbelaere commented 2 years ago

Given \DATA\RACES\desert1.TWT, for example, yields: image

For some odd reason, it's just the file extension, and my routine for finding the .P16 file fails for this TWT, even though it exists. Bottommost entries appear to have mangled names: image

LiamDobbelaere commented 2 years ago

Sorry, probably has to do with it not being compatible with .NET 6 -> was hard to see as it half-worked. I realized it when the loading of the TWT itself failed, but not from my c2toolkit which uses the same library but on a lower .NET version.