[Help] Descrypt XML (Unity3D)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Viserion
Posts: 63
Joined: Fri Sep 12, 2014 11:02 pm

[Help] Descrypt XML (Unity3D)

Post by Viserion »

Yo,

I'm again! Sorry boring, but I'm working in to update my files but now I got some issue with some assets. Theses files are encrypted with Unity from XML to TXT.

Link: https://mega.nz/#!at4HBDKR!ERcHOPqAIuVU ... FOjP-T1SzI

VOBinOperator.cs
https://pastebin.com/PUA9vcDW

GoodVO.cs
https://pastebin.com/TZzdyzSd

MonsterVO.cs
https://pastebin.com/4tf7KAwq

NPCInfoVO.cs
https://pastebin.com/f9vE2KcB

Thanks guys!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [Help] Descrypt XML (Unity3D)

Post by aluigi »

Just some notes:
  • DeScrypt -> Decrypt
  • what game is that?
  • you already have opened a topic about MU Origin, if it's the same game maybe you can continue there to keep the topic focused on that specific game (not really necessary, it's up to you)
dniel888
Posts: 9
Joined: Mon Dec 22, 2014 1:04 am

Re: [Help] Descrypt XML (Unity3D)

Post by dniel888 »

look at ParseBinToVOofGoodVO_ByTrdPairs() for example, this function parsing the data from GoodVO.
PropertyIndexDict in GoodVO holds the information on what ID determine the int/string definition.

after the information loaded to the GoodVO class you can save it in XML format, edit it, and load it again, then you can call functions in VOBinOperator class to do the conversion to bin file.
Viserion
Posts: 63
Joined: Fri Sep 12, 2014 11:02 pm

Re: [Help] Descrypt XML (Unity3D)

Post by Viserion »

@dniel888
Yo,

I was worried about the TextAsset class, I thought I had something special, but then I just tried reading as normal file and having all the bytes, I was able to read the file and creating a xml file. Thanks!