-
Notifications
You must be signed in to change notification settings - Fork 4
How to use from console? #13
Comments
Not currently, but it would be trivial to implement, I guess. |
Done in 876e8c3 (v0.9.1) - Use |
May I suggest we adopt the standard Unix convention of using -o < filename >? |
Excellent idea; the last fix was more of a monkey patch. And it should also support the synonym |
Totally awesome. Can't get it working, though. I do: And get: Sorry, haven't looked through the code yet, just wanted to exemplify a use case for you guys. |
You need to specify the top level directory of the save, in other words one of those usually called "WorldN", where N is a number. If your directory structure is different, just remember that |
Thanks, l0b0. I just realised that I don't need to provide a path for the output file. Next problem is that I get the same error with or without the
Seems that |
I can confirm that matplotlib still flashes a screen when using -s. |
Just checking in: is this fixed, meant to be fixed or postponed? I'm new to Github, but it seems the issue is closed, and I still can't figure out how to use this feature. Thanks folks! |
It is possible to generate PNG, but somehow, a display is still required. |
So could you please reopen this feature request? I really think this would be a valid enhancement to mian. |
I don't really have much time to work on this, but it should definitely be open. |
Cool, glad we agree :-) |
@achton, try my branch save-image, as far as I tested it works perfect without a X server running: https://github.com/Fenixin/mian/tree/save-image The problem was that you have to choose the backend before run Should I request a pull? It's a bit dirty at the moment... maybe is better to import pyplot when the options are parsed. |
@Fenixin: I could not get your build to work. I had trouble with commandline options and NBT. However, I applied your changes to l0b0's branch manually, and it works perfectly! I get a nice .png to current directory without a hitch. I don't understand Python, so I can't really tell you what to do about it, but let me know if I can help in any other way. Cheers, |
That's strange, that branch is just (or it should be) l0b0's master branch with that change... What was the problem with nbt? What was the error message? Anyway, glad it worked! |
What I got when cloning your branch, was version 0.8.7.
|
Ahh... I see the problem now. You are using the master branch of my fork (completely outdated). The branch is called "save-image", if you cloned my entire repo then you can switch the branch doing:
|
Ah cr*p .. I was completely not paying attention there :) Thanks for correcting my Git-fail :) Anyway .. it definitely works, so how can I help wrap this up as an actual feature so l0b0 can release it? |
I'll request a pull to add this, that's the only thing we can do (I think). |
This should be fixed a long time ago! |
It seems mian wants to create a screen for me on my console-only rootserver, where I run a MC server from. I'd like it to analyse the world-directory and output a .png.
Is that possible?
Cheers,
Achton
The text was updated successfully, but these errors were encountered: