Spider-Man Friend or Foe [PC,Wii,PS2] [Request] [.data & .dict]

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
keyvan_darnell
Posts: 7
Joined: Mon Apr 04, 2022 9:28 pm

Spider-Man Friend or Foe [PC,Wii,PS2] [Request] [.data & .dict]

Post by keyvan_darnell »

[Sample Files In attachments]
It's Been A long Time Since an Afford Was made to Completely Unpack Spider-Man FoF's Files.
There were some Good Results (Script By Acewell):
viewtopic.php?t=4359#p24272

But Still, No one Had found a way to extract .dict files
The script made for .data files is not complete! It only extracts .DDS textures

I did some experiments by swapping models (Simply by changing the names) and I Figured some important stuff:

If a .dict file is corrupt, the corresponding .dat file will not run due to the error, and vise versa
So the .dict file is as important as the .dat file, But To this day nobody had found out what this file represents

But here is the interesting part:

rhino and sandman are both Large Size Heros (note that swapping models between characters that don't have the same bone count results in error (bone count=char size))
I swapped their models and this is what happened:
(meaning for example now sandman shows up when I choose Rhino)
No Error!
No Animation from Rhino!

All Animations are from the sandman itself!
So...???
It means that All the animations and meshes are in these files only, and not anywhere else!
I Expected playing Rhino With Sandman meshes But no! I'm literally playing with sandman.

Experimenting the files With the characters with same animation/different mesh:
Goblin2(New Goblin) and Greengonlin Are two seperate playable characters
both of them have the exact same action and animation
but the only difference is the textures and 3d models (meshesh)
When I swapped Characters, The exact thing happened, It was like playing with new goblin itself



I'd Really Appreciate it if one of you took the time and finished this script :mrgreen:
VendorX
Posts: 9
Joined: Fri Apr 15, 2022 11:41 am

Re: Spider-Man Friend or Foe [PC,Wii,PS2] [Request] [.data & .dict]

Post by VendorX »

keyvan_darnell wrote:It means that All the animations and meshes are in these files only, and not anywhere else!


Yes, *.data file holds the textres, mesh, skeleton, animations etc ... even info about used particles. Data is stored in blocks.
*.dict holds data CRCs, offsets, sizes etc - didn't really check

keyvan_darnell wrote:I'd Really Appreciate it if one of you took the time and finished this script :mrgreen:


Exporting these files has no point (except of repacking) becase the game engine wll try to load data from *.data through *.dict. So in case of repacking *.data, *.dict needs to be changed respectively.

Try to change the names of both fles.
keyvan_darnell
Posts: 7
Joined: Mon Apr 04, 2022 9:28 pm

Re: Spider-Man Friend or Foe [PC,Wii,PS2] [Request] [.data & .dict]

Post by keyvan_darnell »

VendorX wrote:
keyvan_darnell wrote:It means that All the animations and meshes are in these files only, and not anywhere else!


Yes, *.data file holds the textres, mesh, skeleton, animations etc ... even info about used particles. Data is stored in blocks.
*.dict holds data CRCs, offsets, sizes etc - didn't really check

keyvan_darnell wrote:I'd Really Appreciate it if one of you took the time and finished this script :mrgreen:


Exporting these files has no point (except of repacking) becase the game engine wll try to load data from *.data through *.dict. So in case of repacking *.data, *.dict needs to be changed respectively.

Try to change the names of both fles.


thanks, mate
are there any other games that have the same structure (.dict and .data)?
I also found that these are ported xbox 360 files