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

Victor Vran

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
User avatar
TaylorMouse
ultra-veteran
ultra-veteran
Posts: 348
Joined: Mon Sep 26, 2011 12:51 pm
Has thanked: 11 times
Been thanked: 89 times

Victor Vran

Post by TaylorMouse »

Hi guys, installed Victor Vran today, not all that bad for a game, wanted to check on the models, unfortunatly it is all packed into .hpk files.

And since I have no idea how to unpack these, I was wandering if some genius would be able to help me with it plz ?

Here is a small sample

T.
User avatar
lostprophet
mega-veteran
mega-veteran
Posts: 202
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 7 times

Re: Victor Vran

Post by lostprophet »

TaylorMouse wrote:Hi guys, installed Victor Vran today, not all that bad for a game, wanted to check on the models, unfortunatly it is all packed into .hpk files.

And since I have no idea how to unpack these, I was wandering if some genius would be able to help me with it plz ?

Here is a small sample

T.
Since the engine it's based on is the same as Tropico 5, you can use this to unpack and repack .hpk archives (tested):
http://www.techpowerup.com/forums/threa ... er.113705/
Hungarian translator | Previous translations: http://lostprophet.hu
User avatar
TaylorMouse
ultra-veteran
ultra-veteran
Posts: 348
Joined: Mon Sep 26, 2011 12:51 pm
Has thanked: 11 times
Been thanked: 89 times

Re: Victor Vran

Post by TaylorMouse »

Yes that seems to be working thanx !!

T.
spider91
advanced
Posts: 78
Joined: Mon Feb 14, 2011 8:09 am
Has thanked: 18 times
Been thanked: 45 times

Re: Victor Vran

Post by spider91 »

New update out and files inside *.hpk now are compressed with lz4, so first unpack *.hpk with hpk-archiver and then use this script on files

Code: Select all

idstring "LZ4 "
comtype lz4
get SIZE long
get CHUNK_SIZE long
get NAME filename
xmath TMP "SIZE % CHUNK_SIZE"
if TMP != 0
	math TMP = 1
else
	math TMP = 0
endif
xmath CHUNKS "(SIZE / CHUNK_SIZE) + TMP"
append
for i = 1 <= CHUNKS
	get OFFSET long
	savepos POS
	if i == CHUNKS
		get ZSIZE asize
	else
		get ZSIZE long
	endif
	math ZSIZE -= OFFSET
	goto POS
	if ZSIZE < CHUNK_SIZE
		clog NAME OFFSET ZSIZE CHUNK_SIZE
	else
		log NAME OFFSET ZSIZE
	endif
next i
append
Post Reply