UExtract-4.12 - A Universal/Utter/Ultimate/Uhatever Extractor

Moderator: Forum moderators

User avatar
JakeSFR
Posts: 252
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 123 times

UExtract-4.12 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by JakeSFR »

[Original thread: http://oldforum.puppylinux.com/viewtopic.php?t=87864]

In order to ease unpacking of various archive formats, I forged One Script to Rule Them All (well, at least most of them ;) ).

It's packaged as a ROX right-click app, but the script itself (/usr/local/apps/UExtract/uextract) can be used from command line.
For example - to extract 'archive.tar.gz', 'arch2.7z' and 'somepkg.rpm' from current dir to /root/somedir:

Code: Select all

uextract -o /root/somedir archive.tar.gz arch2.7z somepkg.rpm

Same thing can be done via 'right-click -> Open With -> UExtract'.
BTW, each archive will be always extracted to a separate subdirectory!


UExtract can make use of the following tools:

  • 7z

  • aescrypt

  • age

  • anim_dump

  • apngdis

  • ar

  • arj

  • asar

  • avconv/ffmpeg

  • balz

  • base32

  • base64

  • bbb

  • blkar

  • bcrypt

  • brotli

  • b(un)zip2

  • b(un)zip3

  • c1541

  • ccrypt

  • cpio

  • cryptsetup

  • dar

  • dcmj2pnm

  • dcml2pnm

  • ddjvu

  • detex-convert

  • dpkg-deb

  • dzip

  • exploderpm

  • extract_chmLib

  • extract-ikconfig

  • fdisk

  • flzp

  • fossil

  • fp8

  • fsbext

  • fusecompress_offline

  • gdisk

  • gifsicle

  • gigdump

  • gigextract

  • gostcrypt

  • gpg/gpg2

  • grpar

  • gs

  • g(un)zip

  • kgb

  • kickstart.php

  • ha

  • hexbin

  • hlextract

  • icotool

  • innoextract

  • lbrate

  • lepton

  • lha

  • lizard

  • losetup

  • lpaq1

  • lpaq8

  • lr(un)zip

  • lz4

  • lz4jsoncat

  • lzfse

  • lzip

  • maxcso

  • mcrypt

  • MPQExtractor

  • msgunfmt

  • nanozip

  • nomarch

  • nulib

  • ostree

  • pak

  • paq8l

  • paq8n

  • paq8o

  • pdfdetach

  • pdfimages

  • pdftocairo

  • pdftotext

  • php

  • pgn-extract

  • picocrypt

  • poweriso

  • qemu-nbd

  • quad

  • ripmime

  • rpm2cpio

  • r(un)zip

  • scrypt

  • sf2dump

  • sf2extract

  • snzip

  • sqlite3

  • steghide

  • stripttc

  • swfextract

  • tar

  • tnef

  • tor

  • tosz

  • truecrypt

  • unace

  • unadf

  • unalz
    *arc
    asd
    compress

  • uncpk

  • undms
    ecm

  • unegg
    freeze
    lzma
    lzop

  • unlzx

  • unmo3

  • unnaf

  • unp64

  • unpack200
    rar

  • unsquashfs

  • unuc2
    *xz

  • unzip

  • upx

  • uudecode

  • veracrypt

  • wadext

  • wvunpack

  • xar

  • xcur2png

  • xxdecode

  • zimdump

  • zoo

  • zpaq

  • zstd

  • zxing

  • zzip



Supported, though not extensively tested, formats/extensions are:

