Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Extracting/Unpacking files from Transformers Revenge of the Game PC

Featured Replies

  • Author
  • Localization

MxSrT, posted Wed Mar 01, 2023 8:38 pm (75616)


This game has character files like Megatron.str and I want to play as Scrapper in this game but unfortunately he is not in the characters folder. And the only place he can be in is this file. I wish to extract the character file from here. Once it's extracted, I can easily rename the character file to Megatron.str and play as Scrapper. But if u can extract every character in this file that would also be appreciated. I hope someone can help me with this. And I cannot add the file because it is too big so I uploaded it to google drive: https://drive.google.com/file/d/1kkCB9m ... sp=sharing

This file is from Transformers Revenge of the Fallen PC game levels/deepsix_01/missions/deepsix_01_a_defend/mission.str
  • Author
  • Localization

h3x3r, posted Thu Mar 02, 2023 7:48 am (75632)


This will at least decompress that file. Not sure if it's chunked...
Code:
####################################
comtype zlib_noerror
get BaseFileName basename
idstring "mrts"
get TotalFileSize long
getdstring Dummy 0x8
get Files long
math TotalFileSize - 20
savepos Offset
string Name p= "%s/%s.dat" BaseFileName BaseFileName

clog Name Offset TotalFileSize TotalFileSize
  • Author
  • Localization

MxSrT, posted Thu Mar 02, 2023 8:51 am (75633)


h3x3r wrote:
This will at least decompress that file. Not sure if it's chunked...
Code:
####################################
comtype zlib_noerror
get BaseFileName basename
idstring "mrts"
get TotalFileSize long
getdstring Dummy 0x8
get Files long
math TotalFileSize - 20
savepos Offset
string Name p= "%s/%s.dat" BaseFileName BaseFileName

clog Name Offset TotalFileSize TotalFileSize



Okay thank you for the quick relpy! I tried this code and it worked! Here's what QuickBMS said:
QuickBMS generic files extractor and reimporter 0.12.0
by Luigi Auriemma
e-mail: [email protected]
web: aluigi.org
(Aug 24 2022 - 10:55:28)

quickbms.com Homepage
zenhax.com ZenHAX Forum
@zenhax @quickbms Twitter & Scripts

- GUI mode activated, remember that the tool works also from command-line
where are available various options like folder scanning, filters and so on

- select input archives/files, type * for the whole folder and subfolders
- select output folder where extracting files
- open input file C:\Users\asus pc\Desktop\ROTF A SUCCESS\missionPC.str
- open script C:\Users\asus pc\Desktop\quickbms\ZenhaxAnswer.bms
- set output folder C:\Users\asus pc\Desktop\ROTF A SUCCESS

offset filesize filename
--------------------------------------
00000014 50169540 missionPC\missionPC.dat

- 1 files found in 2 seconds
coverage file 0 100% 50169560 50169560 . offset 00000014

Press ENTER or close the window to quit


So it made a missionPC.dat, I can't tell if it is chunked or nut but I uploaded it in GoogleDrive here: https://drive.google.com/file/d/14nkNCK ... sp=sharing
  • Author
  • Localization

MxSrT, posted Wed Mar 15, 2023 5:28 pm (75917)


h3x3r wrote:
This will at least decompress that file. Not sure if it's chunked...
Code:
####################################
comtype zlib_noerror
get BaseFileName basename
idstring "mrts"
get TotalFileSize long
getdstring Dummy 0x8
get Files long
math TotalFileSize - 20
savepos Offset
string Name p= "%s/%s.dat" BaseFileName BaseFileName

clog Name Offset TotalFileSize TotalFileSize


btw im still not able to extract the character files from this .dat how can I extract character files?
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.