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.

Metal assault mas.CVF

Featured Replies

  • Author
  • Localization

johnis, posted Mon Jun 13, 2016 8:49 am (14356)


Due to internet limitation i cannot upload the file. The website is : idcgames.com . If anyone can check this game out would be a massive help for me. I am new to this all quickbms stuff but i do understand some things. Thanks for your time :D
  • Author
  • Localization

aluigi, posted Mon Jun 13, 2016 10:34 am (14358)


You can use this script for creating 2 small files of 2 megabytes from the big archive file:
http://aluigi.org/bms/filecutter.bms

Zip them and upload them on the forum or on mega/sendspace/mediafire or any other file hosting.
  • Author
  • Localization

johnis, posted Wed Jun 15, 2016 10:19 am (14430)


Sorry for the delay .. it took me some days to figure out how quickbms works :P here are the 2 files from mas.cvf: 1)http://www.mediafire.com/download/8u2607ggb271qro/mas.cvf_0_277627567
2)http://www.mediafire.com/download/x91zmrzvnab436m/mas.cvf_275530415_277627567
  • Author
  • Localization

aluigi, posted Wed Jun 15, 2016 2:32 pm (14458)


The format is the same of another game for which I wrote a script many time ago.
I have rewritten the script from scratch but both the directory tree and the compression are unsupported:
http://aluigi.org/bms/sfilesystem.bms

Consider that all the files in the first 2Mb of the archive you provided were compressed, so the script is going to be quite useless.
  • Author
  • Localization

johnis, posted Fri Jun 17, 2016 9:32 am (14532)


I extracted the files with that script. indeed they are compressed. any way they can decompress?
  • Author
  • Localization

Ekey, posted Fri Jun 17, 2016 10:07 am (14534)


johnis wrote:
I extracted the files with that script. indeed they are compressed. any way they can decompress?

Did you read it? # 2) compression algorithm (unknown)
  • Author
  • Localization

zhade, posted Wed Mar 01, 2017 7:48 pm (21127)


I only recently found out that this game had been re-released. Heard it became a cash-grab...

To add up to my post on xentax (which I corrected) and aluigis bmsscript: the end offset of a directory is 0, exactly when that directory is the last resource of its parent directory and means that it ends at the same offset the parent directory ends at.

Now for the encryption used by idcgames.com:
I don't know if its some kind of typical algorithm, maybe someone can recognize it.

Pseudocode
Code:
dword block decryption: only the multiple of 4 bytes are encrypted. Remaining bytes are unecrypted

dword KEY1 = 0x04C478BD
dword KEY2 = 0x0015DCB2
dword KEY3 = 0x00241AE7

until you can no longer read 4 bytes do

   uint8 byte[4] = read 4 bytes
   
   X = (KEY1 >> 8) ^ byte[0]
   Y = (KEY1 byte[0]) * KEY3 KEY2
   byte[0] = X & 0x000000FF         // Decrypted first byte
   Z = (Y >> 8) ^ byte[1]
   X = (Y byte[1]) * KEY3 KEY2
   byte[1] = Z & 0x000000FF         // Decrypted second byte
   Z = (X >> 8) ^ byte[2]
   Y = (X byte[2]) * KEY3 KEY2
   byte[2] = Z & 0x000000FF         // Decrypted third byte
   X = (Y >> 8) ^ byte[3]
   byte[3] = X & 0x000000FF         // Decrypted fourth byte
  • Author
  • Localization

Jaxas, posted Wed Feb 28, 2018 9:32 pm (32798)


Did you manage to decompress those 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.