.??_ .2fs .3fs .3g2 .3ga .3gp .3gpp .4fs .7z .7z.001 .7zip .a .a[0-9][0-9] .a2theme .aab .ab .ace .acp .actc .adf .adz .aes .age .ai .apkm .apks .alz .amf .ani .apk .aplp .app .appimage .appx .appxbundle .apz .aqz .ar .arc .arch00 .arduboy .arj .ark .asar .asc .asd .asf .atz .au .avastsounds .avi .azw2 .b32 .b64 .baklz4 .balz .bau .bbb .bdoc .bfe .bgz .bin .blend .bmp .bmz .bootskin .br .bro .btrfs .bxy .bz .bz2 .bz3 .bzip .bzip2 .bzip3 .cab .capx .catrobat .cb7 .cba .cbb .cbg .cbr .cbt .cbz .cdd .cdmtz .cdmz .cfs .cgz .chm .chrt .cl2arc .cld .cpgz .cpio .cpio.7z .cpio.br .cpio.bro .cpio.bz .cpio.bz2 .cpio.bz3 .cpio.bzip .cpio.bzip2 .cpio.bz3 .cpio.f .cpio.gz .cpio.gzip .cpio.lrz .cpio.lz .cpio.lz4 .cpio.lzma .cpio.lzo .cpio.xz .cpio.z .cpio.zip .cpio.zst .cpk .cpl .cps .cpt .cptl .cptx .cramfs .crf .crx .cso .ctb .ctx .ctz .cur .curtainsstyle .curxptheme .cvd .cxarchive .d64 .d71 .d81 .daa .dar .dat .dazip .db .db3 .dbk .dcm .ddeb .dds .deb .depot.gz .deskthemepack .dia .disk .divx .djvu .dll .dmg .dms .docm .docx .dotx .dsk .dsl .dxpack .dylib .dz .ear .eaz .ecm .ecs .ecsbx .eds .efi .efossil .eftx .egg .emerald .eml .emz .eopkg .epk .epub .esriaddin .exe .ext2 .ext3 .ext4 .f .f3d .f3z .f4v .fat .fb2k-component .fcstd .fdi .flac .flatpak .flf .flp .flv .flzp .fomod .fossil .fp8 .fsb .fsl .fwp .fzbz .fzpz .fzz .g3x .gadget .gc .gcf .gem .gg .gif .gifar .gig .gmz .gnumeric .gnutar .goomod .gpg .gps .graphmlz .grp .gst .gszip .gtar .gtp .gz .gz2 .gzi .gzip .h264 .ha .hc .hevc .hfs .hfv .hid .hme .hmxz .honmod .hqx .htmlz .htz .hwp .i5z .iar .icl .icmod .icns .ico .igz .ima .image .img .imz .ip .ipa .ipcc .ipg .ipk .ipsw .iso .ita .itz .iwd .ja .jar .jet .jgz .jic .jpa .jpeg .jpg .jps .jsonlz4 .jwpub .k3g .key .kfo .kgb .kmz .kpr .ksf .ksp .ktx .kwd .lbr .lca .lemon .lep .lha .libzip .little .liz .lnx .love .lpaq1 .lpaq8 .lpk .lpkg .lrv .lrz .luks .lxf .lz .lz4 .lza .lzfse .lzh .lzm .lzma .lzo .lzx .m2s .m2ts .m2v .m4b .m4v .maff .mar .mbox .mbx .mbz .mcaddon .mcgame .mcpack .mct .mcworld .mdf .mds .mdz .mdzip .mepx .mga .mht .mhtml .mim .mime .mk3d .mkv .mmip .mo .mo3 .mov .mozlz4 .mp3 .mp4 .mpeg .mpg .mpk .mpkg .mpq .mpz .mpzip .mscz .msg .msi .msix .msp .msu .msz .mtf .mts .mtz .mxf .mxl .mxskin .mzp .mzz .naf .nbf .nbm .nc .ndr .nex .nfl .ngr .nif .nlr .nrg .nsis .nsv .ntfs .nth .numbers .nupkg .nut .nz .oar .obt .ocx .odb .odc .odf .odg .odi .odm .odp .ods .odt .oex .ogg .ogv .ogz .oiv .onepkg .opk .orb .osk .otg .oth .otp .ots .ott .ova .ovp .oxps .oxt .p2s .p2s.backup .pack .package .pages .pak .paq8l .paq8n .paq8o .par .pat .pax .pbi .pbp .pcv .pdf .pdmod .pet .pfs .pgn .pgp .phar .pigm .pigs .pisi .piz .pk3 .pk4 .pkg .pkz .pmlz .png .potx .ppsm .ppsx .pptm .pptx .prg .psz .pup .pvga .pxz .qch .qcow .qcow2 .qcow2c .qpk .qpr .qt .qtz .quad .quiz .r[0-9] .r[0-9][0-9] .rar .rar5 .reaperthemezip .rjs .rlib .rmskin .rp9 .rpm .rsn .rub .run .rxdbak .rz .s3z .safariextz .sam .sar .sb .sb2 .sb3 .sbsar .sbx .sc2archive .sc2assets .sc2data .sc2ma .sc2mod .scdoc .scm .scr .sdi .sdk .sdt .sdz .sf2 .sfe .sfg .sfs .sfx .sh .sh2 .sh3d .sh3f .sh3t .shar .shk .shr .sifz .sjr .skm .skz .sle .slm .slp .smskin .smt .smzip .snap .snappy .snb .snz .sob .soundpack .sox .spack .spk .spm .sprite2 .sprite3 .sqf .sqfs .sqlar .sqlite .sqlite3 .sqlitedb .sqsh .squashfs .srm .stc .std .sti .stm .stpz .studyarch .stw .styx .sublime-package .sue .svgz .swc .swf .swm .sxc .sxd .sxg .sxi .sxm .sxw .sxz .sys .sz .t64 .tar .tar.7z .tar.br .tar.bro .tar.bz .tar.bz2 .tar.bz3 .tar.bzip .tar.bzip2 .tar.bzip3 .tardist .tar.f .tar.gz .tar.gz2 .tar.gzip .tar.jet .tar.lrz .tar.lz .tar.lz4 .tar.lzma .tar.lzo .tar.md5 .tar.xz .tarz .tar.z .tar.zip .tar.zst .taz .tazpkg .tb2 .tbz .tbz2 .tbz3 .tc .tce .tcel .tcem .tcx .tcz .tg .tgz .themepack .thm .thmx .tlrz .tlz .tlz4 .tlzma .tmf .tnef .tor .tpkg .tpxz .tpz .ts .ts4script .tsk .tsz .ttc .twz .twzip .txz .tz .tzma .tzo .tzst .u .u3p .uax .uc2 .ucimg .udeb .udf .unitypackage .upx .usdz .usfs .ustar .utf .utz .uu .uue .vb .vbox-extpack .vc .vdi .vfd .vgz .vhd .vlt .vmdk .vmg .vob .vp6 .vpk .wa .wad .wal .war .wav .wba .wbm .wbm.gz .webm .webp .webz .wgt .wgz .whl .widget .wim .wlz .wma .wmd .wmga .wmv .wmz .wot .wotmod .wrz .wsp .wsz .wtv .wv .x3d .xap .xapk .xar .xbps .xcfbz2 .xcfgz .xflac .xjt .xjtbz2 .xjtgz .xlam .xlsm .xlsx .xltx .xmc .xmcdz .xmv .xmz .xo .xoj .xopp .xpak .xpi .xps .xrns .xsn .xwcb .xwp .xx .xxe .xz .xzm .z .z[0-9][0-9] .zab .zabw .zad .zds .zfsendtotarget .zi .zi_ .zim .zip .zipx .zl .zlib .zm9 .zoo .zpaq .zpi .zst .ztd .zxp .zz


