Xam Posted November 30, 2015 Author Share Posted November 30, 2015 So i played nin online , really good game :DSince i am very curious i took alot at the nin online files ,all the data file had a extension of .ninhow can i go about doing that with my gamewould love the help Link to comment Share on other sites More sharing options...
Exception Posted December 1, 2015 Share Posted December 1, 2015 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. Link to comment Share on other sites More sharing options...
Marsh Posted December 1, 2015 Share Posted December 1, 2015 If you just want a new file format just search for .dat and replace it with .nin.If you actually want it encrypted the easiest way is prob compressing it with zlib and a pass. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now