1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-24 13:37:44 +00:00
Commit graph

388 commits

Author SHA1 Message Date
e588a9bbc9 Add TMB and SKP modules 2024-04-29 20:26:13 -04:00
8a1430378e Add IWC module 2024-04-29 20:19:04 -04:00
5924da0991 Add HWC module 2024-04-29 20:14:19 -04:00
6dec9ba5a5 Add SCD module 2024-04-29 20:11:32 -04:00
511be2532c Add SGB module 2024-04-29 20:08:14 -04:00
bb2effcd70 Add ULD module 2024-04-29 20:06:34 -04:00
f818cf5376 Add a simple extractor example 2024-04-29 19:09:58 -04:00
349a194060 Remove possible panic when checking if a file exists
Probably a leftover from me
2024-04-29 19:09:51 -04:00
89d026bf63 Remove usage of crc crate as a main dependency
This was temporarily used for shader key hashing, but now an original
implementation using zlib's crc32 function from crcracker
(https://github.com/NotNite/crcracker/) is used instead. Tests are added
and existing ones are used to ensure it's the same.
2024-04-29 18:57:15 -04:00
cd2fee1305 Note about PhysisSharp 2024-04-28 11:12:09 -04:00
730d97e5f9 Remove .build.yml
Not needed anymore
2024-04-28 08:12:20 -04:00
d5d1980b43 Remove old builds.sr.ht badge 2024-04-28 07:59:55 -04:00
21f2693e84 Don't try to re-install Cargo dependencies on cache hit 2024-04-28 07:54:39 -04:00
ccf28b3f4c Hash the Cargo.toml instead of the Cargo.lock for cache
We don't commit a .lock file because Physis is a library, so the .toml
is the next best thing.
2024-04-28 07:44:16 -04:00
addf74a5ce OK, maybe not "all features" 2024-04-28 07:42:00 -04:00
42bcc8db6f Add libunshield to the CI, make sure to enable all features when building 2024-04-28 07:40:11 -04:00
1362e72707 Run clippy, deny-check and semver-checks on the CI 2024-04-28 07:30:43 -04:00
b34764f2cb Remove job dependencies 2024-04-28 07:26:37 -04:00
2f48964b99 Nevermind, you can't do something like that with Actiobs
We must use a separate checkout for each parallel step
2024-04-28 07:24:28 -04:00
17815b3441 Separate out jobs in workflow 2024-04-28 07:19:58 -04:00
6f5831e60d Swap BGRA to RGBA 2024-04-27 21:16:01 -04:00
fdfbfc2c6d Allow for multi-value float material constants 2024-04-27 18:43:49 -04:00
1823b1f084 Fix the shapes crashing on certain models
This is a hack to get things working for now
2024-04-27 18:43:32 -04:00
808b383949 Expose material constant data 2024-04-27 12:58:36 -04:00
f54e128bba Expose the default subview keys 2024-04-27 12:36:31 -04:00
499081beb2 Actually expose those new material parameters 2024-04-27 12:15:54 -04:00
6995392b5b Fix loading shader packages for Dawntrail 2024-04-27 11:55:16 -04:00
545888638e Expose shader keys, constants, samplers and shader values 2024-04-27 11:53:37 -04:00
b4a9c48823 Make ShaderKey Cloneable and Copyable 2024-04-26 22:40:42 -04:00
f2c360f7ea Set repr(C) on ShaderKey 2024-04-26 22:36:40 -04:00
3d6bb3a21e Add GitHub metadata to dep5 2024-04-23 15:25:40 -04:00
85a99fee56 Add REUSE check to CI 2024-04-23 15:24:07 -04:00
a51792bbe0 Run cargo test on the CI 2024-04-23 15:22:35 -04:00
8275e85e46 Add FUNDING.yml 2024-04-22 15:45:36 -04:00
2002b06f36 Update README 2024-04-22 15:43:35 -04:00
cc729e38d8 Add crc method to SHPK for calculating it's value, add test for selector 2024-04-21 10:04:40 -04:00
58c3e15e2c Remove some more debug messages 2024-04-20 15:12:40 -04:00
d5b3b8a468 Run cargo fmt 2024-04-20 13:18:03 -04:00
6e50f03cd9 Fix yet more clippy warnings 2024-04-20 13:17:11 -04:00
79e6f20d86 Oops, remove accidental unwrap commit in Texture 2024-04-20 13:00:07 -04:00
7aeb217e2e Fix patch testing 2024-04-20 12:58:29 -04:00
7c63474175 Replace/remove criterion, walkdir, and system-deps
These are giant dependencies that for some reason pull in winapi(???)
and we actually don't need all of their features.

Criterion can be replaced with brunch, a minimalist alternative.

walkdir is replaced with a single function.

system-dep can be replaced with a single line. Eventually I would like
to make it a little bit more than one line, but that's all we need for
now.
2024-04-20 11:13:45 -04:00
3e00c35bd8 Switch to texture2ddecoder
This crate supports more BCn decoders which texpresso doesn't (like
BC7.)
2024-04-20 10:47:43 -04:00
1b055b3f7a Switch to libz-ng-sys
This is supposedly faster, and more importantly has less build
dependencies.
2024-04-20 10:12:24 -04:00
04eecd5030 Add basic support for B4G4R4A4 textures
Not sure if it's actually correct, but it works without crashing now.
2024-04-20 10:00:13 -04:00
ed9d7936e1 Improve the docs for model file ops and vertex declarations 2024-04-20 09:03:16 -04:00
60d6382fbf Fix compilation for execlookup 2024-04-19 19:14:07 -04:00
b4fe74cf7d Add a new module to extract strings from executables 2024-04-18 22:53:53 -04:00
5574e75325 Add support for reading dictionary files
This is the format used for such things as the vulgar word list. Credit
goes to Jim Kirisame who developed an existing tool to read this format!
2024-04-18 22:09:26 -04:00
b9110b58ec Some code cleanup in texture 2024-04-18 22:07:57 -04:00