Hi all, I put together a command-line tool to help save time when porting lots of existing items to an rAthena server: https://github.com/Latiosu/dp2rathena
I noticed that the rAthena community often refers to divine-pride.net (DP) as a source of truth, so I figured it would be useful to connect with their API.
Summary
The tool uses data from divine-pride.net and attempts to map the API response to a desired rAthena database format.
Installation
Requires Python 3.6+ and pip installed:
pip install dp2rathena
Usage
Generate a divine-pride.net API key if you don't have one yet (registration required), then you can start converting data:
Example 1: Store API key and convert items with id 501 and 1101
dp2rathena config
dp2rathena item 501 1101
Produces this output:
Example 2: Convert mobskills for mobs with id 1002, 1049 and 1299 and save to a file called "attacks.txt" (re-uses stored API key if present)
dp2rathena mobskill 1002 1049 1299 > C:\Users\Latios\Desktop\attacks.txt
Produces a file in the Desktop folder called "attacks.txt":
Example 3: Convert mob with id 20357 to mob_db.yml format
dp2rathena mob 20357
Produces following command-line output:
Further instructions can be found at the repository: https://github.com/Latiosu/dp2rathena
Limitations
I've moved this section to the GitHub repository above to keep it up-to-date.
---
Let me know if you'd like to be able to convert other data from DP, some other suggestion or any questions.
Edit: Add terminal animation for a visual explanation