Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

YingLunTown-DreamLand/Structural-Translator

Repository files navigation

Structural-Translator

A software that translates .mcstructure into .bdx

How to use?

  1. Download the file named Translator.exe and put it with input.mcstructure
  2. Then run this program

Run this program from the source code in Termux

Download and first use

  1. Execute this command in Termux
apt update && apt upgrade && apt install python && apt install git && pip install brotli && MATHLIB=m pip install numpy && pip install nbtlib && pip install colorama && cd /sdcard && git clone https://github.com/Happy2018new/Structural-Translator/ && cd Structural-Translator
  1. Then put input.mcstructure or input.json in the path /storage/emulated/0/Structural-Translator
  2. Execute python Translator.py in Termux

Subsequent Use

  1. Execute command cd /sdcard/Structural-Translator in Termux
  2. Put the input.mcstructure file or the input.json file in the path /storage/emulated/0/Structural-Translator
  3. Execute python Translator.py in Termux

Remove

cd /sdcard && rm -r Structural-Translator

Update or Upgrade

apt update && apt upgrade && apt install python && apt install git && pip install brotli && MATHLIB=m pip install numpy && pip install nbtlib && pip install colorama && cd /sdcard && rm -r Structural-Translator && git clone https://github.com/Happy2018new/Structural-Translator/

Advanced Functions

We support batch mode as advanced functions. The sample documentation here shows you how to use these advanced options.

Language

This program only supports Chinese

Existing Features

  • Basic translation function
  • Get the command blocks data and write them into the .bdx file
  • Block States
  • Experimental - The items of the container
  • Replace thr block id or thr block state to another
  • Optional options - Skip the air
  • Based on the 16 * 16 areas
  • Support large .mcstructure files
  • Display translation progress
  • Advanced Functions - Batch mode

Api

See Api for more infomation

What is .mcstructure and .bdx ?

  1. You can export the .mcstructure files from Minecraft Bedrock Edition
  2. FastBuilder support .bdx files, so you can use FastBuilder to import buildings in China - Minecraft Bedrock Edition Server
  3. You can access FastBuilder repository through this link
  4. If you want to buy and use FastBuilder , the following links may help you

Contact

You can contact me through the following links

Update Logs

For the update logs of previous versions, please go to link Old Update Logs


  • v91.0 - 2022/12/18 Night
    • Upgrade the Pre-Release version to the Official version
  • Pre-Release(v90.3) - 2022/12/11 Night
    • Fixed an issue related to compilation & Fixed in b8333c2
      • You could download this version here
  • Pre-Release(v90.1) - 2022/12/04 Morning
    • Fixed a problem that could occur when parsing strings & Fixed in 5ac312f
      • You could download this version here
  • Pre-Release(v90.0) - 2022/12/03 Afternoon
    • Translation of mcacblock files is supported & Updated in 0ddf440
      • You could download this version here
  • Pre-Release(v82.5) - 2022/12/02 Night
    • Supports water-containing blocks recorded in WhiteWallJson files & Updated in 6515123
      • You could download this version here
  • Pre-Release(v81.7) - 2022/11/30 Night
    • Fixed an issue where Windows would not display color and would not parse non-NBT blocks & Fixed in b16ac16
      • You could download this version here
  • Pre-Release(v81.4) - 2022/11/30 Night
    • Fixed an issue involving container item parsing & Fixed in a2f6675
      • You could download this version here
  • Pre-Release(v81.3) - 2022/11/29 Night
    • Fixed an issue where NBT data could not be inserted in some cases & Fixed in 744d207
      • You could download this version here
  • Pre-Release(v81.0) - 2022/11/27 Night
    • Fixed an issue where command block data could not be parsed & Fixed in 2c174bf
      • You could download this version here
  • Pre-Release(v80.3) - 2022/11/27 Afternoon
    • Fixed an issue where the state of blocks recorded in JSON files could not be parsed & Fixed in ba20c91
      • You could download this version here
  • Pre-Release(v80.2) - 2022/11/27 Afternoon
    • Updated and fixed in 16586cd
      • Changes
        • Api update: Parsing .bdx files is now faster.
        • Fixed the problem that files cannot be distinguished when the file name is all or part uppercase.
      • Download
        • You could download this version here
  • Pre-Release(v80.1) - 2022/11/26 Night
    • Example Synchronize changes to the Bdump protocol & Updated in 5777230
      • You could download this version here
  • Pre-Release(v80.0) - 2022/11/26 Afternoon
    • The new Bdump protocol is officially supported & Updated in a257c11
      • You could download this version here
  • v71.1 - 2022/11/13 Night
    • Fixed a bug that can not make dirs while use the custom settings & Fixed in e1ec199
  • v71.0 - 2022/11/13 Noon
    • Fixed a path issue with Android and output failure prompts are now supported & Updated and fixed in a7cdc01
  • v70.2 - 2022/11/12 Night
    • Fix a bug that output wrong logs & Fixed in d71251c
  • v70.1 - 2022/11/12 Night
    • Fix a bug that can not translate json files & Fixed in 4126bdc
  • v70.0 - 2022/11/12 Afternoon
  • v46.1 - 2022/10/30 Afternoon
    • A small change of add Operation 39(recordBlockEntityData) to the output BDX files & Updated in 701aecd
  • v46.0 - 2022/10/29 Noon
    • Support Operation 39(recordBlockEntityData) & Updated in 4afadf4
  • v43.0 - 2022/10/25 MidNight
    • Full .mcstructure files parsing and reverse parsing are supported and fix some bugs & Updated and fixed in afcd812
  • v42.0 - 2022/10/21 Night
    • Rewrite the main function which translate the WhiteWallJson files & Updated in 6bc8325

LICENSE

See LICENSE for more infomation