exe should not crash, only error message if an archive is empty.
but you can also wait a few days, as i am already finished adding a loader for IMG files, and now only need to make a TXD loader which also decompresses DXT files.
loki1985 wrote:exe should not crash, only error message if an archive is empty.
but you can also wait a few days, as i am already finished adding a loader for IMG files, and now only need to make a TXD loader which also decompresses DXT files.
tiny preview screenshot for the new version. everything is currently loaded directly from the IMG files of GTA3, so no unpacking needed at all.
code works in 1.6SVN only, because this has been made possible only be the new filesystem changes in 1.6
there are still issues in correct image parameter recognition (bit depth, alpha, dxt compression), because of this the colors in the picture are wrong...
the previously released versions are for 1.4.2, the newest version (still unreleased) will only work under 1.6 (current SVN), since it uses the new filesystem API to be able to read models and textures directly from the games IMG archives.
the DFF file you linked there will not work, since no frames are supported. that means things like cars are not supported at the moment, only buildings, landscape and other simple models are supported.