When using ctrl-pgdn to open archive by plugin with PK_CAPS_BY_CONTENT, sometimes 'Error in packed file: ...' message box pops up. It would be nice to know the source of this error.
I suppose there can be more sources -- tcmd internal unpackers and all the PK_CAPS_BY_CONTENT plugins. And it seems that the archive processing stops even if there are some plugins that could handle this file correctly -- that's another closely related suggestion -- not to stop the archive processing on this error.
report source of 'Error in packed file'
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You should get this error only if none of the plugins supporting PK_CAPS_BY_CONTENT supports the file type.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I get this error eg when I press ctrl-pagedown on unacev2.dll from TotalCmd's installation, without any wcx plugins installed at all -- you should be able to reproduce this easily. I'm sorry for not providing the example earlier.
/edit:
Note: On other files in the installation there is no error message box, even if they're not supported by any of the plugins. And the plugin of mine handles all PE files, so the condition of format not being supported by any of the plugins does not come true.
/edit:
Note: On other files in the installation there is no error message box, even if they're not supported by any of the plugins. And the plugin of mine handles all PE files, so the condition of format not being supported by any of the plugins does not come true.
UNACEV2.DLL simply is no archive at all. Pressing Ctrl-PgDn on any file that is not an archive will result in the error message "Error in packed file <name of file>".
This is expected behaviour. What else should happen?
Karl
This is expected behaviour. What else should happen?
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
@karlchen
Ok, but what makes unacev2.dll different from for example unrar.dll? Pressing ctrl-pagedown on unrar.dll - without any plugins - just does nothing.
Now imagine i've got a plugin that makes any dll behave like an archive -- there are structures in the Portable Executable (PE) format that can be sensibly taken as archive contents, for example the sections -- now I would like TCmd to pass control to my plugin for each possible PE file -- but it's blocked for some of the files. That's what I want to resolve here.
Ok, but what makes unacev2.dll different from for example unrar.dll? Pressing ctrl-pagedown on unrar.dll - without any plugins - just does nothing.
Now imagine i've got a plugin that makes any dll behave like an archive -- there are structures in the Portable Executable (PE) format that can be sensibly taken as archive contents, for example the sections -- now I would like TCmd to pass control to my plugin for each possible PE file -- but it's blocked for some of the files. That's what I want to resolve here.
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You probably have a plugin installed (which detects archives by content, not by extension) which thinks that it can handle the file, e.g. a resource view plugin. If the plugin tells TC that it cannot handle the file, TC will not show any error. However, if the plugin tells TC that it CAN handle the file, but then returns an error, TC shows that there is an error in the archive.Ok, but what makes unacev2.dll different from for example unrar.dll? Pressing ctrl-pagedown on unrar.dll - without any plugins - just does nothing.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Hello, liborm.
Before replying I had tested that I get the same "Error in packed file <name>" no matter which DLL file I pressed Ctrl-PgDn on.
This includes unrar.dll. So, nothing special about unacev2.dll.
Kind regards,
Karl
Before replying I had tested that I get the same "Error in packed file <name>" no matter which DLL file I pressed Ctrl-PgDn on.

Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song