Initial D Extreme Stage PS3

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
black_racer
Posts: 22
Joined: Thu Jun 04, 2015 1:05 pm

Initial D Extreme Stage PS3

Post by black_racer »

Hello guys, please help me to research game archive Initial D Extreme Stage?
.AFS [SEGA]
Example game file here: https://www.dropbox.com/s/xho8nnna9il7ph2/car.afs?dl=0

This presumably 3d models tuning parts that are not packed: https://www.dropbox.com/s/1mkq0ot48voomkz/BOOST_UP.efo?dl=0
black_racer
Posts: 22
Joined: Thu Jun 04, 2015 1:05 pm

Re: Initial D Extreme Stage PS3

Post by black_racer »

I was able to extract the contents using this script but get .dat files((

Perhaps there is a solution for accurate research?
My goal is to get cars 3d files and tracks.

Code: Select all

# AFS archives (used on some Xbox games) (script 0.1.1a)
# script for QuickBMS http://quickbms.aluigi.org

idstring "AFS"
get DUMMY byte  # it's usually 0 but in some files (MULTSPQ2.AFS) it may be different
get FILES long
savepos INFO_OFF

math NAME_OFF = FILES
math NAME_OFF *= 8
math NAME_OFF += INFO_OFF
goto NAME_OFF
get NAME_OFF long
goto INFO_OFF

for i = 0 < FILES
    get OFFSET long
    get SIZE long

   if NAME_OFF == 0
      set NAME string ""
   else
      savepos INFO_OFF
      goto NAME_OFF
      getdstring NAME 32
      getdstring DUMMY 16
      savepos NAME_OFF
      goto INFO_OFF
   endif

    log NAME OFFSET SIZE
next i


in 2d.afs file are located textures in the DDS presumably format.
This script are not able to unpack.
2d.afs file link: https://www.dropbox.com/s/vm11joib0l9kb59/2d.afs?dl=0

Image
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Initial D Extreme Stage PS3

Post by aluigi »

The script extracts all the file correctly.

The DDS you see inside the YAB and KMR files are part of these formats and not of AFS.
Those files look like resources, you may opt to use a fileripper to dump known formats from them without parsing the format.
black_racer
Posts: 22
Joined: Thu Jun 04, 2015 1:05 pm

Re: Initial D Extreme Stage PS3

Post by black_racer »

Thank you Aluigi for your assistance once again)