Gildor's Forums

Author Topic: Sea of Thieves  (Read 6496 times)
Kahuna
Newbie
*
Posts: 3


View Profile
Re: Sea of Thieves
« Reply #30 on: November 02, 2018, 16:37 »

Using UWPInjector.exe extracted all files Cheesy

Key question still is: Has anyone figured out how to get the AES key so far?

« Last Edit: December 13, 2018, 09:43 by Kahuna » Logged
san
Silver Sponsor
Full Member
**
Posts: 89


View Profile
Re: Sea of Thieves
« Reply #31 on: November 05, 2018, 18:33 »

Kahuna, so u able to extract the files now? Do you mind sharing the steps to follow?
Logged
Scheezer
Newbie
*
Posts: 2


View Profile WWW
Re: Sea of Thieves
« Reply #32 on: November 09, 2018, 14:38 »

Anyone have a short rundown on what's been new in Sea of Thieves in the past month or so? I've been meaning to check it out for research purposes, but haven't really delved too deep into it.
Logged
TK-Master
Newbie
*
Posts: 3


View Profile
Re: Sea of Thieves
« Reply #33 on: November 11, 2018, 17:21 »

Extracting the files via UWPInjector is not the problem (that's the first step to get rid of the win10 protection thing, just look up for some instructions for that), the problem is that the .pak files are encrypted with an AES key (that's done by the devs from the ue4 editor while packing the game) and without that key we cannot decrypt/open the files with umodel.

Perhaps gildor could share some light on how to go about obtaining that key.. like how was it done for other ue4 games? I have no experience about this unfortunately.
« Last Edit: November 11, 2018, 17:26 by TK-Master » Logged
Gildor
Administrator
Hero Member
*****
Posts: 7693



View Profile WWW
Re: Sea of Thieves
« Reply #34 on: November 11, 2018, 17:27 »

Perhaps gildor could share some light on how to go about obtaining that key.. like how was it done for other ue4 games? I have no experience about this unfortunately.
I NEVER provided any keys, so I can't you with that.
Logged
TK-Master
Newbie
*
Posts: 3


View Profile
Re: Sea of Thieves
« Reply #35 on: November 11, 2018, 17:31 »

Perhaps gildor could share some light on how to go about obtaining that key.. like how was it done for other ue4 games? I have no experience about this unfortunately.
I NEVER provided any keys, so I can't you with that.

Oh nvm then Grin I assumed you had some kind of tool to look up the memory and getting the key while the game is running or something XD because umodel supports so many games.
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7693



View Profile WWW
Re: Sea of Thieves
« Reply #36 on: November 11, 2018, 17:35 »

Definitely not Smiley If game is encrypted - I do not bother. If other people provides a key, I'm "closing my eyes" to that fact and just not removing a post. Fortunately I never got any negative responses from game companies (just from some users who blame me "thief").
Logged
spiritovod
Newbie
*
Posts: 30


View Profile
Re: Sea of Thieves
« Reply #37 on: April 03, 2020, 20:14 »

I was able to extract assets with quickbms script and the key (0x37A0BC3DC2E01D9EB4923CA266A5701F56A4802347F07927FC3FC25C93B31B50). The game is using lz4 compression for paks, similar to Gears of War 4.

Update 2: Fixed the script, it now extracts assets properly. Though they're still kind of custom. You can find updated samples here. Umodel produces errors like this: "Assertion failed: Ar.Tell() == SkipOffset "
Code:
UTexture2D::Serialize4 <- UTexture2D::Serialize <- LoadObject:Texture2D'shp_deck_01_b_di.shp_deck_01_b_di', pos=2AAF80, ver=483/20, game=ue4.10 <- UObject::EndLoad <- LoadWholePackage:shp_deck_01_b_di <- CUmodelApp::ShowPackageUI <- Main:umodel_build=1179
 
« Last Edit: April 05, 2020, 20:04 by spiritovod » Logged
san
Silver Sponsor
Full Member
**
Posts: 89


View Profile
Re: Sea of Thieves
« Reply #38 on: April 05, 2020, 23:06 »

Well that is good progress! I have the Windows Store version of the game but haven't really followed up on how to get over the Windows chekc. Sounds like a pain.
However the game is also going to be released on Steam soon :-)


