Mir3Res.dat encryption/decryption tool

smoochy boys on tour

Omikkk

Dedicated Member
Dedicated Member
Jul 20, 2006
232
10
65
Poland
Hello people.
I've managed to write a tool for the recent gsp files.

how to use it:
to decrypt Mir3Res.dat open in console crypt.exe -d "path\to\Mir3Res.dat" "path\to\output_file.xml"
to encrypt an XML file open in console crypt.exe -e "path\to\input_file.xml" "path\to\Mir3Res.dat"

small hint:
you can open command prompt in a given folder by holding CTRL, SHIFT, rightclicking and then clicking open command prompt here.

cheers

edit: updated, dmp2.dat not needed anymore

download:
Coly's GUI version
vanilla:
 

Attachments

  • crypt.zip
    18.7 KB · Views: 163
Last edited:

Omikkk

Dedicated Member
Dedicated Member
Jul 20, 2006
232
10
65
Poland
yup, i forgot to embed some data into .exe, typical me. try it now, i added the needed data to the archive and now it should be fine.
 

Azura

Mir3 Coder & Adviser
Legendary
Mar 12, 2005
3,249
111
300
yup, i forgot to embed some data into .exe, typical me. try it now, i added the needed data to the archive and now it should be fine.

Yup perfect! very good Release!
 

Omikkk

Dedicated Member
Dedicated Member
Jul 20, 2006
232
10
65
Poland
some of the names are in korean so they may appear corrupted if that is what you meant
 
Last edited:

opengr

Banned
Banned
May 16, 2012
88
1
35
some of the names are in korean so they may appear corrupted if that is what you meant


Monster name change is perfect, but the map name to modify the pet does not play a role, so do you?
 

Omikkk

Dedicated Member
Dedicated Member
Jul 20, 2006
232
10
65
Poland
well i think pet talk and other strings are stored elsewhere, not in mir3res.dat
 

Skunkmeister

LOMCN VIP
VIP
Jul 10, 2007
203
19
105
Does anyone know if this contains magic sounds. I'll be home in a bit so I'll be able to check then if no reply

Sent from my E2303 using Tapatalk
 

daneo1989

I am Ancient.
Staff member
Moderator
Dec 5, 2005
5,961
1
223
280
UK
crypt.exe doesn't seem to work for me properly. Box pops up then closes.
 

Far

tsniffer
Staff member
Developer
May 19, 2003
20,172
30
2,767
540
Are you just double clicking it or following the instructions op posted?

Sent from my SM-G935F using Tapatalk
 

Azura

Mir3 Coder & Adviser
Legendary
Mar 12, 2005
3,249
111
300
He's just double clicking..

Remember to add items you need to add it to the mir3res and the client's item.dat
 

daneo1989

I am Ancient.
Staff member
Moderator
Dec 5, 2005
5,961
1
223
280
UK
I've managed to decrypt the Mir3Res.dat into xml but just showing
Untitled.png

I'm guessing either Im not opening the xml properly or its not decrypting properly

Azura, I'm currently only wanting to view the Database Data rather adding/editing it.
 

ventus

LOMCN Veteran
Veteran
Oct 17, 2013
925
132
105
Hmm what text editors are you guys using to edit the output file once its been decrypted? notepad? notepad seems very messy.
 

Lionsm!ght

Dedicated Member
Dedicated Member
Aug 28, 2015
540
137
85
Hmm what text editors are you guys using to edit the output file once its been decrypted? notepad? notepad seems very messy.

To view data once decript open it in notepad++

best way to view is to do 2 find and replaces

do
find: <RES_
replace \n<Res_

then
find <Value
replace \n<Value

ensure you have the extended box ticked in the find and replace (\n, \r etc)

this will put it in a much more readable format, however i doubt that it would export back in correctly. I have attached a format that should be more readable
 

Attachments

  • output.zip
    507.7 KB · Views: 86