Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by AnonBaiter »

Whoa! I hope my VM machine will handle enough memory for this.

Oh and are the full filenames supposed to be like this? Or maybe it`s just my VM?

Code: Select all

- open input file G:\MICROSOFT\XBOX\RALLISPORT_CHALLENGE_2\Layer0\Cars.fa
- open script G:\MICROSOFT\XBOX\RALLISPORT_CHALLENGE_2\rallisport_challenge_2.bm
s
- c_structs (1): "uint32" "compressedHeaderSize"
- c_structs (1): "uint32" "blockDataOffset"
- c_structs (2): "byte" "unknown0" "MEMORY_FILE10"
- c_structs (2): "uint16" "fileCount" "MEMORY_FILE10"
- c_structs (2): "byte" "unknown1" "MEMORY_FILE10"
- c_structs (2): "uint16" "directoryCount" "MEMORY_FILE10"
- c_structs (2): "uint16" "blockCount" "MEMORY_FILE10"
- c_structs (2): "uint16" "directoryCount" "MEMORY_FILE10"
- c_structs (2): "uint16" "fileCount" "MEMORY_FILE10"
- c_structs (2): "uint16" "firstFile" "MEMORY_FILE10"
- c_structs (2): "uint16" "firstDirectory" "MEMORY_FILE10"
- c_structs (2): "char" "name[24]" "MEMORY_FILE10"
- c_structs (2): "FILETIME" "time" "MEMORY_FILE10"
- c_structs (2): "uint32" "offset" "MEMORY_FILE10"
- c_structs (2): "uint32" "Size" "MEMORY_FILE10"
- c_structs (2): "uint16" "firstBlock" "MEMORY_FILE10"
- c_structs (2): "uint16" "blockCount" "MEMORY_FILE10"
- c_structs (2): "char" "name[44]" "MEMORY_FILE10"
- c_structs (2): "uint32" "compressedSize" "MEMORY_FILE10"
- c_structs (2): "uint32" "uncompressedSize" "MEMORY_FILE10"
- c_structs (2): "uint32" "compressedOffset" "MEMORY_FILE10"
- c_structs (2): "uint32" "uncompressedOffset" "MEMORY_FILE10"
- set output folder G:\MICROSOFT\XBOX\RALLISPORT_CHALLENGE_2\Layer0

  offset   filesize   filename
--------------------------------------
  00000000 176128     ///cars/a110alpine/accent/accentrc/astrair/astrarc/beetler
si/bmw318/celicab/celicahc/cordoba/corolla/deltas4/focussvt/gt70/imprezahc/impre
zawrx/lancere65hc/lancere6rc/lancere8/lancia037/megane/metro/micra/octavia/peuge
ot205/peugeot206/peugeot306/peugeot405hc/puma/quattros1/quattros1hc/r5turbo/rs20
0/rs200rc/saab93hc/saab93rc/stratos/tacoma/vitarahc/volvo240/volvos40/xsara/xsar
arc/mesh/dirtdust.res

- it's not possible to create that file due to its filename or related
  incompatibilities (for example already exists a folder with that name), so
  now you must choose a new filename for saving it.
  if you press ENTER a new name will be generated automatically.
  - old: cars\a110alpine\accent\accentrc\astrair\astrarc\beetlersi\bmw318\celica
b\celicahc\cordoba\corolla\deltas4\focussvt\gt70\imprezahc\imprezawrx\lancere65h
c\lancere6rc\lancere8\lancia037\megane\metro\micra\octavia\peugeot205\peugeot206
\peugeot306\peugeot405hc\puma\quattros1\quattros1hc\r5turbo\rs200\rs200rc\saab93
hc\saab93rc\stratos\tacoma\vitarahc\volvo240\volvos40\xsara\xsararc\mesh\dirtdus
t.res
  - new: ^C
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by AnonBaiter »

Sorry for the doublepost, but this is the file that refuses to work with the script:
TrackMisc.rar
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by aluigi »

Yeah sorry a mistake I made while I was trying to "optimize" the script before the release.plus a new thing not available in the previous samples.
Script 0.1.1
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by aluigi »

Is it necessary also a script for the res archives? I can add it in the current script on the fly
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by AnonBaiter »

Perhaps. I usually delete the .fa archive after I`m done extracting it so a separate script would work too.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by aluigi »

Script 0.1.2 with added support for the res archives.
AMG
Posts: 71
Joined: Sun Aug 10, 2014 1:13 pm

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by AMG »

Somehow the script makes QuickBMS crash for me :(
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by AnonBaiter »

It worked completely fine for me. Perhaps a low RAM version of the script is okay for you?
AMG
Posts: 71
Joined: Sun Aug 10, 2014 1:13 pm

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by AMG »

AnonBaiter wrote:It worked completely fine for me. Perhaps a low RAM version of the script is okay for you?

I have no clue, since QuickBMS works perfectly fine with any other script.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by aluigi »

Try the new script 0.1.3 where I no longer use the memory buffer.
AMG
Posts: 71
Joined: Sun Aug 10, 2014 1:13 pm

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by AMG »

aluigi wrote:Try the new script 0.1.3 where I no longer use the memory buffer.


Tried it now, I still have the same issue :?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by aluigi »

How is that possible?
Are you sure you are not using an old version of quickbms?
There is really no memory used except for the small compressed header of the archive.
AMG
Posts: 71
Joined: Sun Aug 10, 2014 1:13 pm

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by AMG »

I'm using v0.8.0
It crashes just at the start by the way:
Image
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by aluigi »

Is it a problem of memory or a crash?
If it's a crash quickbms displays some information.
Please post more info

Here there are no problems, even by using quickbms from double-click.
AMG
Posts: 71
Joined: Sun Aug 10, 2014 1:13 pm

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by AMG »

QuickBMS freezes after that, so I can't even get some informations. Probably a memory issue like you said?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by aluigi »

No absolutely no memory issue, quickbms correctly reports any problem and I doubt you have 128 Mb of RAM :)
It's more probable that you didn't copy&paste the script correctly. Download it, no copy&paste.
AMG
Posts: 71
Joined: Sun Aug 10, 2014 1:13 pm

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by AMG »

This is so weird... :?
I have downloaded the script of course.
I've just used the NFS Shift script before thinking this could have been an issue with the program, and QuickBMS unpacked everything correctly as always. I'm clueless. :(
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by aluigi »

Maybe it's a rare bug in quickbms that happens when handling the C structs (an unofficial feature of the tool) and you have been lucky to catch it.
I have updated the script to version 0.1.3a to avoid to use these C structs, can you check if you still have the same problem?
AMG
Posts: 71
Joined: Sun Aug 10, 2014 1:13 pm

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by AMG »

aluigi wrote:Maybe it's a rare bug in quickbms that happens when handling the C structs (an unofficial feature of the tool) and you have been lucky to catch it.
I have updated the script to version 0.1.3a to avoid to use these C structs, can you check if you still have the same problem?


Works just fine now! Thank you so much! :D

Here's the data of a game vehicle:
http://www115.zippyshare.com/v/P9q1Kgwy/file.html
From what I see, audio data, meshes and textures are all in a so called .RES format.
Compressed data again?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Rallisport Challenge 2 ".FA" (Xbox FlatArchive)

Post by aluigi »

Very good, now the real problem for me is understanding where is the bug :(

The RES archives are supported by the same script, there is no compression but I don't know what's their format. What I know is that they are 2 groups of files in each RES archive.