Another of my "serious" topics.
From what I understand of how Cii works, or how it will work, is that when the API is working, you'd go to the shop, the shop has all the games that people have made, and you use your Cii points to download one of them, which you can then play. If you're going to do that, you're probably going to need compression, and maybe additionally either encryption or obfuscation.
For those who don't know, compression is when whatever data is being sent is "shrunk", or is taken and turned into the smallest possible packet that can still be expanded back into the original data. It does this by taking out things that don't need to be sent, and by converting the data to a smaller format. You're probably going to need this when you consider that someone making a game is going to have:
That's a lot of data, especially the resources. If they use lossless formats, it could get realy big. If you want reasonable download times, you have to compress the data that's being sent, You'll probably want to use one of the compression libraries that I'm (relatively?) sure that Gamer Maker has.
On the other hand, encryption is when the data is changed so as to become unreadable to a human, or computer. Encryption usually increases the size of the packets, so you'd want to do it on the files in the Cii folder rather than packets. You don't need one of the powerful encryption systems, so something small but quick is probably what you'll be looking at.
The reason you'd need encryption is very simple. If I wanted to play your games, I could simply examine how the game is done in it's API file, and reverse engineer it. If I can do it once, it'll be a cinch to just steal all the games, or, better yet, change them to give me tons and tons of Cii points.
tldr: Compress your packets and XOR (at least!) your files.
From what I understand of how Cii works, or how it will work, is that when the API is working, you'd go to the shop, the shop has all the games that people have made, and you use your Cii points to download one of them, which you can then play. If you're going to do that, you're probably going to need compression, and maybe additionally either encryption or obfuscation.
For those who don't know, compression is when whatever data is being sent is "shrunk", or is taken and turned into the smallest possible packet that can still be expanded back into the original data. It does this by taking out things that don't need to be sent, and by converting the data to a smaller format. You're probably going to need this when you consider that someone making a game is going to have:
- The actual game file
- Resources (graphics, sound, music, etc)
- Data files (configs, saves, etc)
That's a lot of data, especially the resources. If they use lossless formats, it could get realy big. If you want reasonable download times, you have to compress the data that's being sent, You'll probably want to use one of the compression libraries that I'm (relatively?) sure that Gamer Maker has.
On the other hand, encryption is when the data is changed so as to become unreadable to a human, or computer. Encryption usually increases the size of the packets, so you'd want to do it on the files in the Cii folder rather than packets. You don't need one of the powerful encryption systems, so something small but quick is probably what you'll be looking at.
The reason you'd need encryption is very simple. If I wanted to play your games, I could simply examine how the game is done in it's API file, and reverse engineer it. If I can do it once, it'll be a cinch to just steal all the games, or, better yet, change them to give me tons and tons of Cii points.
tldr: Compress your packets and XOR (at least!) your files.