Extracted from an .AFS Archive, this is the standard model type for this game for cars/courses (.PAC) and I know it's been covered before with many other games but i've had no luck using the same tools on these. Can someone give me a hand? I'm sure this will be pretty quick compared to other things.
Sample course file (full size 2MB, not a large download, smallest one):
https://www.dropbox.com/s/elqkfwgnh8gzt ... Y.PAC?dl=0
And a sample car file (1MB):
https://www.dropbox.com/s/6gwyb6hk02cb2bt/FC3S.PAC?dl=0
Thanks!
Initial D Special Stage .PAC 3D Files
-
barti
- veteran
- Posts: 148
- Joined: Sun Apr 01, 2012 12:44 pm
- Has thanked: 51 times
- Been thanked: 102 times
Re: Initial D Special Stage .PAC 3D Files
This QuickBMS script unpacks content from the PAC files:
CMD files are models, and GIM files are textures. I can't find a program that can read them though.
Code: Select all
idstring "PAC\0"
get FILES long
get DUMMY long
get SSIZE long
getdstring FOLDERNAME 16
for i = 0 < FILES
getdstring NAME 16
get OFFSET long
get SIZE long
get FOLDER long
get DUMMY long
savepos TMP
goto OFFSET
getdstring SIGN 3
if SIGN == "GIM"
string NAME p= "%s.%s" NAME SIGN
elif SIGN == "CMD"
string NAME p= "%s.%s" NAME SIGN
else
string NAME += ".DAT"
endif
goto TMP
log NAME OFFSET SIZE
next i- chrrox
- Moderator
- Posts: 2601
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1358 times
Re: Initial D Special Stage .PAC 3D Files
the cmd looks like a modified version of folklore's model format.
- Argonaut
- beginner
- Posts: 22
- Joined: Thu Sep 11, 2014 8:19 pm
- Has thanked: 3 times
- Been thanked: 10 times
Re: Initial D Special Stage .PAC 3D Files
Cheers for both of your replies guys, didn't expect this to take off so quicklychrrox wrote:the cmd looks like a modified version of folklore's model format.
With a few pointers to a program which could read folklore's model format (to be used on these if the modifications aren't too extensive), I could get the car models and textures working just fine.
Here's a sample .dat LOD file just incase you can identify the file's header. Thanks for your input!
https://www.dropbox.com/s/mj4aybneigehx ... 1.DAT?dl=0
EDIT: In addition, Noesis won't read the produced .gim files for either car or course model. Hmm.
Moving Shadow- World Domination!
-
barti
- veteran
- Posts: 148
- Joined: Sun Apr 01, 2012 12:44 pm
- Has thanked: 51 times
- Been thanked: 102 times
Re: Initial D Special Stage .PAC 3D Files
The .dat file looks like it might be encrypted - "SMD" could be a garbled version of "CMD" and "KINA_NI˙T254_000" looks like it might be some kind of a model or material name.
- KarinFutoGT
- advanced
- Posts: 51
- Joined: Fri Apr 06, 2012 6:04 pm
- Location: SPAIN
- Has thanked: 51 times
- Been thanked: 6 times
- Contact:
Re: Initial D Special Stage .PAC 3D Files
So you can open the car models and textures? And how extract the .afs?


