iwitrag 36 Posted November 29, 2014 Share Posted November 29, 2014 Hello metin2dev community! I have promised that I will release mob_proto too, so now I have finished it and I want to share it with you. I have made the same for item_proto, see the thread there. HOW TO UNPACK/CONVERT/PACK MOB_PROTO (this tutorial is only for people using 40K+ mob_proto without TXT files (for example vanilla core)) What we are going to do: 1. Unpack mob_proto (so we will get XML file) 2. Convert this XML to SQL (for Navicat query) 3. Convert SQL back to XML (so we can pack it again) 4. Pack mob_proto (from XML) What we will need: 1. Proto archiver (download) - http://stevecraft.cz/hracky/mp_proto_archiver.rar 2. My XML to SQL converter I have written (no download) - http://www.stevecraft.cz/hracky/mp_xml_to_sql.php 3. My SQL to XML converter I have written (no download) - http://www.stevecraft.cz/hracky/mp_sql_to_xml.php PASSWORD: METIN How to do it: 1. First of all we need to download and extract mp_proto_archiver.rar (use WinRar or 7zip) 2. Then we need to move our mob_proto to folder, where we have extracted mp_proto_archiver.rar 3. Run unpack_mob_proto.bat and mob_proto.xml will appear 4. Open mob_proto.xml 5. Open XML to SQL converter 5. Make sure, that lines from mob_proto.xml looks like example in XML to SQL converter (for example there must be column locale_name) 6. Paste the content of mob_proto.xml into textarea in XML to SQL converter. 7. Click Convert and wait for action to be done 8. Fix errors if any and try again (for example you can have , in name column so converter will think that that name are 2 columns separated by ,) 9. After you have your conversion done, you can make query to your mob_proto table. 10. Do what you want (changes in DB, additional queries, ...) 11. Now you need to dump SQL file (right click to mob_proto table - dump SQL file) 12. Save it somewhere and open it 13. Delete everything on the start so only lines with INSERT INTO will remain 14. Copy everything and paste it into SQL to XML converter and click Convert 15. Everything should be ok now, so copy your XML result and save it into file mob_proto.xml 16. Run pack_mob_proto.bat and it will make from new mob_proto.xml packed mob_proto DONE 3 1 3 2 Link to comment Share on other sites More sharing options...
Premium TAUMP 838 Posted November 29, 2014 Premium Share Posted November 29, 2014 Not work. 1 Link to comment Share on other sites More sharing options...
.SoNiiC. 185 Posted November 29, 2014 Share Posted November 29, 2014 does it work on the new mob_proto structure from the beta server ? Link to comment Share on other sites More sharing options...
iwitrag 36 Posted November 30, 2014 Author Share Posted November 30, 2014 johnlol: it does for me -> you are doing something wrong .SoNiiC.: no, it's for 40250 with vanilla core Link to comment Share on other sites More sharing options...
gamatos 0 Posted January 15, 2015 Share Posted January 15, 2015 its not working the file created was a mob_proto.xml and it says just this : <mob_proto isOldStructure="false"> </mob_proto> help anybody? Link to comment Share on other sites More sharing options...
iwitrag 36 Posted April 12, 2017 Author Share Posted April 12, 2017 (edited) Maybe wrong format I works well for me Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Yarashi2 90 Posted June 30, 2020 Share Posted June 30, 2020 please upload arquive ty Link to comment Share on other sites More sharing options...
Management AZICKO 7340 Posted October 11, 2020 Management Share Posted October 11, 2020 (edited) Dead Download Link Moved Topic If someone has the archive of this topic, can you send it to us? Thank you! Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal Scamming ? Reselling ? metin2.download | metin2.dev | fr.metin2.dev | metin2dev.org | metin2.top | top-metin2.org Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now