Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-01-28
10:20 • Closed ticket [1327885fff]: vfs::zip Mount error on some zip files plus 6 ot... artifact: 121f98f128 user: sf-robot
2008-01-14
07:58 • Pending ticket [1327885fff]. artifact: 27e6f64904 user: hobbs
2007-02-11
22:42 • Ticket [1327885fff]: 4 changes artifact: 3ae4c31de7 user: jibal
2007-02-10
05:50 • Ticket [1327885fff]: 4 changes artifact: 85fbe19f8a user: hobbs
2005-10-25
14:09 • Ticket [1327885fff]: 4 changes artifact: 80fabf1557 user: nobody
2005-10-16
11:32 • New ticket [1327885fff]. artifact: 1f16d3ad37 user: nobody

vfs::zip Mount error on some zip files

Closed / Works For Me1327885fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 19 years ago
Descriptionplain2005-10-16 11:32:36
Hello,
  
 I'm currently programming some Remote Admin stuff for 
the game "Call of Duty" with Tcl.
 For some of my features, I need to open files which are 
in .pk3 files.
 Pk3 files are the same as zip files (we can open it with 
winzip, winrar or others in the
same way and the structure is strictly the same)
 I have errors with somes of the pk3 files:
 - Nearly all the "official" pk3 delivered during the 
installation of the game itself
(pakx.pk3 and localized_x.pk3)
 - some of the custom pk3
 Most of the others don't cause the error...
  
 Example: 
  
 package require vfs::zip
  
 vfs::zip::Mount "E:/games/Call of 
Duty/awe_cod/w_awe_cod_v2.1_client.pk3" thePk3
  
 throw the error:
  
 unable to convert date-time string "2097-12-31 16:00:00"
  
 It seems to be some sort of offset error during the date 
search in the module zipvfs.tcl
  
 The file (w_awe_cod_v2.1_client.pk3) of the example 
can be found in the zip file available
here: http://www.awemod.com/mods/awe_v2.12.zip
 My operating system is Windows 2000 SP 4
 My Tcl/Tk distribution is ActiveState ActiveTcl 8.4.11.1 
  
 Best regards.
  
 PS: I hope that you could understand me as English is 
not my native language...
nobodyplain2005-10-25 14:09:25
Logged In: NO 

2097 is far out of sight of Unix/Windows/Mac date range.
Could this be the outcome of a Y2K bug, where (19)97 was 
intended, and somewhere just 2000 was added to the two-
digit-year?
Richard Suchenwirth
hobbsplain2007-02-10 05:50:02
Logged In: YES 
user_id=72656
Originator: NO

That zip file is unfortunately no longer available.  Can you please post it again, or attach it to this bug report?
jibalplain2007-02-11 22:42:17
Logged In: YES 
user_id=1362854
Originator: NO

The file is located now here:
http://awe.milliways.st/files/awe_v2.12.zip
hobbsplain2008-01-14 07:58:39
Logged In: YES 
user_id=72656
Originator: NO

Using AT 8.5.0 (in tkcon):

(Tcl) 51 % vfs::zip::Mount C:/temp/dl/awe_v2.12.zip t
filef610c0
(Tcl) 52 % ls t
t:
actf.cfg*                   awe.cfg*
bloodfx/                    dem.cfg*
docs/                       fog.cfg*
hlcrcon/                    lts.cfg*
rsd.cfg*                    w_awe_cod_svr_v2.12.pk3*
w_awe_cod_v2.1_client.pk3*  w_awe_uo_svr_v2.12.pk3*
w_awe_uo_v2.1_client.pk3*   z_awe_svr_customlogo.pk3*
sf-robotplain2008-01-28 10:20:13
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.