Repack unpack mod upk u umap pak or most unreal engine files successfully!!!! :))

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
tashmailok
Posts: 7
Joined: Fri Oct 01, 2021 4:01 am

Repack unpack mod upk u umap pak or most unreal engine files successfully!!!! :))

Post by tashmailok »

I've actually modded Batman Arkham Asylum's Frontend.umap files to replace xbox button icons with playstation ones . I believe you can mod your game's packed files as well. The best way to explain the process would be with my example.

Tools needed
UE Viewer: https://www.gildor.org/en/projects/umodel
UPK pack/unpack: https://zenhax.com/download/file.php?id=261

1) I used UE Viewer to extract Frontend.umap. It has a file called Main2.gfx that I wanted to edit. I modded it to my liking.
2) Because UE Viewer can't repack, I also used the UPK repack/unpack tool to unpack Frontend.umap which does that with a way different method.
3) Next I searched Main2 and it returned Main2.GFxMovieInfo which does have the content Main2.gfx has but it also has some encryption(?) or compression data in the form of a couple lines in the beginning and a few lines at the end.
4) So I used Hex Editor to copy the extra text (encryption) from Main2.GFxMovieInfo into my edited Main2.gfx. Then I renamed Main2.gfx to Main2.GFxMovieInfo and pasted it over Main2.GFxMovieInfo. So now this file has my modded data as well as the footer and header (encryption).
5) Then I repacked the whole thing the UPK tool and it worked Smiley

But be warned how you mod the files will decide if you mod works or not because unreal engine files use internal referencing pointing between them. In my example, since it is a gfx (swf) file, all I did was change the character tags (xbox icons shape tags to ps icon shape tags) between shapes in the file and not import or export these shapes because changes hex code enough to crash the game.
Hexaae
Posts: 61
Joined: Sat Mar 04, 2017 10:37 am

Re: Repack unpack mod upk u umap pak or most unreal engine files successfully!!!! :))

Post by Hexaae »

Interesting... Thank you. Will try and report my experience on a few UE3 games where I wanted to change Italian translation...
ikyAhmad
Posts: 33
Joined: Mon Sep 13, 2021 12:44 am

Re: Repack unpack mod upk u umap pak or most unreal engine files successfully!!!! :))

Post by ikyAhmad »

tashmailok wrote:I've actually modded Batman Arkham Asylum's Frontend.umap files to replace xbox button icons with playstation ones . I believe you can mod your game's packed files as well. The best way to explain the process would be with my example.

Tools needed
UE Viewer: https://www.gildor.org/en/projects/umodel
UPK pack/unpack: https://zenhax.com/download/file.php?id=261

1) I used UE Viewer to extract Frontend.umap. It has a file called Main2.gfx that I wanted to edit. I modded it to my liking.
2) Because UE Viewer can't repack, I also used the UPK repack/unpack tool to unpack Frontend.umap which does that with a way different method.
3) Next I searched Main2 and it returned Main2.GFxMovieInfo which does have the content Main2.gfx has but it also has some encryption(?) or compression data in the form of a couple lines in the beginning and a few lines at the end.
4) So I used Hex Editor to copy the extra text (encryption) from Main2.GFxMovieInfo into my edited Main2.gfx. Then I renamed Main2.gfx to Main2.GFxMovieInfo and pasted it over Main2.GFxMovieInfo. So now this file has my modded data as well as the footer and header (encryption).
5) Then I repacked the whole thing the UPK tool and it worked Smiley

But be warned how you mod the files will decide if you mod works or not because unreal engine files use internal referencing pointing between them. In my example, since it is a gfx (swf) file, all I did was change the character tags (xbox icons shape tags to ps icon shape tags) between shapes in the file and not import or export these shapes because changes hex code enough to crash the game.


can you mod the Recoil file from pubg?? I'm having a mess because when I Unpack, I can see the uasset file in text form but all the text is messed up and still in Encrypt.