I was able to extract assets with quickbms script and the key (0x37A0BC3DC2E01D9EB4923CA266A5701F56A4802347F07927FC3FC25C93B31B50). The game is using lz4 compression for paks, similar to Gears of War 4.

Update 2: Fixed the script, it now extracts assets properly. Though they're still kind of custom. You can find updated samples here. Umodel produces errors like this: "Assertion failed: Ar.Tell() == SkipOffset "
Code:
UTexture2D::Serialize4 <- UTexture2D::Serialize <- LoadObject:Texture2D'shp_deck_01_b_di.shp_deck_01_b_di', pos=2AAF80, ver=483/20, game=ue4.10 <- UObject::EndLoad <- LoadWholePackage:shp_deck_01_b_di <- CUmodelApp::ShowPackageUI <- Main:umodel_build=1179
 
Logged
spiritovod
Newbie
*
Posts: 30


View Profile
Re: Sea of Thieves
« Reply #39 on: April 06, 2020, 01:24 »

@san: It's not hard to remove MS store encryption either, look for UWPDumper. The only trick is to suspend the game before dumping it.
Logged
sotgamer
Newbie
*
Posts: 1


View Profile
Re: Sea of Thieves
« Reply #40 on: April 29, 2020, 12:55 »

UE4 = v4.10.4 \Engine\Build\Build.version = {"MajorVersion": 4, "MinorVersion": 10, "PatchVersion": 4, "Changelist": 0, "IsLicenseeVersion": 0, "BranchName": ""}
AES = 0x37A0BC3DC2E01D9EB4923CA266A5701F56A4802347F07927FC3FC25C93B31B50
Compression  = lz4


I spent the past week trying to get anything out of this game. If only I found this thread before. This thread is 2 years old, and made even before release so I hope its not forgotten.
I been able to dump and decrypt/unpack the PAK files. But only a couple of assets can be opened in umodel, and it's the useless ones (Kraken collisions and clouds)

I am interested in the maps. I checked in hex editor and the .uasset files in islandmaps show something about package PF_DXT5 or PF_DXT1.
I really tried everything I could within my skills, and even though game is not supported I hope someone someday can help out. Even if just a way to manually extract a few umaps.

Works:
Athena/Content/Models/Clouds/cloud_shroud_XX.uasset
Athena/Content/Models/Characters/Enemies/Kraken/KrakenWraps/kraken_shipgrab_01b_collision.uasset
Athena/Content/Tests/StaticMeshes/Rendering/shape_plane.uasset

Dont work. Everything else, incl other clouds:
Athena/Content/Models/Clouds/cloud_shroud.uasset
Athena/Content/Models/Clouds/cloud_skelly_ship.uasset
Athena/Content/Models/Clouds/cloud_skull_fort.uasset

Common errors:
Code:
assertion failed: Ar.Tell() == SkipOffset
UTexture2D::Serialize4 <- UTexture2D::Serialize <- LoadObject:Texture2D'wsp_outpost_1_terrain.Texture2D_10', pos=105F651, ver=483/20, game=ue4.10 <- UObject::EndLoad <- LoadWholePackage:wsp_outpost_1_terrain <- CUmodelApp::ShowPackageUI <- CUmodelApp::ProcessKey:key=6F, down=1 <- VisualizerLoop <- Main:umodel_build=1183

Code:
assertion failed: Ar.Tell() == SkipOffset
UTexture2D::Serialize4 <- UTexture2D::Serialize <- LoadObject:Texture2D'bsp_feature_smugglers_bay_questgen_default.bsp_feature_smugglers_bay_questgen_Default', pos=10397, ver=483/20, game=ue4.10 <- UObject::EndLoad <- LoadWholePackage:bsp_feature_smugglers_bay_questgen_default <- CUmodelApp::ShowPackageUI <- Main:umodel_build=1183
Code:
Memory: bad allocation size 2080374784 bytes
appMalloc:size=2080374784 (total=22 Mbytes) <- FArray::Empty:1157627904 x 76 <- TArray::Serialize:0/0 <- SerializeBulkArray <- FStaticMeshVertexBuffer4<< <- FStaticMeshLODModel4::SerializeBuffersLegacy <- FStaticMeshLODModel4<< <- TArray::Serialize:1/3 <- UStaticMesh4::Serialize <- LoadObject:StaticMesh4'cloud_skelly_ship.cloud_skelly_ship', pos=23C96, ver=483/20, game=ue4.10 <- UObject::EndLoad <- LoadWholePackage:cloud_skelly_ship <- CUmodelApp::ShowPackageUI <- CUmodelApp::ProcessKey:key=6F, down=1 <- VisualizerLoop <- Main:umodel_build=1183

