Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Initial D Special Stage .PAC 3D Files

Featured Replies

  • Author
  • Localization

Argonaut, posted Wed Oct 29, 2014 5:04 pm (1354)


Posted this on Xentax aswell, might aswell see if anyone here could solve this aswell. :)
------------------------------------------------------
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!
  • Author
  • Localization

TGE, posted Thu Jan 01, 2015 12:43 am (2409)


The models use PS2 VIF tags
  • Author
  • Localization

Argonaut, posted Sun Jan 04, 2015 10:52 pm (2445)


TGE wrote:
The models use PS2 VIF tags


And how could I use these to extract the models? Bit clueless but point me somewhere and I will go..
  • Author
  • Localization

TGE, posted Sat Jan 10, 2015 6:49 pm (2635)


Basically the models are built up kinda like this:

starting from 0x1B4 in FC3S_Fspoile00.CMD
XX YY ZZ WW
XX being some ID
YY being some flag
ZZ being the amount of data
WW being the type of data

types of data I've seen are:
0x6C = vector4
xyz float vif compressed tristrip
0x20 = some info
0x68 = vector3
xyz float, I'm assuming normals
0x74 = vector2
texture uv float

I also wrote a script to extract the pac files
Code:
#PAC_InitialD.BMS
#Initial D Special Stage .PAC
#Script by TGE
endian little
idstring "PAC\0"
get FILES long
get UNK long #null?
get UNK long
getdstring PACNAME 0x10
for i = 0 < FILES
   getdstring NAME 0x10
   get OFFSET long
   get SIZE long
   get FILETYPE long
   get CMPFLAG long
   IF FILETYPE == 1
      string NAME = .GIM
   EndIF
   IF FILETYPE == 3
      string NAME = .CMD
   EndIF
   log NAME OFFSET SIZE
next i
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.