A very simple INI parser written in C++.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Nichole Mattera 5c341008bc 🐛 Fixed bug where this would not link correctly. 6 months ago
example ✨ Added ability to find all options. 6 months ago
include ✨ Added ability to find all options and sections. 6 months ago
source/SimpleIniParser 🐛 Fixed bug where this would not link correctly. 6 months ago
.gitignore Add PKGBUILD script to build pacman package. 1 year ago
LICENSE 📄 Update copyright. 6 months ago
Makefile Added support for global options, and comments within a section. 11 months ago
README.md Fix URL in README.md 11 months ago

README.md

SimpleIniParser

A library for the Nintendo Switch to be able to easily parse, modify, and create INI files. The main reason this library was written was due to the special needs of the hekate ini file. The hekate ini file can have the same key used multiple times within the same section, and its captions surrounded by curly braces. As these are outside the ini standard, other ini parsers would remove the duplicate keys and strip out the captions.

Installation

I recommend adding this as a git submodule to your and then modifying your makefile to look in this directory for libs. For examples on how to do this please look at Kosmos Updater, and ReiNX Spoofer.

Usage

I’ve included multiple examples for editing, creating, and reading ini files. You can find them under the example folder. Remember to add -lSimpleIniParser to LIBS in your makefile.