A downloadable extension for Windows

Buy Now$3.99 USD or more

This extension offers a number of implementations for built-in functions (suffixed with "_ns") that allow GameMaker games to work with files outside of the "sandbox" directory.

The extension allows application to work with files anywhere where it could by usual rules (which is basically anything not in disc' root or other UAC-protected locations). Paths with non-English characters are supported too.

Included functions are:

  • File manipulation functions:
    • file_exists_ns(path)
    • file_copy_ns(from, to)
    • file_rename_ns(from, to)
    • file_move_ns(from, to)
    • file_delete_ns(path)
  • Directory manipulation functions:
    • directory_exists_ns(path)
    • directory_copy_ns(from, to)
    • directory_rename_ns(from, to)
    • directory_move_ns(from, to)
    • directory_delete_ns(path)
  • Directory search functions:
    • file_find_first_ns(filter):
    • file_find_next_ns():
    • file_find_close_ns()
  • File/directory attribute manipulation:
    • file_get_attributes_ns(path):
    • file_set_attributes_ns(path, flags)
  • Text file functions:
    • file_text_open_read_ns(path, encoding)
    • file_text_open_write_ns(path, encoding)
    • file_text_read_line_ns(file):
    • file_text_write_line_ns(file, string)
    • file_text_eof_ns(file):
    • file_text_close_ns(file)
  • Buffer functions:
    • buffer_load_ns(path):
    • buffer_save_ns(buffer, path)
    • buffer_save_ext_ns(buffer, path, offset, size)
  • String functions:
    • string_codepage(string, cp_from, cp_to):
      Converts a string from one codepage/encoding to other.

Other features include:

  • Full support for paths with non-Latin characters.
  • Can work with files and strings in any encoding.

While some functions are yet to be implemented, this can be bypassed by copying the given file/directory into the sandboxed directory and working with it via standard functions there.

Currently Windows-only. Given demand, Mac and Linux will be supported in future.

For a smaller-scale free alternative, check out my Windows-specific functions extension.

The extension can also be bought via GameMaker: Marketplace.

More information

Published31 days ago
StatusReleased
CategoryAssets
AuthorYellowAfterlife
Tagsextension, GameMaker

Purchase

Buy Now$3.99 USD or more

In order to download this extension you must purchase it at or above the minimum price of $3.99 USD. You will get access to the following files:

nsfs.gmez 37 kB
nsfs-demo.gmz 62 kB

Download demo

Download
nsfs-demo.zip (2 MB)

Community