How to extract *.OBJ files from *.GSC files of Transformers: The Game (PC and PS3)?

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Sun Rays
Posts: 21
Joined: Thu Mar 08, 2018 10:51 am

How to extract *.OBJ files from *.GSC files of Transformers: The Game (PC and PS3)?

Post by Sun Rays »

So I think that these *.GSC files might contain some model files as well. And that's why I hope someone is able to extract them from it. I would like to reimport the files back in the archive after editing them, so I really hope someone is able to help me with this. Thanks in advance.

Link to a PC GSC file - http://www.mediafire.com/file/3d34z0x7e ... C.GSC/file

Link to a PS3 GSC file - http://www.mediafire.com/file/a37520orl ... 3.GSC/file
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: How to extract *.OBJ files from *.GSC files of Transformers: The Game (PC and PS3)?

Post by aluigi »

Weird format but you can extract the dds that take half of the archive:

Code: Select all

get OFFSET long
get FILES short
for i = 0 < FILES
    getdstring DUMMY 0x14
    get SIZE long
    savepos OFFSET
    log "" OFFSET SIZE
    goto SIZE 0 SEEK_CUR
next i
Sun Rays
Posts: 21
Joined: Thu Mar 08, 2018 10:51 am

Re: How to extract *.OBJ files from *.GSC files of Transformers: The Game (PC and PS3)?

Post by Sun Rays »

Is it also possible to extract OBJ (or any other similar 3d files) from it? Also what's there in the other half of the file?