-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Shi Chen edited this page Oct 6, 2021
·
1 revision
Running Ganary on different platforms revealed quirks that are not well documented in the official manual:
- As mentioned in this article, we should use
buffer_save_async(buffer, filename, offset, size)
to save files. Forfilename
, we cannot use non-ASCII characters such as Chinese, Japanese, or Korean characters, or else the game will crash silently. - The
directory_
functions on the File Directories page will silently fail - The
file_find_
functions on the File System page will silently fail - Firing too many HTTP requests in a short window can cause the game to crash and will most likely cause cert issues.
- Requests to an HTTP endpoint that returns redirect status codes such as 301,302,303,307 will usually automatically redirect to the new URL and return 200 instead. However, on Switch specifically, these 300 statuses will be returned as is instead of the 200.
- Requests to an HTTP endpoint that returns 401 status code will cause the
async_load
in the HTTP async event to an emptyresponse_header
value, whereas other platforms will have not. - Similar to the Switch redirect issue but limited only to status code 308, on iOS platform you will get 308 instead of 200 as on all other platforms.