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 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 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.