Game Development Community

Problem in saving profile in Mac System

by Raja John · in Torque Game Builder · 07/17/2009 (6:30 am) · 1 replies

I have created a Game in TGB for windows, and i have successfully run the Game in Mac system, But the game is not saved, please anyone tell me where we have to save profile file in the Mac system.

#1
07/17/2009 (6:42 am)
All data should be stored in ~/Library/, typically in Application Support (for save files) and Preferences/tld.url.gamename (for basic settings). If the game settings allow multiple player profiles, put them in ~/Library/Application Support/.

You might need to modify things in the C++ source. There was a fix to make the console logs go in a different place than the .app directory, which I think is a good start. Writing to the .app directory or even inside the .app after installation is a big no-no.