Join also our Discord channel! Click here.

[REQ] Obscure II .hvp extractor

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
hgdagon
beginner
Posts: 23
Joined: Tue Oct 07, 2014 3:39 am
Has thanked: 7 times
Been thanked: 1 time

[REQ] Obscure II .hvp extractor

Post by hgdagon » Fri Sep 25, 2015 11:29 am

Hello. I know that this has been discussed before on the forum, but no actual solution was proposed. The "hvptool" extracts a lot of dat files, so no filenames and no extensions are known. A user has said that those are lzo1x compressed, but I couldn't extract them with any tool. So, could anyone, please, make an extractor for these files with correct extensions? Filenames are not a priority. Attached is an example of the hvp file and the hvptool itself (just in case). Thanks in advance.

Code: Select all

https://cloud.mail.ru/public/GpsZ/1QbzShbtx

Szkaradek123
mega-veteran
mega-veteran
Posts: 292
Joined: Wed May 05, 2010 8:21 pm
Location: Poland Głogów
Has thanked: 21 times
Been thanked: 612 times

Re: [REQ] Obscure II .hvp extractor

Post by Szkaradek123 » Sun Nov 08, 2015 3:32 pm

Hi
How to get models from this game:
1.make new folder - "DATAPACK"
2.copy file "DATAPACK.hvp" to new folder "DATAPACK"
3.unpack "DATAPACK.hvp" from folder "DATAPACK" with quickbms, use script

Code: Select all

#obscure 2
comtype lzo1x
get unk1 long
get unk2 long
get FILES long
get unk3 long
get unk4 long
for i = 0 < FILES
	get type long
	get unk long
	get size long
	get offset long
	get zsize long
	get unk long
    math C = i
	set NAME string C
	if type == 1
		clog NAME offset zsize size
	endif	
	if type == 0
		log NAME offset size
	endif	
next i
4.instal Blender 249 and Python 266
4.unpack blend importer and copy all files to folder where is blender.exe
5.doubleclick Blender249.blend
6.in Blender Text Window press alt+p and select "DATAPACK.hvp" from folder "DATAPACK"
7.files are sorted in tree folder
8.one more time press alt+p and select file 102 from folder "0\1\10\100"
9.open "g2_body.image" from folder "0\1\10\100" in TextureFinder.exe and select pixel formats 565=16
10.save image as g2_body.bmp and move to folder "0\1\10\100\104"
11.repeat step 10 for all images .Some images have tga format, so don't need to convert (hair images)
12.one more time press alt+p and select file 105 from "0\1\10\100\104" and script import textured and skinned with bones model of girl

Importer works not for all files. Still in progress.
Some bones are scaled to 0 so please select armature and than select in 3d window "mode edit".
You do not have the required permissions to view the files attached to this post.

panthalassa
ultra-n00b
Posts: 4
Joined: Tue Jul 07, 2015 10:08 am

Re: [REQ] Obscure II .hvp extractor

Post by panthalassa » Thu Dec 31, 2015 3:44 pm

Hello, I hope someone can help me with this... When I press alt+p to run the script in blender, I get this error message:
File "C:\Users\1\Desktop\Blender249[Obscure2][PC][hvp][2015-11-08]\Blender249[Obscure2][PC][hvp][2015-11-08]\Blender249.blend\starter.py", line 10 print 'format',format

SyntaxError: invalid syntax

location: <unknown location>:-1


Can somebody PLEASE help me with this?? This game has been a huge part of my childhood and early teens, and I really want to browse through its files... :/

panthalassa
ultra-n00b
Posts: 4
Joined: Tue Jul 07, 2015 10:08 am

Re: [REQ] Obscure II .hvp extractor

Post by panthalassa » Thu Dec 31, 2015 4:23 pm

Never mind, I figured out what I did wrong.. My bad. Now my problem is, there are no files in any of the folders that are created after I run the script... Tried it twice. What now?

panthalassa
ultra-n00b
Posts: 4
Joined: Tue Jul 07, 2015 10:08 am

Re: [REQ] Obscure II .hvp extractor

Post by panthalassa » Thu Dec 31, 2015 5:37 pm

Lol, fixed that too... omg I'm a noob at this. Now, my problem is, I don't know what to do with the hair files... Yes, they don't need conversion through blender, but when I rename them with a .tga extension in the end, photoshop can't read them. I'm confused ;_;

