Jump to content
Rainbow1

c++ [C#]Proto converter

Recommended Posts

Hello everyone.

With this tool you will be able to convert XML proto files into self-defined structure of SQL or TXT files.

Files contains definitions for default metin2 structure of mob and item protos (includes txt version of mob proto).

 

Now few words about program structure.

There are files named like '*ProtoItem' - this is definition of input and result structure. You can define own names for properties in XML files, result SQL columns and indexes for positions in TXT version of protos.

XmlAttribute is used to define input data type and name of property in XML file.

SqlMapAttribute is used to define database column name or position in TXT file(by ClientProtoIdx property).

 

MobProto & ItemProto classes inherits from abstract classes for specified destiny(client or database). I implemented basic functionallity to convert XML files into SQL, but you can easly implement your own version - it's really flexible.

 

https://www.virustotal.com/#/file/1adbe7e10fc9f3b03fb3dec1215e31e30eaa9438513a304a1ede7cc1984bd00f

 

ProtoParserToSQL.zip

  • Love 3

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.