MacPaw / XADMaster

Objective-C library for archive and file unarchiving and extraction
GNU Lesser General Public License v2.1
104 stars 45 forks source link

Fails to extract files from a LHA archive embedded into an .exe #50

Open ci-macpaw opened 8 years ago

ci-macpaw commented 8 years ago

Hello,

unar fails to extract files from a LHA archive embedded into an .exe file. This time it's the Spear of Destiny demo available here:

http://users.skynet.be/bs366950/sodemo.zip

Steps to reproduce:

$ wget http://users.skynet.be/bs366950/sodemo.zip

$ unar sodemo.zip sodemo.zip: Zip INSTALL.EXE (9949 B)... OK. FILE_ID.DIZ (415 B)... OK. SODEMO.EXE (691765 B)... OK. INSTALL.CMD (190 B)... OK. Successfully extracted to "sodemo".

$ cd sodemo/

$ unar SODEMO.EXE SODEMO.EXE: Self-extracting LZH Archive parsing failed! (Unknown error.) No files extracted.

$ lhasa SODEMO.EXE PERMSSN UID GID SIZE RATIO STAMP NAME


[generic] 108215 96.4% Sep 21 1992 sod.exe [generic] 6852 44.3% Oct 22 1992 sod.doc [generic] 1072 42.4% Aug 27 1992 audiohed.sdm [generic] 93412 36.0% Aug 27 1992 audiot.sdm [generic] 5534 66.6% Aug 27 1992 gamemaps.sdm [generic] 402 6.0% Aug 27 1992 maphead.sdm [generic] 1024 72.6% Sep 21 1992 vgadict.sdm [generic] 305891 74.1% Sep 21 1992 vgagraph.sdm [generic] 402 98.8% Sep 21 1992 vgahead.sdm [generic] 730624 43.4% Aug 27 1992 vswap.sdm


Total 10 files 1253428 55.0% Oct 22 1992

bgermann commented 6 months ago

Please find the same or a similar file at https://archive.org/details/SODEMO_201902 This is still valid with the current version.