Page 1 of 1

Transformers 2 - Revenge of the Fallen

Posted: Sun Apr 25, 2010 5:50 pm
by diablojin
Hey Guys,

Hope you are all well,

Ive done a search but cant seem to find anything, also looked through google.

Im wondering if anybody has had a go at modding transformers 2 revenge of the fallen?!

Or if there is any other tool apart from 3d ripper x that will extract textures and models?

Any help or a pointer would be great!

Cheers in advance

Re: Transformers 2 - Revenge of the Fallen

Posted: Sun Apr 25, 2010 5:55 pm
by aluigi
if it's developed by the same people of Transformer 1 then this script should do the job:
http://aluigi.org/papers/bms/ttgames.bms

otherwise you must upload an archive or a part of it

Re: Transformers 2 - Revenge of the Fallen

Posted: Sun Apr 25, 2010 7:02 pm
by diablojin
thanks aluigi,

forgive me for asking but what do I do with this script :(

Re: Transformers 2 - Revenge of the Fallen

Posted: Sun Apr 25, 2010 8:53 pm
by aluigi
that one is a script for quickbms that extracts all the files contained in the DAT archives used in the first Transformer game,

Re: Transformers 2 - Revenge of the Fallen

Posted: Wed May 05, 2010 5:36 pm
by omfgpota
The contents of this post was deleted because of possible forum rules violation.

Re: Transformers 2 - Revenge of the Fallen

Posted: Wed May 05, 2010 7:35 pm
by Savage
The contents of this post was deleted because of possible forum rules violation.

Re: Transformers 2 - Revenge of the Fallen

Posted: Thu May 06, 2010 8:44 pm
by omfgpota
I tried to unpack it with offzip just like you've said savage, and tried sir luigis ttgames script, but it says that it's still invalid

thanks for the info though sir savage :D

Re: Transformers 2 - Revenge of the Fallen

Posted: Fri May 07, 2010 9:02 am
by Savage
But transformers 1 uses lz2k compression, and transformers 2 uses zlib..it's a different script, someone must to make a new one.
My knowledge making progrmas it's close to 0..(is not my area) but i'm trying to make a stupid and silly zlib unpacker for tihs but i get errors, sure the script it's at 99% wrong but...

Code: Select all

idstring "mrts"
get unkown long
get SIZE long
set NAME fname.str
get ZSIZE asize
math ZSIZE -= 0x14
goto 0x14
savepos OFFSET
comtype inflate
clog NAME OFFSET ZSIZE SIZE
And i get:
Error: the compressed zlib/deflate input is wrong or incomplete (-3)
Error: there is an error with the decompression
the returned output size is negative (-1)
But with offzip worked perfect.

Re: Transformers 2 - Revenge of the Fallen

Posted: Fri May 07, 2010 6:27 pm
by aluigi
quickbms returns that error because that script is not correct, the second field is ZSIZE and not unknown
anyway due to the lack of the SIZE field and the presence of only one compressed block is without doubts better to use offzip for this job:
offzip soldiermale.str output.str 0x14

Re: Transformers 2 - Revenge of the Fallen

Posted: Fri May 07, 2010 11:30 pm
by Savage
Thanks for the correction aluigi (and for the tip) anyway..the game check for compressed data and don't works.

But it's the 1rst script (kiddy and silly..but i'm starting)

Re: Transformers 2 - Revenge of the Fallen

Posted: Sat May 08, 2010 3:41 pm
by aluigi
for the recompression the job is easy.
copy the header (the first 0x14 bytes) in a new file called, for example, new.str and then use packzip to compress the data you have modified:
offzip -o 0x14 edited.str new.str

then open new.str with a hex editor, go at its end, take note of the reported offset (attention that you need to add 1, for example if in xvi32 you see 2E9ABD then the total size is 2E9ABE), go at offset 4 and place that value there in little endian.

well, it's more easy to do than explaining :)