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.

i would like an update on CMF script

Featured Replies

  • Author
  • Localization

bachou, posted Sun Jul 29, 2018 11:03 am (37083)


hell guys the CMF scripts for closer is really outdated now, can anyone update it please ? i'm getting this error for newer files

Code:
  offset   filesize   filename
--------------------------------------
- library MEMORY_FILE2 loaded at address 13400000
- function found at offset 13400000
- library MEMORY_FILE3 loaded at address 13410000
- function found at offset 13410000
  00000278 36457227   ITEM_TEMPLET3.NTF

Error: the compressed zlib/deflate input is wrong or incomplete (-3)
Info:  algorithm   1
       offset      00000278
       input size  0x000dc540 902464
       output size 0x022c4b0b 36457227
       result      0xffffffff -1

Error: the uncompressed data (-1) is bigger than the allocated buffer (36457227)

Last script line before the error or that produced the error:
  73  clog NAME OFFSET ZSIZE SIZE

Press ENTER or close the window to quit



this script is still working for old files but some new files causing the extract progress to stop...

the script is under attachment, also i would like an improvement that the script will create the dat folders put the files in that folder too, example : if DAT001.CMF contains a.jpg, b.jpg, c.jpg. is it possible to make The script to create a DAT001 folder with a.jpg, b.jpg, c.jpg in it ? and DA002 folder etc... with its own contents (the current script just put everything in one folder and that's not good)

also can you make the script skip certain file extensions and do not extract them ? like skip .NTF extensions and .XMD

sample files :

http://www.mediafire.com/file/w3otwqo74 ... s.rar/file

cmf4.0.bms

  • Author
  • Localization

aluigi, posted Tue Jul 31, 2018 4:31 am (37113)


The script is correct, it's the same of viewtopic.php?p=13891#p13891 but now the content of the files appear to be encrypted.
That's the reason why you get that error and I'm not sure if Ekey will work again on it.

For sure reusing the same encryption adopted for the header will not work (tested).
  • Author
  • Localization

bachou, posted Tue Jul 31, 2018 7:06 am (37126)


aluigi wrote:
The script is correct, it's the same of viewtopic.php?p=13891#p13891 but now the content of the files appear to be encrypted.
That's the reason why you get that error and I'm not sure if Ekey will work again on it.

For sure reusing the same encryption adopted for the header will not work (tested).



so... are there any solution ? or can you at least make a change that let quickbms continue the extraction after encountering the new encrypted files ?
also is it possible to make quickbms extract certain file extension ?(i only need .jpn, png and dds in this case)
  • Author
  • Localization

aluigi, posted Wed Aug 01, 2018 11:44 pm (37152)


without key and algorithm you can do nothing because all the files are encrypted as far as I have seen.

quickbms has some command-line options for filtering the extracted files like:
-f "{}.jpg,{}.png,{}.dds"
  • Author
  • Localization

bachou, posted Thu Aug 02, 2018 2:06 am (37155)


uhm... can you tell me how to add that filtering ? i'm clueless on this script stuff
also how to make quickbms continue the extraction after encountering encrypted file ? the extraction will stop when quickbms can't extract encrypted files
  • Author
  • Localization

aluigi, posted Thu Aug 02, 2018 6:25 am (37158)


It's a command-line option anyway, as already said, all the files are encrypted.
  • Author
  • Localization

bachou, posted Thu Aug 02, 2018 1:01 pm (37171)


thanks for answers
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.