describe DC save file formats; add decrypt/encrypt actions
This commit is contained in:
+2
-2
@@ -166,7 +166,7 @@ string find_seed_and_decrypt_download_quest_data_section(
|
||||
const void* data_section, size_t size, bool skip_checksum, bool is_ep3_trial, size_t num_threads) {
|
||||
mutex result_lock;
|
||||
string result;
|
||||
uint64_t result_seed = phosg::parallel_range<uint64_t>([&](uint64_t seed, size_t) {
|
||||
uint64_t result_seed = phosg::parallel_range_blocks<uint64_t>([&](uint64_t seed, size_t) {
|
||||
try {
|
||||
string ret = decrypt_download_quest_data_section<BE>(
|
||||
data_section, size, seed, skip_checksum, is_ep3_trial);
|
||||
@@ -177,7 +177,7 @@ string find_seed_and_decrypt_download_quest_data_section(
|
||||
return false;
|
||||
}
|
||||
},
|
||||
0, 0x100000000, num_threads);
|
||||
0, 0x100000000, 0x1000, num_threads);
|
||||
|
||||
if (!result.empty() && (result_seed < 0x100000000)) {
|
||||
static_game_data_log.info("Found seed %08" PRIX64, result_seed);
|
||||
|
||||
Reference in New Issue
Block a user