add quest_info.md
This commit is contained in:
parent
88406775d6
commit
67f32a5053
|
@ -9,3 +9,4 @@ to be prepared in order to work correctly and tools to automate that process.
|
|||
* [decrypt_packets](decrypt_packets.md): Decrypts server/client packet capture.
|
||||
* [gci_extract](gci_extract.md): Extracts quest .bin/.dat files **only** from specially prepared Gamecube memory card dumps in .gci format. This is a highly specific tool that is **not** usable on any arbitrary .gci file!
|
||||
* [gen_qst_header](gen_qst_header.md): Generates nicer .qst header files than what [qst_tool](https://github.com/Sylverant/pso_tools/tree/master/qst_tool) does. Can be then fed into qst_tool.
|
||||
* [quest_info](quest_info.md): Displays basic information about quest files (supports both .bin/.dat and .qst formats).
|
||||
|
|
14
quest_info.c
14
quest_info.c
|
@ -1,3 +1,17 @@
|
|||
/*
|
||||
* PSO EP1&2 (Gamecube) Quest Info Tool
|
||||
*
|
||||
* This tool can load Gamecube quest data from any of the following types of files:
|
||||
*
|
||||
* - Compressed .bin + .dat file combo
|
||||
* - Online-play, unencrypted (0x44 / 0x13) .qst file (interleaved or not)
|
||||
* - Download/Offline-play, encrypted (0xA6 / 0xA7) .qst file (interleaved or not)
|
||||
*
|
||||
* And display basic information about the quest and perform some basic validations on the data.
|
||||
*
|
||||
* Gered King, March 2021
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
|
23
quest_info.md
Normal file
23
quest_info.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# PSO EP1&2 (Gamecube) Quest Info Tool
|
||||
|
||||
This tool can load Gamecube quest data from any of the following types of files:
|
||||
|
||||
- Compressed .bin + .dat file combo
|
||||
- Online-play, unencrypted (0x44 / 0x13) .qst file (interleaved or not)
|
||||
- Download/Offline-play, encrypted (0xA6 / 0xA7) .qst file (interleaved or not)
|
||||
|
||||
And display basic information about the quest and perform some basic validations on the data.
|
||||
|
||||
This tool was primarily written for my own benefit, as I needed something to help me quickly run through a series of
|
||||
.bin/.dat files freshly extracted from a set of GCI files to validate them to make sure I had not done something silly
|
||||
during the process.
|
||||
|
||||
## Usage
|
||||
|
||||
Simply pass either a `.bin` and `.dat` file (in that order) as arguments, or pass a single `.qst` file.
|
||||
|
||||
```text
|
||||
quest_info quest.bin quest.dat
|
||||
|
||||
quest_info quest.qst
|
||||
```
|
Loading…
Reference in a new issue