Archived
1
Fork 0
Commit graph

7 commits

Author SHA1 Message Date
872bef51bb Add exists() method to GameData 2022-04-17 20:00:23 -04:00
c78a1ab245 Big refactoring commit pt. 2
Now instead of hammering your working directory, all operations happen
in-memory using two new classes, MemoryBuffer and MemorySpan. This has
already fixed numerous bugs especially around handling model files.

All operations on files inside dat's now happen on memory buffers, with
an option to write them to a file.

A lot of now useless debug messages are removed too, as that made
some operations needlessly bound by the speed of your console output.
2022-04-17 19:08:34 -04:00
b11767dc02 Big refactoring commit pt. 1
This is the first of many commits to improve code quality, and try to
tame my bad looking code.

Types such as Slot and Race are now living under types/ and have
dedicated functions to go between ids and enumerations without a heavy
std::map.

A new repository API lives in a new SqPack header, which replaces the
old crusty way of fetching repository information in GameData.

Building equipment paths now live in libxiv (moved from novus) provided
you have a model id. Standard methods to build index and dat filenames
are provided in their functions now too.
2022-04-17 16:55:41 -04:00
ce7c99c3de Add method to get index file directly 2022-04-14 08:22:10 -04:00
68ecdca929 Add very experimental skeleton loading
Added functions to extract Havok pak files, and extract some skeleton
data from an externally processed Havok XML file. This still requires
you to use the proprietary Havok SDK though, but I'll think of a
solution in the future.
2022-04-12 23:27:21 -04:00
7006cc4662 Add exl parser, make exd category configurable
Now you can easily parse EXL files, and this commit includes changes
to GameData to easily extract a EXH from just an excel sheet name
like "Item" or "Map". However this still doesn't work for language
seperated excel sheets yet.
2022-04-11 10:18:29 -04:00
610c515256 Add initial files 2022-03-15 15:33:57 -04:00