Game Development Community

Unable to extract the zip

by Neil Marshall · in Torque Game Engine · 03/12/2006 (7:46 am) · 13 replies

I finally got around to downloading 1.4 but when I try to extract it it gives me an error saying it was unable to find a file and then stops. Is the zip on the server corrupt or was it my connection that crapped out? (I'm assuming that I'm the only one having the problem, but ya never know)

#1
03/12/2006 (9:02 am)
I think you are right, sounds like a bad download..
#2
03/12/2006 (9:04 am)
Windows doesn't seem to like the Torque Lighting Kit.app folder which appears to be mac stuff.
#3
03/12/2006 (9:15 am)
Hi guys,

Windows has either a maximum directory depth or path length (or both). OS X app bundles seem to house some fairly deep directory branches, so if you try to extract TLK into an already deep folder on your Windows machine the app directories will error out WinZip (because it can't create the directory).

If you extract the zip into a shorter path (example 'c:\TLK'), you can delete the app bundle and then move the TLK folder wherever you like.

The Windows and OS X releases may be split up in the future to avoid this.

-John
#4
03/12/2006 (9:44 am)
I wonder why I haven't run into this on Windows. I usually unzip to my desktop (c:\documents and settings\Dave\Desktop). Which then creates the Synapse Gaming, etc directory structure. Weird. Maybe it has something to do with using ALSTools on one machine and the default Windows Zip Folder tool on another rather than WinZip.
#5
03/12/2006 (9:48 am)
I had the same issue, even unzipping to the root c:/

Using UltimateZip's extract thru the application interface has no problems (and was about 4x faster)
#6
03/12/2006 (7:30 pm)
Thats really weird - I've had it just copying the TorqueLightingKit.app into a deep directory branch. Maybe the windows version has something to do with it? I'm running 2000 here.
#7
03/12/2006 (7:54 pm)
I'm using XP and I extracted into c:\projects\[SynapseGaming\etc...]
I'm also using the unzip which is built in to Windows XP to extract the files.

It works fine when I pull out each directory out one by one skipping over the mac dir. It's just extracting all fails.
#8
03/12/2006 (7:56 pm)
Even to "c:\tlk\"?
#9
03/12/2006 (8:03 pm)
I just tried extracting to c:\ with the directory structure, so c:\SynapseGaming\etc... and still got the error.

I made the folder c:\tlk and then went into the Zip to the SynapseGaming/contentPacks/LightingPack level and extracted that (ignoring the license docs up a couple levels) and STILL got the error.
#10
03/13/2006 (6:53 am)
Does WinZip work for you - are you able to use the TLK 1.4 zip at all?

I'll look into separating these is the future - I wanted to avoid making people download two 50M releases just to get the Windows and OS X prebuilt binaries. In the future I may make those separate downloads (50M platform independent source download, and two 3M binary downloads).
#11
03/13/2006 (7:27 am)
I don't know about winzip. Ever since XP started supporting zips natively I haven't touched any 3rd party software.

The zip does work. It's just "extract all" doesn't. I had to manually pull the directories out one by one.
#12
03/13/2006 (9:29 am)
My problem was with XP's native zip tool(as in right-click extract-to). If I use UltimateZip it has no problems. It is definitely a file path length thing and only seemed to affect the MacOS .app folder and deeper (mostly framework folders i believe).
#13
03/13/2006 (9:34 am)
You might consider distributing a self extracting .exe for the pc side if you can find a tool to build one that handles the paths (7zip is excellent for compression and a great command line interface, but I havent tested with this issue or possibly UltimateZip) and an identical package simply zipped up for those on MacOS or that have no path issues. Would be easier than managing two separate distributions.

If you have a zip file to test, let me know.