elbereth / DragonUnPACKer

Free/Open source game file resource explorer/unpacking tool made easy!
https://www.elberethzone.net/dragon-unpacker.html
179 stars 21 forks source link

realMyst US patched sho.dni 3D models extract failed #33

Closed elbereth closed 8 years ago

elbereth commented 15 years ago

____ Error report ____

From: TDrivers in ExtractFile_Alt:drv_default.d5d Exception: EReadError Reporting: Stream read error [6/29/2009 6:32:47 PM]

____ More Details ____

Error while extracting data (File mode) from drv_default.d5d driver:

Drivers[2].Filename=drv_default.d5d Drivers[2].Info.Name=Elbereth's Main Driver Drivers[2].Info.Author=Alexandre Devilliers (aka Elbereth) Drivers[2].Info.Version=2.0.5 Drivers[2].Info.Comment=This driver support 83 different file formats. This is the official main driver. Some Delta Force PFF (PFF2) files are not supported. N.I.C.E.2 SYN files are not decompressed/decrypted. Drivers[2].GetDriver.ExtractInternal=False outfile=D:\Program Files\Ubi Soft\Cyan Worlds\Myst Uru Complete Chronicles\realMyst\118396538.vdb CurrentFile=1060 Offset=95991970 Size=7707

__ Computer status: __

Windows NT v6.1 build 7100 CPU 1: Intel(R) Celeron(R) CPU 2.60GHz Memory: Free=433MB / Total=1023MB

Reported by: peteryorkshire

elbereth commented 15 years ago

This is caused by an error in the realMyst file sho.dni itself, this specific entry 118396538.vdb has an offset + size greater than the size of the sho.dni file, therefore the error. I will add a check and a specific error message, but I must keep the error. It is a wonder the game is not crashing...

Original comment by: elbereth

elbereth commented 15 years ago

Well I had a deeper look at this, and it was not an error in the file but I totally oversaw the fact some entries were compressed (with Zlib). I implemented the decompression code in v2.0.8 of drv_default (should be out soon).

Original comment by: elbereth