In game development pak files are secured by some encryption and one of these are AES key. I want to know that for security purpose is the AES key is stored in the game files itself? I know that computer cannot store the AES key in his mind so it need some clues or files to extract these Ppak files, so where does these AES keys gets stored in a game file itself?
Yes, the encryption key must be somewhere, otherwise the game would be unable to open those archives. But unfortunately there are just too many ways one could store such a key. It could be somewhere in the executable files or in some other file which comes with the game. It might even be possible that the game connects to the Internet when it starts up and downloads the decryption key from the publisher's website. The developers might also try to obfuscate the key in various ways so you won't find it that easily.