XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Mon Jul 23, 2018 12:52 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Awesomenauts encryption
PostPosted: Tue Jan 23, 2018 8:02 am 
Offline
n00b

Joined: Sat Feb 11, 2017 3:58 am
Posts: 10
Has thanked: 2 times
Have thanks: 0 time

Hello! I'm trying to translte 'Awesomenauts' into Korean.

https://github.com/Nodja/AwesomenautsFileDumper

Then, I found out this program.

Decrypting files with that program working really well.

BUT encrypting files does not work well.

Encrypt/Compress functions are in that program, but not work.

From what the author of that program discovered, This game uses a modified AES-128 crypto. He said just key expansion was modified.

Encrypt function is included at animolite\crypto\operations.py.

Encrypt function is works as a CFB encryption graph, which in this link. https://en.wikipedia.org/wiki/Block_cip ... _operation

But it not works well.

Are Key and IV wrong? They are generated by file size and relative path, Is it because of relative path?

I've been trying to make encrypt function work for a month.

I'm super noob in crypto. SOMEBODY SAVE ME PLEASE...


Sorry for super bad English :(


Localization file: https://www.datafilehost.com/d/d1d816ba

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: Awesomenauts encryption
PostPosted: Fri Jul 06, 2018 7:55 pm 
Offline
ultra-n00b

Joined: Fri Jul 06, 2018 7:38 pm
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
There's 2 reasons the encryption isn't working.
1. My code was missing a step of trimming the end of the block stream. File size is used in the decryption algorithm so the file ends up invalid.
2. The game does a checksum of files and doesn't load them if they don't match what it's supposed to be, you'll need to change game code for this to not happen.

But you're in luck, I recently made a new a game modder for a friend.

https://github.com/Nodja/NautsFileModder

Dump the localization files, edit them however you want and place them inside the mods folder.

Then create a text file with the extension .nfm inside the mods folder with these contents

Code:
[file=Data\Localization\Localization.settings]
replace_with = mods\Localization.settings

[file=Data\Localization\LocalizationAUTO.settings]

Since english doesn't seem to be your native language it's likely you'll also have to tell where you have your game installed, edit nfm.cfg to match where you have the game installed.
replace_with = mods\LocalizationAUTO.settings

[file=Data\Localization\LocalizationIDS.settings]
replace_with = mods\LocalizationIDS.settings

[file=Data\Localization\LocalizationPC.settings]
replace_with = mods\LocalizationPC.settings


Then start the modder and your localization should be modded into the game.

Since english doesn't seem to be your native language it's likely you'll also have to tell where you have your game installed, edit nfm.cfg to match where you have the game installed.



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group