1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-05-07 19:17:45 +00:00
Commit graph

33 commits

Author SHA1 Message Date
07582775cd Add support for reading binary SKLB and PBD
This removes the dependency of the Havok SDK or getting the decompiled
skeleton files from TexTools or some other place. Code courtesy of
FFXIVTools. The other two ways of reading skeletons (SKEL and Packfile)
are removed which gets rid of two dependencies.
2023-10-13 14:55:27 -04:00
74cc82a425 Compile with LTO in release builds 2023-09-24 16:19:08 -04:00
c73f4bc635 Fix default features for dependencies 2023-09-24 15:41:18 -04:00
8a599630d7 Bump version to 0.1.4 2023-09-22 19:41:32 -04:00
4dfd36dbd8 Fix and quiet clippy warnings 2023-09-22 19:17:24 -04:00
bce26e7709 Bump criterion and glam versions 2023-08-02 16:26:38 -04:00
540341cf57 Add logging crate 2023-04-06 14:51:40 -04:00
69c3ca3bf9 Upgrade dependencies, including moving to binrw 0.11 which breaks stuff
The one exception is bitflags, because 2.0 has breaking changes I can't
work around...
2023-03-31 17:30:30 -04:00
6da9057d1e Allow cutting out a large amount of dependencies
Before this change, if you wanted to include physis you had to include
a bunch of dependencies you didn't need. For example, a launcher would
have to pull in texpresso which is completely useless. By default,
the features from before (excluding game_install) are included.

Also this creates a game_install feature for eventual Windows builds,
where unshield is not supported.
2022-10-25 13:53:24 -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
4f85248ee6 Bump glam version 2022-10-25 13:00:10 -04:00
7aa306da99 Replace crc crate with simpler implementation
The package is kept as a dev-dependency to prevent regressions though!
2022-10-25 13:00:10 -04:00
ff4ae2fbcc Bump to 0.1.3 2022-10-25 11:05:07 -04:00
daa7384d89 Fix unshield issues finally, bump to 0.1.2 2022-10-24 15:04:13 -04:00
a508766583 Bump version to 1.1 2022-10-17 19:52:57 -04:00
0edbcfdf34 Revert "Switch from bitfield-struct to modular-bitfield"
This reverts commit 3615adac47.
2022-10-17 19:50:38 -04:00
3615adac47 Switch from bitfield-struct to modular-bitfield 2022-10-17 19:23:45 -04:00
04b06fe0fc Only specify major (and minor if needed) version for dependencies
This is to be more lenient on packages that depend on us. I also updated
the lockfile too!
2022-10-13 16:05:15 -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
102c8901cf Add game patch integration tests
Currently only the first two game patches are checked, eventually want
to check boot patching as well. Hopefully this should weed out the
remaining patching issues I encounter.
2022-10-13 15:46:21 -04:00
21b467d5e9 Update half crate 2022-09-15 16:34:58 -04:00
5fcb5e6adc Update packages, switch to new criterion 0.4.0 2022-09-14 17:20:33 -04:00
62098dccfa Remove categories field 2022-09-13 17:00:30 -04:00
24c3905fd4 Add couple more fields to Cargo.toml 2022-09-13 16:55:50 -04:00
6554dee2f1 Decompress and return rgba data for textures 2022-08-11 15:03:12 -04:00
0210479fd3 Parse texture attribute and formats 2022-08-11 09:23:15 -04:00
214e5495fe Properly set bone parenting Skeleton::from_skel, export bone transforms 2022-08-10 14:52:11 -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
2a1638e6da Explicitly use half 1.0, since that's what criterion uses too
It's not that big of a deal, we just use one small part of the half
library. This is to appease cargo deny of course :-)
2022-08-06 18:22:27 -04:00
1c72bc6da5 Add beginnings of skeleton parsing support
Now we support TexTools skel files, alongside the usual Havok packfiles.
Neither one has complete support (yet) but I'm exploring libraries to
accomplish them.

The dependencies are now commented to describe their usage and future
plans.
2022-08-06 18:15:33 -04:00
aeed62fb4c Implement MDL parsing
The actual vertex output is untested, but the headers parse fine it
seems. A lot of this is ported straight from C++, so more refactoring
is expected.
2022-07-28 14:11:02 -04:00
92be18da39 Move integration tests behind a feature flag in preparation for CI 2022-07-27 20:58:12 -04:00
389c3fe00b Add initial files 2022-07-19 19:29:41 -04:00