dx1
ultra-n00b
Posts: 1
Joined: Tue Aug 16, 2016 9:55 am

Re: [REQ] Obscure II .hvp extractor

Post by dx1 » Tue Aug 16, 2016 10:59 am

Szkaradek123 wrote:Hi
How to get models from this game:
1.make new folder - "DATAPACK"
2.copy file "DATAPACK.hvp" to new folder "DATAPACK"
3.unpack "DATAPACK.hvp" from folder "DATAPACK" with quickbms, use script

Code: Select all

#obscure 2
comtype lzo1x
get unk1 long
get unk2 long
get FILES long
get unk3 long
get unk4 long
for i = 0 < FILES
	get type long
	get unk long
	get size long
	get offset long
	get zsize long
	get unk long
    math C = i
	set NAME string C
	if type == 1
		clog NAME offset zsize size
	endif	
	if type == 0
		log NAME offset size
	endif	
next i
4.instal Blender 249 and Python 266
4.unpack blend importer and copy all files to folder where is blender.exe
5.doubleclick Blender249.blend
6.in Blender Text Window press alt+p and select "DATAPACK.hvp" from folder "DATAPACK"
7.files are sorted in tree folder
8.one more time press alt+p and select file 102 from folder "0\1\10\100"
9.open "g2_body.image" from folder "0\1\10\100" in TextureFinder.exe and select pixel formats 565=16
10.save image as g2_body.bmp and move to folder "0\1\10\100\104"
11.repeat step 10 for all images .Some images have tga format, so don't need to convert (hair images)
12.one more time press alt+p and select file 105 from "0\1\10\100\104" and script import textured and skinned with bones model of girl

Importer works not for all files. Still in progress.
Some bones are scaled to 0 so please select armature and than select in 3d window "mode edit".
it gives me an error :python script error check console--no module named shutil

darkobscure
beginner
Posts: 22
Joined: Mon Oct 19, 2020 6:43 am
Been thanked: 1 time

Re: [REQ] Obscure II .hvp extractor

Post by darkobscure » Mon Oct 19, 2020 7:06 am

Can someone plz help me the extracted files. If you have the files plz just reach me my email
kamil12345.ke@gmail.com
My instagram @mezihis

darkobscure
beginner
Posts: 22
Joined: Mon Oct 19, 2020 6:43 am
Been thanked: 1 time

Re: [REQ] Obscure II .hvp extractor

Post by darkobscure » Thu Oct 22, 2020 10:42 am

Szkaradek123 wrote:
Sun Nov 08, 2015 3:32 pm
Hi
How to get models from this game:
1.make new folder - "DATAPACK"
2.copy file "DATAPACK.hvp" to new folder "DATAPACK"
3.unpack "DATAPACK.hvp" from folder "DATAPACK" with quickbms, use script

Code: Select all

#obscure 2
comtype lzo1x
get unk1 long
get unk2 long
get FILES long
get unk3 long
get unk4 long
for i = 0 < FILES
	get type long
	get unk long
	get size long
	get offset long
	get zsize long
	get unk long
    math C = i
	set NAME string C
	if type == 1
		clog NAME offset zsize size
	endif	
	if type == 0
		log NAME offset size
	endif	
next i
4.instal Blender 249 and Python 266
4.unpack blend importer and copy all files to folder where is blender.exe
5.doubleclick Blender249.blend
6.in Blender Text Window press alt+p and select "DATAPACK.hvp" from folder "DATAPACK"
7.files are sorted in tree folder
8.one more time press alt+p and select file 102 from folder "0\1\10\100"
9.open "g2_body.image" from folder "0\1\10\100" in TextureFinder.exe and select pixel formats 565=16
10.save image as g2_body.bmp and move to folder "0\1\10\100\104"
11.repeat step 10 for all images .Some images have tga format, so don't need to convert (hair images)
12.one more time press alt+p and select file 105 from "0\1\10\100\104" and script import textured and skinned with bones model of girl

Importer works not for all files. Still in progress.
Some bones are scaled to 0 so please select armature and than select in 3d window "mode edit".
Can you write a new pyhon script about all the obscure 2 files in new blender ?

Post Reply