Just asking where it saves all hi-scores? Can player clear it by himself or change the scores?
Printable View
Just asking where it saves all hi-scores? Can player clear it by himself or change the scores?
1. c:\WINDOWS\cncscore.ini (IIRC)
2. Sure
You can change the name and path of the hi-score ini (settings or per action "set current file").
Peter
Thanks.
But is there _any_ idea how to "cover" the file that player cannot change scores? For example if I make online hi-scores and someone uploads fake-scores?
With online high scores, you're probably better off storing the scores yourself (in a MySQL database, for example) and interacting with it via PHP pages and the MooSock object.
It may be possible to encrypt the high score file, then de-encrypt and re-encrypt it when it is modified, but this seems a bit too much like hard work to me.