ZFile is an extension for Game Maker: Studio that allows you to work with files without being limited to Game Maker's sandboxed filesystem.
ZFile comes with functions for:
* Manipulating files/directories. * Working with text files, ini files, and binary files. * File searching. * Setting and getting file/directory attributes. * Setting and getting the working directory.
Most functions work the exact same and are named the exact same as the built-in functions, but are prefixed with "zf_".
Note: ZFile has not been tested with Game Maker: Studio 2 and it's not guaranteed that it will work. If someone could test it for me then that would be greatly appreciated!
Version 1.0.1. Published July 29, 2017
Created with GameMaker: Studio v1.4.1763
You can only review assets you've bought.
Ini functions don't work properly... (GMS2)
Ini functions won't read in "real" numbers, and won't work when the regular GM functions will. Reading strings seems inconsistent, for reference I am using this function during a draw event call. Doesn't support typical windows file path arguments such as %APPDATA% or %USERPROFILE%.
You have to create the directory manually before using "zf_file_copy"
It doesn't create the directory automatically
If you run "zf_file_copy" very frequently, the game will stop
I debugged by VS and It seems like access problem.
But still INI fucntions are good.
I rather use other library like 'File Management - No Sandbox'
when just want to move files from sandbox to outside
Thank you for the review.
I'll have a look at these issues and see what I can do.