Hi.
Is there a way to modify SFX ZIP archives when browsing them using the Ctrl+PgDn combination?
There is an addon for Firefox (SingleFile) that saves web pages by packing all content inside saved html in SFX ZIP.
Internal ZIP doesn't respond to the Ctrl+PgDn combination if the file extension was not changed from .html to .zip, but even with the changed extension to .zip, it gives the following error:"Cannot modify multi-volume archive!"
Total7zip using the Ctrl+PgD combination goes inside the .html file without the need to change the extension, but even in this case, when trying to modify it, the error is displayed: "Not implemented. There is some data block after the end of the archive".
I contacted the 7zip developers, to which they replied: "7-Zip blocks update operations for sfx-zip, bacause we are not sure for 100% that we can correctly update it."
The only packer that managed to handle the task is WinRAR, but it does so only if opening such archives directly in it, not through Ctrl+PgDn in TC.
Example of such a file:
https://www.upload.ee/files/15945187/Total_Commander_-_home_-_www.ghisler.com__16-11-2023_12_53_57_AM_.html.html
Modifying SFX ZIP
Moderators: Hacker, petermad, Stefan2, white
Re: Modifying SFX ZIP
This file is not an SFX ZIP file, it's not even a ZIP file. It's an HTML file with a ZIP file put within an HTML comment section. You'll have a hard time finding any program that can modify such a file...
Maybe try to find an addon that saves a web page as MHT file or similar. There's even a TC packer plugin that open such files as archives: https://totalcmd.net/plugring/MhtUnPack.html
Regards
Dalai
Maybe try to find an addon that saves a web page as MHT file or similar. There's even a TC packer plugin that open such files as archives: https://totalcmd.net/plugring/MhtUnPack.html
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: Modifying SFX ZIP
Here is a description of whether this file is a self-extracting ZIP or not:Dalai wrote: 2023-11-15, 23:53 UTC This file is not an SFX ZIP file, it's not even a ZIP file. It's an HTML file with a ZIP file put within an HTML comment section. You'll have a hard time finding any program that can modify such a file...
https://github.com/gildas-lormeau/SingleFile/blob/master/faq.md#how-does-the-self-extracting-zip-format-work
Re: Modifying SFX ZIP
2Dalai
Thanks a lot for the advice.
Unfortunately, the MhtUnPack plugin doesn't work. It does not display any files, while 7zip displays and extracts files without any problems, but cannot modify them.
Thanks a lot for the advice.
Unfortunately, the MhtUnPack plugin doesn't work. It does not display any files, while 7zip displays and extracts files without any problems, but cannot modify them.
Re: Modifying SFX ZIP
It does work for MHT files, but I can't say for sure that it works for all of them. It might depend on how the MHT file was created - different browser addons can create different files. Unfortunately I didn't find any addons that work in current Firefox versions.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: Modifying SFX ZIP
I've tried all TC plugins related to the topic, e.g. such as https://totalcmd.net/plugring/zar.html, but none of them worked.Dalai wrote: 2023-11-16, 15:27 UTC Unfortunately I didn't find any addons that work in current Firefox versions.
Re: Modifying SFX ZIP
As I said, it's an HTML file. Open the file in any editor and you'll see.
IMO the page you linked to above also explains why so few programs can open that file as an archive: The ZIP specification might allow for additional bytes before and after the payload, but that doesn't mean every software has to support that.
Regards
Dalai
IMO the page you linked to above also explains why so few programs can open that file as an archive: The ZIP specification might allow for additional bytes before and after the payload, but that doesn't mean every software has to support that.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror