1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-22 20:57:46 +00:00
Commit graph

22 commits

Author SHA1 Message Date
b3debd7839 Stop crashing on first boot, with no expansions installed 2023-05-13 17:30:15 -04:00
22b645ec3b Allow GameData::read_excel_sheet to fial 2023-04-09 15:35:54 -04:00
49ed178bb2 Add GameData::get_all_sheet_names()
To replace libxiv's function of the same name, used by Novus
2023-04-09 15:35:42 -04:00
540341cf57 Add logging crate 2023-04-06 14:51:40 -04:00
4c9987a236 Derive Debug for RepairError 2023-03-31 17:30:30 -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
6e6aa896a6 Run rustfmt 2022-10-25 13:02:06 -04:00
d17f860f07 Allow naive repairing of version files
Currently, we not handle repairing version files well, so I
sought to seek a solution to the problem. This is one of part of the
puzzle, by implementing a simple "game repair". This is not
IndexedZiPatch support, but simply checking if we can restore version
files if possible, or otherwise wipe the directory.
2022-10-25 11:03:05 -04:00
a9fa6d714a Use read_le instead of manually passing ReadOptions 2022-10-17 19:24:02 -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
c609974fe2 Fix warning in doctest 2022-08-09 23:44:11 -04:00
6f9b5c59d7 Fix misc warnings 2022-08-09 23:39:15 -04:00
e094742690 Properly propagate errors up the stack for game_data::extract 2022-08-09 22:43:04 -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
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
4d86af88c1 Fix another typo 2022-08-06 18:05:16 -04:00
be9c850fc1 Remove some warnings 2022-07-27 21:21:50 -04:00
ca4962c876 Add EXH and EXD parsers 2022-07-21 19:58:58 -04:00
389c3fe00b Add initial files 2022-07-19 19:29:41 -04:00