Hi!
Im making a visual novel game in Game Maker, which means I need to handle a lot big sprites.
Right now, the sprites are located in certain directory, from which they are loaded in the game.
Like this:
smile_01 = sprite_add(working_directory+"\Resources\Char\Name_1\01_mouth\smile_1.png",etc...);
smile_02 = sprite_add(working_directory+"\Resources\Char\Name_1\01_mouth\smile_2.png",etc...);
If I want to store all the CHARACTER assets (Not counting backgrounds, GUI, etc.) I have right now in GMK file, it´s size reaches terrible 50 MB and I estimate I have done only 30% of all assets.
So storing sprites in GMK file is not a good solution, so I switched to the sprite_add method described above, but the problem here is, anyone can go and look at the files, or even modify them!
Base64 encode then, right? Well, Im using Game Maker 8.0 and im not able to switch to Studio 1.14 or the GM2 abomination.
Im not looking for some ultra AAA game encryption, just something so when your average Joe of a user goes into the game directory to see something his Windows machine won´t open on it´s own right away looses interest and goes back to playing.
What I was thinking about:
Making ZIP archive with folder trees like they are now, but protected with password and every time the game starts, it will unZIP the archive, then load it´s content (Sprites) with sprite_add and each time the user closes the game it will delete the unZIPed files, leaving only game .Exe file, ZIP archive with sprites and savegames.
So, if anyone could point me to some tutorial code that shows how to do this, or has something else that might suit my needs, I´d be very thankful.
Thank you, best regards everyone!
EDIT: Nevermind, I already figured it out.
Im making a visual novel game in Game Maker, which means I need to handle a lot big sprites.
Right now, the sprites are located in certain directory, from which they are loaded in the game.
Like this:
smile_01 = sprite_add(working_directory+"\Resources\Char\Name_1\01_mouth\smile_1.png",etc...);
smile_02 = sprite_add(working_directory+"\Resources\Char\Name_1\01_mouth\smile_2.png",etc...);
If I want to store all the CHARACTER assets (Not counting backgrounds, GUI, etc.) I have right now in GMK file, it´s size reaches terrible 50 MB and I estimate I have done only 30% of all assets.
So storing sprites in GMK file is not a good solution, so I switched to the sprite_add method described above, but the problem here is, anyone can go and look at the files, or even modify them!
Base64 encode then, right? Well, Im using Game Maker 8.0 and im not able to switch to Studio 1.14 or the GM2 abomination.
Im not looking for some ultra AAA game encryption, just something so when your average Joe of a user goes into the game directory to see something his Windows machine won´t open on it´s own right away looses interest and goes back to playing.
What I was thinking about:
Making ZIP archive with folder trees like they are now, but protected with password and every time the game starts, it will unZIP the archive, then load it´s content (Sprites) with sprite_add and each time the user closes the game it will delete the unZIPed files, leaving only game .Exe file, ZIP archive with sprites and savegames.
So, if anyone could point me to some tutorial code that shows how to do this, or has something else that might suit my needs, I´d be very thankful.
Thank you, best regards everyone!
EDIT: Nevermind, I already figured it out.
Last edited: