Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

unable to save files to same folder as program

A topic by Memblers created Jul 18, 2022 Views: 241 Replies: 4
Viewing posts 1 to 5

Hi, the program looks good, but immediately I noticed I'm not able to save any files.  There is no error message, the last save timer resets, etc., everything appears normal.  The date\time stamp for the \bins folder changes, but there are no new files there.  Interestingly, it does work if I save/export to a different folder.  I'm using it in Windows 10 Pro.

These two folders specifically, for me won't work.  I have no idea what's going on.  Running as administrator makes no difference.

D:\proj\artwork\NES\NAW\bins\

D:\proj\artwork\NES\NAW\


If I save to \artwork\NES\ it's fine, or other drive letters, all fine.

Developer (2 edits)

That's interesting. It never occurred me to try saving to the program's folder. Your saved files probably ended up in the windows users folders. Could be something like:

C:\Users\Windows 10\AppData\Local\NESAssetsWorkshop

I'll look into this issue right away and see if it's anything I can deal with. File handling is a bit finicky in GMS2. It treats the program folder and the users folder as two alternatives to the same variable, but maybe I can use a workaround.

You're right, I can confirm every file I saved in the NAW root and bins subfolder all went to the users folder.  For fun I tested what happens if I 'save as' an existing filename, and it overwrites it.

Just started trying it out and, great program so far! But this confused me as well, since the programs folder is the default path for saving i tried to put my first test project there. Saving in any other location works fine, so if working around this issue is difficult, maybe change the default folder for saving in to avoid confusion.

Developer

This is confirmed as a GameMaker bug. I have created a ticket on their support system but now the ball is in their court. About a different save folder, I guess I can try "C:\NAW"