Coder Social home page Coder Social logo

killcerr / dataextractor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from allaymc/dataextractor

0.0 0.0 0.0 10.39 MB

Extract data which are used by AllayMC from BDS

License: GNU Lesser General Public License v3.0

C++ 96.77% Python 0.01% C 0.40% Lua 0.04% CMake 2.78%

dataextractor's Introduction

DataExtractor

This is a BDS mod which allows generating useful data used in AllayMC Project
(such as block_attributes and item_data) from BDS server.

How to use?

  1. Install windows version BedrockServer. see here.
  2. Set the property block-network-ids-are-hashes in file server.properties to false.
  3. Download PeEditor. see here,then move PeEditor.exe in the same path as BDS
    run PeEditor -m -n.
  4. Download PreLoader. see here,then move PreLoader.dll in the same path as BDS.
  5. Download the latest release and put it in the plugins folder.
  6. Run bedrock_server_mod.exe, then enter the game, teleport to pos 0 200 0, type ext in the chat, the output files will create in data/*.

I want to build it myself!

  1. Clone project source git clone https://github.com/AllayMC/DataExtractor.
  2. You need to install Visual Studio's C++ desktop application development and SDK for Windows 10 or above, as well as xmake build tool.
  3. Before building, please run xmake project -k cmake to generate the cmakefile for code completion, then will download the PeEditor.exe. After that, a file selection window will pop up, please select the symbol file(.pdb) corresponding to the BDS version.
  4. Install the xmake extension for Visual Studio, open it in extensions/XMake, select mode release, platform windows, architecture x64, and click Build.

Note: If you are updating your BDS version, before build this plugin, you also need to update bedrock_server_api.lib and bedrock_server_var.lib in the DataExtractor\build\bds\lib folder. To generate these files, please run PeEditor.exe -l in the same path as BDS

Special thanks

Thanks to LeviLamina for their great work!

Thanks to bds-data-scraper for providing me some ideas about how to get the block types!

dataextractor's People

Contributors

smartcmd avatar killcerr 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.