ip7z / 7zip Goto Github PK
View Code? Open in Web Editor NEW7-Zip
7-Zip
I'm packaging 7-zip to a Linux distro. I'm not sure if I missed anything, but it seems that we can't create a DEBUG build unless hacking the makefile. I also see a few similar requests in Sourceforge.
Lines 35 to 37 in 5b39dc7
May I open a PR to add an env flag here? like:
CFLAGS_BASE = ...
ifdef DEBUG_BUILD
CFLAGS_BASE += -g
endif
By default, this change won't make any difference.
Dragging and dropping archives from 7-Zip to the temporary folder used by Explorer cannot be changed, always using environment variable %temp%
.
I would like to add an option to change this temp floder.
No response
No response
On Linux 7z echoes password prompts.
Expected behavior is to either hide the input completely or replace all characters with '*'.
I've run a benchmark on Ubuntu 24.04 with a packaged version (GCC 13.2.0: SSE2) and a version from https://www.7-zip.org/download.html (GCC 9.4.0: SSE2). The former:
paul@cube:~$ taskset -c 3 7z b 3 -mmt1
7-Zip 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
64-bit locale=en_US.UTF-8 Threads:4 OPEN_MAX:1024
mt1
Compiler: 13.2.0 GCC 13.2.0: SSE2
Linux : 6.6.0-14-generic : #14-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 30 10:27:29 UTC 2023 : x86_64
PageSize:4KB THP:madvise hwcap:2 hwcap2:2
Intel(R) N100 (B06E0)
1T CPU Freq (MHz): 3384 3369 3386 3383 3390 3388 3388
RAM size: 11690 MB, # CPU hardware threads: 1 / 4 : 8
RAM usage: 437 MB, # Benchmark threads: 1
Compressing | Decompressing
Dict Speed Usage R/U Rating | Speed Usage R/U Rating
KiB/s % MIPS MIPS | KiB/s % MIPS MIPS
22: 4914 100 4799 4781 | 45671 100 3892 3899
23: 4314 100 4381 4396 | 45455 100 3934 3935
24: 4021 100 4324 4324 | 44750 100 3922 3929
25: 3827 100 4369 4370 | 43758 100 3896 3895
22: 4897 100 4761 4764 | 45703 100 3901 3902
23: 4311 100 4404 4393 | 45466 100 3934 3936
24: 4028 100 4335 4332 | 44812 100 3932 3934
25: 3826 100 4369 4369 | 43773 100 3896 3896
22: 4883 100 4742 4751 | 45638 100 3901 3897
23: 4299 100 4381 4381 | 45306 100 3925 3922
24: 4015 100 4313 4318 | 44730 100 3922 3927
25: 3815 100 4359 4356 | 43805 100 3896 3899
---------------------------------- | ------------------------------
Avr: 4263 100 4461 4461 | 44906 100 3913 3914
Tot: 100 4187 4188
decompresses much slower (3914 MIPS) than the latter (5983 MIPS):
paul@cube:~/7z2301-linux-x64$ taskset -c 3 ./7zz b 3 -mmt1
7-Zip (z) 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
64-bit locale=en_US.UTF-8 Threads:4 OPEN_MAX:1024, ASM
mt1
Compiler: 9.4.0 GCC 9.4.0: SSE2
Linux : 6.6.0-14-generic : #14-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 30 10:27:29 UTC 2023 : x86_64
PageSize:4KB THP:madvise hwcap:2 hwcap2:2
Intel(R) N100 (B06E0)
1T CPU Freq (MHz): 3349 3369 3379 3372 3387 3389 3388
RAM size: 11690 MB, # CPU hardware threads: 1 / 4 : 8
RAM usage: 437 MB, # Benchmark threads: 1
Compressing | Decompressing
Dict Speed Usage R/U Rating | Speed Usage R/U Rating
KiB/s % MIPS MIPS | KiB/s % MIPS MIPS
22: 4898 100 4780 4765 | 70254 100 6003 5998
23: 4313 100 4404 4395 | 69701 100 6039 6033
24: 4024 100 4324 4327 | 66763 100 5861 5861
25: 3825 100 4369 4367 | 66700 100 5964 5937
22: 4893 100 4761 4760 | 69758 100 5961 5956
23: 4319 100 4404 4401 | 69700 100 6018 6033
24: 4034 100 4356 4338 | 68719 100 6017 6033
25: 3822 100 4369 4365 | 66794 100 5940 5945
22: 4895 100 4761 4763 | 70236 100 5982 5997
23: 4320 99 4427 4402 | 69604 100 6018 6025
24: 4034 100 4345 4338 | 68771 100 6017 6037
25: 3823 100 4364 4365 | 66687 100 5940 5936
---------------------------------- | ------------------------------
Avr: 4267 100 4472 4465 | 68641 100 5980 5983
Tot: 100 5226 5224
Почему на чтение открывает все wim файлы, а на изменение\удаление содержимого далеко не все. (от вида сжатия не зависит)
Часто пишет "Some files have incorrect reference count" и изменить ничего не даёт.
Вам известны "правильные" параметры в командной строке dism, для того чтобы создать wim который 7zip сможет открыть для изменения? Или это от версии dism зависит?
Hello,
I've recently built a project that relies on downloading 7za.exe
on the fly to automate extracting an archive. 7zr.exe
is not up to the task for this particular archive. As far as I know, 7za.exe
is only officially available within the extra.7z
package, which unfortunately requires 7-Zip to unpack. As a result, I've resorted to hosting 7za.exe
alongside my own project-- but I'd prefer to link to an official release instead.
Is this a possibility?
Thanks!
On Linux, files in 7z archives packed from STDIN have attributes at all.
Expected behavior is to have default attributes: 775 | rwxrwxr-x
Hello. I have downloaded an old version of Windows 1.03 from Winworld for the HP 150 x86 based PC, and the disk images are all Teledisk image format (.td0). I do not have the ability to use Teledisk, as it is a DOS program, and I am running 64-bit Windows 7. Can you add Teledisk extraction support, as all the software I have for disk images, including 7-Zip cannot open them. Thanks in advance!
The winrar (?) had option if are selected several archives, and with right mouse button has menu - unzip each in different folder, where name of the folder is the name of the archive.
This is very convenient.
7-Zip Doesn't have auto update since it says offline. However, using third party such as Glary Utilities should work by detecting latest version.
I would like 7-Zip to have support check updates, including automatic and manual.
One of the alternate does have other programs have check updates such as gBurner, AnyBurn, ImgBurn, etc.
Per following this: https://sourceforge.net/p/sevenzip/discussion/45797/thread/c2066626d9/
Hi, I could swear 7-zip had option to create MD5 hash of a file through the CRC SHA, but now I can't seem to find a way to do it, only CRC or SHA. Am I misremembering? If not, would it be possible to bring this feature back?
7-Zip does have English language for default. However, for some reasons, most of the words are using American text because English (United Kingdom) language is not present.
I would like to add English (United Kingdom) Language for 7-Zip. Because the flag is literally United Kingdom, and most words are different, such as Favoruites. as the American text is Favorites (in case on the menu bar).
Possibly, English (English) is the default language. The reason there are various region language for English regions such as United Kingdom.
Per following this: https://sourceforge.net/p/sevenzip/feature-requests/1600/
I also made English UK Flag with Logo, the logo is credited to the Nurudin.
Igor said he doesn't want add anymore languages, He asked about British English localization for Windows. To be honest, British English was introduced in Windows 8 for the main language since in 2012. that being said, the Language code is called en-GB.
I Initially make base for en.ttt file, then I save the text file for en-GB language. As soon I always update some strings, I always keep updated to make up to date in the future.
Comparing from ImgBurn, I initially made change several strings to matching from ImgBurn and some resembles from Windows 8. through 11. for example, "Computer" text would be "This PC", this will be resembled from Windows 8.1 through 11.
You can clearly see on the changes I made on the above, those are updated to keep my language file for British English.
In other words, some language flag are also appeared in various games such as FIFA 14 and FIFA 23, and other European games that including Language selection, these are flag named it: English (United Kingdom), or British English instead.
Here's what the language flag would looks like in FIFA 23:
If you see these, this means it's British English flag, so let me know if you interested this.
Behaviour replication
Step 1
Enable 2 Panel View
Step 2
Close 7zip
Step 3
Open Zip File
Close 7zip
Open Different zip File
Resume:
Double click on zip file to open, the ZipFile is show on random panel (Left or right)
These makes quite confusing
Suggestion: when Open Zip File the same panel should be used ex: Left Panel
System information:
OS: Windows 10 22H2
7-Zip version: 24.05 x64
I have a 4K monitor and use 200% scaling and I have an issue with the context menu icons not scaling properly. I know that Windows has high dpi compatibility settings, and those work well with the 7-Zip GUI; however, they do not affect the context menu icons.
The 7-Zip icons are about half the size as the other context menu items as shown below:
Instead of using the bmp
in 7-zip.dll for the context menu icon, could the ico
be used instead, since there is both a 16x16 and 32x32 version?
Given that since (quite enough) many years already (source: Wikipedia) SHA-1 hash algorithm is practically being discontinued more and more, even if still quite widely used, my suggestion for next v24.05 or successive v24.06 beta is also to start lowering its importance by also changing displayed order for available CRC SHA hash calculation in 7-Zip shell integration context menu from SHA-1, SHA-256 to SHA-256, SHA-1 (as well as in 7-Zip own internal File -> CRC menu).
So here's a quick visual example of how actual CRC SHA menu appears displayed in Explorer after 7-Zip shell context menu integration (just like also displayed by 7-Zip internal File -> CRC menu) and how it would become after implementing my suggestion :
CRC32 CRC32 CRC64 CRC64 CRC SHA - SHA-1 CRC SHA - SHA-256 SHA-256 SHA-1 ... ...
P.S. I've also already noticed and appreciated ( 👍 ) the fact that when choosing '*' in CRC menus (after 7-Zip Explorer shell integration and even in its internal one) SHA-256 calculation is already made and listed before SHA-1 one.
can you update the software so on windows 11 context menu it shows before the show more options
https://www.reddit.com/r/Windows11/comments/12alrgw/move_7zip_from_show_more_options_to_appear_in/ - chat here
For 23.01, -Werror
triggered a lot of compilation errors when using Clang/LLVM 17 to build Alone2 on Linux.
Line 27 in 5b39dc7
I've confirmed that removing this specific option when using Clang can resolve the issue.
May I open a PR for this? The fix may be as follows.
ifneq ($(CC), xlc)
CFLAGS_WARN_WALL = -Wall -Wextra
ifndef USE_CLANG
CFLAGS_WARN_WALL += -Werror
endif
endif
is there by any change to be added .zst format ?
Please add support to add/remove files/folders in IMG (FDD, HDD) and ISO files.
Describe the bug
If you try open notepad (such as Windows Notepad) running on Windows 2000 through Windows 7, the line ending is incorrect for Language text files.
To Reproduce
Steps to reproduce behavior:
C:\Program Files\7-Zip
C:\Program Files (x86)\7-zip
fr.txt
and de.txt
Expected behavior
Line Ending must set DOS/Windows that allowing CR and LF (according on MousePad xfce)
Screenshots
Here is the comparison Before and After.
The Before shows Unix Line Ending which there are lots of square symbol, meaning it is glitched if you run Windows Notepad. In Windows 10 v1809, it only works fine.
The after: This is the Line ending that I changed from Unix to DOS/Windows itself.
What version(s) of 7-Zip have this bug?
24.01 Beta x86 according below in environment and others.
Environment and others (please complete the following information)
Additional Context
Line Ending for translation might glitched if you save again when you running on Windows, resulting error message appears (well, sort of). However, the issue was found back in version 24.01 released. In that circumstance, 23.01 is okay, since the Line ending had DOS/Windows itself.
However, the solution is simple, you can use Notepad2 by following select: File -> Line Endings -> Windows (CR+LF).
For Notepad++, there is line ending option called EOL Conversion.
Have you checked that no similar bug report(s) exist?
I cant remove it
some websites use the same password for their zip files and the option to save them in maybe some kind of list would be a good QOL, as an example the password for their files are "ABCD.EFG" when the extractor asks for the password it can pre fill ( like browser search fields) or show the option when you press "A" to make it faster for the user to complete it. while it can be a security issue if not careful i feel it can be done as long as the person needs to intentionally in the setting page with maybe a small warning about the possible scenario.
thanks for the great app as well
Hello can you implement any of the following abilities?
-Update files based on file size and/or file modified time.
-Configure extract mode via config.
-Configure target directory via config. (In my test implementation I fallback to tempDir if extractPath not specified)
-Allow one to issue ShellExecuteEx /w runas verb via config so we can get elevation.
-ExpandEnvironmentStrings for paths in the config.
-Unicode by default.
Thanks!
btw in ReadDataString
:
if (posTotal > (1 << 20)) return (stringResult.IsEmpty());
should be...
if (posTotal > (1 << 22)) return (stringResult.IsEmpty());
to handle reading config up to 4MB stub
There are many Simplified Chinese translations in the new version that have not been translated, which I have updated and supplemented based on the original translation.
7zz
executable (Alone2
) and 7z.so
library (Format7zF
) fail to compile with AVX512 support enabled.
E.g. when setting -march=x86-64-v4
in CFLAGS
.
../../../../C/Blake2s.c: In function ‘z7_Black2sp_Prepare’:
../../../../C/Blake2s.c:2552:11: error: implicit declaration of function ‘CPU_IsSupported_AVX512F_AVX512VL’; did you mean ‘CPU_IsSupported_VAES_AVX2’? [-Wimplicit-function-declaration]
2552 | if (CPU_IsSupported_AVX512F_AVX512VL())
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| CPU_IsSupported_VAES_AVX2
make: *** [../../7zip_gcc.mak:1164: _o/Blake2s.o] Error 1
Truns out this function declaration is commented out for some reason:
Line 610 in fc66234
But still invoked in the code:
Line 2552 in fc66234
Uncommenting it makes the build successful.
Пожалуйста, получите доступ к машине на архитектуре Эльбрус (e2k) и исправьте ошибки сборки, которые появились в версии 23.
Всё из-за того, что вы добавили использование векторных интринсиков для Интела. Разработчики Эльбруса сделали конвертацию Интловских интринсиков в свои. У них есть поддержка всего до AVX2, но всё что выше SSE4.1 (включая AVX2, AES, SHA , что почему-то включаются по умолчанию) вы использовать не должны, потому что 256-бит векторов у Эльбруса нет, а интринсики для AES и SHA медленно эмулируются, так как на них нет эквивалентных инструкций.
Я сделал некрасивый патч, которым заткнул проблемы.
How to reproduce:
7z a archive-path.7z -mx=9 dir-to-archive
7z t archieve.7z
7z t archive.7z
till it properly ends saying everything is ok. Be a little be confused.Reproduced with 7-Zip 24.07 (x64)
on Windows 11
What could be changed so, error message would state something like
Integrity check was interrupted by signal, proper information is not available
?
Should it be done in a first place, because it already writes Break signaled
with the last line of message after typing ctrl-c ?
the convention for source tarballs is that they extract to a directory with the same name as the tarball, without the tar.whatever extension:
zlib-1.2.3.tar.gz -> zlib-1.2.3
so 7z2407-src.tar.xz should extract to 7z2407-src
in my distro are 1467 packages, and only 7zip and 3 others are misbehaving in this regard.
Hi i See that only 29 lines is missing to translate. Where can I find localisation file/s to translate? Thanx.
So, i will like to get info about zip
13_07_2024__23_12_59.zip
but when i run the command 7z l 13_07_2024__23_12_59.zip
i get this
7-Zip 24.07 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-06-19
Scanning the drive for archives:
1 file, 16779276 bytes (17 MiB)
Listing archive: 13_07_2024__23_12_59.zip
--
Path = 13_07_2024__23_12_59.zip
Type = zip
Physical Size = 16779276
Date Time Attr Size Compressed Name
------------------- ----- ------------ ------------ ------------------------
2024-07-13 23:13:02 D.... 0 0 ______________________________CUSA02625_CUSA02625
2024-07-13 23:13:02 D.... 0 0 ______________________________CUSA02625_CUSA02625\PS4
2024-07-13 23:13:02 D.... 0 0 ______________________________CUSA02625_CUSA02625\PS4\SAVEDATA
2024-07-13 23:13:02 D.... 0 0 ______________________________CUSA02625_CUSA02625\PS4\SAVEDATA\6e789933f239e402
2024-07-13 23:13:22 D.... 0 0 ______________________________CUSA02625_CUSA02625\PS4\SAVEDATA\6e789933f239e402\CUSA02625
2024-07-13 23:13:24 ..... 16777216 16777216 ______________________________CUSA02625_CUSA02625\PS4\SAVEDATA\6e789933f239e402\CUSA02625\savedata
2024-07-13 23:13:24 ..... 96 96 ______________________________CUSA02625_CUSA02625\PS4\SAVEDATA\6e789933f239e402\CUSA02625\savedata.bin
------------------- ----- ------------ ------------ ------------------------
2024-07-13 23:13:24 16777312 16777312 2 files, 5 folders
notice how the arabic letters are replaced with underscores, this makes the paths useless, i need the paths in order to extract just one file from the zip, it would be better if it showed something like
as although its question marks, the actual character data is still there, and 7zip is able to extract the file using that command
As a KDE/Gnome user, a GUI is necessary to operate, including desktop services to access an archive from Dolphin or Nautilus/Files.
Please add those elements in order to improve the usability and accessibility of 7zip.
System information:
OS: Windows 10 22H2
7-Zip version: 24.04 beta x64
I am having as issue where 7-Zip's context menu shows the options to extract files for mkv and webm video files.
I have the following context menu items selected in the options menu:
When I right click on most video files, only the add to archive and CRC entries appear, which is what I would expect; however, when I right click on any mkv or webm files I get the following:
It seems like 7-Zip is treating these formats as an archive. Would it be possible to prevent the extraction options from showing up in the context menu for all media files?
Hello, can you please migrate the build environment to vs2022?
Thanks!
Hi, is there repository for debian?
众里寻她文化传媒(武汉)有限公司汉川分公司 存在封装收费7z软件得情况,咨询一下是否给该公司授权了?这是该公司得7z下载网址 https://7zip.whswxkj.com/index.html
When select file and right click on it, then select a File Context Menu "Open Archive" - it does not open selected file as archive.
Any format does not react to the "Open Archive" context menu item...
How to fix it?
My OS: Windows 10 x64
Earlier verions, like 9+ worked before just fine.
Dear development members of the 7zip project team!
I have a suggestion for optimization on the tool panel of 7zip, to add a graphical element that implements one-click decompression (the function being to decompress to the current path). The purpose of this suggestion is to reduce the user's path selection operation and optimize the user experience.
I hope it will be adopted, thank you very much.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.