Page 1 of 1

Jericho .packed files

Posted: Sun Mar 30, 2014 8:25 am
by Ivan123
Hi everybody. I am having trouble extracting Jericho .packed files. I use Gobread for that and run it through DOSBox 0.74. When i execute the command gobread gives me no errors and logs the first file it is trying to extract. It even creates the file and all necessary directories on the hard drive. Unfortunately it doesnt go anywhere after this. Created file has size 0 bites and doesnt grow and Gobread doesnt go to the next file. I've waited quite some time but no results.

Did anyone have similar problem with Gobread?

Re: Jericho .packed files

Posted: Sun Mar 30, 2014 9:23 am
by Thief1987
Did you try unpack script for Castlevania LoS?
Format same, but maybe with some changes, if script not work, do screenshot of begin of the file in Hex editor.

Re: Jericho .packed files

Posted: Sun Mar 30, 2014 9:57 am
by Ivan123
Here is the screenshot of data file in hex editor:

Image

Sadly i dont have Castlevania LoS.

Re: Jericho .packed files

Posted: Sun Mar 30, 2014 11:36 am
by Thief1987

Code: Select all

idstring BFPK
get version long
get files long
savepos TMP
for i = 0 < files
goto TMP
get NSIZE long
getdstring name NSIZE
get size long
get offset long
savepos TMP
goto offset
get zsize long
savepos OFFSET
if zsize == size
log name offset zsize
else
clog name offset zsize size
endif
goto TMP
next i
This is quickbms script for unpack .packed files in CLoS, did you try it for Jericho .packed archives?
Seems format absolutely same.

Re: Jericho .packed files

Posted: Sun Mar 30, 2014 12:08 pm
by Ivan123
This script worked. Thanks a lot!