1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-29 07:27:46 +00:00
Commit graph

20 commits

Author SHA1 Message Date
5c66c51713 Simplify and change Repository API, test it as well
We can simplify some of the repository code since there's now two
separate functions for base/expansion repositories. Added tests to make
sure reading doesn't regress like it did before.
2024-04-15 19:25:31 -04:00
4fa77965c1 Support index2 files
Needed for extracting data from benchmarks, which only ship with this
index file type.
2024-04-14 11:24:18 -04:00
b180adeb44 Improve performance when extracting files by caching open index files
In Hotspot it was revealed that a huge chunk of performance is lost due
to repeated IndexFile::from_existing calls, which may be on the same
index file. Now GameData transparently keeps a cache of these in memory
which speeds up the slowest link here.
2023-10-13 16:58:08 -04:00
4dfd36dbd8 Fix and quiet clippy warnings 2023-09-22 19:17:24 -04:00
2000b978b3 Ensure compliance with REUSE, add to CI 2023-08-06 08:25:04 -04:00
89f780c22a Fix name of base repository
It was misread as "game" when it really should be "ffxiv"
2023-07-06 16:01:32 -04:00
b3debd7839 Stop crashing on first boot, with no expansions installed 2023-05-13 17:30:15 -04:00
5082fee083 Fix some small warnings 2022-10-25 14:00:04 -04:00
6e6aa896a6 Run rustfmt 2022-10-25 13:02:06 -04:00
d17f860f07 Allow naive repairing of version files
Currently, we not handle repairing version files well, so I
sought to seek a solution to the problem. This is one of part of the
puzzle, by implementing a simple "game repair". This is not
IndexedZiPatch support, but simply checking if we can restore version
files if possible, or otherwise wipe the directory.
2022-10-25 11:03:05 -04:00
9819f87fcc Suppress some warnings 2022-09-15 16:26:31 -04:00
d9e79e563a Reformat code 2022-08-16 11:52:07 -04:00
c7184cb36f Fix Clippy warnings and errors 2022-08-16 11:50:18 -04:00
2784935409 Actually extract expansion number 2022-08-09 22:31:48 -04:00
2a723f459f Make RepositoryType copyable 2022-08-09 22:07:17 -04:00
8c3f848918 Make RepositoryType repr(C) 2022-08-09 21:52:07 -04:00
6173ce422f Oops, forgot to fix string_to_category 2022-08-09 19:39:31 -04:00
e1b3c78e0d Fix typo in enum comments 2022-08-09 19:38:53 -04:00
4541a1d033 Expand repository enum variant names, to match with the other ones 2022-08-09 19:38:39 -04:00
389c3fe00b Add initial files 2022-07-19 19:29:41 -04:00