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.
Zero Tolerance for Disrespect

Unreal Engine 4 pak-file Unpacker / unreal_tournament_4.bms [UE4 global topic]

Featured Replies

  • Author
  • Localization

MerlinSVK, posted Mon Oct 02, 2017 6:12 am (26986)


It says "compressed size too big" so your modded file, can't be compressed to original size (written in the archive). That's why it's using other compression variants.
  • Replies 2.3k
  • Views 510
  • Created
  • Last Reply

Top Posters In This Topic

  • Author
  • Localization

aluigi, posted Mon Oct 02, 2017 10:33 am (26988)


Chunked files... it would probably not work anyway.
  • Author
  • Localization

UncleFestor, posted Mon Oct 02, 2017 12:52 pm (26989)


EDIT:

The game will run from unpacked files, so disregard my inquiry.
  • Author
  • Localization

smartypamore, posted Sun Oct 22, 2017 7:59 am (27585)


godskin wrote:
## Marvel VS Capcom - Infinite ##

MvCI file decrypter pak extraction script

https://github.com/AltimorTASDK/dfpslayer/releases

Usage: dfpslayer [file path]

Code:
Example:
dfpslayer "C:\Program Files (x86)\Steam\steamapps\common\MARVEL VS. CAPCOM INFINITE\MVCI\Content\Paks\pakchunk0-WindowsNoEditor.pak"


dfpslayer will output the decrypted file with ".decrypted" appended to the path. Once you've decrypted it you can extract pak contents with QuickBMS.
dfpslayer also works on other files within the MVCI/Content folder, not just the paks.

BMS script :
https://gist.githubusercontent.com/AltimorTASDK/a89d03d4c9c54c440756d0e5778bf2c8/raw/d6060548591622d4691a48a69e3bbbca629047f7/mvci.bms
Use with aluigi's QuickBMS. I can't link it here because reddit filters it for some reason.
Using QuickBMS to extract the pak contents is the same as SFV.
The game will load decrypted files.

Use -game=ue4.15 with UE viewer.



Video Tutorial please.. thanks...
  • Author
  • Localization

lolwatt, posted Tue Oct 31, 2017 3:29 am (29572)


Faith of Danschant is currently not compatible with the script/UModel.
I would like to share the exe and PAK, but the thing is 3gb.

Is there an easier way or just upload the entire thing?
  • Author
  • Localization

aluigi, posted Tue Oct 31, 2017 7:23 pm (29589)


Are you sure you are using quickbms 0.8.1 and script 0.4.10 (0.4.9 is ok too)?

Then what's the error you get?

The cuts are too small to check, I need at least 5 Mb that you can obtain by editing the filecutter script setting the METABYTES variable from 2 to 5
  • Author
  • Localization

godskin, posted Tue Oct 31, 2017 7:25 pm (29592)


aluigi wrote:
Are you sure you are using quickbms 0.8.1 and script 0.4.10 (0.4.9 is ok too)?

Then what's the error you get?

The cuts are too small to check, I need at least 5 Mb that you can obtain by editing the filecutter script setting the METABYTES variable from 2 to 5


http://prntscr.com/h4if8n
  • Author
  • Localization

aluigi, posted Tue Oct 31, 2017 7:37 pm (29593)


ok it's using the oodle compression but it has a ZIP field set to 3 instead of 0x10.
I can make a work-around but I'm not sure if it will break the compatibility with other games.
Let's try, script 0.4.11.
  • Author
  • Localization

lolwatt, posted Tue Oct 31, 2017 11:21 pm (29600)


This indeed works with Faith. Thanks!
  • Author
  • Localization

godskin, posted Wed Nov 01, 2017 6:14 am (29605)


aluigi wrote:
ok it's using the oodle compression but it has a ZIP field set to 3 instead of 0x10.
I can make a work-around but I'm not sure if it will break the compatibility with other games.
Let's try, script 0.4.11.


PLS project-Z

viewtopic.php?f=9&t=5150
  • Author
  • Localization

aluigi, posted Wed Nov 01, 2017 7:33 am (29607)


I already answered you in that topic and that's not a UE4 archive, so you are OT here for that game.
  • Author
  • Localization

Nelly, posted Thu Nov 02, 2017 8:08 pm (29669)


Hey aluigi !

I'm actually trying to extract .pak data from the DLC Neoplan Skyliner of Fernbus Simulator. This game is using UE4, so I've tested with the BMS script Unreal Tournament, but it's not working :( Got this error :

Code:
KEY: no key, encryption disabled

Error: the compressed zlib/deflate input is wrong or incomplete (-3)
Info:  algorithm   1
       offset      00000059
       input size  0x000026f0 9968
       output size 0x00010000 65536
       result      0xffffffff -1

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

Last script line before the error or that produced the error:
  130 clog MEMORY_FILE CHUNK_OFFSET CHUNK_ZSIZE CHUNK_SIZE
 


How I can extract the data inside this archive ? Is there any script or others way to extract it ?

Here is the .pak : https://drive.google.com/open?id=0B4pyF ... jh4NkEyOGc

Thanks in advance !
Best regards
  • Author
  • Localization

aluigi, posted Thu Nov 02, 2017 8:48 pm (29670)


Eh because you need the correct key :)
Upload the big executable and hopefully we can retrieve it.
  • Author
  • Localization

aluigi, posted Thu Nov 02, 2017 11:20 pm (29673)


