Horde3D

Next-Generation Graphics Engine
It is currently 21.04.2025, 03:14

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 23.12.2008, 12:26 
Offline

Joined: 15.04.2008, 00:33
Posts: 15
When extracting the archives of Horde3D and the extensions/tools I get back-slashes instead of directory-breaks (which in Unix/Linux is a forward slash).

I think this is because you are using an old archiving tool.

From info-zip.org:
Quote:
Why does my Unix UnZip extract flat filenames with backslashes in them instead of a subdirectory tree?

Short answer: because that's how they're stored in the zipfile, and backslashes ('\') are regular filename characters, not directory separators.

Longer answer: older versions of WinZip (and, no doubt, some other clone zippers) stored filenames using backslashes as directory separators in violation of PKWARE's appnote, which specifies that forward slashes ('/') should be used. Newer versions of WinZip correct that bug, so if you created the archive in question, you should upgrade. If someone else did, you should ask them to upgrade.

There is no capability in Unix UnZip to treat backslashes as directory separators (since they're perfectly acceptable filename characters, just like colons, quotes, and pretty much everything other than forward slashes), so if you want to extract the archive as a subdirectory tree without hacking the source code, you'll need to rename the archive entries. See the next item for more information about that.


Could you possibly update your winzip for the next release, it would make things a lot easier for me.

Cheers


Top
 Profile  
Reply with quote  
PostPosted: 23.12.2008, 13:08 
Offline

Joined: 15.04.2008, 00:33
Posts: 15
aaaaaaaaah... use the SVN


still, not a bad thing to update your software :)


Top
 Profile  
Reply with quote  
PostPosted: 23.12.2008, 18:58 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Thanks for the hint, we will try to fix that with the next release.


Top
 Profile  
Reply with quote  
PostPosted: 24.12.2008, 05:02 
Offline

Joined: 21.08.2008, 11:44
Posts: 354
I've same problem in Xubuntu. It's better to use 7zip. It's free, crossplatform [win, mac, debian, ...] and gives better compression ratio [lzma]. I'm using 7z in winxp and xubuntu and there isn't any conflict or problems with directory names :wink:


Top
 Profile  
Reply with quote  
PostPosted: 24.12.2008, 12:15 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
Siavash wrote:
I've same problem in Xubuntu. It's better to use 7zip. It's free, crossplatform [win, mac, debian, ...] and gives better compression ratio [lzma]. I'm using 7z in winxp and xubuntu and there isn't any conflict or problems with directory names :wink:
Unfortunately, 7z is not installed by default *anywhere* that I know of. :(

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
PostPosted: 24.12.2008, 17:02 
Offline

Joined: 21.08.2008, 11:44
Posts: 354
swiftcoder wrote:
Unfortunately, 7z is not installed by default *anywhere* that I know of. :(
Yes, 7z is not installed by default *anywhere* :?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 78 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group