A downloadable extension

Buy Now$3.95 USD or more

Quick links: docs · interactive demo · GM Marketplace page
Explanation: blog post
Versions:  GameMaker: Studio, GameMaker Studio 2
Platforms: All of them

This extension offers functions for working with INI files that exceed the built-in ones:

  • Allows to open multiple INI files at once (as many as you want).
  • Supports escape characters in keys/values/section names (can write any string).
  • Preserves comments, order, and original formatting of the file.
  • Error-proof: Even if the file is not a valid INI at all, extension will not error.
  • Writes values in most-optimal, readable format. Quotes only if necessary.
  • Allows to load INI from string and save to string (great for HTTP/networking).
  • Allows to flush INI to disk without having to reopen it.
  • Allows to get key names and section names for iterating over them.
  • Supports all target platforms, optimized both for native platforms and JavaScript-based ones.
  • GMS1 / GMS2 / GM2022+ compatible
  • new! Can be used as drop-in instead of built-in functions - just import file_ini_instead_of_ini.gmez, and all built-in INI functions will use file_ini instead.


Updated 15 days ago
StatusReleased
CategoryAssets
Rating
Rated 5.0 out of 5 stars
(2 total ratings)
AuthorYellowAfterlife
Made withGameMaker
TagsGameMaker, ini

Purchase

Buy Now$3.95 USD or more

In order to download this extension you must purchase it at or above the minimum price of $3.95 USD. You will get access to the following files:

file_ini (for GMS2.3 and GM2022+).yymps 17 kB
file_ini instead of ini_ (for GMS2.3 and GM2022+).zip 640 bytes
file_ini (for GMS2.2).yymp 25 kB
file_ini instead of ini_ (for GMS1 and GMS2.2).gmez 1.5 kB
file_ini (for GMS1).gmez 13 kB
file_ini (for old versions of GMS1).zip 10 kB

Development log