GrassGames

Games for Macs, PCs and iPhones.
It is currently Aug 28, 2015

All times are UTC - 3 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Accessing log files
PostPosted: Jul 08, 2011 
Offline
Site Admin
User avatar

Joined: Jan 17, 2009
Posts: 698
Here's the location of the Log files for games. You may need to access these if you encounter problems.

Log files are also available from the "About" screen in some games.

An alternative way of viewing game logs on Macs is explained in the second post.

Mac OS X 10.7 (Lion):

  • Go to Finder
  • From the main menu select "Go"
  • Hold down the option key first, then select "Library" from the "Go" menu
  • Go to the following folders:
    Application Support, GrassGames, <game name>
  • If you don't find the game there then try these folders instead:
    Preferences, GrassGames, <game name>


Mac OS X 10.6 an earlier:

  • Go to Finder
  • Select "File" then "New Finder Window"
  • Go to the following folders:
    Users, <your user name>, Library, Application Support, GrassGames, <game name>
  • If you don't find the game there then try these folders instead:
    Users, <your user name>, Library, Preferences, GrassGames, <game name>


Windows:

  • Double click the "My Computer" icon on your desktop
  • Press the "Alt" key to show the menu
  • Select "Folder Options" from the "Tools Menu"
  • Select "View" then "Advanced Settings"
  • Check the "Show Hidden Files and Folders" option.
  • Close the settings window
  • Go to the following directories:
    Windows XP:
    Local Disk C, Documents and Settings, <your user name>, Application Data, GrassGames, <game name>
    Windows Vista & 7:
    Local Disk C, Users, <your user name>, AppData, Roaming, GrassGames, <game name>
  • When you are finished with the log file, you can hide hidden files and folders again by repeating the first 5 steps.


Double click the log file you find to open it in a text editor. To send the contents in an e-mail, from the text editor's menu, select "Edit" ->"Select All", then "Edit" -> "Copy". Then, when writing your email message, click the right mouse button and select "Paste".

_________________
Aidan
GrassGames.com


Top
 Profile  
 
 Post subject: Re: Accessing log files
PostPosted: Jul 28, 2015 
Offline
Site Admin
User avatar

Joined: Jan 17, 2009
Posts: 698
Viewing logs using the Terminal app on Mac OS X

  • Open the Terminal app from the Utilities folder inside your Applications folder
  • In Terminal type in the letters c and then d and then a Space
  • Find the game in a finder window (usually on your Desktop or in your Downloads folder)
  • Drag the game itself into the terminal window (note: dragging from the Dock will NOT work - you must drag it from either your Desktop or from withing a Finder window)
  • The terminal should now display something like "cd /Users/.../Desktop/Hearts.app" or something similiar
  • Press Enter in the Terminal
  • Type in the following into Terminal: cd Contents
  • Press Enter in Terminal
  • Type in the following into Terminal: cd MacOS
  • Press Enter in Terminal
  • Type in the following into Terminal: ./
    (a dot followed by a backslash - do not add any space)
  • Press Tab then press Enter in Terminal
  • The game should now start and logs from the game will be displayed in the Terminal window.
  • Select the log texts with your mouse and then select "Edit" and "Copy" from the Terminal app menu to copy the logs.

Here's an example of what you might see in the Terminal window:
Code:
$ cd /Users/aidan/Desktop/Hearts.app
$ cd Contents
$ cd MacOS
$ ./Hearts
0.0 | ------------------------------------------------------
0.0 | Program:  GrassGames' Hearts
0.0 | Arch:     Mac OSX 0x1095 Intel
...

_________________
Aidan
GrassGames.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 3 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group