thelink2012 / modloader

Mod Loader for GTA III, Vice City and San Andreas
MIT License
268 stars 29 forks source link

[VC/possibly III] TXDs from abstract CD directory corrupt streaming on reloading #60

Closed CookiePLMonster closed 8 years ago

CookiePLMonster commented 8 years ago

TXDs registered by std.stream seem to corrupt streaming on 2nd/3rd/later New Game loads (which reload the IMG and such). Basing on a brief test, the issue happens only if there's at least 2 TXDs in modloader/[mod]/models directory.

Steps to repro:

  1. Put multiple TXD files in modloader's models directory
  2. Start New Game
  3. Repeat starting New Game until the game crashes, after it fails to load player.txd.

Streaming seems to start to malfunction on second load already, which is evidenced by an error message Warning: Failed to load abstract model file XYZ.txd; error code: 0x3E6