So i played nin online , really good game
Since i am very curious i took alot at the nin online files ,
all the data file had a extension of .nin
how can i go about doing that with my game
would love the help
File end Extensions
What do you want?
Want to just make it look cool? Just rename the lot and make sure you call the right file extension in the source code. File extensions are largely useless; files are identified from magic numbers at the start of the file (for example, JPEGs will always start with “ÿØÿà JFIF”/FF D8 FF E0 nn nn 4A 46 49 46 00 01).
Do note that EO checks file extensions in a few places (music selection in the map editor comes to mind), this is in place to stop users from doing stupid things. Make sure to remove or rename that if you do go ahead.
This very obviously will not stop anybody from opening up graphics in their favourite image editor and offers no protection against anybody that can use File Explorer.
Want to stop others from easily using your assets? Do note that it’s impossible to completely stop it. Work out whether it’s worth the effort.
You’d need to encipher your assets and decrypt it in memory during runtime.
How? Afraid I can’t really help you there, I’m blissfully unaware of the options available for VB6. Just google “image encryption/decryption vb6” and see what pops up.
http://www.vbforums.com/showthread.php?404980-Your-Own-Encryption-Algorithm&highlight=Decryption looks eh.