papyruscs icon indicating copy to clipboard operation
papyruscs copied to clipboard

Running multiple papyruscs commands regenerates some images

Open PaulWalkerUK opened this issue 5 years ago • 0 comments

I have a script that runs papyruscs multiple times sequentially (I'm not trying to do anything in parallel), to generate the overworld, underground, aquatic, nether, etc. It works fine and the resulting maps look like what I'd expect. However, I have noticed something which seems a bit odd...

If I run the commands once, with no output folder already existing, it takes a while but everything is generated. If I then run it again, on exactly the same minecraft world, it does run significantly faster (to be expected because it shouldn't have to do very much) - except it does regenerate some image files (I can see based on the "last modified" stamps). I've confirmed using file hashes that the files re-written are identical to the original ones.

As I say, in terms of the end result, it isn't an issue, but I'm trying to optimise my process so I only need to transfer image files to the server that have changed. Because this issue is causing files to be rewritten (even if they are identical), it means more files are being transferred than necessary (and it must be slowing down PapyrusCS in the update runs because it's re-rendering more than it needs)

PaulWalkerUK avatar Jul 31 '20 21:07 PaulWalkerUK