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
einherjar007
Posts: 35
Joined: Fri Sep 20, 2019 7:55 am

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

Post by einherjar007 »

Obcidian Legacy, a game that is already shutdown, is encrypted. The UE version is 4.11. The key was not found in AES Finder.

https://drive.google.com/file/d/1G0tfLk ... sp=sharing

I uploaded some pak and shipping.exe. I hope you can see it.
*In addition, it seems that the post of rin.forum is not reflected, so I will post it here.
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 »

@einherjar007: Could you post or PM me your registered nick at rin forums? It's unusual that your posts there are still not passed, I'll contact staff and ask about the issue. As for the game, I'll take a look later - in short, UE 4.18 and below are not supported, because key there is stored in plain text and I don't see any reason to support older versions, because there are very few of such games remained.
Last edited by spiritovod on Tue Sep 29, 2020 8:43 pm, edited 1 time in total.
einherjar007
Posts: 35
Joined: Fri Sep 20, 2019 7:55 am

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

Post by einherjar007 »

@spiritovod: Thank you, I sent a PM. By the way, I learned for the first time that keys are stored in plain text in older versions. Can it be confirmed with a binary editor or the like? I would be grateful if you could tell me the key when I have time, but if I know how to do it, I may be able to check it myself.

----------
just now, I posted in the rin forum that I'm interested in plain text for approval testing.
After posting, the message displayed is as follows.

"This message has been submitted successfully, but it will need to be approved by a moderator before it is publicly viewable. You will be notified when your post has been approved."

-----------
sadly, I recieve disapproval.

"Community was disapproved by a moderator or administrator.
The following reason was given for the disapproval:
The reported post is off topic."
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 »

@einherjar007: Well, I think plain approval request would be an off topic, indeed. I've already contacted rin staff, so there is no point to discuss this further (at least here), I'll PM you when I get more info about this matter.
As for the plain text keys - it's just an observation. You obviously can't find it with just an editor, because it can be stored anywhere in a large segment of the file. While mobile finder could be used in such cases - not in the current implementation though - in Obcidian Legacy index is not encrypted (only blocks) and blocks are additionally compressed, so you can't simply brute-force stuff. Also, for some reason I think that blocks are additionally obfuscated (like xoring in DQ11), but it's not for sure. Long story short, it will require more time to investigate it further.
sfaas
Posts: 14
Joined: Mon Jan 02, 2017 6:56 am

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

Post by sfaas »

How do I find the encryption key? game name is 'bullet per minute'
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 »

@sfaas: You can find it in the list, available via my signature.
sfaas
Posts: 14
Joined: Mon Jan 02, 2017 6:56 am

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

Post by sfaas »

spiritovod wrote:@sfaas: You can find it in the list, available via my signature.

thank you!
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 »

@einherjar007: Obcidian Legacy key added to the list. I just messed up with some triggers, so some checks were skipped, otherwise the key could be found three days earlier.
einherjar007
Posts: 35
Joined: Fri Sep 20, 2019 7:55 am

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

Post by einherjar007 »

spiritovod wrote:@einherjar007: Obcidian Legacy key added to the list. I just messed up with some triggers, so some checks were skipped, otherwise the key could be found three days earlier.

It's absolutely works! Thanks spiritovod!
zex4
Posts: 1
Joined: Thu Apr 18, 2019 7:12 pm

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

Post by zex4 »

does anybody knows where i can find or download the game ashes of creation ?
had no luck on cs.rin and links from gildor are down :(
still have the aes key but i dont have the game files anymore...

hope someone can help
sfaas
Posts: 14
Joined: Mon Jan 02, 2017 6:56 am

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

Post by sfaas »

hello i want to export and text edit from uasset/uexp how to export and import this file?
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 »

@zex4: I think you can only get open beta version of AoC Apocalypse from 10 months ago (when it was available on steam) via the launcher (got it through steamdb). Not sure it's what you need though.

@sfaas: There is not any universal solution for that. There are tools for text in uassets/uexp for some particular games in this topic and in separate topics from "Game Localization" forum section, but in general you need to write your own text tool. I believe most of them are based on modified swuforce tools for locres files (those tools are just autoit scripts, wrapped into exe, so you can find and modify original scripts).
I'm afraid this topic is more about pak format in general and aes keys, rather than specific assets.

-------------------------------------------------------------------

Some experimental scripts are now available in custom_UE4_scripts bundle (available via my signature). For more info please read included readme.

1) custom_extract: Provides the same functionality as native filter of quickbms, but on the script level. Created more for research purposes, but may be helpful in some cases.
2) get_hashes: Allow you to extract hashes (actually guids) and filenames of all assets from a pak. Resulted file can be used with extract_diff script.
3) extract_diff: Allow you to compare paks from different game versions and extract or list only new/updated files.

Basically, get hashes from pak of the old game version, put them near pak of updated game version and extract or list new/updated files. There are additional options in the extract_diff script, but no backward compatibility yet (for example, you can't guess, which files were completely removed in the updated game version). Please note that those scripts are very experimental and may have some bugs/limitations.

Also, you can request such scripts for almost any game from specific scripts bundle.
Last edited by spiritovod on Fri Oct 09, 2020 11:48 am, edited 1 time in total.
sfaas
Posts: 14
Joined: Mon Jan 02, 2017 6:56 am

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

Post by sfaas »

spiritovod wrote:@sfaas: There is not any universal solution for that. There are tools for text in uassets/uexp for some particular games in this topic and in separate topics from "Game Localization" forum section, but in general you need to write your own text tool. I believe most of them are based on modified swuforce tools for locres files (those tools are just autoit scripts, wrapped into exe, so you can find and modify original scripts).
I'm afraid this topic is more about pak format in general and aes keys, rather than specific assets.


It is difficult to make tools.
game is ECHO, can you help me??
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 »

@sfaas: Sorry, but I'm not planning to work on anything except general pak format at the moment.
Brillix
Posts: 9
Joined: Thu Sep 24, 2020 8:48 am

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

Post by Brillix »

Can anyone findout the new AES Key from LineAge2 Mobile?
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 »

@Brillix: If you mean Revolution, which is only UE4 mobile Lineage, latest available playmarket version (global I suppose) doesn't seem encrypted, while korean qooapp version has it's own format now, which you can't extract anyway. You can find more about korean version here.
FaceLeather
Posts: 2
Joined: Fri Oct 16, 2020 6:55 pm

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

Post by FaceLeather »

Guys, is there anyone who knows how to access the dead by daylight CDN? from today I noticed that it is possible to access only a few .json compared to yesterday, have they changed the API AES KEY by chance? Or something similar?
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 »

@FaceLeather: Answered here.
wasabipham87
Posts: 2
Joined: Fri Oct 23, 2020 10:59 am

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

Post by wasabipham87 »

Its a long time from last post. Anyone can help me this batch. (I create for my PC with tekken and sfv using.). I cant understand enough to solve conflict between 2 version ue4. I hope can use 1 method (unrealPak only or quickbms). Thanks.
The biggest problem is: batch work perfect to unpak and pak with SFV, but Tekken only unpak work (i not sure) then repak will make bad file (path error)
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 »

@wasabipham87: Um, reimport with quickbms shouldn't work for UE4 games because of memory files in the script and stuff (especially if you're using the script from specific scripts bundle). As for unrealpak, it seems you're using one of the latest versions, which is obviously not compatible with the game (tekken is built with old custom 4.14 engine). You should use u4pak or older version of unrealpak.
I'm not sure that default settings will be fine for the game (it has forced encryption flag for non-encrypted files), but tutorials seems pretty generic in this case, so even default should be fine.