Code:
RawArray item size mismatch: expected 256, serialized 12
SerializeBulkArray <- FPositionVertexBuffer4<< <- FStaticMeshLODModel4::SerializeBuffersLegacy <- FStaticMeshLODModel4<< <- TArray::Serialize:1/3 <- UStaticMesh4::Serialize <- LoadObject:StaticMesh4'storm_orbiting_01_a.storm_orbiting_01_a', pos=4580B, ver=483/20, game=ue4.10 <- UObject::EndLoad <- LoadWholePackage:storm_orbiting_01_a <- CUmodelApp::ShowPackageUI <- Main:umodel_build=1183

Logged
TrumpetPro
Newbie
*
Posts: 9


View Profile
Re: Sea of Thieves
« Reply #41 on: May 17, 2020, 22:28 »

Can confirm, consistently get the error regardless of which .uasset I try to open:

lzo_decompress(22345,28210) returned -6
appDecompress:CompSize=22345 UncompSize=28210 Flags=0xFF <- SerializeCompressed <- FPakFile::Serialize:file=/Game/Animation/CharacterSelect/Hurdygurdy/large/characterselect_pose_hurdygurdy_into_highlight1_femalelarge.uasset <- FArchive::ByteOrderSerialize <- UnPackage::CreateLoader:/Game/Animation/CharacterSelect/Hurdygurdy/large/characterselect_pose_hurdygurdy_into_highlight1_femalelarge.uasset <- UnPackage::UnPackage:/Game/Animation/CharacterSelect/Hurdygurdy/large/characterselect_pose_hurdygurdy_into_highlight1_femalelarge.uasset, ver=100000/0, game=0 <- UnPackage::LoadPackage:/Game/Animation/CharacterSelect/Hurdygurdy/large/characterselect_pose_hurdygurdy_into_highlight1_femalelarge.uasset <- CUmodelApp::ShowPackageUI <- Main:umodel_build=1188
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7693



View Profile WWW
Re: Sea of Thieves
« Reply #42 on: May 17, 2020, 22:37 »

Seems custom compression/encryption on packages. There's no LZO in UE4, however UModel treats compression information as it has.
Logged
Kahuna
Newbie
*
Posts: 3


View Profile
Re: Sea of Thieves
« Reply #43 on: May 20, 2020, 03:59 »

I tried to open a model and a texture .uasset file and got these error messages:

Code:
******** Loading object SkeletalMesh4'npc_pirate_lord.npc_pirate_lord' ********

ERROR: Serializing behind stopper (14294F+CA5AF70 > 2FBCFC)
FFileReader::Serialize:File=npc_pirate_lord.uasset <- TArray::SerializeSimple <- SerializeBulkArray <- FMultisizeIndexContainer<< <- FStaticLODModel4<< <- TArray::Serialize:0/6 <- USkeletalMesh4::Serialize <- LoadObject:SkeletalMesh4'npc_pirate_lord.npc_pirate_lord', pos=14294F, ver=483/20, game=ue4.10 <- UObject::EndLoad <- Main:umodel_build=1157

Code:
******** Loading object Texture2D'npc_pirate_lord_body_di.npc_pirate_lord_body_di' ********

ERROR: UnPackage::Seek64(0xF8D000000000000) - not implemented
FByteBulkData::SerializeData <- FByteBulkData::Serialize <- FTexture2DMipMap::Serialize4 <- TArray::Serialize:0/13 <- FTexturePlatformData<< <- UTexture2D::Serialize4 <- UTexture2D::Serialize <- LoadObject:Texture2D'npc_pirate_lord_body_di.npc_pirate_lord_body_di', pos=341, ver=483/20, game=ue4.10 <- UObject::EndLoad <- Main:umodel_build=1157

Some stuff can be opened via Noesis but the files I have opened successfully were just UI-related things
« Last Edit: May 20, 2020, 05:17 by Kahuna » Logged
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS