Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET Windows Explorer extension to browse a file like .zip?

I made a browser program for a archive type with the .mpq extension, which is highly used in Blizzard games.
It is like an explorer but only explores files inside MPQ archives.
Now, we all know how Windows Explorer browses .zip archives and I'd love to make it open the .MPQ files with so many rich features.

Is this even possible? So it is possible...
If so, then how? Shell Folder...

Can someone please point me to an example? (C#) I can't just translate C++ to C#...

like image 367
Vercas Avatar asked Nov 20 '10 19:11

Vercas


2 Answers

This is done via extending the shell classes. You'll need to implement the Basic Folder Object Interfaces to accomplish this.

like image 152
Reed Copsey Avatar answered Nov 02 '22 23:11

Reed Copsey


Although it is a C++ framework, there is a framework that implements exactly what you want, and that I have adapted with success for a similar file format: TarFolder (by the guy who developed GMail Drive).

You may also be interested in EZNamespaceExtension.Net, even if they do not support extension-based rooting (a workaround is to use URLs with specific protocols).

Finally, check out WindowsShell: it might be exactly what you are looking for !

Sorry for coming so late after the storm...

like image 23
Raphaël Saint-Pierre Avatar answered Nov 03 '22 00:11

Raphaël Saint-Pierre