UExtract contains the following translations:

  • Polish (me)
  • Russian (Sender & Pro) [needs updating]
  • German (L18L) [needs updating]
  • Spanish (nilsonmorales, vicmz, josejp2424) [needs updating]
  • French (Argolance) [needs updating]
  • Dutch (foxpup) [needs updating]
    _______________

You may also want to try PackIt.

Happy extracting &
Greetings!

Attachments
uextract-4.12.pet
MD5: 395e8c3a9221252cb5541e4f05d0124f uextract-4.12.pet
(114.35 KiB) Downloaded 50 times
uextract-4.11.pet
MD5: adbea47bdb147fdeaf300ea6f82c01a1 uextract-4.11.pet
(113.7 KiB) Downloaded 226 times
uextract-4.10.pet
MD5: 7cd5d442851380618a3f3533a100873d uextract-4.10.pet
(112.64 KiB) Downloaded 215 times
Last edited by JakeSFR on Fri Sep 23, 2022 12:35 pm, edited 14 times in total.
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
User avatar
JakeSFR
Posts: 252
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 123 times

Re: UExtract-4.3 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by JakeSFR »

Version 4.3:

  • extract also extended attributes, if tar supports it
  • minor fixes and improvements
  • new formats/extensions:
    • .cdd (ConceptDraw PRO Document) [unzip|7z]

    • .snb (S Note File) [unzip|7z]

    First post updated.

EDIT: PET reuploaded with updated NL translation (thanks to foxpup)
EDIT: PET reuploaded with updated FR translation (thanks to Argolance)

