Join also our Discord channel! Click here.

Project Gotham Racing 4 models (.pak_hrd)

Post questions about game models here, or help out others!
Post Reply
User avatar
Tosyk
double-veteran
double-veteran
Posts: 943
Joined: Thu Oct 22, 2009 10:24 am
Location: Russia, Siberia
Has thanked: 225 times
Been thanked: 117 times
Contact:

Project Gotham Racing 4 models (.pak_hrd)

Post by Tosyk » Thu Jul 22, 2010 12:21 am

Help me convert models from Project Gotham Racing 4 :keke:

Here the sample
Thank you for all you do here
my blog | my forum

User avatar
chrrox
Moderator
Posts: 2564
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1307 times

Re: Project Gotham Racing 4 models (.pak_hrd)

Post by chrrox » Thu Jul 22, 2010 1:35 am

this format looks annoying
the file is zlib compressed sections and appears to store information about the extracted files in the original file table.
like the model structure and dds headers.
a custom program would be needed to read these as i do not know how to read zlib easily in max.

User avatar
Tosyk
double-veteran
double-veteran
Posts: 943
Joined: Thu Oct 22, 2009 10:24 am
Location: Russia, Siberia
Has thanked: 225 times
Been thanked: 117 times
Contact:

Re: Project Gotham Racing 4 models (.pak_hrd)

Post by Tosyk » Thu Jul 22, 2010 1:42 am

chrrox wrote:this format looks annoying
the file is zlib compressed sections and appears to store information about the extracted files in the original file table.
like the model structure and dds headers.
a custom program would be needed to read these as i do not know how to read zlib easily in max.
Thanks for the info chrrox. So we need someone who can create that custom program, or maybe converter/extractor from pgr4 archives to tga/dds/dae/smd/obj :oops:

Maybe it will be interesting to Ernegien from his topic
Thank you for all you do here
my blog | my forum

User avatar
chrrox
Moderator
Posts: 2564
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1307 times

Re: Project Gotham Racing 4 models (.pak_hrd)

Post by chrrox » Thu Jul 22, 2010 3:16 am

could be but forza was not compressed.

ALYX
advanced
Posts: 41
Joined: Wed Apr 07, 2010 7:33 pm
Has thanked: 12 times
Been thanked: 1 time

Re: Project Gotham Racing 4 models (.pak_hrd)

Post by ALYX » Mon Aug 02, 2010 10:59 pm

Most of the data for the car is in the Peugeot_Flux.pak_hrd file. This file contains mostly compressed data chunks with uncompressed data in between. I use the program "offzip" to decompress the data. The decompressed data contains no headers as the header information was already uncompressed.
The compressed data starting at offset 000947ad is almostly certainly the main model's vertex data, however it does not use standard floating point. The compressed data starting at offset 000cf16d is the face array index, which are tristrips that are reset by the bytes "FF FF". This file references a model containing around 17,000 vertexes. The compressed data starting at 0002b07d contains a dds texture. The smallest compressed chunks contain a model that has 31 vertexes.
Over all there are 118 compressed chunks.
Here FurryFan info about compresing. Some tools ofzip can uncompress and then we need a smart guy/girl who can easy make a convertor importer or something.

AMG
advanced
Posts: 58
Joined: Sun Aug 10, 2014 3:55 pm
Has thanked: 281 times
Been thanked: 13 times

Re: Project Gotham Racing 4 models (.pak_hrd)

Post by AMG » Sat Jun 04, 2016 4:37 pm

Instead of creating a new topic I'll just bump this one.
Found this, have a nice read!
http://www.bit-tech.net/news/gaming/200 ... ount_lie/1
Very interesting, I've expected a much lower polycount to be honest.
It's definitely pretty impressive for a 2005 game.

Mondraconus
n00b
Posts: 10
Joined: Sun Feb 21, 2016 6:29 am
Has thanked: 1 time

Re: Project Gotham Racing 4 models (.pak_hrd)

Post by Mondraconus » Wed Dec 21, 2016 6:52 pm

Guys, I have been opened new thread to discuss about .STREAM2, .PAK and .BPR inside game "Area" folder... I want to rip textures inside .STREAM2 file, since it's very big size, I just want to rip the textures inside it... Maybe anyone can help me please ?

Visit the thread at : viewtopic.php?f=18&t=15625

Thank you

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3089
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 818 times
Been thanked: 1641 times

Re: Project Gotham Racing 4 models (.pak_hrd)

Post by shakotay2 » Sun Sep 03, 2017 1:29 pm

well, then, seems this thread was the beginning of "all", so let's continue here.

wheel model from "offzipped" .dat:
wheel.JPG
(end of FI's block is a little bit hard to track; uvs are looking weird)

going to become tedious:
Image
You do not have the required permissions to view the files attached to this post.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

User avatar
Tosyk
double-veteran
double-veteran
Posts: 943
Joined: Thu Oct 22, 2009 10:24 am
Location: Russia, Siberia
Has thanked: 225 times
Been thanked: 117 times
Contact:

Re: Project Gotham Racing 4 models (.pak_hrd)

Post by Tosyk » Wed Sep 06, 2017 7:47 pm

wow, this's the progress, man! :mrgreen:
Thank you for all you do here
my blog | my forum

User avatar
zaykho
mega-veteran
mega-veteran
Posts: 213
Joined: Fri Dec 03, 2010 1:20 pm
Location: France
Has thanked: 151 times
Been thanked: 33 times

Re: Project Gotham Racing 4 models (.pak_hrd)

Post by zaykho » Wed Sep 13, 2017 6:31 am

Tagging because it's important ! = D

Pingu
veteran
Posts: 116
Joined: Sat Apr 16, 2016 3:15 am
Has thanked: 5 times
Been thanked: 24 times

Re: Project Gotham Racing 4 models (.pak_hrd)

Post by Pingu » Thu Sep 14, 2017 1:00 am

Can one of you re-upload the original files?

Post Reply