Archived
1
Fork 0
This repository has been archived on 2025-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
libxiv/README.md
Joshua Goins 2610de0f7f Add basic MDL parsing
This can read basic MDL files (no terrain, shadow, edge geometry, etc.)
and export them to OBJ. This will be expanded in future commits to let
you export this to an easily readable vertex/index list.

This code is mostly based off of xivModdingFramework/Lumina, and just
ported to C++. All of it will eventually be refactored as there is
duplicate structs EVERYWHERE.
2022-04-11 20:02:20 -04:00

3.1 KiB

libxiv

sourcehut GitHub
mirror ryne.moe
mirror

A modding framework for FFXIV written in C++. This is used in Novus (my custom modding tool) and Astra (my custom launcher) but can easily be integrated into your own projects.

Note: This is still an experimental and in-development library. Thus, I have not tagged any stable releases. It's recommended just to checkout from main.

Goals

  • Easily integratable into other FFXIV launchers so they can have update/install support without having to write it themselves.
  • Can export Penumbra/Lumina format mods, I have no interest in exporting in TexTools's format.
  • Can export/edit some formats such as models, and metadata/exl files.
  • Can be used on Windows/Linux/macOS and doesn't pull in a huge runtime (C#) or run in Wine.

Features

  • Easily extract game files and view excel sheets by name. See gamedata.h for usage.
  • Install patches (right now it's limited to boot patches). See patch.h for usage.
  • Install FFXIV by emulating the official installer, bypassing Wine and InstallShield. You can see how to use this in installextract.h.
  • Parse some game data:

Dependencies

Note: Some of these dependencies will automatically be downloaded from the Internet if not found on your system.

  • fmt for formatting strings and logs.
  • zlib for extracting data.
  • unshield for extracting cab files from the FFXIV installer. This dependency is automatically skipped on Windows builds because unshield lacks a port for it.