Gildor's Forums

Author Topic: Lost Ark  (Read 46765 times)
spiritovod
Hero Member
*****
Posts: 1357


View Profile
Re: Lost Ark
« Reply #135 on: November 09, 2022, 17:03 »

@Sekwah: The game is loading some textures from external packages completely (when base package doesn't store any actual data, only reference to external texture) - they are not supported, because hashing algorithm for packages names is unknown. In such cases you can see related info about missing stuff in umodel logs, with some exceptions.
Logged
vandaa95
Newbie
*
Posts: 11


View Profile
Re: Lost Ark
« Reply #136 on: January 03, 2023, 23:54 »

I downloaded the ru client, but i can't find the meshes only the materials. What did I do wrong?


* Névtelen.jpg (503.13 KB, 1500x751 - viewed 50 times.)
« Last Edit: January 04, 2023, 00:05 by vandaa95 » Logged
spiritovod
Hero Member
*****
Posts: 1357


View Profile
Re: Lost Ark
« Reply #137 on: January 04, 2023, 04:46 »

@vandaa95: I suggest to watch recommended video from tutorials section about general umodel usage. Also it's worth to read the topic, because there are some issues with the game, which are not directly related to umodel.
Logged
vandaa95
Newbie
*
Posts: 11


View Profile
Re: Lost Ark
« Reply #138 on: January 04, 2023, 20:02 »

@vandaa95: I suggest to watch recommended video from tutorials section about general umodel usage. Also it's worth to read the topic, because there are some issues with the game, which are not directly related to umodel.

Oh sorry, thank you Smiley It helped me a lot, i did it Smiley
Logged
spiritovod
Hero Member
*****
Posts: 1357


View Profile
Re: Lost Ark
« Reply #139 on: January 06, 2023, 21:20 »

Support for taiwan client is added to specific build. Also all builds are now merged into single one, you can choose required region at startup screen (at bottom right it's "region" option now instead of "platform", there are no console versions anyway). Region options should be available via command line as well, but I didn't test that part. Feel free to report issues with the updated v3 build.
Logged
Triadasoul
Newbie
*
Posts: 31


View Profile
Re: Lost Ark
« Reply #140 on: January 10, 2023, 20:06 »

Steam selection crashes while scanning for content. If to select certain model - crashes with this

appDecryptAES <- appDecompress: CompSize=5344 UncompSize=36955 Flags=0x44 Bytes=4892 <- DecompressBlock: block=161+14E0 <- FUE3ArchiveReader::PrepareBuffer <- FUE3ArchiveReader::Serialize <- FArchive::ByteOrderSerialize <- FString<< <- Name: 0 <- UnPackage::LoadNameTable3 <- UnPackage::UnPackage: EFGame/ReleasePC/Packages/9G1M23UI1BZZE7DKTH64SSP.upk, ver=868/16, game=lostark <- UnPackage::LoadPackage(info): EFGame/ReleasePC/Packages/9G1M23UI1BZZE7DKTH64SSP.upk <- CUmodelApp::ShowPackageUI <- Main: umodel_build=1544 based
Logged
spiritovod
Hero Member
*****
Posts: 1357


View Profile
Re: Lost Ark
« Reply #141 on: January 10, 2023, 23:08 »

@Triadasoul: It appeared that default region option (which is steam version) couldn't be autodetected properly. It should be fixed now in the updated build.
Logged
spiritovod
Hero Member
*****
Posts: 1357


View Profile
Re: Lost Ark
« Reply #142 on: January 19, 2023, 17:13 »

@relientk: If you want to know how Texture2D assets are parsed in umodel, you can take a look at UTexture2D::Serialize in source code. Aside from that it seems you're trying to mod the game via third-party tools, while modding is out of scope of umodel and this forum (mostly). Please return back when you have any umodel related questions.
Logged
johnreese
Newbie
*
Posts: 3


View Profile
Re: Lost Ark
« Reply #143 on: January 21, 2023, 08:28 »

Hi, is UPK Decompressor able to work with Lost Ark files?
Logged
johnreese
Newbie
*
Posts: 3


View Profile
Re: Lost Ark
« Reply #144 on: January 30, 2023, 08:19 »

I am lost trying to decompress .upk file. Based on the comment on the first page, the first 4096 bytes after the C1832A9E header is encrypted by AES. So I use AES/Rijndael algorithm to decrypt and replace those bytes using the key for my region. Then after that I try to decompress the file using LZ4 but this fails since it can't find a header.

Did I miss a step after the decryption or did I make a mistake with decryption itself?
Logged
spiritovod
Hero Member
*****
Posts: 1357


View Profile
Re: Lost Ark
« Reply #145 on: January 30, 2023, 19:36 »

@johnreese: I guess it's just a matter of wording, but h4x0r actually means data blocks in his post. Data blocks starts after package header, not right after package magic. Though personally I'm only interested in umodel implementation and it's already explained in h4x0r's post, except for some obvious checks (if block is smaller than suggested encrypted buffer and such).
Logged
johnreese
Newbie
*
Posts: 3


View Profile
Re: Lost Ark
« Reply #146 on: January 31, 2023, 06:22 »

@spiritovod: Thanks that makes sense. The obvious next question is how do I know when the package header ends and the data blocks begin? Is there another sequence of bytes I should look for?
Logged
spiritovod
Hero Member
*****
Posts: 1357


View Profile
Re: Lost Ark
« Reply #147 on: January 31, 2023, 22:51 »

@johnreese: You need to parse the header to get data block sizes and such (in umodel it's FPackageFileSummary::Serialize3), otherwise you'll get a lot of other issues with proper decryption implementation. It probably would be faster to modify upk decompressor, which is part of umodel code.

Though, like it was already said above, modding is out of scope of umodel and this forum. Considering this and that previous user with the similar questions has completely removed his posts, all questions not directly related to umodel usage will be ignored from now on.
Logged
Jump to:  

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