Gildor's Forums

Author Topic: Lost Ark  (Read 60727 times)
Icos
Newbie
*
Posts: 12


View Profile
Re: Lost Ark
« Reply #210 on: December 04, 2023, 13:46 »

@spiritovod
Here is a small package from the recent KR client:
https://mega.nz/file/vA8CzZbZ#3KiWpSwPi450F2ejO0Ak_QNmKpAfyeh_S4d-tJMIoxc

Produces this error, when trying umodel on it:
Fatal Error: LZ4_decompress_safe returned -6
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 1848


View Profile
Re: Lost Ark
« Reply #211 on: December 05, 2023, 02:24 »

@Icos: Took a quick look - they've added additional encryption scheme, where key is derived for every suitable package (which is determined separately) from lookup table based on certain calculations on unwrapped package name or something. I suppose my previous post is applied here as well and further research will be postponed until the change is rolled out to other regions.
Logged
Icos
Newbie
*
Posts: 12


View Profile
Re: Lost Ark
« Reply #212 on: December 05, 2023, 14:07 »

@spiritovod Thanks for the explanation. Will wait for the fix, once the changes come to other regions.
Logged
Barut
Newbie
*
Posts: 1


View Profile
Re: Lost Ark
« Reply #213 on: December 09, 2023, 18:53 »

I made a python script to automatically convert all db files to json: https://raw.githubusercontent.com/BarutSRB/LA_Tools/main/tojson.py

This is the list improperly extracted db files:
https://raw.githubusercontent.com/BarutSRB/LA_Tools/main/failed.txt

Has anyone been able to extract properly the above files?
Logged
Aurorans
Newbie
*
Posts: 11


View Profile
Re: Lost Ark
« Reply #214 on: December 11, 2023, 10:08 »

Is gildor or any debugger still working on this for the recent versions? I have 2023 version of this game, and I don't know where to find a 2021 version.
Logged
:Dim0s
Newbie
*
Posts: 16



View Profile
Re: Lost Ark
« Reply #215 on: December 11, 2023, 11:43 »

Is gildor or any debugger still working on this for the recent versions? I have 2023 version of this game, and I don't know where to find a 2021 version.

you can use steamdb to download old versions of games from steam ==> Guide to Download Older Versions of a Steam Game
Logged
spiritovod
Global Moderator
Hero Member
*****
Posts: 1848


View Profile
Re: Lost Ark
« Reply #216 on: December 11, 2023, 23:01 »

@Xanathar, @Barut: It was quickbms related stuff, which caused undefined behavior in some cases. It should be fixed now in the updated script, tested on steam version.

@Aurorans: Read the topic carefully, starting from this post. Currently only newest korean version has issues with proper support, other versions should work fine with specific umodel build.
Logged
Serpicos
Newbie
*
Posts: 6


View Profile
Re: Lost Ark
« Reply #217 on: December 16, 2023, 07:29 »

@Xanathar, @Barut: It was quickbms related stuff, which caused undefined behavior in some cases. It should be fixed now in the updated script, tested on steam version.

@Aurorans: Read the topic carefully, starting from this post. Currently only newest korean version has issues with proper support, other versions should work fine with specific umodel build.

Update Managed to find quickbms files, and the custom build should the inside the first page of this thread

Now   i have to understand how to deobfuscate the pack names i guess

could i ask where i can found the mount models of the game pls?


« Last Edit: December 16, 2023, 16:37 by Serpicos » Logged
mutsa
Newbie
*
Posts: 3


View Profile
Re: Lost Ark
« Reply #218 on: December 17, 2023, 13:59 »

Does anyone know what encryption this is made of? I have no idea how it was encrypted...

The key structure changed in the recent patch of the Korean server
Before the decrypt dbkey was patched,
557d31171554345d2656660e4427693800
was 32 in length, but this time it changed completely,
0d3d7b6f5d5403337847017a67647f11557d3117155445d2656660e4427693800
The length seemed to have changed when i used the debugging tool
can check the dbkey that's used to decrypt it like that

Ability
0d3d7b6f5d5403337847017a67647f11557d31171554345d2656660e4427693800

DropEther
331d6a1b75244f67146f175f6f175f2c557d31171554345d2656660e4427693800

DungeonExitList
3124337d5e756a5d75656a104c247338557d31171554345d2656660e4427693800

As far as i know, if look at each dbkey,
the front part has 32 lengths, as before
0d3d7b6f5d5403337847017a67647f11
the back part is all the same
557d31171554345d2656660e4427693800
and it ends with 34 lengths

probably this is the hex value of the encrypted Ability, which is "SQLite format 3" at the beginning of the file when it is decrypted among the data 2.lpk parts that were patched this time
CC 58 2C 7E 1D 96 AA DA 34 BD 50 1E DA B6 AB 3E 0F 94 44 67 CB 34 12 16 B5 16 40 72 47 67 E8 99 23 5D 14 D2 2F 40 53 F4 CA 0E 5E 65 7B 61 15 30 7E 4E B5 7B 01 61 7A 00 91 85 1A 39 B6 5C E2 93 A9 B4 61 33 13 4B 69 EE 49 55 E8 EF 76 1F 80 20 C9 8A 8A 8C 72 6B 73 0F 9E 88 20 94 BE F6 B9 9D DF 16 19 6C 8B 3A 90 45 63 E3 5B A4 0A D9 B5 8D 6C 40 A5 24 F6 2C 7B 14 69 8F EF 38 C1 F1 5D AE F3 A5 49 95 85 96 AE 8F 63 F9 03 CA E6 34 27 49 5A 77 F9 B4 EB BD BA 0A
« Last Edit: December 17, 2023, 14:02 by mutsa » Logged
Serpicos
Newbie
*
Posts: 6


View Profile
Re: Lost Ark
« Reply #219 on: December 18, 2023, 21:44 »

Sorry guys, i was messing with the quickbms tool, it's giving me this king of output
OVSG0A1MAW17OEMS7AODY2_decrypt.upk

starting from OVSG0A1MAW17OEMS7AODY2

is normal? it shouldn't extract the upk file?
Logged
ethan048
Newbie
*
Posts: 8


View Profile
Re: Lost Ark
« Reply #220 on: December 22, 2023, 20:58 »

Will Lost Ark mod be created?
The black desert using Easy Anti-Cheat, such as Lost Ark, also uses the meta injector to apply the mod.
I tried to convert the black desert's meta injector to use in Lost Ark but failed..
Does anyone have any professional knowledge of programming and game modding?
I'm sure you can apply the mod in the same way as the black desert.
Logged
ethan048
Newbie
*
Posts: 8


View Profile
Re: Lost Ark
« Reply #221 on: December 26, 2023, 06:56 »

Modding should be doable, just need to unpack and repack .upk file. Unfortunately this game is very specific so none of the old tools work.

Online games can't turn off anti-cheats, so Black Desert also uses meta injectors to keep EAT from noticing that it changed files.
As a result, modding is possible if the meta injector is converted for LOSTARK.

I tried, but I felt limited with my programming skills...
Logged
ethan048
Newbie
*
Posts: 8


View Profile
Re: Lost Ark
« Reply #222 on: December 28, 2023, 21:30 »

I was stupid..
Blade and soul were also made with ue3, but there was a tool to modify the upk file.
It's sad that there are not many people interested in modding the Lost Ark
Logged
ethan048
Newbie
*
Posts: 8


View Profile
Re: Lost Ark
« Reply #223 on: December 29, 2023, 11:16 »

Wasn't the encryption of the lost ark already undone?
https://www.nexusmods.com/site/mods/587?tab=description
There is a perfect upk edit tool, but the they says there is no support for mmo.
I'll have to find another way.
Logged
Serpicos
Newbie
*
Posts: 6


View Profile
Re: Lost Ark
« Reply #224 on: December 30, 2023, 00:09 »

there is a way to unpack the upk files of the games? lot's of models fail to load textures inside umodel Sad
Logged
Jump to:  

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