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

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
ikyAhmad
Posts: 33
Joined: Mon Sep 13, 2021 12:44 am

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

Post by ikyAhmad »

how to use Script unreal_tournament_4_0.4.27c_paks_only.bms !! because I have never used this script so I have to ask, is this script for Extracting or for Repacking??
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

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

Post by spiritovod »

@JeanBean: You have PM for such questions, also viewtopic.php?f=9&t=1005&start=2040#p69409

@ikyAhmad: None of UE4 bms scripts support reimport due to their complexity - especially 4.27, because it's done through a workaround instead of proper parsing (this implementation has its own pros and cons). But for extraction it should work with any generic paks from 4.26/4.27/UE5 games.
TUNBudi06
Posts: 52
Joined: Tue Sep 14, 2021 7:40 am

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

Post by TUNBudi06 »

JeanBean wrote:
TUNBudi06 wrote:@spiritovod

Yes,maybe bcz i need it for editing pubg new state.

Bcz if i want to edit the DLC of pubg new state is need hash,size configuration in json.that why i need it


@TUNBudi06 do you have discord or something where we can talk about NEW STATE mobile modding?



I have telegram you can chat me @TUNBudi06
TheJJMan
Posts: 19
Joined: Sun Sep 05, 2021 10:11 am

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

Post by TheJJMan »

Is it possible to unpack the .pak files from Path of Titans? it has some really neat Dinosaur models in that
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

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

Post by spiritovod »

@TheJJMan: You need to use 4.27 script from my signature for this game. Though it's also using utoc/ucas packages, which are currently supported only in umodel and fmodel. If you need only models/textures, there is no need to unpack anything, umodel/fmodel works with whole packages just fine.
TheJJMan
Posts: 19
Joined: Sun Sep 05, 2021 10:11 am

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

Post by TheJJMan »

Oh really? that'll be useful, thanks!
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

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

Post by spiritovod »

Specific script for Dead by Daylight Mobile (SEA version) added to specific scripts bundle, available via my signature. It works with latest soft-launch version, released for Asia region.
Tgames
Posts: 81
Joined: Mon Apr 01, 2019 10:49 am

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

Post by Tgames »

spiritovod wrote:Specific script for Dead by Daylight Mobile (SEA version) added to specific scripts bundle, available via my signature. It works with latest soft-launch version, released for Asia region.
TheJJMan
Posts: 19
Joined: Sun Sep 05, 2021 10:11 am

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

Post by TheJJMan »

Do we know if/when Umodel will have support for Unreal Engine 5? since a game I managed to rip from recently ported itself to UE5
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

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

Post by spiritovod »

@TheJJMan: Not until UE5 will get a full version release (currently it's in a preview "beta" state).

Update: Well, full version is out now. Can't tell anything about umodel future at this point though.
Last edited by spiritovod on Tue Apr 05, 2022 11:05 pm, edited 1 time in total.
Drull17
Posts: 9
Joined: Sun Oct 31, 2021 2:57 am

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

Post by Drull17 »

DJ Normality wrote:
Mysticus wrote:Anyone got the key for The King of Fighters XV?

0x22BB765FC95A096C0668A534CD8B3370EF3D47208F4E5361A81D2684228FF685

Thanks to Sundown

Do you have the actual Key? That one doesn't work anymore :(
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

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

Post by spiritovod »

@Drull17: Please address any keys related questions to the topic from my signature. Though the key for this game didn't change (at least, in latest 1.12 patch) and packages still can be extracted with 4.27 script, also available via my signature.
ktoplay
Posts: 5
Joined: Thu Feb 10, 2022 8:10 pm

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

Post by ktoplay »

Hello guys! How can I extract Gangstar New York? The script gives an error.

Error: incomplete input file 0: C:\Users\Данис\Desktop\Новая папка\Gangstar-WindowsClient.pak
Can't read 2 bytes from offset 00000000e1205bb5.
Anyway don't worry, it's possible that the BMS script has been written
to exit in this way if it's reached the end of the archive so check it
or contact its author or verify that all the files have been extracted.
Please check the following coverage information to know if it's ok.

coverage file 0 0% 3457885 3776994229 . offset 00000000e1205bb5

Last script line before the error or that produced the error:
160 get CHUNK_END_OFFSET longlong TOC_FILE
coverage file 0 0% 3457885 3776994229 . offset 00000000e1205bb5

You can download the game here: https://archive.org/details/gny-alpha-v59213
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

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

Post by spiritovod »

@ktoplay: If I remember correctly, it can be extracted with 4.27 script, available via my signature, without additional steps.
cornel
Posts: 30
Joined: Sun Feb 25, 2018 4:27 pm

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

Post by cornel »

https://www.deepsilver.com/en/games/chorus/

Is there an extraction script for the UE4 pak of this space combat game?
The general UE4 extraction script with the available AES key 0x07194E066A421102E3C2D0D357E7B8E5C978E1B9A08B13275A59BD36E7EF556F gives an error...

Many thanks.
Last edited by cornel on Mon Apr 11, 2022 6:18 pm, edited 1 time in total.
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

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

Post by spiritovod »

@cornel: You can extract it with 4.27 script, available via my signature, and the provided key.
cornel
Posts: 30
Joined: Sun Feb 25, 2018 4:27 pm

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

Post by cornel »

Thank you so much @spiritovod.
That was it: I was using the wrong bms script version!
cornel
Posts: 30
Joined: Sun Feb 25, 2018 4:27 pm

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

Post by cornel »

@spiritovod

When using ueviewer/umodel to extract the Chorus game files pak, using the AES key you provided, I get an error and extraction is incomplete (broken off early due t the error)...

zlib uncompress(31322,65536) returned -3
appDecompress: CompSize=31322 UncompSize=65536 Flags=0x1 Bytes=0000 <- SerializeCompressed <- FPakFile::Serialize: file=/Game/UnleashedPrototype/Maps/LocWRK/LocWRK01_Geo_BuiltData.ubulk <- FByteBulkData::SerializeDataChunk <- FByteBulkData::SerializeData <- FByteBulkData::SerializeData(UObject*) <- UTexture2D::LoadBulkTexture: File=none Mip=0 <- UTexture2D::GetTextureData: AOMaterialMask0_1 <- CTextureExportWorker::Setup <- ExportTexture <- ExportMaterial: LightMapTexture2D'AOMaterialMask0_1' <- ExportObject: LightMapTexture2D'AOMaterialMask0_1' <- ExportObjects <- ExportPackages <- UIMenuItem::HandleCommand <- UIMenu::Popup <- UIBaseDialog::WndProc <- UIBaseDialog::CustomMessageLoop <- UIBaseDialog::ShowDialog: modal=1, title="Choose a package to open" <- CUmodelApp::ShowPackageUI <- Main: umodel_build=1586

I tried with -game=4.25, 4.26 and 4.27 (I'm not sure which engine the game uses) but always get an error - using the 32 bit version of umodel even gives directly an error and doesn't extract anything at all...

I use this shortcut: F:\Work\MODDING\RS\TOOLS\umodel\umodel_64.exe "F:\Work\MODDING\RS\Chorus\SpacePrototype\Content\Paks" -game=ue4.27 -aes=0x07194E066A421102E3C2D0D357E7B8E5C978E1B9A08B13275A59BD36E7EF556F
Gaming4allplay
Posts: 2
Joined: Fri Feb 01, 2019 12:37 pm

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

Post by Gaming4allplay »

I am trying to export Polygon with the latest version of QuickBMS and the key Encryption Key available at https://cs.rin.ru/forum/viewtopic.php?t=100672 which is

Code: Select all

0x6E105711124B594E57A6E07481B0DFF8E8BBD4DC958DE7E3FA057F8D11D9790D
and I keep running into errors.

This is my error

Code: Select all

- please insert the content for the variable KEY:
  0x6E105711124B594E57A6E07481B0DFF8E8BBD4DC958DE7E3FA057F8D11D9790D
KEY: nWKYNWtܕy

Error: incomplete input file -10:
       Can't read 8 bytes from offset 00025040.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.

  coverage file -10 100%   151616     151616     . offset 00025040

Last script line before the error or that produced the error:
  160 get CHUNK_END_OFFSET longlong TOC_FILE
  coverage file 0     0%   151925     1136757282 . offset 00000000
  coverage file -10 100%   151616     151616     . offset 00025040

Press ENTER or close the window to quit


It would be awesome if someone can help me figure this out so I can make some mods for the game.
Gaming4allplay
Posts: 2
Joined: Fri Feb 01, 2019 12:37 pm

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

Post by Gaming4allplay »

Gaming4allplay wrote:I am trying to export Polygon with the latest version of QuickBMS and the key Encryption Key available at https://cs.rin.ru/forum/viewtopic.php?t=100672 which is

Code: Select all

0x6E105711124B594E57A6E07481B0DFF8E8BBD4DC958DE7E3FA057F8D11D9790D
and I keep running into errors.

This is my error

Code: Select all

- please insert the content for the variable KEY:
  0x6E105711124B594E57A6E07481B0DFF8E8BBD4DC958DE7E3FA057F8D11D9790D
KEY: nWKYNWtܕy

Error: incomplete input file -10:
       Can't read 8 bytes from offset 00025040.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.

  coverage file -10 100%   151616     151616     . offset 00025040

Last script line before the error or that produced the error:
  160 get CHUNK_END_OFFSET longlong TOC_FILE
  coverage file 0     0%   151925     1136757282 . offset 00000000
  coverage file -10 100%   151616     151616     . offset 00025040

Press ENTER or close the window to quit


It would be awesome if someone can help me figure this out so I can make some mods for the game.


I managed to fix it on my own :)