Windows Getting file names in folder

zendraw

Member
Is it possible with game maker to get a file name from a folder?
like when you make a map in some strategy game and save it and then you can reopen it from the editor.
 
I would only know so for Windows platforms. As far as I can tell there's now way to make that work on other platforms:
get_open_ and get_save functions open the windows file-picker-dialogue and return the path-string you can then use for loading and saving.
To save outside the working directory you'll need a dll in your included files. Either write one or get one from the marketplace. I did use the "File Copy In And Out":
https://marketplace.yoyogames.com/assets/494/file-copy-in-and-out

But I guess there are others.
 
Top