Extension Preview
Extension Screenshot
Installation Instructions1)
Download ENIGMA extension ZIP(there's also a demo EXE available)
2) Extract the zip under:
"[YourEnimgaFolder]\enigma-dev\ENIGMAsystem\SHELL\Universal_System\Extensions\"
3) Make sure the path to the extension's files after extraction looks like this:
"[YourEnimgaFolder]\enigma-dev\ENIGMAsystem\SHELL\Universal_System\Extensions\GetDirectoryXP\[ExtensionFiles]"
4) and NOT like this:
"[YourEnimgaFolder]\enigma-dev\ENIGMAsystem\SHELL\Universal_System\Extensions\GetDirectoryXP\GetDirectoryXP\[ExtensionFiles]"
Function DocumentationThis extension allows you to use the function get_directory_xp(dname), which is basically the same thing as get_directory(dname) in pre-Studio versions of GameMaker (v4.3 to v8.1 to be exact). This function asks for a directory. dname is the default name. If the user presses "Cancel" an empty string "" is returned. Supports UTF-8 encoding, unlike most of ENIGMA, for the moment. ENIGMA's current implementation of get_directory(dname) uses a much newer dialog, which only works on Windows Vista and upwards.
Backwards Compatibility, GameMaker CompatibilityIf you happen to need this function working on Vista and up, but also on XP and older, this extension was made for just that. Another advantage of this function is unlike ENIGMA's get_directory(dname), and get_directory_alt(capt, root), you have a listbox that allows you to see the file contents of the currently selected folder, which is how GameMaker works. The dialog looks and works 99% like GameMaker's get_directory(dname) implementation.
Miscellaneous InformationThis will be added to ENIGMA's portable and on GitHub eventually, I just need to make a few minor adjustments, that will not effect how the extension works, such as adding copyright information in the code comments at the top of the source and header files.