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

Ekey, posted Tue Apr 24, 2018 3:58 pm (34326)


I mean comrpessed chunks is just xored :)
  • Replies 2.3k
  • Views 522
  • Created
  • Last Reply

Top Posters In This Topic

  • Author
  • Localization

aluigi, posted Tue Apr 24, 2018 3:59 pm (34327)


Ah so replace the "encryption" line with: encryption xor "\x79"
  • Author
  • Localization

GoodConduct, posted Thu Apr 26, 2018 4:40 am (34367)


Hello, I am currently trying to get the sound files for the game Darwin project: https://store.steampowered.com/app/5449 ... n_Project/
However when using Umodel every single sound file is 1KB and when trying to extract them they are a uasset.
http://www.mediafire.com/file/btkb5n6zd ... ing.uasset
http://www.mediafire.com/file/x27syn0t9 ... lling.uexp

But when digging around I couldn't find them, I was wondering if someone could help me find them in the .pak if they even exist in there. The same sound file issue exists in the game "Radical heights' I wonder if the developers are using a new method of sound files or if they are in a separate folder within the mesh.
  • Author
  • Localization

GHFear, posted Fri Apr 27, 2018 4:14 pm (34416)


GoodConduct wrote:
Hello, I am currently trying to get the sound files for the game Darwin project: https://store.steampowered.com/app/5449 ... n_Project/
However when using Umodel every single sound file is 1KB and when trying to extract them they are a uasset.
http://www.mediafire.com/file/btkb5n6zd ... ing.uasset
http://www.mediafire.com/file/x27syn0t9 ... lling.uexp

But when digging around I couldn't find them, I was wondering if someone could help me find them in the .pak if they even exist in there. The same sound file issue exists in the game "Radical heights' I wonder if the developers are using a new method of sound files or if they are in a separate folder within the mesh.


Radical heights use old file formats like .BNK and .wem and are located in Content/WwiseAudio/Windows and Content/WwiseAudio/Windows/English(US).
The uasset files are just the "encryption key" and shortcut to the file itself.
Could be something similar with Darwin Project.
  • Author
  • Localization

GoodConduct, posted Sun Apr 29, 2018 10:19 pm (34513)


GHFear wrote:
GoodConduct wrote:
Hello, I am currently trying to get the sound files for the game Darwin project: https://store.steampowered.com/app/5449 ... n_Project/
However when using Umodel every single sound file is 1KB and when trying to extract them they are a uasset.
http://www.mediafire.com/file/btkb5n6zd ... ing.uasset
http://www.mediafire.com/file/x27syn0t9 ... lling.uexp

But when digging around I couldn't find them, I was wondering if someone could help me find them in the .pak if they even exist in there. The same sound file issue exists in the game "Radical heights' I wonder if the developers are using a new method of sound files or if they are in a separate folder within the mesh.


Radical heights use old file formats like .BNK and .wem and are located in Content/WwiseAudio/Windows and Content/WwiseAudio/Windows/English(US).
The uasset files are just the "encryption key" and shortcut to the file itself.
Could be something similar with Darwin Project.


Now, whats odd is that I do not see those files mentioned like I see the WwiseAudio however I do not see the Winows/English(US)
https://i.imgur.com/X970pdD.png

Even when I went to the .Pak sound directly it still only showed the 1KB encyption data and nothing else even though the file is 200 MB.
  • Author
  • Localization

TerryXX, posted Mon Apr 30, 2018 6:58 pm (34538)


Hi Aluigi, with the latest patches for street fighter v something is changed and your script does not work at 100% I'll explain better in some pak files the folder hierarchy it is wrong with the consequence that some files are corrupt, such as the materials of the characters.
https://imgur.com/a/VSkR5Xv
Here is a pak file updated to the last patch
https://www.dropbox.com/s/0jw8eu0rv1b5u ... r.pak?dl=0
If you need more let me know, thx.
  • Author
  • Localization

aluigi, posted Mon Apr 30, 2018 7:22 pm (34539)