Greetings!

Last edited by JakeSFR on Mon Nov 09, 2020 11:05 am, edited 1 time in total.
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
User avatar
JakeSFR
Posts: 252
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 123 times

Re: UExtract-4.4 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by JakeSFR »

Version 4.4:
- can extract genymotion installer
- can extract PETs that got decompressed to a plain tar during download
- can extract mistakenly double gzipped tarballs
- various fixes and improvements
- new formats/extensions:

  • .3ga (3GPP Audio File) [avconv|ffmpeg]

  • .ab (Android ADB Backup File (unencrypted)) [<internal>+g(un)zip+tar]

  • .appx (Windows App Package) [unzip]

  • .appxbundle (Windows App Bundle) [unzip]

  • .aqz (Ancestral Quest Backup Database File) [unzip|7z]

  • .asar (Electron Archive) [asar]

  • .b32 (Base32 MIME-Encoded File) [base32]

  • .bro (same as .br; used historically) [brotli]

  • .cpio.bro (same as .cpio.br; used historically) [brotli+cpio]

  • .dcm (DICOM Image) [dcmj2pnm|dcml2pnm]

  • .ecm (ECM Disc Image) [(un)ecm]

  • .eds (EDS (Lite) Encrypted Container) [cryptsetup|truecrypt|veracrypt]

  • .flatpak (Linux Flatpak Application Bundle) [ostree]

  • .jet (Renamed .gz file) [g(un)zip]

  • .jpa (Akeeba Backup Archive) [php+kickstart.php]

  • .jps (Akeeba Backup Encrypted Archive) [php+kickstart.php]

  • .k3g (3GP Mobile Phone Video File) [avconv|ffmpeg]

  • .m4b (MPEG-4 Audiobook File) [avconv|ffmpeg]

  • .mk3d (Matroska 3D Video File) [avconv|ffmpeg]

  • .nsv (Nullsoft Streaming Video File) [avconv|ffmpeg]

  • .nut (NUT Video File) [avconv|ffmpeg]

  • .skm (SK Telecom 3GP Video) [avconv|ffmpeg]

  • .tar.bro (same as .tar.br; used historically) [brotli+tar]

  • .tar.jet (Renamed .tar.gz file) [g(un)zip+tar]

  • .tmf (TiVo Video Recording Archive) [tar]

  • .vb (Beam Games SIFF Video) [avconv|ffmpeg]

  • .xflac (Zipped FLAC) [unzip|7z]

  • .xmv (Xbox Media Video File) [avconv|ffmpeg]

First post updated.

Greetings!

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
User avatar
greengeek
Posts: 1199
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 335 times
Been thanked: 145 times

Re: UExtract-4.4 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by greengeek »

If I navigate to https://vivaldi.com/download/ and select 32-bit Linux version it offers me vivaldi-stable_3.7.2218.58-1_i386.deb but Uextract 4.4 is unable to extract the file.

Do you have any idea what might different about this .deb?

Cheers!

one
Posts: 242
Joined: Sun Jul 12, 2020 7:53 am
Has thanked: 16 times
Been thanked: 59 times

Re: UExtract-4.4 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by one »

greengeek wrote: Tue Aug 24, 2021 12:26 am

If I navigate to https://vivaldi.com/download/ and select 32-bit Linux version it offers me vivaldi-stable_3.7.2218.58-1_i386.deb but Uextract 4.4 is unable to extract the file.

Do you have any idea what might different about this .deb?

Cheers!

Hi @greengeek,

I did a quick test:

1. # uextract vivaldi-stable_3.7.2218.58-1_i386.deb

UExtract v3.32 by SFR'2013-2017; GNU GPL v2 applies

===============================================================================
Extracting: /root/Downloads/vivaldi-stable_3.7.2218.58-1_i386.deb
-------------------------------------------------------------------------------
Debian binary package (format 2.0)
application/vnd.debian.binary-package; charset=binary
===============================================================================

Trying 'ar'...

ERROR: ar is not installed or not executable!

Trying 'dpkg-deb'...

[...]

-------------------------------------------------------------------------------
Extraction successful!
*******************************************************************************

2. # uextract vivaldi-stable_3.7.2218.58-1_i386.deb

UExtract v4.4 by JakeSFR'2013-2020; GNU GPL v2 applies

