Brendan-Kirtlan / Minecraft-file-encoder

Plugin to encode files into a minecraft map
91 stars 6 forks source link

File Storage can be a lot more efficient with Signs #4

Open BondarenkoArtur opened 3 months ago

BondarenkoArtur commented 3 months ago

Just found your video today and I have a better solution for saving information inside of minecraft by using signs. Recently I created a PR for another project where binary data converted to a string of very narrow characters and written into signs, and this method allows to store ~270 bytes per side of sign, so it's a lot more efficient comparing to method you are shoving. https://github.com/Nettakrim/Signed-Paintings/pull/25 (First commit mainly)

Even more, without that change just by converting bytes to Base64 and storing in plaintext in sign will improve compression. This could be nice part 2 video for your channel. Feel free to reach me if you have any questions.

Brendan-Kirtlan commented 3 months ago

This is really cool! The reason I chose to store bytes as blocks was simply because I thought it would look cooler than just signs or shulkers full of written books. To be honest the first part of this project I thought up was the thumbnail haha. I just envisioned this huge wall of random blocks with text under it that said this is a file which is what I ended up going with. I'd be super interested in the potential limits of data storage in Minecraft, although it's probably not something I'll pursue.

If you do keep up with this project and try to push the limits, please email me about it in the future, I'd be super interested in keeping up with it and maybe shout it out in an end segment of one of my future videos. Keep it up!

On Mon, Jun 10, 2024 at 7:59 AM Artur Bondarenko @.***> wrote:

Just found your video today and I have a better solution for saving information inside of minecraft by using signs. Recently I created a PR for another project where binary data converted to a string of very narrow characters and written into signs, and this method allows to store ~270 bytes per sign, so it's a lot more efficient comparing to method you are shoving. Nettakrim/Signed-Paintings#25 https://github.com/Nettakrim/Signed-Paintings/pull/25 (First commit mainly)

Even more, without that change just by converting bytes to Base64 and storing in plaintext in sign will improve compression. This could be nice part 2 video for your channel. Feel free to reach me if you have any questions.

— Reply to this email directly, view it on GitHub https://github.com/Brendan-Kirtlan/Minecraft-file-encoder/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQHYM3F452NOHNZBDEW7Y7LZGW5N7AVCNFSM6AAAAABJCPXV4OVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DIMJUGU2TQNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>