I need help decrypting the Paladins file.

How to translate the files of a game
jackfrost
Posts: 9
Joined: Mon Jan 17, 2022 10:56 pm

I need help decrypting the Paladins file.

Post by jackfrost »

https://mega.nz/file/VlIUHZqB#Ib3gDnzWT ... COQ9bt131Y
The link above is the file that needs to be decrypted.
it indeed xored by 0x2A.

I want to translate Paladins into Korean, but I can't because it's encrypted.
I would appreciate it if you could make a tool that can decrypt this file!
rabatini
Posts: 179
Joined: Tue Jan 18, 2022 12:21 am

Re: I need help decrypting the Paladins file.

Post by rabatini »

jackfrost wrote:https://mega.nz/file/VlIUHZqB#Ib3gDnzWTLnchHaR8Y3zRjsoy1Jhb2kVbCOQ9bt131Y
The link above is the file that needs to be decrypted.
it indeed xored by 0x2A.

I want to translate Paladins into Korean, but I can't because it's encrypted.
I would appreciate it if you could make a tool that can decrypt this file!


if this file contains text and it is what you want.
I think it is a 16bits table.

suggestion:

Use a tool monkeymoore to search 16 bits text and make a new .tbl with it.
Because the file do not uses ASCII standard chars, its uses a costumized table.
So you will need to find the true text and make a new table of it, then use a hexeditor with table support to see the text



tools needed:

monkeymoore
windhex (supports table)
jackfrost
Posts: 9
Joined: Mon Jan 17, 2022 10:56 pm

Re: I need help decrypting the Paladins file.

Post by jackfrost »

rabatini wrote:
jackfrost wrote:https://mega.nz/file/VlIUHZqB#Ib3gDnzWTLnchHaR8Y3zRjsoy1Jhb2kVbCOQ9bt131Y
The link above is the file that needs to be decrypted.
it indeed xored by 0x2A.

I want to translate Paladins into Korean, but I can't because it's encrypted.
I would appreciate it if you could make a tool that can decrypt this file!


if this file contains text and it is what you want.
I think it is a 16bits table.

suggestion:

Use a tool monkeymoore to search 16 bits text and make a new .tbl with it.
Because the file do not uses ASCII standard chars, its uses a costumized table.
So you will need to find the true text and make a new table of it, then use a hexeditor with table support to see the text



tools needed:

monkeymoore
windhex (supports table)


I don't know what to do with programming, so I don't understand...
jackfrost
Posts: 9
Joined: Mon Jan 17, 2022 10:56 pm

Re: I need help decrypting the Paladins file.

Post by jackfrost »

Could you please elaborate on how to do it?
rabatini
Posts: 179
Joined: Tue Jan 18, 2022 12:21 am

Re: I need help decrypting the Paladins file.

Post by rabatini »

So do you want see the text is that right?

you have 2 options.
using this script in bms

Code: Select all

filexor 0x2a
get size asize
xmath offset "(size - size)"
log "" offset size


or download xor.exe from the famous guy called alluigi XD

and like i said before, the game uses a 16 bits table.

if you want to translate in ideal way you should create a 16 bits table

like this

a=6100
b=6200
c=6300
etc...etc..

and open in a hexdecimal tool thats supports custom tables.
jackfrost
Posts: 9
Joined: Mon Jan 17, 2022 10:56 pm

Re: I need help decrypting the Paladins file.

Post by jackfrost »

What is BMS?
jackfrost
Posts: 9
Joined: Mon Jan 17, 2022 10:56 pm

Re: I need help decrypting the Paladins file.

Post by jackfrost »

AH, I found Bms.
jackfrost
Posts: 9
Joined: Mon Jan 17, 2022 10:56 pm

Re: I need help decrypting the Paladins file.

Post by jackfrost »

https://mega.nz/file/944U1QAI#M5xjScNsO ... Gln2SJaqco
I've tried running your code and something...something is weird.
rabatini
Posts: 179
Joined: Tue Jan 18, 2022 12:21 am

Re: I need help decrypting the Paladins file.

Post by rabatini »

jackfrost wrote:https://mega.nz/file/944U1QAI#M5xjScNsOZIwD5JBLsUOwJVs2OR2MnuxJGln2SJaqco
I've tried running your code and something...something is weird.


Nothing is wierd.
the script or the xor.exe works perfectly

the game text is right there, but in 16bits way.

Image

like i said, you have to create a 16bits table.
and put in a hexdecimal program that have table support.
to see the text without space between than.
jackfrost
Posts: 9
Joined: Mon Jan 17, 2022 10:56 pm

Re: I need help decrypting the Paladins file.

Post by jackfrost »

Can you explain with pictures how to use monkey moor to get a table?
sorry.
jackfrost
Posts: 9
Joined: Mon Jan 17, 2022 10:56 pm

Re: I need help decrypting the Paladins file.

Post by jackfrost »

How to use monkeymoore?
h3x3r
Posts: 165
Joined: Wed Jun 01, 2016 5:53 pm

Re: I need help decrypting the Paladins file.

Post by h3x3r »

rabatini wrote:the game text is right there, but in 16bits way.

It's called Unicode.
rabatini
Posts: 179
Joined: Tue Jan 18, 2022 12:21 am

Re: I need help decrypting the Paladins file.

Post by rabatini »

h3x3r wrote:
rabatini wrote:the game text is right there, but in 16bits way.

It's called Unicode.


Not necessarily
can be utf16.

I used the term 16 bits, precisely because I don't know if the table is unicode or utf16

1 byte = 8 bits

2 bytes = 16 bits.

the text uses 16 bits or 2 bytes per char.
jackfrost
Posts: 9
Joined: Mon Jan 17, 2022 10:56 pm

Re: I need help decrypting the Paladins file.

Post by jackfrost »

I understand how to decrypt and encrypt files.
So how do I read that hex file?
rabatini
Posts: 179
Joined: Tue Jan 18, 2022 12:21 am

Re: I need help decrypting the Paladins file.

Post by rabatini »

jackfrost wrote:I understand how to decrypt and encrypt files.
So how do I read that hex file?


You can use windhex

open my tbl i sent to you before.

You sould see the text like this.

is old school way to translate games, but works

Image