===============================================================================
Extracting: vivaldi-stable_3.7.2218.58-1_i386.deb
-------------------------------------------------------------------------------
Debian binary package (format 2.0)
application/vnd.debian.binary-package; charset=binary
===============================================================================

Trying 'ar'...

ERROR: ar is not installed or not executable!

Trying '7z'...

[...]

-------------------------------------------------------------------------------
Extraction successful!
*******************************************************************************

There are errors: "ar not installed/executable"
As you can see v3.32 uses dpkg-deb, v4.4 now uses 7z to extract ...

Both are extracting successfull here on my upupbb32 system.

peace

User avatar
JakeSFR
Posts: 252
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 123 times

Re: UExtract-4.4 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by JakeSFR »

greengeek wrote:

Do you have any idea what might different about this .deb?

Nothing seems different about it, it's a regular DEB, xz compressed, so it's not even zstd.
Any error messages when you try to extract it?

one wrote:

Both are extracting successfull here on my upupbb32 system.

Extracts just fine for me, too.

UExtract uses several tools to unpack DEBs, the first two are ar or 7z. followed by gunzip/bunzip2/unlzma/unxz/unzstd.
If the above fails, the next one is dpkg-deb (full or Busybox's).
And the last one is exploderpm and this one actually fails on that DEB, because it doesn't support xz compressed DEBs.

Greetings!

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
User avatar
greengeek
Posts: 1199
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 335 times
Been thanked: 145 times

Re: UExtract-4.4 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by greengeek »

JakeSFR wrote: Tue Aug 24, 2021 11:14 am

Any error messages when you try to extract it?

Thank you both for confirming the deb is ok..
Looks as if it must just a problem when trying to extract that deb using Tahr 6.0.5 and older pups maybe?
(Sorry I should have mentioned I was using Tahr32 6.0 5bit)

root# uextract vivaldi-stable_3.7.2218.58-1_i386.deb

UExtract v4.4 by JakeSFR'2013-2020; GNU GPL v2 applies

===================================================================
Extracting: vivaldi-stable_3.7.2218.58-1_i386.deb
-------------------------------------------------------------------
Debian binary package (format 2.0)
application/octet-stream; charset=binary
===================================================================

Trying 'ar'...

ERROR: ar is not installed or not executable!

Trying '7z'...

7-Zip 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

Error:
Unsupported archive type
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

7-Zip 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

Error:
Unsupported archive type
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

Trying 'dpkg-deb'...

dpkg-deb: error: archive '/root/vivaldi-stable_3.7.2218.58-1_i386.deb' has premature member 'control.tar.xz' before 'control.tar.gz', giving up
dpkg-deb: error: archive '/root/vivaldi-stable_3.7.2218.58-1_i386.deb' has premature member 'control.tar.xz' before 'control.tar.gz', giving up

Trying 'exploderpm'...

Error...

-------------------------------------------------------------------
Extraction failed!

*******************************************************************

Failed files:
> vivaldi-stable_3.7.2218.58-1_i386.deb

*******************************************************************

1 file(s) processed: 0 successfully, 0 skipped, 1 failed.

Finished!

root#

Last edited by greengeek on Wed Aug 25, 2021 1:28 am, edited 1 time in total.
User avatar
mikewalsh
Moderator
Posts: 5534
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 560 times
Been thanked: 1665 times

Re: UExtract-4.4 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by mikewalsh »

@greengeek :-

I've had this happen a number of times, Ian. It's NOT UExtract's "fault", and usually not Puppy's.....though it's possible some of the required binaries ARE getting a bit long in the tooth where Tahrpup's concerned.

Nine times out of 10, it's down to one of two things; either a "bad" download, or, more often, due to packagers not following the proper .deb packaging guidelines, and making a general mess of their packages. And you'd be surprised how often this seems to happen.....

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

jrb
Posts: 177
Joined: Sat Oct 24, 2020 5:47 pm
Has thanked: 5 times
Been thanked: 62 times

Re: UExtract-4.4 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by jrb »

"Trying 'ar'..."

/usr/bin/ar is in both devx_tahr_6.0.5.sfs and devx_tahr64_6.0.5.sfs (that's the 64bit version of ar).

So just mount the devx and it should work for you. I usually copy ar and its dependency, libbfd-2.24-system.so from the devx and put it in my pup so I don't have to run with devx mounted all the time.

Cheers, J

User avatar
JakeSFR
Posts: 252
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 123 times

Re: UExtract-4.4 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by JakeSFR »

greengeek wrote:

I was using Tahr32 6.0 5bit

Ok, so p7zip-9.20 doesn't seem to support the '-tar' switch (it's not 'tar', but type of archive = 'ar'). It works in version 9.38 and newer, though.

And dpkg-deb-1.17.5 doesn't support control.tar.xz yet, it was added in 1.17.6:

https://salsa.debian.org/dpkg-team/dpkg/-/blob/main/debian/changelog wrote:

* Add support for .deb archives with a control member not compressed
(control.tar) or compressed with xz (control.tar.xz).

The best shot is to go with jrb's suggestion or upgrade p7zip.
___________

EDIT: attaching the ar binary. It's actually Busybox-1.33.1, but with only ar utility enabled.
It's 32bit and statically linked against musl, so should work on any x86 CPU/Linux.
Busybox, because full, static ar is 1130K and this one is only 134K.
You can put it in /usr/local/apps/UExtract/resources after unpacking.

Greetings!

Attachments
ar.tar.gz
(81.13 KiB) Downloaded 74 times
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
User avatar
greengeek
Posts: 1199
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 335 times
Been thanked: 145 times

Re: UExtract-4.4 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by greengeek »

jrb wrote: Wed Aug 25, 2021 1:43 am

... just mount the devx and it should work for you. I usually copy ar and its dependency, libbfd-2.24-system.so from the devx and put it in my pup so I don't have to run with devx mounted all the time.

JakeSFR wrote: Wed Aug 25, 2021 9:31 am

Ok, so p7zip-9.20 doesn't seem to support the '-tar' switch
And dpkg-deb-1.17.5 doesn't support control.tar.xz yet
The best shot is to go with jrb's suggestion or upgrade p7zip.
___________

EDIT: attaching the ar binary....32bit and statically linked against musl, so should work on any x86 CPU/Linux.
You can put it in /usr/local/apps/UExtract/resources after unpacking.

Awesome! Tested both solutions and both worked. Have now grafted that static ar into the resources directory of the original version of uextract that comes in Tahr32 and everything's perfect now.
Many thanks!

jrb
Posts: 177
Joined: Sat Oct 24, 2020 5:47 pm
Has thanked: 5 times
Been thanked: 62 times

Re: UExtract-4.4 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by jrb »

JakeSFR wrote: Wed Aug 25, 2021 9:31 am

EDIT: attaching the ar binary. It's actually Busybox-1.33.1, but with only ar utility enabled.
It's 32bit and statically linked against musl, so should work on any x86 CPU/Linux.
Busybox, because full, static ar is 1130K and this one is only 134K.
You can put it in /usr/local/apps/UExtract/resources after unpacking.

Greetings!

Wow! Busybox continues to amaze me. Did you compile this? BTW, I don't think I have ever thanked you for Uextract. It's an awesome tool, I use it every day.

Cheers, J

User avatar
JakeSFR
Posts: 252
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 123 times

Re: UExtract-4.4 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by JakeSFR »

jrb wrote:

Wow! Busybox continues to amaze me. Did you compile this?

Yep, on Fatdog.

jrb wrote:

BTW, I don't think I have ever thanked you for Uextract. It's an awesome tool, I use it every day.

greengeek wrote:

Awesome! Tested both solutions and both worked. Have now grafted that static ar into the resources directory of the original version of uextract that comes in Tahr32 and everything's perfect now.
Many thanks!

You're welcome, guys. :)

Greetings!

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
User avatar
JakeSFR
Posts: 252
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 123 times

Re: UExtract-4.5 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by JakeSFR »

Version 4.5:

- .vlt: extract also ZIP compressed skins, not only gzipped tarballs
- added support (as a last resort fallback) for the official 7zip [7zz]
- can extract animated PNGs (APNG) [apngdis]
- removed ugly workaround for HTML triplets bug in original ROX
- various fixes and improvements
- new formats/extensions:

  • .ddeb (Debian Software Package w/ debug symbols) [{ar|7z}+{b(un)zip|(un)lzma|(un)xz|g(un)zip|(un)zstd}+tar|dpkg-deb|exploderpm]

  • .ocx (ActiveX Control) [7z]

  • .pgn (Portable Game Notation File) [pgn-extract]

  • .sf2 (SoundFont 2 Sound Bank) [sf2extract]

  • .webp (Animated WebP Image) [anim_dump]

First post updated.

Greetings!

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
User avatar
mikewalsh
Moderator
Posts: 5534
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 560 times
Been thanked: 1665 times

Re: UExtract-4.5 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by mikewalsh »

@JakeSFR :-

Thanks once again for your continuing support for this essential app. Like jrb, I too use it every day.....sometimes several times a day. And it rarely fails to deliver (on the very odd occasions where it doesn't do what's required, it almost always turns out to be duff downloads or improperly-packed packages).

Both of which are beyond anyone's control. Cheers, mate! :thumbup:

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
JakeSFR
Posts: 252
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 123 times

Re: UExtract-4.5 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by JakeSFR »

I also use it every day. :)
It's the oldest, still being developed app of mine, I believe; 8+ years.

