[SDL] hiding high score data ( vaugly off topic )
Brian
brian.ripoff at gmail.com
Mon May 28 08:47:43 PDT 2007
Unfortunately I don't think you will be able to get that to work,
windows marks executable files as read only while a process is using
them. Of course, you could have 2 exes and use one to write the data
onto the other, but that would be as hard as trying to encrypt and
store it in a regular file. Even just compressing a high score text
file would be enough to fend off the average user, especially if you
rename the file to.. I dont know a dll or something =)
On 5/28/07, neil at cloudsprinter.com <neil at cloudsprinter.com> wrote:
> OK.. So now I have my game storing everything in the EXE, images and sounds (
> tho still no joy hiding the icon for the window bar in a header
> SDL_SetWMIcon(blah) only seems to like a .bmp from disk.. ) and now what i am
> wondering is about hiding the highscore somewhere,
>
> i mean its quite pointlessish having everything neatly in one file if i have to
> have an external high score file to read write, so, i'm wondering what the
> viability would be to hide the highscore at the very end of the exe file and to
> read write it from there, by say erm.. not sure.. this is probably a completley
> insane idea as it could probably easilly corrupt the universe ( at least a
> small point of it anyway ) dont know!
>
> input anyone who has a clue about binary executables.. at the moment i'm just in
> windows land.. but if this would work would it work across the OS board.. i
> assume at some point an exe file is told it has ended and i could poke a
> highscore on the end.
>
> thanks!
>
> PS no advice about storing the highscore somewhere else or whatever, just
> contributions to the proposal outlined please..
>
> i assume most people on this list have me blacklisted as noobie spam.. ;))
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
More information about the SDL
mailing list