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
22569cf09d
Oops, apparently index and patch platform id sizes are different!
2022-08-09 22:37:40 -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
c03c6495fc
Combine the AddDirectoryChunk and DeleteDirectoryChunk patch structs
...
They are actually the same structure, so now they are combined into
one (similar to DeleteData and ExpandData, I should rename those too)
2022-08-06 18:07:06 -04:00
be9c850fc1
Remove some warnings
2022-07-27 21:21:50 -04:00
db2ea22201
Create directories if needed for AddData, ExpandData, etc
2022-07-20 17:25:10 -04:00
f340319a9e
Stub out SqpkFileOperation::RemoveAll
2022-07-20 16:30:17 -04:00
70a92594a2
Re-add support for FDHR version 2, used for boot patches still
2022-07-20 15:45:22 -04:00
c4549a413f
Remove duplicated dat/index filename calculations from patch routine
...
This also removes the hardcoded ffxiv repository in the path, so now it
should properly calculate the correct expansion folder.
2022-07-20 15:04:55 -04:00
d6c85ab6a6
Add match for unhandled operation
2022-07-20 11:42:31 -04:00
115733d0b6
Add missing DeleteFile operation, fix-up wipe buffer handling
...
This makes game patching fully functional now!
2022-07-20 11:00:21 -04:00
389c3fe00b
Add initial files
2022-07-19 19:29:41 -04:00