Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > 9Dragons
You last visited: Today at 18:46

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

Advertisement



[RELEASE] 9Dragons XOR Encoder

Discussion on [RELEASE] 9Dragons XOR Encoder within the 9Dragons forum part of the MMORPGs category.

Reply
 
Old 12/13/2013, 03:37   #16

 
saweet's Avatar
 
elite*gold: 20
Join Date: Sep 2007
Posts: 1,406
Received Thanks: 2,084
item_table.bit is no different in terms of encoding than the other files. Other than that is just a binary file.
saweet is offline  
Old 12/14/2013, 19:45   #17
 
tero20051's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 212
Received Thanks: 49
Quote:
Originally Posted by saweet View Post
item_table.bit is no different in terms of encoding than the other files. Other than that is just a binary file.
Man can you make an software so we can also unpack the ".XPZ" files?
tero20051 is offline  
Thanks
1 User
Old 12/15/2013, 19:33   #18

 
saweet's Avatar
 
elite*gold: 20
Join Date: Sep 2007
Posts: 1,406
Received Thanks: 2,084
Quote:
Originally Posted by tero20051 View Post
Man can you make an software so we can also unpack the ".XPZ" files?
It's a zipped XP file. Unzip it and you'll find the XP and a XPI. The XPI just contains an index of files that are in the XP. Use QuickBMS to open the XP, and you'll find the patch files.
saweet is offline  
Thanks
2 Users
Old 12/16/2013, 05:12   #19
 
mrkenneth's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 352
Received Thanks: 34
._. not much into 9d anymore but awsome to see you saweet, Miss old times.

MrOfficer.
mrkenneth is offline  
Old 12/17/2013, 12:29   #20
 
sheik_gray's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 365
Received Thanks: 124
Lightbulb

Quote:
Originally Posted by saweet View Post
item_table.bit is no different in terms of encoding than the other files. Other than that is just a binary file.
ive asked a R4G3 Z0N3 and found that info, maybe you can understand that better, and can help us to work with that files:

To be honest those files are not encrypted at all at least server side...
they are simply ascii database that require a binary open and to be treated as binary streams...

Let's do an example for itemtable.bit

you need to open it as binary and define a stream

the first 48 bytes contains the tool that as created the itemtable between each byte there is a null so you have to read 48 bytes and remove all the \x00 (null char)
after those 48 bytes there are a set of numbers
Major Version you need to read an Int16
Minor Version you need to read another Int16
UPDATETIME Unsigned int 64

etc etc

is a binary stream that needs to be read line by line.

in python it should be something like that

f = open("item_table.bit", "rb")
#Set the binary stream
stream = BinaryStream(f)
#Reading header from itemtable
TOOLNAME=stream.readBytes(48).replace('\x00', '')
VERSION1=stream.readInt16()
VERSION2=stream.readInt16()
UPDATETIME=stream.readUInt64()
UPDATETIME2=stream.readUInt64()
UPDATETIME3=stream.readUInt64()
UPDATETIME4=stream.readUInt64()
USERNAME=stream.readBytes(20).replace('\x00', '')

after the main header the tables start... and this is the most complicate section, a lot of tables exist and each table have a different structure based on the kind of items it contains

sheik_gray is offline  
Old 12/17/2013, 23:00   #21

 
saweet's Avatar
 
elite*gold: 20
Join Date: Sep 2007
Posts: 1,406
Received Thanks: 2,084
Quote:
Originally Posted by sheik_gray View Post
ive asked a R4G3 Z0N3 and found that info, maybe you can understand that better, and can help us to work with that files:

To be honest those files are not encrypted at all at least server side...
they are simply ascii database that require a binary open and to be treated as binary streams...

Let's do an example for itemtable.bit

you need to open it as binary and define a stream

the first 48 bytes contains the tool that as created the itemtable between each byte there is a null so you have to read 48 bytes and remove all the \x00 (null char)
after those 48 bytes there are a set of numbers
Major Version you need to read an Int16
Minor Version you need to read another Int16
UPDATETIME Unsigned int 64

etc etc

is a binary stream that needs to be read line by line.

in python it should be something like that

f = open("item_table.bit", "rb")
#Set the binary stream
stream = BinaryStream(f)
#Reading header from itemtable
TOOLNAME=stream.readBytes(48).replace('\x00', '')
VERSION1=stream.readInt16()
VERSION2=stream.readInt16()
UPDATETIME=stream.readUInt64()
UPDATETIME2=stream.readUInt64()
UPDATETIME3=stream.readUInt64()
UPDATETIME4=stream.readUInt64()
USERNAME=stream.readBytes(20).replace('\x00', '')

after the main header the tables start... and this is the most complicate section, a lot of tables exist and each table have a different structure based on the kind of items it contains

I started a program that reads item_table.bit a long time ago. Whoever wrote the code above is a retard.

Code:
TOOLNAME=stream.readBytes(48).replace('\x00', '')
^ Idiot doesn't know it's in Unicode

Code:
UPDATETIME=stream.readUInt64()
UPDATETIME2=stream.readUInt64()
UPDATETIME3=stream.readUInt64()
UPDATETIME4=stream.readUInt64()
^ Idiot doesn't know it's a system time struct containing year, month, day of weak, day, hour, minute, second, and millisecond.

Code:
USERNAME=stream.readBytes(20).replace('\x00', '')
^ Again it's unicode. Idiot

Quote:
after the main header the tables start... and this is the most complicate section, a lot of tables exist and each table have a different structure based on the kind of items it contains
Should be "I'm too stupid to figure out the rest. So here's some retard code, it's the easiest part of the file and it's not even right so I'm just wasting everyone's time"

Truth is, this file is not complicated at all. It will just take some time to do, and I don't have any time to give it right now.
saweet is offline  
Thanks
3 Users
Old 12/18/2013, 10:25   #22
 
sheik_gray's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 365
Received Thanks: 124
Thumbs up

Quote:
Originally Posted by saweet View Post
I started a program that reads item_table.bit a long time ago. Whoever wrote the code above is a retard.

Code:
TOOLNAME=stream.readBytes(48).replace('\x00', '')
^ Idiot doesn't know it's in Unicode

Code:
UPDATETIME=stream.readUInt64()
UPDATETIME2=stream.readUInt64()
UPDATETIME3=stream.readUInt64()
UPDATETIME4=stream.readUInt64()
^ Idiot doesn't know it's a system time struct containing year, month, day of weak, day, hour, minute, second, and millisecond.

Code:
USERNAME=stream.readBytes(20).replace('\x00', '')
^ Again it's unicode. Idiot



Should be "I'm too stupid to figure out the rest. So here's some retard code, it's the easiest part of the file and it's not even right so I'm just wasting everyone's time"

Truth is, this file is not complicated at all. It will just take some time to do, and I don't have any time to give it right now.
ill be really gratefull if you realease a tool to edit that files like item table and skills, monster ref.
sheik_gray is offline  
Old 01/04/2014, 19:57   #23
 
elite*gold: 0
Join Date: Aug 2013
Posts: 70
Received Thanks: 21
bump
PeteSauce is offline  
Old 08/09/2017, 18:17   #24
 
9dragonsGold's Avatar
 
elite*gold: 0
Join Date: May 2016
Posts: 77
Received Thanks: 55
Can this tool decrypt lump.dat with another key than A5? I've tried severall but no succes. Maybe It just cannot be done this way. I know It's an old topic but this tool is very interesting and worth to speak about. Saweet maybe can give some hint, can this tool decrypt lump.dat or It cannot?
9dragonsGold is offline  
Old 03/05/2019, 23:10   #25
 
elite*gold: 0
Join Date: May 2011
Posts: 52
Received Thanks: 5
Guyz im trying to decrypt CharacterCondition.XMS
i tried using both 9DCryptTool0.1 and XOR Encoder
They both wont allow me decrypt this file, plz help !!!
[Terror] is offline  
Old 03/06/2019, 15:26   #26

 
madmerlin3009's Avatar
 
elite*gold: 90
Join Date: Apr 2009
Posts: 545
Received Thanks: 156
Quote:
Originally Posted by [Terror] View Post
Guyz im trying to decrypt CharacterCondition.XMS
i tried using both 9DCryptTool0.1 and XOR Encoder
They both wont allow me decrypt this file, plz help !!!
if you aim to be using this on eclipse. Expect account bans and IP blocks
madmerlin3009 is offline  
Reply


Similar Threads Similar Threads
[C# Release] Base64 De -/Encoder
08/18/2012 - Coding Releases - 1 Replies
hey Com, Da ich immer wie mehr Hp Scripts sehe die so merkwürdige base64 Codes beinhalten, dachte ich mir das ich euch einen De und Encoder mache damit ihr diese Zeilen auch Decodieren könnt und dann auch sicher gehen könnt das da nicht ein böser Trojaner oder sonstiges drin steckt. lange Rede kurzer Sinn, Download http://uploaded.net/file/6pp6rtrl
[Release] Config.ini De/Encoder
05/28/2012 - Flyff PServer Guides & Releases - 29 Replies
Ihr müsst in der path.ini den pfad zur Config.ini eingeben (man kann beliebig viele config.ini's auf einmal de/encodieren). Speichert aber nicht automatisch die ini! hf :]
[Release]Xtea De-/Encoder mit variablem Key
07/30/2011 - Coding Releases - 13 Replies
Hey Leute, Kleines Release von Lolkid2009 :) Das Programm codiert bzw. decodiert euch eure persönlichen Nachrichten, Dokumente usw usw. Dabei werden sogar Formationen eingehalten. Es arbeitet mit einem Xtea Algorhytmus, welcher u.a. in ähnlicher Form für die Verschlüsselung von Metin2 (sorry dafür >.>)-Packets verwendet wurde. Durch einen von euch setztbaren Key, kann man eure codierte Nachricht nur mithilfe des Keys auch wieder decodieren. Kleine Vorschau:



All times are GMT +2. The time now is 18:47.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.