elbereth / DragonUnPACKer

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

Access violation at address 0040524E in module #59

Closed elbereth closed 8 years ago

elbereth commented 11 years ago

Using HyperRipper finds the .bik file from Metro 2033's 'videos.vfs0' and scanning finds the file, but causes this error when I drag it to the desktop:

____ Error report ____

Timestamp: 1/27/2013 2:15:51 PM From: dup5Main in lstContent Exception: EAccessViolation Reporting: Access violation at address 0040524E in module 'drgunpack5.exe'. Read of address 7D60F94C Version: 5.6.2 Exedra-Chac (Build 268) [7/16/2011 8:05:44 AM]

__ Computer status: __

Windows 7 (v6.1 build 7601 Service Pack 1) CPU Count=8 OEMID=0 Arch=0 Level=6 Rev=10759 Memory: Free=12854MB / Total=16360MB

Reported by: keavon

elbereth commented 11 years ago

Original comment by: elbereth

elbereth commented 11 years ago

Root cause is the found bik file is not really a bik file. I corrected the code so that next version of the HyperRipper will not find this non-existing bik file anymore.

In addition, I added a failsafe to the extraction routine to avoid going past the end of a file (which actually caused this crash).

You can check SVN-634 for those fixes. https://www.elberethzone.net/en/dup-dev-download/nightlybuilds.html

Original comment by: elbereth

elbereth commented 11 years ago

If it's not a real bik file, where would I find the file after this update? Does it not exist in that file, and perhaps they're using another file type that is not supported?

Original comment by: keavon