#3268 vfs::zip Mount error on some zip files

obsolete: 8.4.11
closed-works-for-me
5
2008-01-28
2005-10-16
Anonymous
No

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...

Discussion

  • Nobody/Anonymous

    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

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2007-02-09

    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?

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2008-01-14
    • status: open --> pending-works-for-me
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2008-01-14

    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*

     
  • SourceForge Robot

    • status: pending-works-for-me --> closed-works-for-me
     
  • SourceForge Robot

    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).

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks