READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

packer unpacker for a 2 games

The Original Forum. Game archives, full of resources. How to open them? Get help here.
pulposo

packer unpacker for a 2 games

Post by pulposo » Sat Apr 16, 2005 1:59 pm

Hi to all!!

your program it's really good!!
I'm looking for the nexts plugins packer/unpacker:

War of the ring and Obscure.

I you want i can send to you a sample of the file.
Thanks

User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 536
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 9 times
Contact:

Post by friendsofwatto » Sat Apr 16, 2005 2:44 pm

Hi,

Yes, we can take a look at them. Please attach any small archives you can find, zipped.

War of the Ring should be the same format as LOTR:Return Of The King - as they are made on the same engine (or so I believe) - Mr Mouse, you will find the specs for the LOTR game in my list - http://gameextractor.sf.net/program/archives.txt ?

The other game - I will have to wait for the archive.

Thanks mate.

WATTO
watto@watto.org
http://www.watto.org
Game Extractor - Read and write thousands of game archives!

pulposo

obscure data file

Post by pulposo » Sat Apr 16, 2005 3:22 pm

The smallest file i found it's 26mb's and i can't pack it (likz 7-zip , rar, uharc or zip), i can send to you, you want it anyway?

Thanks, next time i try to register.

User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 536
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 9 times
Contact:

Post by friendsofwatto » Sat Apr 16, 2005 3:59 pm

Well, if you have a hex editor, you can cut the first and last 500kb of the file and send those pieces to us, or try to upload the file to a web server somewhere. 26MB is a little too big to send via my email :(

WATTO
watto@watto.org
http://www.watto.org
Game Extractor - Read and write thousands of game archives!

pulposo

Post by pulposo » Sat Apr 16, 2005 4:23 pm

Okay, i cutted the file with the tool w0byte ( i found in sac.sk years ago)
But it's only the fisrts 500kb's, maybe it's enough.

Thanks

I send to you the file by email.

Guest

Post by Guest » Sun Apr 17, 2005 10:59 am

Anyway i think ppl can download the demo (346mb's) for analyze the data files. I know it'a huge file size for a demo..but i'm trying to found a smallest size.
But by now:
javascript:downloadNow('http://www.obscure-game.com/demo/obscur ... 2.html','0')

User avatar
Savage
VIP member
VIP member
Posts: 561
Joined: Sun Apr 17, 2005 11:00 am
Has thanked: 16 times
Been thanked: 17 times

Post by Savage » Sun Apr 17, 2005 11:02 am

I found a smallest file size, a repack in a russian web:
http://vip.ag.ru/download/demos/12649/o ... repack.exe
It's a 126mb's :wink:

User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 536
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 9 times
Contact:

Post by friendsofwatto » Sun Apr 17, 2005 1:11 pm

Hi again,

I got your email - I will take a look at the file. I don't think I will be downloading the demo though - its just too big for a 56k dialup modem :)

WATTO
watto@watto.org
http://www.watto.org
Game Extractor - Read and write thousands of game archives!

User avatar
sajad
VIP member
VIP member
Posts: 128
Joined: Fri May 14, 2004 1:20 pm
Location: Underworld
Been thanked: 1 time
Contact:

obscure

Post by sajad » Tue Apr 19, 2005 7:20 pm

hello

this is one pack from obscure game

User avatar
Savage
VIP member
VIP member
Posts: 561
Joined: Sun Apr 17, 2005 11:00 am
Has thanked: 16 times
Been thanked: 17 times

Post by Savage » Tue Apr 19, 2005 8:31 pm

Okay, thanks, but i'm looking for the packer and unpacker, to make my own hpv file, 'coz i want to translate the game (voices) to other language.

User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 536
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 9 times
Contact:

Post by friendsofwatto » Wed Apr 20, 2005 6:54 am

I have taken a look at it - it is a bit of a tricky structure but I have almost got it. We *should* be able to add support for this game soon.

WATTO
watto@watto.org
http://www.watto.org
Game Extractor - Read and write thousands of game archives!

User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 536
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 9 times
Contact:

Post by friendsofwatto » Thu Apr 21, 2005 1:21 pm

OK, the format is something like this...

Code: Select all

+---------------+
| Obscure *.hvp |
+---------------+

// This whole archive looks to be encrypted/compressed or something, as 
// there is a lack of null bytes.

11 - Header (HV PackFile)
2 - null
2 - Unknown (3)
4 - Unknown (1)
2 - Unknown (1)
1 - null
4 - Unknown
4 - Unknown
10 - Unknown

// for each directory?
  3 - null
  1 - Unknown
  4 - Entry Type? (0=dir, 1=file)
  if (entryType == dir){
    4 - null
    4 - null
    4 - Number Of Files/SubDirectories In This Directory
    }
  else if (entryType == file){
    2 - Unknown (1)
    4 - Unknown
    4 - Unknown
    4 - Unknown
    2 - Unknown
    4 - Unknown
    1 - Filename Length
    X - Filename
    }
However I am finding it hard to work out the offsets and lengths of each file, more-so because the archive appears to be encrypted or compressed or something. I will continue to look at it some more, but it may not be as easy to implement as I originally thought :(

WATTO
watto@watto.org
http://www.watto.org
Game Extractor - Read and write thousands of game archives!

User avatar
sajad
VIP member
VIP member
Posts: 128
Joined: Fri May 14, 2004 1:20 pm
Location: Underworld
Been thanked: 1 time
Contact:

Obscure

Post by sajad » Thu Apr 21, 2005 1:50 pm

hello

thank you mr watto

Iam attach new file from obscure game

good luck

User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 536
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 9 times
Contact:

Post by friendsofwatto » Fri Apr 22, 2005 5:55 am

Firstly, the files *.001 have the same format as the other *.hvp files

Secondly, I was right, the files are compressed, using ZLib.

Thord, I was reading the numbers the wrong way around :( - when I read the the correct way they all make a lot more sence...

Code: Select all

+---------------------+
| Obscure *.hvp *.001 |
+---------------------+

// BIG ENDIAN ORDERING
// Uses ZLib compression

11 - Header (HV PackFile)
1 - null
4 - Unknown
4 - Unknown (8)
4 - Number Of Files and Directories
4 - Number Of Files only
4 - Directory Length (not including all these archive header fields)
8 - Unknown

// for each directory?
  4 - Length Of Entry (including this field)
  1 - Entry Type Indicator 1 (0=dir, 1=file)
  4 - Entry Type Indicator 2 (0=dir, 1=file)
  if (entryType == dir){
    4 - Number Of Files/SubDirectories In This Directory
    1 - Directory Name Length
    X - Directory Name
    }
  else if (entryType == file){
    4 - Compressed Size
    4 - Decompressed Size
    4 - Unknown (Hash or something?)
    4 - File Offset
    4 - Filename Length
    X - Filename
    }
    
X - File Data
Therefore, the structure is nice and easy to read, so we should be able to write a script for this game. Sorry it has taken so long, I was sure I was reading the numbers the rght way around. Now all I have to do is work out how to read big-endian numbers in MexCom and get a script to you.

WATTO
watto@watto.org
http://www.watto.org
Game Extractor - Read and write thousands of game archives!

User avatar
Mr.Mouse
Site Admin
Posts: 4038
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 412 times
Been thanked: 552 times
Contact:

Post by Mr.Mouse » Fri Apr 22, 2005 7:18 am

Use

Code: Select all

ReverseLong <var>

Post Reply