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).
Included functions are:
File manipulation functions:
Directory manipulation functions:
Directory search functions:
File/directory attribute manipulation:
Text file functions:
Other features include:
A demo is available at itch.io: https://yellowafterlife.itch.io/gamemaker-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.0. Published March 7, 2017
Created with GameMaker: Studio v7.7.1405
You can only review assets you've bought.
Works well, sloppy organization
I haven't exhaustively tested every function, but I was whipping up a quick demo project that needed proper file writing and this performed excellently.
The organization is horrible, however. Importing it provides you with several dummy / demo resources along with a few single-word scripts that are essential. Not only is there no indication that these are necessary (which I figured they were demo scripts at first) but they could easily conflict with prior-existing scripts in your project.
One of the essential resources is an included .gmez file which actually contains all of the file-writing scripts. It requires you open the resource location and manually import this as well to actually use the extension. Why do this?
Once it is finally all added, there is no documentation (aside from hint descriptions), but this is minor as the functions are mostly straight-forward (though not all the arguments).
Minus the stars for the bad organization. Functionality is fine.
99% of my projects use this asset.
If you work with a file system, then it is vital for you.
Total size 57 KB