• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Shared highscore data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Shared highscore data


  • Subject: Shared highscore data
  • From: David Remahl <email@hidden>
  • Date: Fri, 17 Jan 2003 05:51:08 +0100

Hi.

I am in the process of porting a simple game from Linux to Mac OS X. I have ran into a slight problem related to highscores...I would like highscores to be shared among all users of the machine. Therefore, I want to save the data in a common folder.

However, there are no folders that are world-writable in the default install...Gnome, for example, has a special directory where all have write access where the highscore data is stored. How would I attack this problem on Mac OS X?

One solution that I see, is to require admin authentication (or that the user is running as an admin already) the first time the highscore file is created. I could then create a world-writable file in the /Library/Application Support directory for my game...Is that the recommended approach?

/ Rgds, David Remahl
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Shared highscore data
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Know when file opens of other app
  • Next by Date: scrollRowToVisible and NSTableView
  • Previous by thread: Know when file opens of other app
  • Next by thread: Re: Shared highscore data
  • Index(es):
    • Date
    • Thread