[PC] Lost Ark : .Upk / .lpk

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: [PC] Lost Ark : .Upk / .lpk

Post by spiritovod »

@prixone: LAUTool is for audio files only. For graphics use specific umodel build from this topic.

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

Archive with LAUTool is updated with version for jp client. Also, both lpk scripts are updated with support for jp version as well.
zjqyf
Posts: 2
Joined: Wed Sep 07, 2022 1:04 pm

Re: [PC] Lost Ark : .Upk / .lpk

Post by zjqyf »

hello
Can you elaborate on the use of repackaging scripts? I want pack \EFGame_Extra\ClientData\TableData\EFTable_ Gamemsg.db into font.lpk to achieve some localization work
Thank you in advance
zjqyf
Posts: 2
Joined: Wed Sep 07, 2022 1:04 pm

Re: [PC] Lost Ark : .Upk / .lpk

Post by zjqyf »

one more question
After I unzipped the LPK, the EFTable_GameMsg.db seemed to be corrupted, and I could not open it with SQLiteStudio
doomslayer
Posts: 4
Joined: Mon Oct 03, 2022 4:05 pm

Re: [PC] Lost Ark : .Upk / .lpk

Post by doomslayer »

..
Last edited by doomslayer on Fri Jan 20, 2023 7:14 pm, edited 1 time in total.
RichardCaq
Posts: 8
Joined: Fri Jul 08, 2022 10:47 pm

Re: [PC] Lost Ark : .Upk / .lpk

Post by RichardCaq »

i have lost ark KR version bnk audio files and nothing works anyone extracted the bnk files ??
doomslayer
Posts: 4
Joined: Mon Oct 03, 2022 4:05 pm

Re: [PC] Lost Ark : .Upk / .lpk

Post by doomslayer »

..
Last edited by doomslayer on Fri Jan 20, 2023 7:17 pm, edited 1 time in total.
kloruklass
Posts: 18
Joined: Tue Feb 02, 2021 1:10 am

Re: [PC] Lost Ark : .Upk / .lpk

Post by kloruklass »

Any scripts to extract the UPK files?
junyi163
Posts: 1
Joined: Mon Dec 05, 2022 7:16 am

Re: [PC] Lost Ark : .Upk / .lpk

Post by junyi163 »

Where is the player model in that file?
phpbb2233
Posts: 2
Joined: Tue Jan 03, 2023 6:17 am

Re: [PC] Lost Ark : .Upk / .lpk

Post by phpbb2233 »

spiritovod wrote:Here is script for unpacking lpk files from steam (default option), ru and jp versions of the game. Credits to Brouznouf for algorithm.

Update: Script is updated to properly decrypt databases from lpk files.

===========================================

Test script for repacking is appending modified file to archive, which should be specified in the script (read included comment), and invalidating existing entry. Both modified file and archive should be placed in the same folder and the script is used on modified file. Simple re-import without modifying extracted file doesn't break the game and everything works fine, which means script is producing compatible with the game archives. The rest depends on particular files, for example, databases seems to have internal integrity checks.

Update: Updated script should work with all files from lpk. Note that size of any database should be aligned to 0x100 before re-importing, that's how they're originally built.
The new severs in TAIWAN are published could you update the bms for Taiwan severs?
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: [PC] Lost Ark : .Upk / .lpk

Post by spiritovod »

@phpbb2233: I've updated both scripts and also LAUTool with support for tw client. They are available in original posts at page 6 now. Note that default option for scripts is steam version, you need to edit them manually to set required region.
b193
Posts: 1
Joined: Fri Jan 06, 2023 10:18 pm

Re: [PC] Lost Ark : .Upk / .lpk

Post by b193 »

spiritovod wrote:@phpbb2233: I've updated both scripts and also LAUTool with support for tw client. They are available in original posts at page 6 now. Note that default option for scripts is steam version, you need to edit them manually to set required region.
tyvm for updating. im trying to make localization of the Taiwan version to english so far extracted the encrypted EFTable_GameMsg.db not sure how to decrypt it.
tried to translate some strings with notepad++ but then unable to repack (idk how 0x100 aligned size work)
I'm assuming people that used to make loatranslator for ru/jp stopped updating since Steam version launch.
I'd be very grateful if anyone could help
phpbb2233
Posts: 2
Joined: Tue Jan 03, 2023 6:17 am

Re: [PC] Lost Ark : .Upk / .lpk

Post by phpbb2233 »

spiritovod wrote:@phpbb2233: I've updated both scripts and also LAUTool with support for tw client. They are available in original posts at page 6 now. Note that default option for scripts is steam version, you need to edit them manually to set required region.
Thank you for all your help