Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Elsword
You last visited: Today at 10:32

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

Advertisement



[RELEASE] uKOM Extractor Source Code (C++)

Discussion on [RELEASE] uKOM Extractor Source Code (C++) within the Elsword forum part of the MMORPGs category.

Reply
 
Old   #1
 
devil401's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 140
Received Thanks: 151
[RELEASE] uKOM Extractor Source Code (C++)

uKOM Extractor



Licensed under GPLv3
Please provide credits to the original author (nickname and website) whenever you use part of this code or you think this helped you (obv. it is).

Dear EPvP users,
I'm not expecting everyone to understand what is this and how to use it (nor compile it) but i just don't care.
I'm not going to support single users but whenever there's an issue you're pleased to report it .
If you want (and i hope) to help me to improve/fix/optimize this software i would be really happy and feel free to do it, i will obv. insert credits to the README.md.

Wat iz dis?

It's a KOM Extractor, nothing really new for most of you, this is only a part of the uKOM Archiver project that's actually private, i posted it for science and i hope it will be useful for all of you.

Steps

- Interpret parsed arguments (nothing really "OH MY GAWD THIS IS AWESOME").
- Read KOM Header.
- Read XML Header and save it as KOMInfo.xml.
- Extracts file buffers.

Everything is godly ordered and to understand the KOM structure just look at the structs.
Helping you:

First 72 Bytes.
#define HEADER_SIZE 72

PHP Code:
        static struct _KOM_HEADER
    