Take care &
Greetings!

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
User avatar
Grey
Posts: 1984
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 75 times
Been thanked: 355 times

Re: UExtract-4.5 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by Grey »

Hi JakeSFR. What's the latest version of PackIt? 1.22? By the way, the link to PackIt in the first post leads to a blank page of the old forum.

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

User avatar
Makoto
Posts: 76
Joined: Thu Jul 16, 2020 6:29 am
Has thanked: 10 times
Been thanked: 8 times

Re: UExtract-4.5 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by Makoto »

Indexing is a little broken on the old forum here and there at the moment, I think. I tried directly searching for PackIt and UExtract, and the forum's own search engine returned no results.

The post index number matches, though, so let's see...
PackIt-1.22 - a flexible Archiving/Compressing GUI

(tests) ...hmm. That seems to work - for me, at least.

[ FossaPup64 9.5, Frugal install ]

User avatar
JakeSFR
Posts: 252
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 123 times

Re: UExtract-4.5 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by JakeSFR »

Ah, I fixed the "UExtract original thread" URL, but forgot about PackIt's. The puppy/ string needs to be removed from URL.
It's still ok for the old domain, e.g.: https://murga-linux.com/puppy/viewtopic.php?t=89211

Yes, 1.22 is the latest.

Greetings!

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
User avatar
mikewalsh
Moderator
Posts: 5534
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 560 times
Been thanked: 1665 times

