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 c28ea183a6 🎉 Updated copyright, removed unnecessary Switch code, and updated makefiles. 3 months ago
example 🎉 Updated copyright, removed unnecessary Switch code, and updated makefiles. 3 months ago
include 🎉 Updated copyright, removed unnecessary Switch code, and updated makefiles. 3 months ago
source/SimpleIniParser 🎉 Updated copyright, removed unnecessary Switch code, and updated makefiles. 3 months ago
.gitignore 🎉 Updated copyright, removed unnecessary Switch code, and updated makefiles. 3 months ago
LICENSE 🎉 Updated copyright, removed unnecessary Switch code, and updated makefiles. 3 months ago
Makefile 🎉 Updated copyright, removed unnecessary Switch code, and updated makefiles. 3 months ago
README.md 🎉 Updated copyright, removed unnecessary Switch code, and updated makefiles. 3 months ago

README.md

Simple INI Parser

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.