The Loc file encrypted
The Loc file encrypted
Hello!I want to make a patch for Black Desert Jp, but after today update, the loc file seems to be encrypted. When I try to convert loc file to txt file, I get a txt file with encrypted characters. Is there a way to fix this? Thankyou.
- KAMIKADzE
- KAMIKADzE
- Blood Mage
- Posts: 3699
- Joined: Thu 1998.01.01, 00:00
- Honor: 3102
- Points: 2423438202.90
- BDO: Blader
- Cabal: BL
- Vindictus: Lann
- C9: Blade Dancer
- Gender: Male
- Karma: 神風
- :
- Medals: 17
- Contact:
Re: The Loc file encrypted
anje.lee wrote:Hello!I want to make a patch for Black Desert Jp, but after today update, the loc file seems to be encrypted. When I try to convert loc file to txt file, I get a txt file with encrypted characters. Is there a way to fix this? Thankyou.
I'm already aware of the recent change. Currently there's no way to convert new JP loc to txt, they started using some "unknown" compression algorithm, so you'll need to wait until I figure it out or try to figure it out yourself and let me know which algorithm they use, so that I'll be able to apply the required changes to BDO Patcher.
So far I have only tested Black Desert's internal compression algorithm on it and it didn't work. Unfortunately I have no idea how much time I'll be able to spare today, or even few days after that, nor how much time it'll actually take me to figure this out, so as of now there's no ETA, but I'll surely update the development version as soon as it will be possible.
Re: The Loc file encrypted
Thanks for your help.
- KAMIKADzE
- KAMIKADzE
- Blood Mage
- Posts: 3699
- Joined: Thu 1998.01.01, 00:00
- Honor: 3102
- Points: 2423438202.90
- BDO: Blader
- Cabal: BL
- Vindictus: Lann
- C9: Blade Dancer
- Gender: Male
- Karma: 神風
- :
- Medals: 17
- Contact:
Re: The Loc file encrypted
A small update on this issue:
- Yesterday, after the previous post, I've also tried to check it for the common compression algorithms headers, and unsurprisingly found nothing. This doesn't necessarily means that it is not one of the common compression algorithms, as the header could be stripped down on purpose, that said - I've also tried to identify it with a help of various tools for such purpose and they gave 0 positive results as well, so probably that is something uncommon.
- Haven't done anything today yet. If I'm correct at my assumptions - there're only 2 things left:
- Randomly try various algorithms until success (this may take forever, if done alone).
- Reversing decompression part of it from the code (not an easy task) and then reversing that one into compression part (not the easiest task either).
- Since the update I've managed to play only 1 hour (AFK processing for 1 hour ), just before this post. I need to play 4 more hours (AFK or not) (╮°-°)╮┳━━┳ for that Lauren coins event (╯°□°)╯ ┻━━┻ out of the remained 6 hours today (actually 5 for me, since I'll be off for 1 hour) and I would like to finally make the cash shop video as well. Basically there's not a whole lot of time, but probably I will try a few things while AFK gathering today.
Re: The Loc file encrypted
IMHO they change encryption+compression language file (*.loc) all bdo server except kr server.
seem bdo database site like http://bdocodex.com/ can't update new data for a while too.
seem bdo database site like http://bdocodex.com/ can't update new data for a while too.
- KAMIKADzE
- KAMIKADzE
- Blood Mage
- Posts: 3699
- Joined: Thu 1998.01.01, 00:00
- Honor: 3102
- Points: 2423438202.90
- BDO: Blader
- Cabal: BL
- Vindictus: Lann
- C9: Blade Dancer
- Gender: Male
- Karma: 神風
- :
- Medals: 17
- Contact:
Re: The Loc file encrypted
jicsmart wrote:IMHO they change encryption+compression language file (*.loc) all bdo server except kr server.
seem bdo database site like http://bdocodex.com/ can't update new data for a while too.
If the encryption was also changed then it's a total disaster, as that just brings this issue on a whole another level of complexity where does that info comes from?
KR is obviously unaffected, since it doesn't use loc file
I seriously don't get why devs try to break translation patches all the time, instead of trying to cover holes for cheating tools (and there are quite a few of those), it's like they're doing completely opposite of what would be good for them.
- LithStud
- Creator
- Druid
- Posts: 508
- Joined: Thu 2017.06.22, 16:35
- Honor: 20
- Points: 2778.80
- BDO: Tamer
- Gender: Male
- :
- Medals: 1
Re: The Loc file encrypted
KAMIKADzE wrote:jicsmart wrote:IMHO they change encryption+compression language file (*.loc) all bdo server except kr server.
seem bdo database site like http://bdocodex.com/ can't update new data for a while too.
If the encryption was also changed then it's a total disaster, as that just brings this issue on a whole another level of complexity where does that info comes from?
KR is obviously unaffected, since it doesn't use loc file
I seriously don't get why devs try to break translation patches all the time, instead of trying to cover holes for cheating tools (and there are quite a few of those), it's like they're doing completely opposite of what would be good for them.
If it helps i see there was recent addition of zlibwapi.dll to game files (Black Desert Online\live\bin64) on russian version (added 2018-05-05) in todays patch didnt see no new dlls added only changes to exe and paz
- KAMIKADzE
- KAMIKADzE
- Blood Mage
- Posts: 3699
- Joined: Thu 1998.01.01, 00:00
- Honor: 3102
- Points: 2423438202.90
- BDO: Blader
- Cabal: BL
- Vindictus: Lann
- C9: Blade Dancer
- Gender: Male
- Karma: 神風
- :
- Medals: 17
- Contact:
Re: The Loc file encrypted
LithStud wrote:If it helps i see there was recent addition of zlibwapi.dll to game files (Black Desert Online\live\bin64) on russian version (added 2018-05-05) in todays patch didnt see no new dlls added only changes to exe and paz
It's Zlib compression library. I'll try few variants of it tomorrow.
Re: The Loc file encrypted
KAMIKADzE wrote:jicsmart wrote:IMHO they change encryption+compression language file (*.loc) all bdo server except kr server.
seem bdo database site like http://bdocodex.com/ can't update new data for a while too.
If the encryption was also changed then it's a total disaster, as that just brings this issue on a whole another level of complexity where does that info comes from?
KR is obviously unaffected, since it doesn't use loc file
I seriously don't get why devs try to break translation patches all the time, instead of trying to cover holes for cheating tools (and there are quite a few of those), it's like they're doing completely opposite of what would be good for them.
Where?
here "Since the last patch language files (ads/*.loc) use new compression/encryption method and I currently have no idea how to extract texts from them. It means that until someone finds out how to decompress new .loc files, I won't be able to update BDOcrypt tool. "
https://www.undertow.club/threads/black ... ost-169999
- KAMIKADzE
- KAMIKADzE
- Blood Mage
- Posts: 3699
- Joined: Thu 1998.01.01, 00:00
- Honor: 3102
- Points: 2423438202.90
- BDO: Blader
- Cabal: BL
- Vindictus: Lann
- C9: Blade Dancer
- Gender: Male
- Karma: 神風
- :
- Medals: 17
- Contact:
Re: The Loc file encrypted
Spent like an hour today and confirmed that this is indeed zlib compression:
The new file format so far:
84 18 10 02 -> 34609284 (size of decompressed data)
78 -> compression method 8 = 3D deflate, with window size of 32kB
01 -> compression Level1
ec bd -> marking the start of data
... -> zlib data
Decompression was successful, although the output requires tweaking. More info later.
P.S. Encryption was thrown out of the window at all.
The new file format so far:
84 18 10 02 -> 34609284 (size of decompressed data)
78 -> compression method 8 = 3D deflate, with window size of 32kB
01 -> compression Level1
ec bd -> marking the start of data
... -> zlib data
Decompression was successful, although the output requires tweaking. More info later.
P.S. Encryption was thrown out of the window at all.
Who is online
Users browsing this forum: No registered users and 1 guest