Missing files make program unable to render
I cloned and compiled this repository some days ago and when I tried to do a test render, none of my views were able to render due to missing files in the src/data/blocks folder and after looking into the repository, turns out every file except one was were deleted in the last commit. I guess this wasn't intentional since that commit seemed more related to the docker container for this program.
This should be an easy fix and I would open a pull request myself but I'm not proficient enough on Git.
Hello
Indeed, I removed those files from the repository as they are bloating the repository with all the version, and the size of these files. Mapcrafter is a project that has a small footprint, except for the png files that are several MB per file per version. It's not that Github can't handle it, but that's not meant to be used for big binary files. There's a large file management available for this matter, but I honestly didn't look how to make it work. Shame on me.
Instead I store blocks using a container that contains the png files, and import them over during build time of the final container. I'm updating the block container regularly with rendering fixes and with latest blocks of Minecraft vanilla.
https://hub.docker.com/r/miclav/mapcrafter-blocks/tags
If you prefer not to use containers, you can extract the files from this container, with a method like that one:
id=$(docker create miclav/mapcrafter-blocks:latest -)
docker cp $id:/blocks - > blocks.tar
docker rm -v $id
You'll have all blocks in the blocks.tar file
Not much I can't say about your approach, not what i would have done but you do you. Only thing I would ask then is to clarify this somewhere and tell what options users have to deal with this, maybe it's already on your wiki but docs.mapcrafter.com has been down for at least a month since the first time I tried to look at the program. Anyway, thanks for your answer and help.
Sorry, hit wrong button on my phone and closed the issue.