This is the key:
Code:
I0vV6wr0TFbg3m23QuSIwnYC1sI0AIDq
  • Author
  • Localization

Nelly, posted Thu Nov 02, 2017 11:40 pm (29674)


Thanks a lot ! It works :D Data have been extracted :) But just a question, how did you get this key ? You just see the .exe with an hex editor or something ?

Thank you again ! :)
  • Author
  • Localization

aluigi, posted Fri Nov 03, 2017 9:49 am (29680)


Yes, just by viewing the executable. No analysis or debugging or any reverse engineering.
  • Author
  • Localization

Nelly, posted Fri Nov 03, 2017 11:18 am (29683)


Ok ! Looks easy :) Hope I can do it by myself next time so I don't have to disturb you ;)

Thanks again ;)
  • Author
  • Localization

aluigi, posted Fri Nov 03, 2017 11:21 am (29684)


Don't worry for that, feel free to ask everytime. I maintain a public collection of game passwords inside some scripts (like this one of UE4) and on my website.
  • Author
  • Localization

aluigi, posted Mon Nov 13, 2017 2:24 pm (30020)


Download the following script, open it with a text editor and replace "MEGABYTES = 2" with "MEGABYTES = 10":
http://aluigi.org/bms/filecutter.bms
Then run it with quickbms on the pak archive and upload the 2 files it has generated.
  • Author
  • Localization

xLumexMoonx, posted Mon Nov 13, 2017 2:36 pm (30021)


aluigi wrote:
Download the following script, open it with a text editor and replace "MEGABYTES = 2" with "MEGABYTES = 10":
http://aluigi.org/bms/filecutter.bms
Then run it with quickbms on the pak archive and upload the 2 files it has generated.


oh ok here filecutter simple:

http://www.mediafire.com/file/q8uae24jt ... cutter.rar
  • Author
  • Localization

aluigi, posted Mon Nov 13, 2017 4:59 pm (30022)


Honestly I don't know what's the exact problem but probably I can guess it.
The following are the details of the involved entries (last entry plus the next one):
Code:
. 00000000000013ce
.
. 00000000009c3358 get     NAMESZ     0x0000000000000029 -1030
. 00000000009c335c getdstr NAME       "Infernales/Content/hell4_BuiltData.ubulk"
 41
    49 6e 66 65 72 6e 61 6c 65 73 2f 43 6f 6e 74 65   Infernales/Conte
    6e 74 2f 68 65 6c 6c 34 5f 42 75 69 6c 74 44 61   nt/hell4_BuiltDa
    74 61 2e 75 62 75 6c 6b 00                        ta.ubulk.
. 00000000009c3385 get     OFFSET     0x00000000e683c000 8
. 00000000009c338d get     ZSIZE      0x00000000502df800 8
. 00000000009c3395 get     SIZE       0x00000000502df800 8
. 00000000009c339d get     ZIP        0x0000000000000000 4
. 00000000009c33a1 getdstr HASH       "" 20
    00 20 75 52 e2 88 8a 10 fc 15 a2 49 f8 43 f4 16   . uR.......I.C..
    35 ff 4e 5c                                       5.N\
. 00000000009c33b5 get     ENCRYPTED  0x0000000000000000 1
. 00000000009c33b6 get     CHUNK_SIZE 0x0000000000000000 4
.
. 00000000000013cf
.
. 00000000009c33ba get     NAMESZ     0x0000000000000028 -1030
. 00000000009c33be getdstr NAME       "Infernales/Content/hell4_BuiltData.uexp"
40
    49 6e 66 65 72 6e 61 6c 65 73 2f 43 6f 6e 74 65   Infernales/Conte
    6e 74 2f 68 65 6c 6c 34 5f 42 75 69 6c 74 44 61   nt/hell4_BuiltDa
    74 61 2e 75 65 78 70 00                           ta.uexp.
. 00000000009c33e6 get     OFFSET     0x0000000136b1c000 8
. 00000000009c33ee get     ZSIZE      0x0000000009af7960 8
. 00000000009c33f6 get     SIZE       0x0000000009af7960 8
. 00000000009c33fe get     ZIP        0x0000000000000000 4
. 00000000009c3402 getdstr HASH       "" 20
    9f a9 35 fc 46 ef b8 29 1c b2 56 8b fc 98 ea 01   ..5.F..)..V.....
    17 e8 ab db                                       ....
. 00000000009c3416 get     ENCRYPTED  0x0000000000000000 1
. 00000000009c3417 get     CHUNK_SIZE 0x0000000000000000 4

As visible there, we have just a non-compressed file.
The script uses Clog instead of Log for working easily with encrypted files without doing a branch of instructions for compressed and one for uncompressed files, probably this choice consumes lot of memory for nothing and this is something I'm going to check in the next version of quickbms.

In short I see no errors in the script and I guess the problem is just in the impossibility to re/allocate the memory necessary for extracting the files, in fact "Infernales/Content/hell4_BuiltData.ubulk" is quite big (1.3 Gb) resulting in too much memory for a 32bit process.

Now, how to fix it in the meantime?
Try running quickbms_4gb_files.exe with the -9 option, if you use the double-click gui you must simply make a shortcut to the exe and adding -9 to the Target property of the shortcut.

Let me know if it works.
If it doesn't work you have to wait the next version of quickbms which is not planned yet.
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.