1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-05-09 20:07:46 +00:00
Commit graph

21 commits

Author SHA1 Message Date
7a496f7f3c Test writing FIIN files, only use filename
FIIN files only store the filenames of files, not their absolute path.
This adds tests which test regressions in this behavior.
2024-04-15 19:03:02 -04:00
609284ce8f Improve FIIN documentation 2023-12-02 20:28:28 -05:00
7a75c170cc Make a semantic difference between owned and non-owned byte data 2023-10-13 16:16:04 -04:00
4dfd36dbd8 Fix and quiet clippy warnings 2023-09-22 19:17:24 -04:00
9b1927f700 Add support for writing fiin files 2023-09-22 17:44:31 -04:00
2000b978b3 Ensure compliance with REUSE, add to CI 2023-08-06 08:25:04 -04:00
425f755850 Fix clippy warnings about unnecessary deref, useless casts 2023-02-20 16:07:48 -05:00
dfda25111a Minor formatting and linter fixes 2022-12-17 08:23:19 -05: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
827e971035 Vendor in sha1_smol
Removes another crate dependency, and it's only used in one place in the
 code. Will eventually pick up the TODO and cut more bits off when
 I get around to it.
2022-10-25 13:00:10 -04:00
67d2f035c3 Reformat code with rustfmt 2022-10-20 11:45:55 -04:00
ab10cf4975 Add file info testing, fix parsing bug 2022-10-20 11:44:54 -04:00
177523831b Switch a lot more parsers from binread -> binrw
This doesn't necessarily mean that these formats support writing (yet)
but just to solve the initial compilation errors.
2022-10-13 17:11:03 -04:00
e86d910594 Update binrw to 0.10.0
This introduces a new breaking change, namely that all endianness must
be known. I've done the best I can, but I'll be checking soon.
2022-10-13 16:03:46 -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
6f9b5c59d7 Fix misc warnings 2022-08-09 23:39:15 -04:00
753091f86f Document the two FileInfo functions 2022-08-06 21:21:55 -04:00
3bd6fbf9c3 Enable support for writing the file info format
This is the first step in enabling write support for a format! I wanted
to see how binwrite works with one of the game's simplest formats.
2022-08-06 21:16:09 -04:00
5b7cf1d6a3 Add support for reading the file info format
I revisited this format, and discovered a lot of stuff I did wrong the
first time around when writing libxiv. Now that's fixed!
2022-08-06 20:38:15 -04:00