diff --git a/src/client/refresh/files/models.c b/src/client/refresh/files/models.c index ed07b477..b46dcd97 100644 --- a/src/client/refresh/files/models.c +++ b/src/client/refresh/files/models.c @@ -2866,6 +2866,11 @@ Mod_LoadModel_MDA_Text(const char *mod_name, char *curr_buff, { char base_model[MAX_QPATH * 2] = {0}; + if (!strcmp(mod_name, "models/pal/pal.mda")) + { + printf(">\n%s\n<\n", curr_buff); + } + while (curr_buff) { const char *token; @@ -2919,6 +2924,18 @@ Mod_LoadModel_MDA_Text(const char *mod_name, char *curr_buff, skins, numskins, read_file, type); + if (extradata && *type == mod_alias) + { + dmdx_t *pheader; + int i; + + pheader = (dmdx_t *)extradata; + for (i=0; i < pheader->num_skins; i++) + { + printf("%s|%s:%s\n", mod_name, base_model, (char *)pheader + pheader->ofs_skins + i*MAX_SKINNAME); + } + } + free(base); return extradata; } diff --git a/src/common/filesystem.c b/src/common/filesystem.c index ebe46bf5..5f143d22 100644 --- a/src/common/filesystem.c +++ b/src/common/filesystem.c @@ -1105,6 +1105,7 @@ FS_LoadDAT(const char *packPath) files[i].size = LittleLong(info[i].filelen); files[i].compressed_size = LittleLong(info[i].compressed_size); files[i].format = files[i].compressed_size ? PAK_MODE_DAT : PAK_MODE_Q2; + printf("file:%s\n", files[i].name); } free(info);