在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):bedrock-viz/bedrock-viz开源软件地址(OpenSource Url):https://github.com/bedrock-viz/bedrock-viz开源编程语言(OpenSource Language):C++ 58.5%开源软件介绍(OpenSource Introduction):Bedrock VizA fork of mcpe_viz, now maintained by Jasper Wan. Bedrock Viz is a tool that parses Minecraft Bedrock Edition world files. It creates overview images from the world files, and reports lots of details on your world. It can also create a powerful Google Maps-like Web App for viewing your world. Additional Features:
Quick StartFor Windows 10 users:
For macOS users(requires macOS 10.15 and above):
For Linux users:
DO NOT RUN THIS ON YOUR ORIGINAL WORLD SAVES MAKE A BACKUP COPY OF YOUR DATA AND RUN THIS AGAINST THAT COPY ONLY Use the app to select the MCPE world file, the output directory, output name, and mode. Press "Go!". Watch the progress of bedrock-viz. If it completes successfully, you can click the "Launch Web App" button. If there was a problem, you should look in the "Progress" window for details that might help you resolve the issue. See below for Web App usage notes. Quick Start -- How to run it on Windows from the command-line
Note: Replace "path-to-your-world-file-dir/" with the actual directory which contains your world files -- it wants the directory that has level.dat in it. DO NOT RUN THIS ON YOUR ORIGINAL MCPE DATA FILES; MAKE A BACKUP COPY OF YOUR DATA AND RUN THIS AGAINST THAT COPY ONLY! This will produce a bunch of image files and "index.html" in the directory Web AppYou can create a browser-based viewer for your world files. It will allow you to pan, zoom and switch between the different images. It's pretty spiffy! To make a quick viewer (with all regular images, but without indvidual layers), do something like this:
To make a complete viewer (with all images and all layers), do something like this:
This will create a LOT of images -- individual images for each layer of the overworld and nether, as well as all the regular images. It will also create "./mcpe/output/out1.html". Load this file in your browser and you will have an Openlayers-based viewer for your world! Openlayers (http://openlayers.org/) is a powerful javascript library for mapping. Web App Usage Notes:
Web App NotesIf you are loading the web app from a local file -- that is, not accessing it from a web server -- your browser may impose restrictions on image loading and access to image pixels which makes it very difficult for the web app to deliver the best experience. Currently, Firefox appears to be the browser most willing to play nicely. The web app will let you know if you are impacted by this issue. For example, on Chrome, you will not see block information on mouse over, or be able to see the elevation overlay -- both of which are totally cool :) If you are running Firefox or serving the files from a web server, you can make the web app load a little bit faster by adding the option "--no-force-geojson" to your command line. This prevents bedrock-viz from using a workaround for the above issue. Using an NGINX Webserver in Docker to display your worldIf you want to display your map locally through a webserver in Docker, these commands will set up an NGINX webserver with your data copied into a volume mounted to the /usr/share/nginx/html directory. The webserver is exposed on port 8080 and the web app can be viewed at http://localhost:8080. Be aware of what folder will be copied to avoid copying sensitive files/folders. It is recommended to always ouput to a new directory.
To clean up your webserver and data when you are done:
UsageMAKE A COPY OF YOUR DATA AND RUN THIS AGAINST THAT COPY ONLY! Here's an example invocation:
This will read the leveldb from the "./mcpe/another1" folder and name output files starting with "./mcpe/output/out1", and it will draw chunk boundaries on your output image. This also dumps the voluminous output to "out1.log". The log file has a ton of interesting information about your world. "grep" is your friend. Please note that --db expects the directory which contains "level.dat". To view all command line options, run
For extended usage instructions, see USAGE.md How to backup your MCPE world filesOn Android, see this link. On iOS or Windows 10, see this link Note that MCPE is sometimes weird about actually closing world files -- that is, you think that MCPE is closed and should be done with the world file, but a backup of it may not work correctly. To be certain that you get a good backup, you should reboot and then do the backup before starting MCPE again. Automated backup to Dropbox using DropSync (Android)On Android, you can use DropSync to automatically backup your MCPE world to your dropbox account. You configure this tool to backup any of your world files to dropbox. As you play on your device, DropSync will copy the updated world files to Dropbox. Very cool! Install Dropbox's client (there's even one for Linux) on the machine you use for MCPE Viz. It is recommended to copy the data from your local Dropbox folder to another folder to prevent Dropbox from syncing from your MCPE Viz machine. Running MCPE Viz on the world files does change the world files. This method has only been lightly tested, so be careful. Error messagesThis program uses a lot of file handles and depending on your OS's defaults (OS X's are too low) you can have a failure that resembles the following:
You can check your limits and temporarily set file descriptors with the following:
Compiling from sourcesee BUILD.md |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论