Lemongrass3110 3e9c432395 Changed all unsigned int to uint32 (#8781) 6 月之前
..
CMakeLists.txt e235c9cab4 Change common and config includes to use <> (#7596) 2 年之前
Makefile.in 8f4a1d2932 Remove relative includes for 3rdparty imports (#7609) 2 年之前
csv2yaml.cpp 48b4623f3e Fixed all warnings in MSVS (#8391) 11 月之前
csv2yaml.hpp 3e9c432395 Changed all unsigned int to uint32 (#8781) 6 月之前
csv2yaml.vcxproj 4c1b1c1a5c Added missing conformance mode in MSVS (#8402) 11 月之前
csv2yaml.vcxproj.filters 5aa9f75343 Cleaned up remaining TODO for Achievements (#4446) 4 年之前
mapcache.cpp 48b4623f3e Fixed all warnings in MSVS (#8391) 11 月之前
mapcache.vcxproj 4c1b1c1a5c Added missing conformance mode in MSVS (#8402) 11 月之前
mapcache.vcxproj.filters 801d3ed942 Moved common, config and mapcache to C++ (#3200) 7 年之前
readme.md 2ff76e5060 Adds the CONVERT_ALL macro for YAML tools (#6986) 2 年之前
yaml.hpp b48948822a Replaced NULL with nullptr (#8298) 1 年之前
yaml2sql.cpp cb42dceb87 Switched most C headers to C++ (#8225) 1 年之前
yaml2sql.vcxproj 4c1b1c1a5c Added missing conformance mode in MSVS (#8402) 11 月之前
yaml2sql.vcxproj.filters 04cfe17b2b Converted item database to YAML (#4335) 4 年之前
yamlupgrade.cpp b4e066a37f Extended item_group_db.yml (#6173) 1 年之前
yamlupgrade.hpp e235c9cab4 Change common and config includes to use <> (#7596) 2 年之前
yamlupgrade.vcxproj 4c1b1c1a5c Added missing conformance mode in MSVS (#8402) 11 月之前
yamlupgrade.vcxproj.filters 5aa9f75343 Cleaned up remaining TODO for Achievements (#4446) 4 年之前

readme.md

rAthena Tools

As with any product, please make a backup of your database directory before continuing with any of these tools listed below.

CSV2YAML

This tool will convert older generation TXT (or CSV, comma separated values) databases into the new YAML format. Not every database has been converted to YAML, but it's a process rAthena is taking to make efforts easier for future development.

The rAthena devs have taken steps to produce this tool which can be ran on any environment that supports rAthena, without any extra software!

Note, if you have modified a database with custom fields then the CSV2YAML will need to be modified to support those extra fields before converting.

Once ran, you will be prompted for each database you'd like to convert to YAML, allow any custom features in your collection to be translated over. Please add the #define CONVERT_ALL macro in src/custom/define_pre.hpp or uncomment CONVERT_ALL in src/tools/yaml.hpp before building if you wish to remove the prompts.

Mapcache

The mapcache tool will allow you to generate or update the map_cache.dat that is located in db/. Simply add the GRF or Data directories that contain the .gat and .rsw files to the conf/grf-files.txt before running.

YAML2SQL

This tool will convert the Item and Monster databases from YAML to SQL. This still gives the ability for servers that wish to utilize these databases to continue down that path.

Once ran, you will be prompted for each database you'd like to convert to SQL, allow any custom features in your collection to be translated over. Please add the #define CONVERT_ALL macro in src/custom/define_pre.hpp or uncomment CONVERT_ALL in src/tools/yaml.hpp before building if you wish to remove the prompts.

YAMLUpgrade

There are times when a YAML database may have to go through a restructure. When running your server, you will be prompted with:

Database version # is not supported anymore. Minimum version is: #

Simply run the YAMLUpgrade tool and when prompted to upgrade said database, let the tool handle the conversion for you!