tweak some more quest info display bits
This commit is contained in:
parent
9756c816ee
commit
839bf2393b
|
@ -133,7 +133,7 @@ void display_info(uint8_t *bin_data, size_t bin_length, uint8_t *dat_data, size_
|
||||||
printf("======================================================================\n");
|
printf("======================================================================\n");
|
||||||
printf("name: %s\n", bin_header->name);
|
printf("name: %s\n", bin_header->name);
|
||||||
printf("download flag: %d\n", bin_header->download);
|
printf("download flag: %d\n", bin_header->download);
|
||||||
printf("quest_number: %d (8-bit) %d (16-bit)\n", bin_header->quest_number_byte, bin_header->quest_number_word);
|
printf("quest_number: %d (8-bit) %d, 0x%04x (16-bit)\n", bin_header->quest_number_byte, bin_header->quest_number_word, bin_header->quest_number_word);
|
||||||
printf("episode: %d (0x%02x)\n", bin_header->episode + 1, bin_header->episode);
|
printf("episode: %d (0x%02x)\n", bin_header->episode + 1, bin_header->episode);
|
||||||
printf("xffffffff: 0x%08x\n", bin_header->xffffffff);
|
printf("xffffffff: 0x%08x\n", bin_header->xffffffff);
|
||||||
printf("unknown: 0x%02x\n", bin_header->unknown);
|
printf("unknown: 0x%02x\n", bin_header->unknown);
|
||||||
|
|
9
quests.c
9
quests.c
|
@ -157,13 +157,14 @@ int handle_quest_bin_validation_issues(int bin_validation_result, QUEST_BIN_HEAD
|
||||||
}
|
}
|
||||||
|
|
||||||
void print_quick_quest_info(QUEST_BIN_HEADER *bin_header, size_t compressed_bin_size, size_t compressed_dat_size) {
|
void print_quick_quest_info(QUEST_BIN_HEADER *bin_header, size_t compressed_bin_size, size_t compressed_dat_size) {
|
||||||
printf("Quest: id=%d (%d), episode=%d, download=%d, unknown=0x%02x, name=\"%s\", compressed_bin_size=%ld, compressed_dat_size=%ld\n",
|
printf("Quest: id=%d (%d, 0x%04x), episode=%d (0x%02x), download=%d, unknown=0x%02x, name=\"%s\"\n",
|
||||||
bin_header->quest_number_byte,
|
bin_header->quest_number_byte,
|
||||||
bin_header->quest_number_word,
|
bin_header->quest_number_word,
|
||||||
|
bin_header->quest_number_word,
|
||||||
bin_header->episode + 1,
|
bin_header->episode + 1,
|
||||||
|
bin_header->episode,
|
||||||
bin_header->download,
|
bin_header->download,
|
||||||
bin_header->unknown,
|
bin_header->unknown,
|
||||||
bin_header->name,
|
bin_header->name);
|
||||||
compressed_bin_size,
|
printf(" compressed_bin_size=%ld, compressed_dat_size=%ld\n", compressed_bin_size, compressed_dat_size);
|
||||||
compressed_dat_size);
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue