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).
The extension also has full support for foreign characters in paths and files, and offers tools to convert between codepages if needed.
A demo is available at itch.io: https://yellowafterlife.itch.io/gamemaker-nsfs
A list of supported functions and documentations is available at http://yal.cc/r/17/nsfs/
While certain functions cannot be implemented for technical reasons, the issue can be bypassed by simply using file_copy_ns\file_move_ns to copy files in/out of sandbox for those operations.
Currently Windows-only. Given demand, Mac and Linux will be supported in future.
Version 1.0.1. Published May 6, 2017
Created with GameMaker: Studio v7.7.1438
You can only review assets you've bought.
Edited Review: I had some complaints that were remedied almost immediately by the developer. As such I am changing my review.
I was whipping up a quick file parser and needed to be able to write a group of files outside of the sandbox. I have not extensively tested every function, but what I have used has worked effortlessly and very well.
As the system practically mirrors GameMaker's functions it is very easy to just pick up and use. This is a very well made extension and I highly recommend it. Easily worth the price tag.
* None of the demo scripts are required for the extension to function. There was a single reference to "trace" in a diagnostic call on extension startup (while I was figuring out why it did not work for users), but that is now removed. Demo assets are now prefixed accordingly just to be *really* sure.
* Initial release had the extension packed as an included file due to a bug in uploading process that was resulting in half of the extension files not being unpacked correctly. The new release is packaged in a normal way.
* Documentation is now available at http://yal.cc/r/17/nsfs . I'm not sure which arguments you had trouble with (most functions are exact replicas of built-in ones and/or featured in the demo), but that should help.
Thanks for feedback.
99% of my projects use this asset.
If you work with a file system, then it is vital for you.
This review was left for a previous version of this asset.
Total size 62.5 KB