View Issue Details

IDProjectCategoryView StatusLast Update
0002723The Dark ModTDM Installerpublic27.10.2011 05:17
Reportergreebo Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionTDM 1.05 
Target VersionTDM 1.06Fixed in VersionTDM 1.06 
Summary0002723: tdm_update's differential updater leaves a corrupt tdm_game02.pk4
DescriptionSee gnartsch's forum post:

After running tdm_update (on Windows) I noticed that tdm_game02.pk4 is corrupt.

E:\Games\Doom3-TDM\ darkmod>C:\Programme\7-Zip\ 7z.exe t tdm_game02.pk4

7-Zip 9.20 Copyright © 1999-2010 Igor Pavlov 2010-11-18

Processing archive: tdm_game02.pk4

Testing binary.conf Data Error
Testing gamex86.so

Sub items Errors: 1

The issue can be solved by deleting tdm_game02.pk4 and running the updater again,
which will retrieve the entire file.
Additional Informationhttp://modetwo.net/darkmod/index.php?/topic/12555-minor-issue-with-tdm-update-and-tdm-game02pk4/
TagsNo tags attached.

Activities

greebo

greebo

07.04.2011 07:05

administrator   ~0003798

Found the problem. The tdm_game02.pk4 file contains (as all game binaries) the binary.conf info file which is exactly 2 bytes in size. In the Linux game PK4 this file is saved without compression (STORE) whereas in Windows the file is DEFLATED. When merging the PK4 files the updater is copying the raw data chunks between zip files and had been handling all data chunks as DEFLATED - for this one file this method was wrong, as the raw data is not deflated but stored. This lead to the integrity check failures. We have a couple of files that were stored in tdm_models01.pk4, but these are 0-sized files that's why I didn't run into this issue before while writing the updater.

Issue History

Date Modified Username Field Change
07.04.2011 04:58 greebo New Issue
07.04.2011 04:59 greebo Status new => confirmed
07.04.2011 07:05 greebo Assigned To => greebo
07.04.2011 07:05 greebo Status confirmed => assigned
07.04.2011 07:05 greebo Note Added: 0003798
07.04.2011 07:09 greebo Target Version => TDM 1.06
07.04.2011 07:09 greebo Status assigned => resolved
07.04.2011 07:09 greebo Fixed in Version => TDM 1.06
07.04.2011 07:09 greebo Resolution open => fixed
27.10.2011 05:17 greebo Status resolved => closed
19.05.2021 05:34 stgatilov Category TDM Updater => TDM Installer