Thanks for your active work on this. I tried the latest release (0.13.2) of the Linux CLI and I am still having the same problem on a very large world:
unmined-cmd_0.13.2-dev_net5.0-linux-x64_sc$ ./unmined-cli image render --output=world1.png --area="r(1,1,1,2)" --world /var/minecraft/world1/world/
[00:10:57 INF] (main) uNmINeD command line interface v0.13.2-dev
[00:10:57 INF] (main) Platform: .NETCoreApp,Version=v5.0 (.NET 5.0.0) on Linux 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020
[00:10:57 INF] (main) Architecture: X64, threads: 4, 64 bit: True
[00:10:58 INF] (Image) World path: /var/minecraft/world1/world/
[00:10:58 INF] (Image) Dimension: null
[00:10:58 INF] (Image) World name: world
[00:10:58 INF] (Image) World version name: 1.16.4
[00:10:58 INF] (Image) World version id: 2584
[00:10:58 INF] (Image) World data version: 2584
[00:10:58 INF] (Image) World size: 1171 regions
[00:10:58 INF] (Image) World size: 166912 x 125952 blocks
[00:10:58 INF] (Image) World rectangle: r(-129, -49, 326, 246)
[00:10:58 INF] (Image) Rendering rectangle: r(-129, -49, 326, 246)
[00:10:58 INF] (Image) Output file name: world1.png
Unhandled exception. System.OverflowException: Arithmetic operation resulted in an overflow.
at Unmined.WebExport.ImageMapExport.RunAsync(CancellationToken ctsToken, Action`2 progressCallback)
at Unmined.Cmd.Image.ImageRenderer.Run()
at Unmined.Cmd.Image.ImageModule.<Run>b__6_0(ImageRendererOptions opts)
at CommandLine.ParserResultExtensions.MapResult[T1,TResult](ParserResult`1 result, Func`2 parsedFunc1, Func`2 notParsedFunc)
at Unmined.Cmd.Image.ImageModule.Run(String[] args)
at Unmined.Cmd.ModuleManager.Run(String[] args)
at Unmined.Cmd.Program.Main(String[] args)
Aborted (core dumped)
I'm a pretty experienced sysadmin and developer (although not with .NET), so I'm happy to try and diagnostics you might think are helpful.
Great catch!! It is working great for me now. Sorry for all the confusion. I'll go up and edit the old messages so someone doesn't copy/paste the command in error.
Hi, is there a discord or something for this? Also how can I export the world to a map? I tryed putting command into cmd, but didnt worked, I feel really dumb, where should I put it?
The Meaning of Life, the Universe, and Everything.
Location:
NY
Join Date:
8/25/2012
Posts:
53
Member Details
I'm using unmined-cli_0.14.1 on Linux (Debian) with Firefox 86.0
When I generate a web rendering and open the generated unmined.index.html file, I get an essentially blank page: all it has is a + and - in the upper left. Everything else is blank/white. I checked my browser's console and there were no errors or warnings.
Two sample command lines that I'm using ...
./unmined-cli web render --world=world --output=./theplace --area="r(17,-45,2,2)"
./unmined-cli web render --world=world --output=./theplace --area="b(9914,-21640,2048,2048)"
Hello. I've downloaded the app, but it's not clear how to use it. All I get is a window where I can add folders on the left. If I add a world folder, it shows the folder, but it doesn't allow me to do anything with the world. Is there something I'm missing?
Update: I was trying to open a server world (papermc), I created a local world and I can now see that. Does the app not support server world folders?
Hello. I've downloaded the app, but it's not clear how to use it. All I get is a window where I can add folders on the left. If I add a world folder, it shows the folder, but it doesn't allow me to do anything with the world. Is there something I'm missing?
There is a bug in adding world folders (will be fixed in next release).
Try to add the folder one level up.
When you add a folder, uNmINeD will show worlds from all subfolders at any depth.
I'm using unmined-cli_0.14.1 on Linux (Debian) with Firefox 86.0
When I generate a web rendering and open the generated unmined.index.html file, I get an essentially blank page: all it has is a + and - in the upper left. Everything else is blank/white. I checked my browser's console and there were no errors or warnings.
...
Thank you for the detailed report, I will check this.
I'm using unmined-cli_0.14.1 on Linux (Debian) with Firefox 86.0
When I generate a web rendering and open the generated unmined.index.html file, I get an essentially blank page: all it has is a + and - in the upper left. Everything else is blank/white. I checked my browser's console and there were no errors or warnings.
Two sample command lines that I'm using ...
./unmined-cli web render --world=world --output=./theplace --area="r(17,-45,2,2)"
./unmined-cli web render --world=world --output=./theplace --area="b(9914,-21640,2048,2048)"
If I render a JPG, I do get a static image.
Any clue what I might be doing wrong?
I've run into the same problem.
./unmined-cli web render --world world --output unmined2 -a "r(-10,-10,10,10)"
resulted in a blank page (but the tiles were rendered, they were in the folders). r(0,0,10,10) - same. But with r(-10,-10,20,20) the map was correctly displayed on the site, so I guess that your "selection" must contain the central regions, otherwise you won't see anything.
Initially I assumed that r(a,b,c,d) meant that it'll render X axis from a to c and Z axis from b to d, but it's actually X=<a, a+c=""> and Z=<b, b+d="">. I woudln't have run into this problem if it was explained somewhere. In cli help there is "-a, --area Area to process. See the README for syntax." Where can I find that README?</b,></a,>
Also, when I'm not using -a argument (just something like ./unmined-cli web render --world world --output unmined2), unmined hangs, it doesn't create any files but uses 100% CPU on one thread. The world is quite big and more than 10 years old, updates with every Minecraft version or two, so it may be some corner case (I'm also using mapcrafter, which for example just don't want to render some regions of this world). Here's the log:
oskark@waw-server ~/maps $ ~/software/unmined/unmined-cli web render --world ~mc/spigot/world --output unmined2 --log-level debug
[02:07:38 INF] (main) uNmINeD command line interface v0.14.4-dev
[02:07:38 INF] (main) Platform: .NETCoreApp,Version=v5.0 (.NET 5.0.4) on Linux 5.10.19-1-MANJARO #1 SMP PREEMPT Fri Feb 26 11:38:34 UTC 2021
[02:07:38 INF] (main) Architecture: X64, threads: 4, 64 bit: True
[02:07:39 INF] (Web) World path: /home/mc/spigot/world
[02:07:39 INF] (Web) Dimension: null
[02:07:39 INF] (JsLoader) Loading JS stylesheet from file /home/oskark/software/unmined/Metapacks/Default/tags.default.js
[02:07:39 INF] (JsLoader) Loading JS stylesheet from file /home/oskark/software/unmined/Stylesheets/Default/stylesheet.js
[02:07:39 INF] (Web) World name: world
[02:07:39 INF] (Web) World version name: 1.16.5
[02:07:39 INF] (Web) World version id: 2586
[02:07:39 INF] (Web) World data version: 2586
[02:07:39 INF] (Web) World size: 59914752 x 59761152 blocks
[02:07:39 INF] (Web) World rectangle: r(-58486, -58369, 117021, 116721)
[02:07:39 INF] (Web) World region count: 1852
[02:07:39 INF] (Web)
[02:07:39 INF] (Web) Output path: unmined2
[02:07:39 INF] (Web) Output image format: Jpeg
[02:07:39 INF] (Web) Tile size: 256
[02:07:39 INF] (Web) Rendering changed tiles only
[02:07:39 INF] (Web)
[02:07:39 INF] (Web) Selected rectangle: r(-58486, -58369, 117021, 116721)
[02:07:39 INF] (Web) Selected region count: 1852
[02:07:39 INF] (Web) Selected zoom range: -6 to 0
[02:07:39 INF] (Web)
[02:07:39 INF] (Web) Generating HTML
[02:07:39 INF] (Web)
[02:07:39 INF] (Web) Rendering zoom level 0
^C
And then it hangs, no errors, no new files (no "tiles" folder at all), just endless CPU use.
Having an issue where unmined is totally unresponsive. Command line, desktop icon don't work. Tried deleting and re-downloading. Nothing seems to work. Don't even have a window that pops up and closes or anything; I click and absolutely nothing happens.
Having an issue where unmined is totally unresponsive. Command line, desktop icon don't work. Tried deleting and re-downloading. Nothing seems to work. Don't even have a window that pops up and closes or anything; I click and absolutely nothing happens.
What OS do you have?
Is there any crashlog.txt generated in uNmINeD's folder?
Thanks so much for this excellent app, and for recently adding --night!
0.15.3 is working great for me in the GUI on OSX11.6.
The CLI, however, cannot read my Overworld. It works on the Nether and End on the same save, but change the dimension to 0 and it renders nothing. I have it set on --force to render all tiles (not just changed), so that shouldn't be the issue. What else can I check?
[09:20:15 INF] (main) uNmINeD command line interface v0.15.3-dev
[09:20:16 INF] (main) Platform: .NETCoreApp,Version=v6.0 (.NET 6.0.0-rc.2.21480.5) on Darwin 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64
I also found a weird issue in --night mode where some blocks aren't calculating the light level and some are. If you look at this day-to-night side by side of the same area:
All those yellow blocks are glowstone but you can see how in some chunks they don't have a light level at all. They are identified as glowstone in the Unmined GUI. In the top left corner, that structure has the same materials in both chunks but is rendered differently in each.
This is a fantastic and useful app - let me know how I can help you work out kinks and perfect it. Thanks!
The CLI, however, cannot read my Overworld. It works on the Nether and End on the same save, but change the dimension to 0 and it renders nothing. I have it set on --force to render all tiles (not just changed), so that shouldn't be the issue. What else can I check?
Thanks for your active work on this. I tried the latest release (0.13.2) of the Linux CLI and I am still having the same problem on a very large world:
I'm a pretty experienced sysadmin and developer (although not with .NET), so I'm happy to try and diagnostics you might think are helpful.
Thanks!
Scott
I have copied your exact command line, and...
...the first hyphen in "--area" is not a hyphen, but an en dash character
Great catch!! It is working great for me now. Sorry for all the confusion. I'll go up and edit the old messages so someone doesn't copy/paste the command in error.
A million thanks, you have built a great tool!
Scott
Hi, is there a discord or something for this? Also how can I export the world to a map? I tryed putting command into cmd, but didnt worked, I feel really dumb, where should I put it?
http://www.mediafire.com/file/fw220vcq9uoibj9/world.rar/file
Is there any chance of implementing the higher zoom levels like 2:1, 4:1, etc.?
Hi, the problem is caused by int32 overflows due to far-end regions like r.4194304.4194304.mca.
Next release will ignore these regions.
Thanks!
I'm using unmined-cli_0.14.1 on Linux (Debian) with Firefox 86.0
When I generate a web rendering and open the generated unmined.index.html file, I get an essentially blank page: all it has is a + and - in the upper left. Everything else is blank/white. I checked my browser's console and there were no errors or warnings.
Two sample command lines that I'm using ...
./unmined-cli web render --world=world --output=./theplace --area="r(17,-45,2,2)"
./unmined-cli web render --world=world --output=./theplace --area="b(9914,-21640,2048,2048)"
If I render a JPG, I do get a static image.
Any clue what I might be doing wrong?
Hello. I've downloaded the app, but it's not clear how to use it. All I get is a window where I can add folders on the left. If I add a world folder, it shows the folder, but it doesn't allow me to do anything with the world. Is there something I'm missing?
Update: I was trying to open a server world (papermc), I created a local world and I can now see that. Does the app not support server world folders?
Will be available in next release
There is a bug in adding world folders (will be fixed in next release).
Try to add the folder one level up.
When you add a folder, uNmINeD will show worlds from all subfolders at any depth.
Thank you for the detailed report, I will check this.
Could you please implement a setting for exporting as image in night view?
I've run into the same problem.
resulted in a blank page (but the tiles were rendered, they were in the folders). r(0,0,10,10) - same. But with r(-10,-10,20,20) the map was correctly displayed on the site, so I guess that your "selection" must contain the central regions, otherwise you won't see anything.
Initially I assumed that r(a,b,c,d) meant that it'll render X axis from a to c and Z axis from b to d, but it's actually X=<a, a+c=""> and Z=<b, b+d="">. I woudln't have run into this problem if it was explained somewhere. In cli help there is "-a, --area Area to process. See the README for syntax." Where can I find that README?</b,></a,>
Also, when I'm not using -a argument (just something like ./unmined-cli web render --world world --output unmined2), unmined hangs, it doesn't create any files but uses 100% CPU on one thread. The world is quite big and more than 10 years old, updates with every Minecraft version or two, so it may be some corner case (I'm also using mapcrafter, which for example just don't want to render some regions of this world). Here's the log:
oskark@waw-server ~/maps $ ~/software/unmined/unmined-cli web render --world ~mc/spigot/world --output unmined2 --log-level debug
[02:07:38 INF] (main) uNmINeD command line interface v0.14.4-dev
[02:07:38 INF] (main) Platform: .NETCoreApp,Version=v5.0 (.NET 5.0.4) on Linux 5.10.19-1-MANJARO #1 SMP PREEMPT Fri Feb 26 11:38:34 UTC 2021
[02:07:38 INF] (main) Architecture: X64, threads: 4, 64 bit: True
[02:07:39 INF] (Web) World path: /home/mc/spigot/world
[02:07:39 INF] (Web) Dimension: null
[02:07:39 INF] (JsLoader) Loading JS stylesheet from file /home/oskark/software/unmined/Metapacks/Default/tags.default.js
[02:07:39 INF] (JsLoader) Loading JS stylesheet from file /home/oskark/software/unmined/Stylesheets/Default/stylesheet.js
[02:07:39 INF] (Web) World name: world
[02:07:39 INF] (Web) World version name: 1.16.5
[02:07:39 INF] (Web) World version id: 2586
[02:07:39 INF] (Web) World data version: 2586
[02:07:39 INF] (Web) World size: 59914752 x 59761152 blocks
[02:07:39 INF] (Web) World rectangle: r(-58486, -58369, 117021, 116721)
[02:07:39 INF] (Web) World region count: 1852
[02:07:39 INF] (Web)
[02:07:39 INF] (Web) Output path: unmined2
[02:07:39 INF] (Web) Output image format: Jpeg
[02:07:39 INF] (Web) Tile size: 256
[02:07:39 INF] (Web) Rendering changed tiles only
[02:07:39 INF] (Web)
[02:07:39 INF] (Web) Selected rectangle: r(-58486, -58369, 117021, 116721)
[02:07:39 INF] (Web) Selected region count: 1852
[02:07:39 INF] (Web) Selected zoom range: -6 to 0
[02:07:39 INF] (Web)
[02:07:39 INF] (Web) Generating HTML
[02:07:39 INF] (Web)
[02:07:39 INF] (Web) Rendering zoom level 0
^C
And then it hangs, no errors, no new files (no "tiles" folder at all), just endless CPU use.
Hi, I used 012.16 version and it works well. I upgrade it to 0.14.4 and I have some questions:
-spawn sign is missing
-slicer toolbar is unusable (no up/down buttons, no slider - see image)
-no shadows
Spawn sign and shadows are not important, but slicer kill functionality
Windows 10 Pro +.Net Desktop Runtime 5.0.9
Please help...
Hi, the spawn sign, the slicer toolbar and shadows are available again in 0.14.12.
I had to remove these temporarily when I ported the whole thing from WPF to Avalonia.
Having an issue where unmined is totally unresponsive. Command line, desktop icon don't work. Tried deleting and re-downloading. Nothing seems to work. Don't even have a window that pops up and closes or anything; I click and absolutely nothing happens.
What OS do you have?
Is there any crashlog.txt generated in uNmINeD's folder?
Thanks so much for this excellent app, and for recently adding --night!
0.15.3 is working great for me in the GUI on OSX11.6.
The CLI, however, cannot read my Overworld. It works on the Nether and End on the same save, but change the dimension to 0 and it renders nothing. I have it set on --force to render all tiles (not just changed), so that shouldn't be the issue. What else can I check?
I also found a weird issue in --night mode where some blocks aren't calculating the light level and some are. If you look at this day-to-night side by side of the same area:
All those yellow blocks are glowstone but you can see how in some chunks they don't have a light level at all. They are identified as glowstone in the Unmined GUI. In the top left corner, that structure has the same materials in both chunks but is rendered differently in each.
This is a fantastic and useful app - let me know how I can help you work out kinks and perfect it. Thanks!
Fixed in 0.15.4, thank you for reporting