I don't see any problem.
The filenames are provided by the archive itselft without being touched by the script/quickbms.
  • Author
  • Localization

blenux, posted Tue May 01, 2018 11:18 am (34561)


Fortnite Season 4 Battle Pass has changed the Pak file format, uModel can't open it atm.
  • Author
  • Localization

TerryXX, posted Tue May 01, 2018 12:26 pm (34565)


[SFV] Hmm it's a very strange thing in the patches before this it did not happen, and in any case the materials are now unusable, I noticed that there are problems with Gildor's Umodel too, I hope it is not there some kind of half-tampering like Denuvo or similar.
Edit:
Ok after several tests something has definitely changed, first the material now they have different bytes here a sample https://www.dropbox.com/s/5l5sqnw6ijwj5 ... l.rar?dl=0
I unpacked the game with this bat: for %%s in (*.pak) do quickbms -Y sf5.bms %%s out
with an old script
Code:
# Unreal Engine 4 - Unreal Tournament 4 (script 0.4)
# Modified by FluffyQuack for better SF5 support
# script for QuickBMS http://quickbms.aluigi.org

# set your AES_KEY here as text or C string ("\x11\x22...")
set AES_KEY binary "_aS4mfZK8M5s5KWC2Lz2VsFnGKI7azgl"

goto -0x2c
idstring "\xe1\x12\x6f\x5a" # 0x5a6f12e1
get VERSION long
get OFFSET longlong
get SIZE longlong
getdstring HASH 20

goto OFFSET

#Acquire base name
get NAMESZ signed_long
math NAMESZ -= 9
getdstring DUMMY 9 #Skip the "..\..\..\" part of the filepath
getdstring BASENAME NAMESZ

get FILES long

for i = 0 < FILES
    callfunction GET_NAME 1
    savepos TMP_OFF

    get OFFSET longlong
    get ZSIZE longlong
    get SIZE longlong
    get ZIP long
    if VERSION <= 1
        get TSTAMP longlong
    endif
    getdstring HASH 20
    math CHUNKS = 0
    if VERSION >= 3
        if ZIP != 0
            get CHUNKS long
            for x = 0 < CHUNKS
                get CHUNK_OFFSET longlong
                get CHUNK_END_OFFSET longlong
                putarray 0 x CHUNK_OFFSET
                putarray 1 x CHUNK_END_OFFSET
            next x
        endif
        get ENCRYPTED byte
        get CHUNK_SIZE long
    endif

    comtype copy    # for AES
    if ZIP & 1
        comtype zlib
    elif ZIP & 2
        comtype gzip
    endif

    if CHUNKS > 0
        putvarchr MEMORY_FILE SIZE 0
        log MEMORY_FILE 0 0
        append
        for x = 0 < CHUNKS
            getarray CHUNK_OFFSET 0 x
            getarray CHUNK_END_OFFSET 1 x
            math CHUNK_ZSIZE = CHUNK_END_OFFSET
            math CHUNK_ZSIZE - CHUNK_OFFSET
            if ENCRYPTED != 0
                encryption aes AES_KEY "" 0 32
                math CHUNK_ZSIZE x 32
            endif
            clog MEMORY_FILE CHUNK_OFFSET CHUNK_ZSIZE CHUNK_SIZE
        next x
        append
        encryption "" ""
        log NAME 0 SIZE MEMORY_FILE
    else
        # the file offset points to an entry containing
        # the "same" OFFSET ZSIZE SIZE ZIP HASH ZERO fields,
        # just an additional backup... so let's skip them
        savepos BASE_OFF
        math BASE_OFF - TMP_OFF
        math OFFSET = BASE_OFF
        if ENCRYPTED != 0
            encryption aes AES_KEY "" 0 32
            math ZSIZE x 32
        endif
        clog NAME OFFSET ZSIZE SIZE
        encryption "" ""
    endif
next i

startfunction GET_NAME
    get NAMESZ signed_long
    if NAMESZ >= 0
        getdstring NAME NAMESZ
    else
        math NAMESZ n NAMESZ
        math NAMESZ * 2
        getdstring NAME NAMESZ
        set NAME unicode NAME
    endif
   set TMP BASENAME
   string TMP = NAME
   set NAME TMP
