Alternate extensions for .zip files

Hi, I wanted to add file extensions to the Zip Compressed File type, so that DOpus treats .pak files exactly the same way as .zip files. So, I edited the file type, and set Extensions to contain both .zip and .pak.

However, DOpus still does not treat them the same. Double-clicking .zip files opens them in the current tab as if they were folders, as desired. Double-clicking .pak files opens a new window, showing the directory the .pak file is in, not the contents of the .pak. This infinitely recurses, and I can't get to the contents of the .pak file.

Even before I added the .pak extension, I had to remove the "open" action of the Zip File Type (which was set to the DOpus executable), or DOpus would do the above (incorrect) action of opening a new window even for .zip files.

So what's the deal, how do I make DOpus do its Zip thing for all file extensions I register?

Add the extensions under Settings -> Preferences / ZIP Files / Settings: ZIP Extensions.

Would it not be better if DOpus included all zip filetypes by default...?

There are hundreds of file types that are really zip files with different extensions. Would you want double-clicking on an OpenOffice of Office 2007 document to open it as a zip and show you the cryptic contents instead of opening the file in the apps?

(.pak files may be associated with game engine map/asset editors. You may want double-clicking .jar files to run the Java program rather than open them as an archive, and so on.)

And then, instead of people occasionally asking how to add filetypes to the zip list, we'd get people asking why Opus has taken over their files... :slight_smile:

Good shout guys, I'll shut up in future :smiley:

Yes, I'm happy with manually specifying the file extensions I want to be treated as ZIP files.

It's just confusing that setting the extensions in the general File Types option simply doesn't work for ZIP files, and must be set somewhere else.

And then, instead of people occasionally asking how to add filetypes to the zip list, we'd get people asking why Opus has taken over their files... :slight_smile:[/quote]

Since there is a semantic difference between wanting to explore the contents of an archive and wanting to execute it - I think Opus should handle both cases seamlessly.

Display files we identify as archive types in the folder tree so that we can explore their contents easily and still allow the default action with double click .. plus add a context menu item to archive files " .. explore this file".

Rob
:slight_smile:

[quote="robertmarkbram"]Since there is a semantic difference between wanting to explore the contents of an archive and wanting to execute it - I think Opus should handle both cases seamlessly.

Display files we identify as archive types in the folder tree so that we can explore their contents easily and still allow the default action with double click .. plus add a context menu item to archive files " .. explore this file".

Rob
:slight_smile:[/quote]

Actually, Opus does this already. I think I was confused before! (Apologies to blueroly!)

Adding an extension to the list of zip extensions does not affect what happens when you double-click it, at least when some program is associated with the type. (Opus might enter those files if nothing is associated with them but otherwise you would have to change the file type's association or double-click event to make them open on double-click.)

I just tested it by adding .pptx (PowerPoint 2007 document) to the list of zip extensions. I then saw .pptx files appear in the folder tree and I could click on them there to view the (messy :slight_smile:) contents, but if I double-click a .pptx file in the file display then it still opens in PowerPoint.

When I right-click a .pptx I get "Extract To" options. There isn't an option to go into them, though; that has to be done via the tree unless a context menu item is manually added to the file type.

These are my zip extensions: .zip;.jar;.ear;.war.

But none of these files show up in the folder tree. How can I set that up?

Rob
:slight_smile:

Make sure the ZIP files and other archives option is selected in Listers / Folder Tree / Show in Folder Tree.

Nice.. almost solved this issue for me.

Now I have zip, jar and ear files being displayed in the folder tree - but it doesn't do it for war files. My extension list is: ".war;.zip;.jar;.ear;". Is there anything I can do for this?

Extra kudos to Opus for being Aussie.. :smiley:

Rob
:slight_smile:

Nice.. almost solved this issue for me.

Now I have zip, jar and ear files being displayed in the folder tree - but it doesn't do it for war files. My extension list is: ".war;.zip;.jar;.ear;". Is there anything I can do for this?
[/quote]

OK - it is display wars, ears, jars and zips on the folder tree - but not nested archives.. i.e. if I have a .zip containing an .ear containing a .war, I want to navigate that entire tree on the Folder Tree..

Can this be done? :slight_smile:

Rob
:slight_smile:

No, nested zips aren't supported.