The hardcoded paths to some .csv/.vsc files seem to be wrong

Issue #10 resolved
Daniel Gibson created an issue

e.g. sounds/player/mikiko/m_mikiko.vsc; caedes@HellKnight:~/gamedev/Daikatana/Daikatana-Source $ git grep "player/mikiko/m_mikiko" dlls/world/bot.cpp:238: FRAMEDATA_ReadFile( "sounds/player/mikiko/m_mikiko.csv", self ); dlls/world/client.cpp:261: FRAMEDATA_ReadFile( "sounds/player/mikiko/m_mikiko.csv", self );

The actual path is without "player/", or at least "sounds/Mikiko/m_mikiko.vsc" exists. I can imagine that there are more cases like that, should be checked and corrected. To find them ingame, add a printf() or something to DKIO_FOpenFile() in user/dk_io.cpp (note that Com_Printf() and friends are not available there)

Maybe there are more cases like that

Comments (3)

  1. Daniel Gibson reporter

    I fixed at least m_mikiko.csv, we should probably keep an open eye for other instances of this problem

  2. Frank Sapone

    Probably is. You can run DKCSV in the dktools/utils part of the code to compile that and reverse the VSC and see what is inside it.

  3. Log in to comment