Anyone Used AquaticPrime to protect their Mac game
Archives Forums/MacOS X Discussion/Anyone Used AquaticPrime to protect their Mac game
| ||
I'm trying to find out if anyone has found a good way to protect their game on the Mac with a solid secure registration program. On the Indie Gamer Forums, there was metion of this one: http://aquaticmac.com It seems to be pretty good, but it requires some C code to be implemented. Has anyone done this, or know of a better option? Thanks |
| ||
That looks very cool... almost wants someone to wrap it up in a little module to make it easier to integrate with Max. |
| ||
Yeah. Exactly what I was hoping. :) |
| ||
I used it on Su Doku Live with great results. PLS |
| ||
Hi all, Any similar free-open prg for Windows? Thanks in advance. |
| ||
------------------------------------------------------------------------------------ #import <Cocoa/Cocoa.h> #import "AquaticPrime.h" #include <brl.mod/blitz.mod/blitz.h> #include <brl.mod/maxgui.mod/maxgui.h> /*- (NSString*)checkLicense:(NSString*)licensePath */ int checkkey(BBString *licensePath) { // Paste obfuscated public key here NSMutableString *key = [NSMutableString string]; /* APPEND YOUR KEY HERE */ // Instantiate AquaticPrime AquaticPrime *licenseValidator = [AquaticPrime aquaticPrimeWithKey:key]; // Get the dictionary from the license file // If the license is invalid, we get nil back instead of a dictionary NSDictionary *licenseDictionary = [licenseValidator dictionaryForLicenseFile:[NSString stringWithCString:bbStringToCString(licensePath)]]; if (licenseDictionary == nil) { printf("invalid key"); return 1; } else { printf("valid key"); // return [licenseDictionary objectForKey:@"Name"] return 0; } } ------------------------------------------------------------------------------------ ... and then in your bmax program... ------------------------------------------------------------------------------------ SuperStrict ?MacOS Import "libAquaticPrime.a" Import "AquaticPrime.m" Import "openssl/libcrypto.a" Import "openssl/libssl.a" Extern Function checkkey:Int(licensePath:String) End Extern ? ------------------------------------------------------------------------------------ ... you may then just call the checkkey() from bmax... PLS PS: sorry I took so long but I have been rather busy and far away from game coding... just now getting back to it and thinking about coding the next game. |