GameMaker (2.3)
Icon

Improved INI functions

YellowAfterlife

You must be logged in to obtain assets

Description

Quick links: docs · interactive demo · itch.io page (a tad cheaper)
Explanation: blog post
Versions: GameMaker: Studio, GameMaker Studio 2
Platforms: All of them

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

  • GMS1 & GMS2 compatible!
  • 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 work with encrypted INI files (akin to ds_map_secure_* functions).
  • 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.
  • 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.

Check out the blog post for a detailed breakdown!

If you'd like to test it yourself, an interactive web demo is available: https://yal.cc/r/17/file_ini/

If you are having trouble buying via Marketplace, you can also get the extension via itch.io.

End User Licence Agreement (EULA).

Age Rating: 4+

Versions

GMS1 - Version 1.0.4. Published July 30, 2019

GMS2 - Version 1.0.9. Published February 14, 2021

https://yellowafterlife.itch.io/file-ini-extended-ini-functions/devlog/222336/109-buffer-leak-mini-fix

GMS2.3 - Version 1.0.9. Published February 14, 2021

https://yellowafterlife.itch.io/file-ini-extended-ini-functions/devlog/222336/109-buffer-leak-mini-fix

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait