1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-25 05:47:45 +00:00
Commit graph

434 commits

Author SHA1 Message Date
ec04c13fbd Silence more dead code warnings
This is intentional, for various reasons between binrw limitations and
code that isn't used directly in Physis.
2024-06-29 09:33:23 -04:00
444ec6e593 Bump binrw, texture2ddecoder 2024-06-28 06:16:20 -04:00
a53a7e728c Remove accidental main.rs commit, add to .gitignore 2024-06-28 06:12:30 -04:00
2e6b4d3264 Fix compilation of integration tests without the patch_testing feature 2024-06-28 06:10:50 -04:00
c4e409c04a Fix some warnings 2024-06-28 06:10:37 -04:00
926e7e2c78 Add another unknown new-from-Dawntrail texture usage magic
Saw in bg/ffxiv/fst_f1/fld/f1f3/material/f1f3_w1_mizu4a.mtrl, which is
some water material.
2024-06-28 06:06:23 -04:00
c41c160338 Fix oversight with u32 offsets used in index files API
This breaks on Dawntrail's gigantic files, but this also breaks API...
2024-06-28 05:53:42 -04:00
acb5c6a7a3 Bump version to 0.4.0 now that 0.3.0 is released 2024-06-27 23:02:54 -04:00
70fa4dc62f Bring back usage of system-deps 2024-06-27 20:40:34 -04:00
2bcbc27e53 Revert "Explicitly link to unshield library for now"
This reverts commit b7e5f914d5.
2024-06-27 20:34:46 -04:00
6bf79500b2 Revert "Try to yeet that build.rs"
This reverts commit 6700d1f3ac.
2024-06-27 20:34:40 -04:00
e507c247a1 Fix patching for Dawntrail
It was overflowing some u32, which are now u64 to prevent this from
happening.
2024-06-27 20:29:48 -04:00
2da8b9141d Improve patch test output, print errors when XIVQuickLauncher fails
After a frustrating fight match with .NET, this is useful to see why it
failed to launch and whatnot. It only prints out when the process fails
though, to prevent spam.
2024-06-27 17:29:38 -04:00
cc566bb0cc Move patch testing to its own file
Because It's so freaking big!!
2024-06-27 16:52:22 -04:00
e8e4e35cd1 Explain what environment variables are needed in test panics
It helps me to re-learn what I need here :)
2024-06-27 16:51:24 -04:00
b7e5f914d5 Explicitly link to unshield library for now
I don't think this is the right solution, but I need to unbreak some
builds now.
2024-06-27 16:51:03 -04:00
39d7a5b703 Prevent overflow when loading high resolution textures in certain code paths
With the release of Dawntrail, these are now being hit - for example loading the
expansion logo in Astra. These are now converted to usize everywhere so it
prevents this from happening.
2024-06-26 23:45:50 -04:00
6700d1f3ac Try to yeet that build.rs 2024-05-26 08:59:53 -04:00
c1dd406be4 Oops, these paths are not supposed to be absolute 2024-05-26 07:56:20 -04:00
0c105ab089 Fix my stupid programming, we need to use into_iter() 2024-05-26 07:49:55 -04:00
3d8ea7c858 Check if the user and game directories are valid 2024-05-26 07:48:41 -04:00
b87f54f924 Add functions to find existing game/user directories on disk
Not tested yet but this is something we have needed for a while
2024-05-26 07:29:40 -04:00
0509edfcfd Fix another typo in README 2024-05-25 23:52:54 -04:00
735f18563a Detailed supported platforms and game versions 2024-05-25 23:52:33 -04:00
91560de96b Fix shape values not reading correctly 2024-05-25 23:26:11 -04:00
fdf07fd255 Add find_offset function
Currently working around the lack of a good extract() API
2024-05-25 10:47:48 -04:00
c1fb2c5fa7 Change repo url 2024-05-22 20:54:05 -04:00
ab3ccb5350 Add CI for updating docs 2024-05-23 00:48:41 +00:00
0fbb604c73 Derive Clone, Copy for ShaderStage 2024-05-18 11:53:13 -04:00
d700f81af9 Expose ShaderStage enum 2024-05-18 11:49:50 -04:00
e5caab2e64 Run rustfmt and fix more Clippy warnings 2024-05-18 09:42:07 -04:00
306a507969 Fix tests compilation 2024-05-04 14:24:37 -04:00
a1a50de62e Support chunked dat/index files
Needed for grabbing later expansion content that's split between chunks.
2024-05-04 14:20:45 -04:00
8ecbd74283 Better expose the color table rows for materials 2024-05-04 14:20:02 -04:00
5625950f2a Expose the color table & color dye table 2024-04-30 19:51:46 -04:00
139afb46fa Add support for reading the color dye table from a material 2024-04-30 19:48:32 -04:00
b595d48963 Add support for reading the color table from a material 2024-04-30 19:43:47 -04:00
c4e9697faa Support 3D textures
We only supported 2D textures, but 3D textures are needed for the tiling
textures.
2024-04-30 18:01:09 -04:00
a51d5b0a54 Expand staining template read support
Nothing is exposed in the API, but I think it's reading properly now.
2024-04-30 18:00:47 -04:00
149e9bb25b Simplify PBD parsing 2024-04-30 16:17:04 -04:00
0b77a3cfb0 Begin implementing reading Avfx files 2024-04-29 23:06:07 -04:00
b74fda45a9 Add STM module 2024-04-29 21:01:10 -04:00
171d516f38 Add AVFX module 2024-04-29 20:59:30 -04:00
172952af9b Add PAP module 2024-04-29 20:57:15 -04:00
4fbd2cb668 Add PHYB module 2024-04-29 20:52:25 -04:00
05ccc566e9 Add SCHD module 2024-04-29 20:49:24 -04:00
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