Page 1 of 1

[REQ] Obscure II .hvp extractor

Posted: Fri Sep 25, 2015 11:29 am
by hgdagon
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

Re: [REQ] Obscure II .hvp extractor

Posted: Sun Nov 08, 2015 3:32 pm
by Szkaradek123
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".

Re: [REQ] Obscure II .hvp extractor

Posted: Thu Dec 31, 2015 3:44 pm
by panthalassa
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... :/

Re: [REQ] Obscure II .hvp extractor

Posted: Thu Dec 31, 2015 4:23 pm
by panthalassa
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?

Re: [REQ] Obscure II .hvp extractor

Posted: Thu Dec 31, 2015 5:37 pm
by panthalassa
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 ;_;

Re: [REQ] Obscure II .hvp extractor

Posted: Tue Aug 16, 2016 10:59 am
by dx1
it gives me an error :python script error check console--no module named shutil

Re: [REQ] Obscure II .hvp extractor

Posted: Mon Dec 19, 2022 4:27 pm
by ikskoks
My research on HVP archives from Obscure 2 --> viewtopic.php?p=188831#p188831
Links to extractor and file format are shared there. I hope that it will be helpful to someone. :)