I have 3 files. A JSON file, a PNG file, and a TXT file. Is there any possible way I can put all three inside a common file with a custom extension? (for example "fileName.abc")
I searched the web a little, and found this which is perfect, and exactly what I need:
Which is a zip solution. But I don't want to compress the files and if the extension is not zip, I would be happier.
Question 1: Can we change a file's extension ("file.png" to "file.abc") and read it as if it had the same extension?
Question 2: How can I put multiple files into same file, just like AAA games do?
Question 3: Can I just create a non-compressed zip file and change the extension? And read it using the class in the link?
Question 4: Is there a better way than question 3? Maybe a third party solution or something?
EDIT: I don't want the files to be compressed because the game will be runned on mobile devices too. And the game might be loading files during gameplay. I am just worried that there might be staggers, fps drops while loading files.