GithubHelp home page GithubHelp logo

stormsinshadows / freecraftcore.dbctools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from freecraftcore/freecraftcore.dbctools

0.0 1.0 0.0 644 KB

FreecraftCore's C#/.NET library and tools for DBC file editing, versioning and SQL conversion.

License: GNU Affero General Public License v3.0

Batchfile 0.47% C# 99.53%

freecraftcore.dbctools's Introduction

FreecraftCore.DBCTools

FreecraftCore's C#/.NET library and tools for DBC file editing, versioning and SQL. Provides several applications that can be used to create a toolchain for DBC development.

Supports:

  • 1.12.1
  • 2.4.3
  • 3.3.5
  • 4.x

Why?

I noticed a lack of fully automated and managed pipeline for developing DBC editing tools, for managing DBC content, for turning edited DBCs into MPQ patches and for data versioning. I happened to need tools like this so I developed them to support these needs.

CreateDatabase

FreecraftCore.DBCTools.CreateDatabase is the tool that is responsible for creating SQL tables for DBC editing. To use this tool you only need to configure the DBC input path, which defaults to DBC folder, and the Database connection string. Right now only MySQL is supported by any SQL provider could be used in the future.

This will generate a table for each DBC implemented, not all are implemented yet, and will look like this:

Tables

The concept is that the raw DBC format is NOT ideal for editing. A relational database such as MySQL provides significant advantages for editing, even with just raw SQL. Though it's recommended to build tooling/UI/GUI applications that interact with these tables. You can access the DbContext and tables/structures by referencing the Management library in this project (soon to be on NuGet).

CreateDBC

FreecraftCore.DBCTools.CreateDBC is similar to CreateDatabase but is the inverse. It is responsible for loading the SQL tables into memory and generating DBC files for the tables. This will include all modifications done to the tables. Meaning this is the rebuilding tool that should be used after editing the tables, if you actually need this data back into DBC format.

Make sure to configure the output directory for the DBC files. The default is DBC_OUTPUT/DBCFilesClient.

CreateMPQ

FreecraftCore.DBCTools.CreateMPQ is the final stage of the current toolchain. It takes the DBC files in the configured DBC output directory and generates, with the help of stormlib, an MPQ with the name specified in the configuration file.

Releases

Github:

TODO

freecraftcore.dbctools's People

Contributors

hellokitty avatar

Watchers

 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.