Jump to content


Photo

Where Does The Inbuilt High Score Save Itself?


  • Please log in to reply
10 replies to this topic

#1 holystorm

holystorm

    GMC Member

  • GMC Member
  • 475 posts

Posted 13 August 2009 - 01:46 PM

If it doesn't save itself in a .sav, it must save in the actual exe of the game itself right? If so, can it ONLY be cleared by using the inbuilt clear high score function? Thanks :GM060:
  • 0

#2 TerraFriedSheep

TerraFriedSheep

    GMC Member

  • GMC Member
  • 3185 posts
  • Version:GM:Studio

Posted 13 August 2009 - 01:49 PM

Yes I assume its stored in the exe as I can't find a highscore save file anywhere else. It would appear reading GM Help that you can only clear it with the gm built in functions.
  • 0

#3 2DLuis

2DLuis

    Graphic Designer

  • GMC Member
  • 2526 posts
  • Version:GM8

Posted 13 August 2009 - 01:50 PM

No it writes to the computer registery
So when you tell GM to clear it, in essence, it is clearing the registery entry, it is to avoid anwanted alterations, because most people do not like editing registry keys themselves.

Edited by luis148, 13 August 2009 - 01:52 PM.

  • 0

#4 KillerBeastMode

KillerBeastMode

    GMC Member

  • New Member
  • 63 posts

Posted 13 August 2009 - 03:13 PM

Game Maker saves the high scores in the registry in a rather obvious place:

HKEY_CURRENT_USER\Software\Game Maker\Scores

I think they are encrypted, because I can't read them.

Off-topic: Is it even possible for an executable to write to itself? I thought it wasn't.

Edited by KillerBeastMode, 13 August 2009 - 03:14 PM.

  • 0

#5 Holmfry

Holmfry

    GMC Member

  • New Member
  • 9 posts
  • Version:GM:Studio

Posted 24 June 2013 - 04:28 AM

This heartfelt thank you is 4 years in the making :)  This old thread just saved me from going crazy! :D


  • 0

#6 dannyjenn

dannyjenn

    GMC Member

  • GMC Member
  • 2736 posts
  • Version:Mac

Posted 24 June 2013 - 11:23 AM

I think it's different now.  Studio can't write to the registry anymore due to cross-platform issues (Mac / iOS / Android / HTML5 / etc. don't have registries).

 

I'm not sure if the PC export still uses the registry though...


  • 0

#7 Holmfry

Holmfry

    GMC Member

  • New Member
  • 9 posts
  • Version:GM:Studio

Posted 24 June 2013 - 11:44 AM

For the project I'm working on, I'm using my old copy of 8.1 so I'm good.  Thanks once again everyone!  Also thanks for the tip as I move on to Studio, that's a good one to keep my eye on.


Edited by Holmfry, 24 June 2013 - 11:47 AM.

  • 0

#8 TheouAegis

TheouAegis

    GMC Member

  • GMC Member
  • 10230 posts
  • Version:GM8

Posted 24 June 2013 - 05:16 PM

If it's encrypted in the registry, that's an 8.1 thing. It looked pretty legible to me in 8.0. Wow a necro that got compliments.


  • 0

#9 sandy

sandy

    GMC Member

  • GMC Member
  • 805 posts
  • Version:GM:Studio

Posted 24 June 2013 - 06:19 PM

where does studio stores for android,ios


  • 0

#10 fuegerstef

fuegerstef

    GMC Member

  • GMC Member
  • 462 posts

Posted 24 June 2013 - 06:27 PM

Off-topic: Is it even possible for an executable to write to itself? I thought it wasn't.

 

No.


  • 0

#11 2DLuis

2DLuis

    Graphic Designer

  • GMC Member
  • 2526 posts
  • Version:GM8

Posted 15 July 2013 - 11:57 PM

 

Off-topic: Is it even possible for an executable to write to itself? I thought it wasn't.

 

No.

 

 

For security purposes it is not; just think of what could happen if that were possible ;)

 

It is however possible to append data (usually binary) to the end of another executable and use it as a "runner" for the appended data.

This is how GameMaker works (at least I am not sure if Mark is still using this interpreted approach in Studio as I no longer follow GM)


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users