zly2006 / reden-is-what-we-made

Redstone EDEN: Undo & Redo | Ctrl+Z | Mineacrft Debugger | Redstone Version Control | Any amazing features you can image!
https://redenmc.com
GNU Lesser General Public License v3.0
188 stars 23 forks source link

[New Format]: RVC Archive #87

Open zly2006 opened 8 months ago

zly2006 commented 8 months ago

Please choose if applies:

Describe the solution you'd like

Currently, the RVC system works with git, so it is a folder, different from most other tools (e.g. litematica uses a single litematic file) and you should zip the entire folder to send your machine to others. (if you don't have a git server, this situation, is very common if RVCHub is not finished)

What about adding an archive file format which is a zipped .git directory? so RVC can also use a single file to share.

Describe alternatives you've considered

No response

Anything else?

No response

Please accept these terms

zly2006 commented 8 months ago

I have finished the import logic, but not sure about export:

@Cubik65536

SkyDynamic commented 8 months ago

What items do we export? I want to konw details

zly2006 commented 8 months ago

What items do we export? I want to konw details

@SkyDynamic As the name suggests, an archive format for rvc. rvc is based on git so all rvc data is in the .git folder.

I am implementing this format by simply adding all files in .git to a zip file with the extension ".rvcarchive", but i am still not sure what I should do to optimize its size