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.

Newcomers AppGameKit Corner / [SOLVED] where my program, written in the app game kit, saves files.

Author
Message
pavelman
8
Years of Service
User Offline
Joined: 9th Apr 2013
Playing: I hate steam
Posted: 12th Feb 2021 04:13
Hello again. I have already contacted about the fact that I cannot find where my program, written in the app game kit, saves files. So that's it. Again I cannot find this folder. One gets the impression that I am not writing the game, but you. Sorry again. It's not exactly that this folder is C: \ Users \ <USER> \ AppData \ Local \ AGKApps. Because files are not created there. And where are the files saved. I just can't find it. Help me please.
Thank.
programming is a hobby, not a job.

The author of this post has marked a post as an answer.

Go to answer

Virtual Nomad
Moderator
15
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 12th Feb 2021 05:17
This post has been marked by the post author as the answer.
try C:\Users\<USER>\AppData\Local\AGKApps\MyApp\Media

otherwise, you can set the write path. so, something like:

...will write to your project's media folder (assuming admin privileges are not required). see: SetRawWritePath() for more on that.

hope that's what you're looking for.
[My Itch.io Home] [Now Playing]
[AGK Resource Directory] [TGC @ GitHub]
[CODE lang=agk] YOUR CODE HERE [/CODE]
[VIDEO=youtube] VIDEO ID [/VIDEO]
[Google Forum Search]
pavelman
8
Years of Service
User Offline
Joined: 9th Apr 2013
Playing: I hate steam
Posted: 12th Feb 2021 06:43
d/Steam/Steamapps/common/App Game Kit 2/Tier 1/Compiler/iterpreters/
this is what this command GetReadPath() showed me.
But my files are not there.
There is neither HiScore.txt nor savegame.txt.
I don't understand anything at all.

C:\Users\<USER>\AppData\Local\AGKApps\MyApp\Media
A few months earlier it was this folder.
Now my computer is going crazy

When trying to specify the game folder, the media gives an error that the file was not found.
And can't upload files media.
Help me please.
programming is a hobby, not a job.
pavelman
8
Years of Service
User Offline
Joined: 9th Apr 2013
Playing: I hate steam
Posted: 13th Feb 2021 04:54
I will ask differently.
where the command now saves the file
file = OpenToWrite("HiScore.txt" )
i can't find the folder
Thank you so much
programming is a hobby, not a job.
n00bstar
17
Years of Service
User Offline
Joined: 9th Feb 2004
Location: Montreal, Canada.
Posted: 13th Feb 2021 13:03
By default it will be in C:/user/[user]/AppData/Local/AGKApps/[App]/Media

If it's not there, it's because you have set the path to something else in your code.
-----------------------------------------------------------------------------
We all got a chicken duck woman thing waiting for us

Login to post a reply

Server time is: 2021-04-14 09:09:09
Your offset time is: 2021-04-14 09:09:09