How to convert .str files? [Transformers: Revenge of the Fallen]

Skeletons, animations, shaders, texturing, converting, fixing and anything else related to read game models
MarKreations
Posts: 3
Joined: Tue Dec 29, 2020 11:31 pm

How to convert .str files? [Transformers: Revenge of the Fallen]

Post by MarKreations »

Hey guys! So I have some files from a DLC of the Transformers: Revenge of the Fallen video game on PlayStation 3. The files are in ".str" file formats, and I was wondering if anybody here can help me get the models and textures from these? If so, please let me know! I have linked a zip file below containing the files.
https://drive.google.com/file/d/128gfsr ... w44ZY/view
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: How to convert .str files?

Post by aluigi »

Compressed with zlib, try this script for decompressing:

Code: Select all

comtype zlib_noerror
endian big
idstring "strm"
get SIZE long
get DUMMY long  # 1
get DUMMY long  # 3
get DUMMY long  # ???
savepos OFFSET
math SIZE - OFFSET
get NAME basename
clog NAME OFFSET SIZE SIZE
MarKreations
Posts: 3
Joined: Tue Dec 29, 2020 11:31 pm

Re: How to convert .str files?

Post by MarKreations »

aluigi wrote:Compressed with zlib, try this script for decompressing:

Code: Select all

comtype zlib_noerror
endian big
idstring "strm"
get SIZE long
get DUMMY long  # 1
get DUMMY long  # 3
get DUMMY long  # ???
savepos OFFSET
math SIZE - OFFSET
get NAME basename
clog NAME OFFSET SIZE SIZE

Sweet man thanks! Could you tell me how to run this? I'm not a coder, so I have no idea how to use this without an exe or python