Skip to content

Python scripts that process xml and txt files in Mabinogi to generate Tin-friendly ini files

License

Notifications You must be signed in to change notification settings

kaneorotar/Mabinogi_INI_Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mabinogi INI Script / Mabinogi INI 生成脚本

简介

用来从Mabinogi的xml和txt文件提取信息并生成可供TinTinTimer使用的ini文件的Python脚本。 适用于以下文件:

  • itemdb*.xml & itemdb*.LOCALE_NAME.txt (物品信息)
  • manualform.xml & manualform.LOCALE_NAME.txt (图纸样本信息)
  • minimapinfo.xml & minimapinfo.LOCALE_NAME.txt (区域信息)
  • optionset.xml & optionset.LOCALE_NAME.txt (释放信息)
  • race.xml & race.LOCALE_NAME.txt (种族信息)
  • characterstyle.xml & characterstyle.LOCALE_NAME.txt (脸型发型头型信息)
  • faceemotion2.xml & faceemotion2.LOCALE_NAME.txt (眼型口型信息)
  • fieldquestclient.xml & fieldquestclient.LOCALE_NAME.txt (世界BOSS通知信息)
  • dungeondb2.xml & dungeondb.LOCALE_NAME.txt (佑拉地下城信息)
  • dungeon_ruin.xml & dungeon_ruin.LOCALE_NAME.txt (伊利亚遗迹信息)
  • skillinfo.xml & skillinfo.LOCALE_NAME.txt (技能信息)
  • title.xml & title.LOCALE_NAME.txt (技能信息)

使用方法

  1. Clone或者打包下载本repo后解压到任意目录
  2. 安装Python(建议3.X,不然2.X也可,也可从其他途径安装)
  3. 在cmd中通过pip安装lxml模块(指令:pip install lxml)
  4. 将xml和txt文件从pack中提取出来并放置在data文件夹中
  5. 双击执行run_scripts.bat
  6. 脚本执行完后,ini文件会出现在./patch-LOCALE_NAME-YYYYMMDD/mod/文件夹中

Introduction

Python (2.X/3.X) scripts that process xml and txt files in Mabinogi to generate Tin and TinTimer friendly ini files. Work on the following data files:

  • itemdb*.xml & itemdb*.LOCALE_NAME.txt (Item Info)
  • manualform.xml & manualform.LOCALE_NAME.txt (Blacksmith Manual and Tailoring Pattern Info)
  • minimapinfo.xml & minimapinfo.LOCALE_NAME.txt (Region Info)
  • optionset.xml & optionset.LOCALE_NAME.txt (Enchant Info)
  • race.xml & race.LOCALE_NAME.txt (Race Info)
  • characterstyle.xml & characterstyle.LOCALE_NAME.txt (Face, HairStyle & Head Info)
  • faceemotion2.xml & faceemotion2.LOCALE_NAME.txt (Eye & Mouth Style Info)
  • fieldquestclient.xml & fieldquestclient.LOCALE_NAME.txt (Field Quest Notification Info)
  • dungeondb2.xml & dungeondb.LOCALE_NAME.txt (Uladh Dungeon Info)
  • dungeon_ruin.xml & dungeon_ruin.LOCALE_NAME.txt (Iria Ruin Info)
  • skillinfo.xml & skillinfo.LOCALE_NAME.txt (Skill Info)
  • title.xml & title.LOCALE_NAME.txt (Title Info)

Usage

  1. Clone this repo or download as ZIP, extract the content to location of your choice
  2. Install Python (Prefer 3.X, should also work with 2.X)
  3. Install lxml package (cmd: pip install lxml)
  4. Place the xml and txt files in the data folder
  5. Run 'run_scripts.bat'
  6. The ini files should be in the folder ./patch-LOCALE_NAME-YYYYMMDD/mod/

About

Python scripts that process xml and txt files in Mabinogi to generate Tin-friendly ini files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published