GameMaker Studio 2 (2.3)

File Manager

Samuel Venable

You must be logged in to obtain assets


Add me on Discord to get faster support than email: Samuel Venable#5465

The macOS dylib file is not code signed; please code sign it before testing and distributing for macOS.

[Made for GameMaker Studio 2.3.1+]

This extension is for Windows, macOS, and Ubuntu.

Manage files/folders without a sandbox; overrides GameMaker Studio 2's built-in functions.

Each function that does not return a string, will return true on success, and false on failure.

All functions support passing environment variables within string arguments, like: ${TEMP}.

Functions included:

  • real file_copy(string fname, string newname)

  • real file_rename(string oldname, string newname)

  • real file_exists(string fname)

  • real file_delete(string fname)

  • real file_size(string fname)

  • real directory_create(string dname)

  • real directory_copy(string dname, string newname)

  • real directory_rename(string oldname, string newname)

  • real directory_exists(string dname)

  • real directory_destroy(string dname)

  • real directory_size(string dname)

  • string directory_contents(string dname)

  • string directory_contents_ext(string dname, string pattern, real includedirs)

  • string filename_absolute(string fname)

  • string filename_canonical(string fname)

  • string environment_get_variable(string name)

  • real environment_set_variable(string name, string value)

  • string environment_expand_variables(string str) // ${VARIABLE}

  • string get_working_directory()

  • real set_working_directory(string dname)

  • string get_program_directory()

  • string get_temp_directory()

  • string get_program_filename()

  • string get_program_pathname()

The DLL's full source code included.

Very big thanks to Josh Ventura, for writing the widen() and shorten() scripts, enabling UTF-8 support on Windows.

End User Licence Agreement (EULA).

Age Rating: 4+


GMS1 - Version 2.4.0. Published March 2, 2019

Please replace all Scripts and Included Files in your existing projects to apply this update!!!

  • [macOS] [Ubuntu] Fixed a safety issue with the use of the POSIX functions dirname() and basename().

GMS2 - Version 10.20.85. Published July 10, 2020

GMS2.3 - Version 30.1.0. Published September 13, 2021

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait