Giter VIP home page Giter VIP logo

smokeybedrockparser's Introduction

SmokeyBedrockParser

  • Install Visual Studio Build Tools
  • Install Vcpkg and set up command line integration as described in the Vcpkg docs. Remember the location of Vcpkg's CMAKE_TOOLCHAIN_FILE
  • Run vcpkg install zlib:x64-windows
  • Open 'x64 Native Tools Command Propmpt for VS 2019' from your start menu and change your working directory to this repo source code directory.
  • Run cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DVCPKG_TARGET_TRIPLET=x64-windows -DCMAKE_TOOLCHAIN_FILE=C:/path/to/vcpkg/scripts/buildsystems/vcpkg.cmake
  • Run cmake --build build --config Release --parallel
  • If this is successful, SmokeyBedrockParser can be found in .\build\Release\SmokeyBedrockParser.exe.

smokeybedrockparser's People

Contributors

smokeystack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

smokeybedrockparser's Issues

Long type is parsed incorrectly

Describe the bug
Long type is parsed incorrectly when encoded in little-endian mode

To Reproduce
Steps to reproduce the behavior:

  1. Run cmake --build build --config Release --parallel
  2. Run .\build\Release\SmokeyBedrockParser.exe <path-to-world>

Expected behavior
All Long tag types should display the correct value

Endianness

Describe the bug
The NBT parser only reads in Big-Endian. Bedrock's NBT is in Little-Endian

To Reproduce
Steps to reproduce the behavior:

  1. Run g++ -std=c++17 Test.cpp json.hpp
  2. Run the executable with two files, one encoded in Big-Endian, the other encoded in Little-Endian

Expected behavior
The NBT parser should display the same output for both files

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.