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

197 commits

Author SHA1 Message Date
c3c3df7c68 More small warning changes 2022-10-13 16:11:20 -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
eed1b5fe83 Extract InstallShield files in your temp dir instead of the current dir 2022-10-13 15:51:03 -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
d87694df4d Make apply_patch public 2022-10-13 15:45:50 -04:00
952b06cd76 Fix a rare case where installation might fail 2022-10-13 15:45:50 -04:00
2868a2adad Add build_skeleton_path function 2022-10-13 15:45:50 -04:00
85bcfa5db6 WOW missed another one! 2022-09-15 17:02:30 -04:00
1923b626a9 Fix some module descriptions missing from docs 2022-09-15 17:00:27 -04:00
21b467d5e9 Update half crate 2022-09-15 16:34:58 -04:00
49bd5987d0 Convert TextureAttribute constants to upper case camel 2022-09-15 16:31:56 -04:00
9819f87fcc Suppress some warnings 2022-09-15 16:26:31 -04:00
02dd211964 Add badges for CI status and crates.io 2022-09-15 16:26:18 -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
bc78591c13 Improve README 2022-09-13 16:53:46 -04:00
0dd4121557 Improve patch NOP logging 2022-09-13 16:51:32 -04:00
ca6a5be72b Don't panic on IndexAddDelete, it should actually NOP 2022-08-31 17:58:08 -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
75f88ba3b6 Clarify that IndexFile::from_existing is not reading index2 files 2022-08-14 23:38:49 -04:00
209b475065 Make material struct members public 2022-08-11 15:51:39 -04:00
3b2038024f Make texture struct members public 2022-08-11 15:48:28 -04:00
06226cfad1 Expose texture width and height 2022-08-11 15:47:02 -04:00
2c1b7cbfb3 Add textures and material support to the README 2022-08-11 15:41:30 -04:00
01717456d1 Add material file parsing 2022-08-11 15:40:14 -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
5ca60cb95d Export affected bone names 2022-08-10 14:51:50 -04:00
5d8e8e23e5 Add some new equipment functions needed for VARC tool
* Added deconstruct_equipment_path to grab the model id and slot from
an already made equipment filename.
* Added get_slot_from_abbreviation to be the reverse of
get_slot_abbreviation.
2022-08-10 14:51:36 -04:00
715ec49252 Add documentation link 2022-08-10 00:02:04 -04:00
723700dfcf Automatically update crate docs on push 2022-08-09 23:55:05 -04:00
c609974fe2 Fix warning in doctest 2022-08-09 23:44:11 -04:00
642cb94896 Make install_game no longer unsafe, propagates errors 2022-08-09 23:39:31 -04:00
6f9b5c59d7 Fix misc warnings 2022-08-09 23:39:15 -04:00
59913434e6 Read boot version 2022-08-09 23:17:19 -04:00
e094742690 Properly propagate errors up the stack for game_data::extract 2022-08-09 22:43:04 -04:00
22569cf09d Oops, apparently index and patch platform id sizes are different! 2022-08-09 22:37:40 -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
e172433b00 Propagate patch errors for BootData too 2022-08-09 21:53:20 -04:00
8c3f848918 Make RepositoryType repr(C) 2022-08-09 21:52:07 -04:00
18322a13d2 Handle patching error handling better
* Move PlatformId to common module.
* Platform id is no longer hardcoded to win32.
* Parse apply options correctly.
* Parse target info better, use more native structures.
* All errors are now handled properly, and propagated up.
* Added a new Region enum.
* Added todo!() to all unhandled patching branches.
* Paths are now built using PathBuf instead of format!().
* process_patch function is no longer accessible, now you have to use
the function found in GameData and BootData.
2022-08-09 21:51:52 -04:00
03e3d3ca21 Simplify index file return 2022-08-09 20:05:11 -04:00
ba5d8bc628 Create get_dat_file function 2022-08-09 20:03:18 -04:00
d318dcb788 Use PathBuf in get_index_file 2022-08-09 20:00:02 -04:00
99fc3165e5 Document FileType enum 2022-08-09 19:53:17 -04:00