endfunction


The hierarchy is kept perfectly but the strangeness of the materials remains, I try the same bat file with the unreal engine 4 script (sfv key) but are created dat files in numerical sequence like 0000658 0000659 etc etc
I continue to study if I find a solution at least for the materials.
  • Author
  • Localization

Exozze, posted Thu May 03, 2018 12:48 am (34618)


How fix it? I need open .pak, but i have this problem.
Image
  • Author
  • Localization

StreetMode, posted Thu May 03, 2018 1:03 am (34619)


Hey

I am looking for the key to extract wem files from Rocket League PC

Thanks :)
  • Author
  • Localization

blueex77, posted Fri May 04, 2018 8:17 pm (34680)


Hello aluigi, thank you for your work.

I was wondering if you could help me extract PAK files from a game called Conan Exiles. It's an Unreal Engine 4 game. When I tried your QuickBMS I get this:
Image

It actually extracted 1 file but only 1 file from it.

I saw someone had a similar issue and you were able to fix it. I would greatly appreciate it.

Here is the PAK
https://drive.google.com/file/d/1RoFJ8n ... sp=sharing

here is the game EXE
https://drive.google.com/file/d/1Y4mscy ... sp=sharing

Thank you in advanced.
  • Author
  • Localization

aluigi, posted Sat May 05, 2018 12:02 pm (34698)


@blueex77
Script 0.4.17 but keep in mind that it's just a work-around because this pak has an additional field (32bit 0) not covered by the format
  • Author
  • Localization

phay007, posted Tue May 08, 2018 8:59 am (34766)


Hello aluigi, thank you for your great works~

quickbms 0.84 script 0.4.17

when I use the script to extract some pak files ,it can extract some files. But I

dont known if it can 100% extract the pak file.
Here is the picture..


and here are some samples
https://mega.nz/#!n9owxTQb!3B9hXIn9HFallE0902eNMswfoAxitcPS_RyJkvX57zw

can you have a look at the files when you have time. Thank you~

The game is Transformers Online~
  • Author
  • Localization

Ekey, posted Thu May 10, 2018 12:27 pm (34839)


BYRedArmyMan wrote:
Hi aluigi! Game is asking a AES key for umodel and in script(unreal_tournament_4.bms) for extraction, keys are not suitable.

.pak file (19.90 GB)
https://mega.nz/#!y25z2Qab!VRWfZ3xT-6Mb ... d5AUz0YvHQ

No sense to upload archive. Key is contained in main executable.
  • Author
  • Localization

BYRedArmyMan, posted Thu May 10, 2018 7:11 pm (34846)


Ekey wrote:
BYRedArmyMan wrote:
Hi aluigi! Game is asking a AES key for umodel and in script(unreal_tournament_4.bms) for extraction, keys are not suitable.

.pak file (19.90 GB)
https://mega.nz/#!y25z2Qab!VRWfZ3xT-6Mb ... d5AUz0YvHQ

No sense to upload archive. Key is contained in main executable.


This?
https://mega.nz/#!GC40QRaJ!BvaJ7ws10dz1 ... 9-Zq5r9wg0
  • Author
  • Localization

aluigi, posted Fri May 11, 2018 1:44 pm (34859)


@godskin
I think the users need the big game executable
  • Author
  • Localization

godskin, posted Fri May 11, 2018 1:49 pm (34862)


aluigi wrote:
@godskin
I think the users need the big game executable


ok webmaster
me update Lib
thx you
  • Author
  • Localization

aluigi, posted Fri May 11, 2018 2:11 pm (34869)


Code:
Faith8VJeX0RHMgBvypde3VqgSMhuaPw
  • Author
  • Localization

godskin, posted Fri May 11, 2018 2:26 pm (34871)


aluigi wrote:
Code:
Faith8VJeX0RHMgBvypde3VqgSMhuaPw

thx very much work
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.