Giter Club home page Giter Club logo

dp2ra's Introduction

DP2RA Converter

Convert Divine Pride item json-fetched info to rAthena

Requirements

Installation

If you willing to use this as component,

composer require cydh/dp2ra

or download latest version then install it by using composer

composer install

Usage

Then include autoload in PHP file (example: parse_item.php)

require_once './vendor/autoload.php';

// Quick parse item data to output files
Cydh\DP2RA\Items::parse([
    "input" => "path/to/item_db.json",
    "output_itemdb" => "output/path/item_db.txt",
    "output_tradedb" => "output/path/item_trade.txt",
]);

// Quick parse monster data to output files
Cydh\DP2RA\Monsters::parse([
    "input" => "path/to/mob_db.json",
    "output_mobdb" => "output/path/mob_db.txt",
    "output_mobskilldb" => "output/path/mob_skill.txt",
    "output_spawn" => "output/path/spawn.txt",
]);

There are manual parsing & file writing by initilizing Cydh\DP2RA\Items or Cydh\DP2RA\Monsters classes then call its methods.

Some parsers from Divine-Pride data structure (Aegis' enum/value) are written in public static function which can be called outside the class.

Contributing

Make new issue or new pull request. This version is under development

TODO

  • Items Parser
    • Card compound location
    • Applicable Job

dp2ra's People

Contributors

cydh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.