Author | Message | Time |
---|---|---|
aton | hi! does anyone know in what file/registry key the cdkey is saved and how to read it? | December 9, 2008, 7:09 PM |
BreW | hi aton! the cdkey isn't stored in the registry, but instead in an encrypted file in stardat.mpq. | December 9, 2008, 8:11 PM |
Barabajagal | The CDKey is encrypted into various files in the Font folder of StarDat.mpq. I haven't bothered to find out much more than that. | December 9, 2008, 9:12 PM |
BreW | Do I hear an echo, or is that me? =/ | December 9, 2008, 9:22 PM |
aton | couldnt i use a starcraft function? starcraft needs to read the cdkey before loggin into bnet, right? | December 9, 2008, 9:33 PM |
BreW | On initalization of the SNP, the cdkey is read then decrypted, and passed to the battle.snp startup function in a struct as the first parameter. If you want to retrieve the CDKey, this is pretty straightfoward. Writing the cdkey however.. not so much. | December 9, 2008, 10:42 PM |