-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to check file existence? #54
Comments
With regular |
Good thought. Although I am really hoping that we could just use a blocking operation instead of having to tread through an Async query. To us, the ideal model would be that after using the GML 'xboxone_set_storage', the game can download all data in a blocking way. Then all the data can be checked synchronously with 'file_exists()' |
Then you'd probably want to draw some static image with "LOADING..." on it, wait for a screen refresh and then download it synchronously, just so the QA won't notice anything suspicious. I'd do it the async way still though. |
In ObjLoad
GDKExtension/GDK_Project_GMS2/objects/objLoad/Create_0.gml
Line 39 in 3c9e1c3
file_exists(_filename)
, it returns false. In Series X|S module export, this is not the case. So when we are using GDKExntension, how can we query whether a file already exists in the cloud storage?I also observed that files created with
file_text_open_write()
can be checked byfile_exists()
, but the file is not atAppData\Local\{game-name}
. If I want to inspect the file, isGamesaveutil
the solution?The text was updated successfully, but these errors were encountered: