Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / where are files created in agk saved on mac?

Author
Message
Timshark
17
Years of Service
User Offline
Joined: 30th Jun 2007
Location: Oslo, Norway
Posted: 27th Nov 2014 22:06
Hi

If you save, lets say an image in your program with saveimage, where is the file saved? I can´t find any of the files my program saves with finder...

I never want what I know.
Timshark
17
Years of Service
User Offline
Joined: 30th Jun 2007
Location: Oslo, Norway
Posted: 28th Nov 2014 09:44
I just found out that the files saved and created with writeToFile(), SaveImage() etc. are saved in the Media folder of the AppGameKit player folder on Mac:

/Users/MyUsername/Library/Application\ Support/AGK\ Player/media/

This is a very awkward place to save app-centric files. The folder isn´t even searchable with spotlight as default since the agk player is inside a hidden system folder. I think this has to be changed.

Anyone know how to make agk save files to the apps own media folder on mac? I need it while this is fixed.

I have added this to the alpha 9 feedback thread...

I never want what I know.
unlikely
12
Years of Service
User Offline
Joined: 5th Mar 2012
Location: Ohio, USA
Posted: 28th Nov 2014 19:29
Hmm, that is strange. I can't get any of the SetFolder() or SetRawWritePath() commands to work on Mac.
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 1st Dec 2014 17:07
Apple has been moving towards a sandbox model on Mac, similar to mobile devices. As such we can only store files in the Application Support folder and apps can't read or write anywhere else unless the app has a sandbox exception setup. If you're not distributing through the Mac app store you should be able to use SetRawWritePath for now, but I wouldn't recommend it as it sounds like Apple will tighten things even further in future.

Login to post a reply

Server time is: 2024-11-25 11:39:41
Your offset time is: 2024-11-25 11:39:41