Languages & Coding > AppGameKit ( AGK )

A file that cannot be looked into prior to unpacking

(1/1)

Pfaber11:
Hi anybody know of a type of file that cannot be looked into prior to unpacking .?

blinkok:
You can encrypt the files yourself using memblocks.
Here is a tutorial on encryption

Load the encrypted files into memory, decrypt and use the memblock commands to create instances of your assets in memory

CreateImageFromPNGMemblock( uint32_t imageID, uint32_t memID )
CreateMusicFromOGGMemblock( uint32_t musicID, uint32_t memID )
CreateSoundFromOGGMemblock( uint32_t soundID, uint32_t memID )
CreateMemblockFromFile( memID, filename )

I think only in the last couple of version this is possible so make sure you are on the latest

Pfaber11:
Thank you I'll take a look.

Navigation

[0] Message Index

Go to full version