convert folder (or .zip) to .pyxel file/archive
first of all @Danik thank you very much for creating Pyxel Edit. I really enjoy using it and it helps me a lot for my game development
To my question: Is there a way to convert a .zip archive to a .pyxel file/archive?
I know its possible to convert .pyxel archives to .zip archives by simply changing the file extension but I also need it the other way around. Simple renaming didn't do the job and when I try to create an archive with compressing program called WinRar (on Windows) a change the extension to .pyxel I get the following error when opening on Windows:
And on MacOS:
And on MacOS:
I'm asking because I use Pyxel Edit on my desktop PC and from now and then Pixaki on an iPad. So far, there is no way to transfer a file between both programs, which also contains the information of the layers.
In case of a simple drawing (no tiles or animation) I get from Pyxel Edit for each layer a .png file and a .json that contains all necessary information.
Regarding Pixaki I get a similar setup but with a .plist file instead of an .json file. I found a simple python script:
to convert a .plist to a .json file and vice versa. So my workflow (Pixaki --> Pyxel Edit) is as follows:
- Getting the .pixaki file --> renaming it to .zip
- unpacking the .zip
- convert the invluded .plist file to .json
- pack the folder to a .zip archive
- ??? would like to transfer .zip to .pyxel ???
All the best,