Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Need help with DIZZEL unpacker

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
User avatar
saurav
n00b
Posts: 11
Joined: Fri Nov 21, 2014 5:19 pm
Location: India
Has thanked: 127 times
Been thanked: 1 time

Need help with DIZZEL unpacker

Post by saurav »

Hi,

Can anyone please help me with unpacking DIZZEL .PAC & .pak files ? Files can be downloaded from here
http://www.uploadmb.com/dw.php?id=1427031258

I changed the .PAC to .7z & extracted using 7zip, but only one file is extracted which is much smaller in size than the archive.
The .MODEL files within .PAC files can be opened with 3D Object Converter.

Thanks,
Saurav
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Need help with DIZZEL unpacker

Post by shakotay2 »

search for 44 44 53 20 7C in the .pac file. There's 11 findings.

Save your selection in a hexeditor as *.DDS file (H_HEAD_010_N.DDS, normal map):
pac_1_dds.JPG
(Filepath\filename in the pic should belong to the 2nd DDS.)
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
User avatar
saurav
n00b
Posts: 11
Joined: Fri Nov 21, 2014 5:19 pm
Location: India
Has thanked: 127 times
Been thanked: 1 time

Re: Need help with DIZZEL unpacker

Post by saurav »

It's shakotay2 to my rescue again !! :D

Thanks shakotay2. Following your guide I extracted 11 textures.
How to extract the .MODEL files ? I don't need the other files.

Thanks,
Saurav
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Need help with DIZZEL unpacker

Post by shakotay2 »

using offzip and hex2obj does the trick:
30250_vbi.JPG
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
User avatar
saurav
n00b
Posts: 11
Joined: Fri Nov 21, 2014 5:19 pm
Location: India
Has thanked: 127 times
Been thanked: 1 time

Re: Need help with DIZZEL unpacker

Post by saurav »

Thanks shakotay2. What arguments you used for offzip ?

In .pac files, the word 'TFSZIP' is found several times. So I've uploaded some files here http://www.uploadmb.com/dw.php?id=1427273952 that may be useful for unpacking the .pac archives.

Thanks,
Saurav
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1151 times
Been thanked: 2244 times

Re: Need help with DIZZEL unpacker

Post by shakotay2 »

offzip -a -z -15 PAC_Char_011.bin D:\xxx 0

(PAC_Char_011.bin is a datablock I cut from the pac file.)
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
User avatar
saurav
n00b
Posts: 11
Joined: Fri Nov 21, 2014 5:19 pm
Location: India
Has thanked: 127 times
Been thanked: 1 time

Re: Need help with DIZZEL unpacker

Post by saurav »

Hi shakotay2,
Sorry for the late reply & thanks a lot for your help. I've extracted a few models using your guide.
However, extracting in this way is very time consuming. An extractor would be very helpful.
Could you please check the files uploaded at http://www.uploadmb.com/dw.php?id=1427273952 ?
The client can be downloaded from http://dizzel.ogplanet.com/en/download/game.og.

Thanks,
Saurav
barti
veteran
Posts: 148
Joined: Sun Apr 01, 2012 12:44 pm
Has thanked: 51 times
Been thanked: 102 times

Re: Need help with DIZZEL unpacker

Post by barti »

Experimental QuickBMS script, autounpacks TFSZIP files for convenience:

Code: Select all

# DIZZEL .PAC
# script for QuickBMS http://quickbms.aluigi.org

get DUMMY long
get FSIZE long
get DUMMY long
get FSIZE2 long
get FSIZE2 long
goto 532

for OFFSET = 0 < FSIZE2
	get ID long
	getdstring NAME 260
	
	get SIZE long
	get HASH long # only for TFSZIP
	goto 32 0 SEEK_CUR
	
	savepos OFFSET
	getdstring TEST 6
	
	if TEST == "TFSZIP"
		math OFFSET += 32
		math SIZE -= 32
		log MEMORY_FILE OFFSET SIZE
		callfunction ParseZIP
	else
		log NAME OFFSET SIZE
	endif
	
	math OFFSET += SIZE
	goto OFFSET
next

startfunction ParseZIP
	ComType deflate
	idstring "PK\x03\x04" MEMORY_FILE
	get ver             short MEMORY_FILE
	get flag            short MEMORY_FILE
	get method          short MEMORY_FILE
	get modtime         short MEMORY_FILE
	get moddate         short MEMORY_FILE
	get crc             long  MEMORY_FILE
	get comp_size       long  MEMORY_FILE
	get uncomp_size     long  MEMORY_FILE
	get name_len        short MEMORY_FILE
	get extra_len       short MEMORY_FILE
	getdstring dummy    name_len  MEMORY_FILE
	getdstring extra    extra_len MEMORY_FILE
	savepos zip_offset MEMORY_FILE

	if method == 0
		Log name zip_offset uncomp_size MEMORY_FILE
	else
		CLog name zip_offset comp_size uncomp_size MEMORY_FILE
	endif
endfunction
User avatar
saurav
n00b
Posts: 11
Joined: Fri Nov 21, 2014 5:19 pm
Location: India
Has thanked: 127 times
Been thanked: 1 time

Re: Need help with DIZZEL unpacker

Post by saurav »

Thanks a lot barti for the script.This is exactly what I needed. Everthing's working fine.

Thanks,
Saurav
Post Reply