{
        
char Header[28]; // "KOG GC TEAM MASSFILE V.0.3.".
        
unsigned long ArchiverVersion// I'm not sure about this entry.
        
char CRC[5]; // Probably it's not only a CRC (and CRC2) but may be something more, i'm reversing again it.
        
unsigned long XMLSize// Size of the XML.
        
unsigned long FilesNumber// Number of files in the KOM.
        
unsigned long CRC2// Read CRC
    
KOMHeader
XML content:

PHP Code:
static struct _XML_ENTRY
    
{
        
char FName[100]; // File name.
        
int Size// Uncompressed file size.
        
int CompressedSize// Compressed file size.
        
char Checksum[8]; // EQ FileTime.
        
char FileTime[8]; // EQ Checksum.
        
int Algorithm// Algorithm type.
                       //    - Type 0: Nothing.
                       //    - Type 1: Compressed. (ZLib)
                               //    - Type 2: Encrypted & Compressed.
    
Files
End.
Easy, isn't it?

Licenses (and libraries/third party content)

RapidXML (MIT License)
ZLib (MiniZ) (GPL? I don't remember and i'm too lazy to verify)
AdvConsole (I don't remember)

I will release the entire uKOM Archiver (LUA Decryption included) only when some people will work on this.

In-Action Screenshot





d3vil401 ()
ESEmu Project ()
devil401 is offline  
Thanks
16 Users
Old 03/04/2015, 17:45   #2
 
elite*gold: 0
Join Date: Apr 2013
Posts: 110
Received Thanks: 8
It's new KOM editor ? ^^
edit/ nevermind xD
edit2: i don't have uKOMExtractor.exe :x
specuuu is offline  
Old 03/04/2015, 18:18   #3
 
devil401's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 140
Received Thanks: 151
Quote:
Originally Posted by specuuu View Post
It's new KOM editor ? ^^
edit/ nevermind xD
edit2: i don't have uKOMExtractor.exe :x
You have to compile it...
devil401 is offline  
Thanks
1 User
Old 03/04/2015, 18:29   #4
 
elite*gold: 0
Join Date: Apr 2013
Posts: 110
Received Thanks: 8
Lul v.v sorry but i don't know how. Can u help me ?
btw. start.bat don't work
specuuu is offline  
Old 03/04/2015, 18:41   #5
 
devil401's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 140
Received Thanks: 151
Quote:
Originally Posted by specuuu View Post
Lul v.v sorry but i don't know how. Can u help me ?
btw. start.bat don't work
You need Visual Studio 2012 to compile this C++ Project.
start.bat won't work because there's no uKOM Extractor.exe in the directory (since you did not compile it).
devil401 is offline  
Thanks
1 User
Old 03/04/2015, 18:45   #6
 
elite*gold: 0
Join Date: Apr 2013
Posts: 110
Received Thanks: 8
I'll download 2012 and tell you what and how(i have 2010 and this is the problem)
specuuu is offline  
Old 03/04/2015, 19:13   #7
 
ernilos's Avatar
 
elite*gold: 20
Join Date: Jan 2012
Posts: 766
Received Thanks: 645
I just finished a fast read, really nice source!
This is a lot better than my old ugly kom3 unpacker xD, when I'll back home I'm gonna compile it....
(It's a loooooot better than my old Kom3 Unpacker~~)
ernilos is offline  
Thanks
5 Users
Old 03/04/2015, 19:31   #8
 
devil401's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 140
Received Thanks: 151
I found a giant bug, please wait for the next repository update.
devil401 is offline  
Thanks
2 Users
Old 03/05/2015, 01:21   #9
 
elite*gold: 0
Join Date: Nov 2013
Posts: 30
Received Thanks: 0
Ernilos, When you compile, will will also make it available to us? For I , like many , we do not have programming notions , however, I am a lawyer if you need ^^ . ha , I hope not release a version " April " again .
tsunaade is offline  
Old 03/05/2015, 05:38   #10
 
Gintoki147's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 652
Received Thanks: 597
I was planning to "translate" those Python scripts to C#, and I actually finished the extraction part, but it seems that won't be needed anymore, lol.

Great project! =P

essa orochi tá danada
Gintoki147 is offline  
Old 03/05/2015, 07:50   #11
 
devil401's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 140
Received Thanks: 151
I will probably release the packing part too, but i plan to recode it.

Updated Repository, extractiong has been fixed and now working properly.
Please do not used -p option for now, it will just crash.
devil401 is offline  
Thanks
1 User
Old 03/05/2015, 11:24   #12
 
elite*gold: 0
Join Date: Nov 2013
Posts: 30
Received Thanks: 0
Note: . I could compile and make the bat, however When put to extract from All Files are extracted with 1 kb. : /

Ernilos / Fire , pls, mk a tutorial briefly teaching compilation.

Quote:
Originally Posted by Gintoki147 View Post


essa orochi tá danada
Desde 2009 usando os edit, né? safado!!
Mas ATÉ Aqui eu sou SEGUIDA ? pf né ? MUITAS Sou, NÃO obrigatoriamente ESSA Naja , beijos flor .

OBS .: Eu consegui Compilar e Fazer o bastão, porem qdo coloco Pará extrair , Todos os Arquivos São extraidos com 1 kb. : /
tsunaade is offline  
Old 03/05/2015, 14:46   #13
 
Izamaki's Avatar
 
elite*gold: 18
Join Date: Feb 2013
Posts: 317
Received Thanks: 37
thats the problem of lacking knowledge xD
Izamaki is offline  
Old 03/05/2015, 15:56   #14
 
elite*gold: 0
Join Date: Nov 2013
Posts: 30
Received Thanks: 0
Quote:
Originally Posted by ScCrafter View Post
thats the problem of lacking knowledge xD
Truth. I appreciate the good intention of the Devil / Ernilos to make available the source code , however for us it is no good . Most forum here are " under 15 " , has no training or understanding necessary to develop this program , after all, known programming takes 5 years in a college. The ideal , of course , I'm giving my opnion , it would show a basic tutorial teaching compile and make the packer and unpaker , but not only available , this in my view . But I am very grateful for providing bright and I think your work !! I've always had a fondness for programming / information system, but I opted by law, and today I have graduated , bachelor and recently passed the bar exam for lawyers , that is, I'm a lawyer . Anyway , see you and good luck to those who are trying to do.
tsunaade is offline  
Old 03/05/2015, 17:02   #15
 
devil401's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 140
Received Thanks: 151
Well, congratulations for your bachelor.
Programming does not take 5 years, it takes that time if you study more languages.
By the way, the entire software is done by knowledge of Reverse Engineering and Cryptoanalysis, which took me more than 5 years to "master".

I can't do much than pubblish the source, i can even make a YouTube video to explain the structure of the KOMs, but i can't do much more, the rest is just experience and technical knowledge.
devil401 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Release]DNP Extractor Open Source
09/04/2015 - EO PServer Guides & Releases - 12 Replies
First credits where they belong. Credits to: unknownone for writing the Filename -> Hash method. The application is available in open source, so if people wish they can code it further to allow for packing files into a dnp file as well as extracting. It works with the current EO client. Directions of Use: Place DNPExtractor.exe, Data.InputOutput.dll and DNPManager.dll in your EO client folder where your dnp files are located. (Examples are...
[Release][VB][OPEN SOURCE]Metin2 Extractor by DoodleTM
06/22/2012 - Metin2 PServer Guides & Strategies - 3 Replies
Hi, here's an eix/epk extractor helper made by me :) It's made in VB and it's my first creation :d Screen : http://img1.firenex.net/dpi6sRTVh5z6AfGEzCqD.png Tutorial : First tab = Change extensions Extensia veche = Old extension Extensia noua = New extension Second tab = Unpack files
[RELEASE] [OPEN SOURCE] CE 5.5 Pointer to AutoIt Source-Code
02/13/2011 - AutoIt - 6 Replies
Habe heute erst gemerkt, dass es hier eine AutoIt Sektion gibt xD also poste ich mal mein Programm mit rein. Funktionsweise: 1. in CE Rechtsklick auf den Pointer und auf "Copy" klicken 2. in meinem Programm auf "Code generieren" klicken 3. In euer Scite gehen und einfügen Hier ist der Source Code vom Programm:



All times are GMT +2. The time now is 10:32.


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.