Skip to content

Latest commit

 

History

History

PangLib.IFF

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

PangLib.IFF

Nuget Nuget Issues

Library to handle and parse data from Pangya metadata and item (.iff) files.

Installation

You can download this package on NuGet using the .NET CLI

dotnet add package PangLib.IFF

Usage

using System.IO;
using PangLib.IFF;
using PangLib.IFF.DataModels;

// Create new instance
IFFFile<Caddie> IFF = new IFFFile<Caddie>();

// If you create an empty instance, don't forget to set both Version and Binding properties which are
// required for the IFF files to be interpreted by the game properly!
 
// or load file into a new instance
IFFFile<Caddie> IFF = new IFFFile<Caddie>(File.Open("./Caddie.iff", FileMode.Open));

// You can now access the IFF file entries on IFF.Entries
// IFF.Entries is a List<T> of the type you pass to the IFFFile instance
// here you can add, remove, manipulate entries

// Save IFFFile instance back to file
IFF.Save("./Caddie2.iff");