Re: UExtract-4.5 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by mikewalsh »

@Makoto :-

Try rockedge's "P-search" (if you haven't already done so).

Best Puppy search engine I've ever used....

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
Makoto
Posts: 76
Joined: Thu Jul 16, 2020 6:29 am
Has thanked: 10 times
Been thanked: 8 times

Re: UExtract-4.5 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by Makoto »

Thanks. I was using the board's search engine because I wanted to see how it was affected by the indexing issues, if anything, though. :)

[ FossaPup64 9.5, Frugal install ]

don570
Posts: 618
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 96 times

Re: UExtract-4.5

Post by don570 »

Thanks for keeping this app current.
I opened up fatdog64 8.11 ISO to obtain individual files.

User avatar
puppy_apprentice
Posts: 658
Joined: Tue Oct 06, 2020 8:43 pm
Location: land of bigos and schabowy ;)
Has thanked: 4 times
Been thanked: 107 times

Re: UExtract-4.5 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by puppy_apprentice »

I like to check archives before i send them to somebody. There is an option in 7zip:

Code: Select all

7z t "$1"

Maybe you can add option "Check archive" to ROX pop-up menu.

User avatar
JakeSFR
Posts: 252
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 123 times

Re: UExtract-4.5 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by JakeSFR »

puppy_apprentice wrote: Mon Sep 13, 2021 8:07 am

I like to check archives before i send them to somebody. There is an option in 7zip:

Code: Select all

7z t "$1"

Maybe you can add option "Check archive" to ROX pop-up menu.

I think that checking archive integrity is somewhat outside of the scope of UExtract.
Besides, some backends don't have this ability at all, e.g. tar or lzop. And how to check integrity of an ISO or a PDF?
Anyway, why not just create a separate right-click utility for that purpose?

don570 wrote:

Thanks for keeping this app current.
I opened up fatdog64 8.11 ISO to obtain individual files.

You're welcome!

Greetings!

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
User avatar
puppy_apprentice
Posts: 658
Joined: Tue Oct 06, 2020 8:43 pm
Location: land of bigos and schabowy ;)
Has thanked: 4 times
Been thanked: 107 times

Re: UExtract-4.5 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by puppy_apprentice »

You didn't check it. You are bad boy ;)

In Windows 7zip adds this feature to the pop-up menu.

Code: Select all

7zip t

tests ISOs, tars, bz, gz, deb, rpm etc.

It is better to check archive first than wait for errors when you extracting something.

User avatar
JakeSFR
Posts: 252
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 123 times

Re: UExtract-4.5 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by JakeSFR »

puppy_apprentice wrote: Mon Sep 13, 2021 12:41 pm

You didn't check it. You are bad boy ;)

In Windows 7zip adds this feature to the pop-up menu.

Code: Select all

7zip t

tests ISOs, tars, bz, gz, deb, rpm etc.

Oh yes, indeed, but it doesn't seem to be reliable enough - with some of ISOs I just created and tested, I got:

Code: Select all

ERRORS:
Unexpected end of archive

even though all files inside are identical with originals.
Besides, 7zip, (Win)RAR, PeaZIP, etc. are archive _managers_, unlike UExtract, so it makes sense for them to do it.

puppy_apprentice wrote: Mon Sep 13, 2021 12:41 pm

It is better to check archive first than wait for errors when you extracting something.

Checking integrity takes practically the same amount time as extracting (minus the overhead for writing files) for you to find out that the archive is broken, so what's the point..?

And there's still "List contents instead of extracting" option in UExtract, which will tell you (not in all, but in most cases) if there's something wrong with an archive, without actually extracting it.

Greetings!

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
User avatar
puppy_apprentice
Posts: 658
Joined: Tue Oct 06, 2020 8:43 pm
Location: land of bigos and schabowy ;)
Has thanked: 4 times
Been thanked: 107 times

Re: UExtract-4.5 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by puppy_apprentice »

even though all files inside are identical with originals.

It is always good to check MD5 or SHA of those ISOs.

But nevermind. 7zip is like PackIt and UExtract in one package but with less formats than your tool.

I will made own option for this (but i'm lazy and thought that somebody will made it for me).

User avatar
JakeSFR
Posts: 252
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 123 times

Re: UExtract-4.5 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by JakeSFR »

Wouldn't it be just a one-liner like this one:

Code: Select all

7za t "$1" && xmessage "OK" || xmessage "NOT OK"

in a script linked to /etc/xdg/rox.sourceforge.net/{OpenWith,SendTo}/.application_x-7z-compressed and possibly others?

However, if some of your archives are encrypted, you'd need, for example:

Code: Select all

urxvt -T "Checking archive integrity" -e sh -c "7za t \"$1\"; sh"

so the user could actually interact with it and provide a password.

Greetings!

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
User avatar
puppy_apprentice
Posts: 658
Joined: Tue Oct 06, 2020 8:43 pm
Location: land of bigos and schabowy ;)
Has thanked: 4 times
Been thanked: 107 times

Re: UExtract-4.5 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by puppy_apprentice »

JakeSFR wrote: Mon Sep 13, 2021 2:34 pm

in a script linked to /etc/xdg/rox.sourceforge.net/{OpenWith,SendTo}/.application_x-7z-compressed and possibly others?

Yep, i will add it for all archives that 7zip support. Currently using from console.
And i think that i add it for directories. Because 7zip can test all archives in directory.

Edit: could you check your ISO with isolyzer:
https://bkhome.org/news/202002/isolyzer ... lyzer.html

User avatar
JakeSFR
Posts: 252
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 123 times

Re: UExtract-4.5 - A Universal/Utter/Ultimate/Uhatever Extractor

Post by JakeSFR »

puppy_apprentice wrote: Mon Sep 13, 2021 2:45 pm

Edit: could you check your ISO with isolyzer:
https://bkhome.org/news/202002/isolyzer ... lyzer.html

Tried that and everything seems to be in order.
Anyway, I found that 7z fails if ISO contains an empty file. Or a symlink, and it was created with mkisofs' '-rock' option. There may be more causes.

Greetings!

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Post Reply

Return to “Utilities”