Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Atlantica Online
You last visited: Today at 16:44

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Python] NDT files decryptor

Discussion on [Python] NDT files decryptor within the Atlantica Online forum part of the MMORPGs category.

Reply
 
Old   #1
 
bootdisk's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 134
Received Thanks: 41
[Python] NDT files decryptor

Hi,

I was a player of Silkroad Online but since I've quit I've been playing/trying other mmos til I found Altlantica Online.

I saw one post (maybe done in ancient times) that someone wanted to decrypt ndt files and so I did my try.

Perhaps you all have one already but anyway, I was willing to share.
It's made in Python and I did it in one day.

Code:
from Tkinter import *
from tkFileDialog   import askopenfilename 
import struct

filename = askopenfilename()

if len(filename) == 0:
    exit()

outputfilename = filename[:-4] + '.txt'

f = open(filename, 'rb')
buf = f.read()
f.close()

HEADER_SIZE = 0x18

seed = struct.unpack('<H', buf[12:14])[0]

output = []

for i in xrange(HEADER_SIZE, len(buf)-1):
    v = struct.unpack('<B', buf[i])[0]
    v -= seed
    v = v & 0xFF
    b2 = struct.unpack('<B', buf[i+1])[0]
    x = v ^ b2
    output.append(x)

f = open(outputfilename, 'wb')
for v in output:
    f.write(struct.pack('B', v)[0])
f.close()
exit()
To run it you just need Python 2.x version ().
Anyway, I think the code it's not so complicated to follow.

Note: this script, will EAT the last byte of the file, hehe... but it's nice for a first release.
Note2: if you think this is useful I could work on it further.
Attached Files
File Type: zip convertndt.zip (445 Bytes, 846 views)
bootdisk is offline  
Thanks
6 Users
Old 09/13/2010, 03:59   #2
 
superman49's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 37
Received Thanks: 3
how do i make this run
sorry for nooby qiestion i am not so good with programming


and it possible u can edit monster drop rate or valcunus enchancing rate
superman49 is offline  
Old 09/13/2010, 05:18   #3
 
bootdisk's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 134
Received Thanks: 41
there you have a zip file... scans are not needed since it contains only a .py (Python file) which is basically a text file.

extract it and you will find a convertndt.py file.


(try to download any 2.6 or 2.7 version).

then you just need to do a double click on the convertndt.py file.

and no, you can't modify those things because those are server side.
this tool is more oriented for programmers of this mmo to develop new stuff.
bootdisk is offline  
Old 09/14/2010, 01:49   #4
 
superman49's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 37
Received Thanks: 3
ok thanks
superman49 is offline  
Thanks
1 User
Old 12/04/2010, 19:18   #5
 
elite*gold: 0
Join Date: Mar 2009
Posts: 146
Received Thanks: 49
Sorry for bumping this old thread but is it possible that you release the same tool for converting txt files to NDT ?
Diuuude is offline  
Old 12/05/2010, 09:33   #6
 
anamapiro12's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 672
Received Thanks: 116
what makes it work??

srry I know this not at all ^ ^
anamapiro12 is offline  
Old 07/06/2011, 11:28   #7
 
neuronet's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,521
Received Thanks: 1,305
Hi!

Since I'm not that cood in coding python and the packer stuff, maybe you can help also other direction?

Means getting the encrypted NDT file back to nDoors/Nexon NDT file format?

Thanks a lot...
neuronet is offline  
Old 07/06/2011, 14:28   #8
 
bootdisk's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 134
Received Thanks: 41
Sorry I lost my account of AO (I was playing it through ijji), that's why I left it. xD
But I'll rewrite it in C++ and I'll try to make it encode too. Perhaps by the end of the week I'll have something.
It's nice to know that it was helpful for your developments.
bootdisk is offline  
Old 07/06/2011, 19:08   #9
 
neuronet's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,521
Received Thanks: 1,305
Yes, it helped me really a lot. Thanks again men...

Btw.. Migration from old ijiji Accounts is poossible again..
neuronet is offline  
Old 07/07/2011, 01:40   #10
 
Vulcanraven's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 7,808
Received Thanks: 4,570
Well...
thats rly nice thanks


Quote:
Originally Posted by neuronet View Post
Hi!

Since I'm not that cood in coding python and the packer stuff, maybe you can help also other direction?

Means getting the encrypted NDT file back to nDoors/Nexon NDT file format?

Thanks a lot...

Just rename the .txt file to .ndt this works fine.
Vulcanraven is offline  
Thanks
2 Users
Old 07/09/2011, 01:32   #11
 
neuronet's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,521
Received Thanks: 1,305
Thanks...
I totaly forgot about the just renaming thing...
neuronet is offline  
Thanks
1 User
Old 07/10/2011, 16:21   #12
 
elite*gold: 0
Join Date: Mar 2011
Posts: 70
Received Thanks: 1
Hey what does this do anyway I'm not good with computers at all just download and play lol
chipking1 is offline  
Old 08/19/2011, 11:55   #13
 
elite*gold: 0
Join Date: Oct 2009
Posts: 17
Received Thanks: 59
Nice start, but in C++ / C sharp, will be better =)
P.S.
You may use py2exe, or cx_freeze to making windows executable.
Impulse89 is offline  
Old 10/10/2011, 13:02   #14
 
neuronet's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,521
Received Thanks: 1,305
I have now a problem...

For IntAO and EuroAO the converter works.. but not for KAO...

Any idea how to solve this problem? I have attached an .ndt file from Korean AO...

Thanks a lot in advance...
neuronet is offline  
Old 10/12/2011, 22:07   #15
 
elite*gold: 0
Join Date: Mar 2009
Posts: 146
Received Thanks: 49
Any way to reverse this function and crypt files back to original NDT format ?
Diuuude is offline  
Reply


Similar Threads Similar Threads
[Req/Help] .dat decryptor for Conquer 1.0?
11/10/2009 - CO2 Weapon, Armor, Effects & Interface edits - 0 Replies
Hey sorry for having to make a new post (also, toss up between here or the programing section seeing as it's both but w/e). I'm messing around a bit with the 1.0 source and trying to fix a few things on it and add some new features. One of the problems I'm having though is that none of the posted .dat decryptors work for 1.0. Main thing I'm trying to decrypt right now is the ItemType so I can replace the item list in the source, as it is right now it will let you create 2.0 items which...
< request> <Dat decryptor>
02/02/2009 - Conquer Online 2 - 2 Replies
Can someone give me a dat decryptor for item type couse i deleted mine by mistake.... Thx in advance;)
Decryptor Encryptor
04/21/2008 - General Coding - 2 Replies
I have yet to find out if any other games .dat file may be decrypted. I need to find what games are compatiable with this program. http://www.elitepvpers.com/forum/co2-exploits-hack s-tools/44730-easy-monster-dat-encrypter-decrypter .html If you are getting a readable decrypted.txt file for that certain game's .dat please post here the game that it is compatiable with. Thank you
l2 ini decryptor
10/30/2004 - Lineage 2 - 1 Replies
hey does anyone one know were i can find the l2 ini decryptor?



All times are GMT +1. The time now is 16:45.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.