tool to create a relic export from network packets of a certain turn-based anime game
json output format is based on the format of HSR-Scanner
made to be used with fribbels hsr optimizer
- If on Linux, or you know you want to use pcap (if you don't know what this means, you don't need to worry about it), follow the pcap instructions at the bottom
- Download latest release from here
- Launch the game and get to this screen. Do not go into the game yet
- run the archiver executable and wait until it says "listening with a timeout"
- start the game
- if successful, the archiver should output a file to
archiver_output.json
you might have to disable your VPN or enable/disable wifi!
Usage: reliquary-archiver.exe [OPTIONS] [OUTPUT]
Arguments:
[OUTPUT] Path to output .json file to, per default: archive_output-%Y-%m-%dT%H-%M-%S.json
Options:
--timeout <TIMEOUT> How long to wait in seconds until timeout is triggered for live captures [default: 120]
-v, --verbose... How verbose the output should be, can be set up to 3 times. Has no effect if RUST_LOG is set
-l, --log-path <LOG_PATH> Path to output log to
--no-update Don't check for updates, only applicable on Windows
--auth-token <AUTH_TOKEN> Github Auth token to use when checking for updates, only applicable on Windows
-e, --exit-after-capture Don't wait for enter to be pressed after capturing
-h, --help Print help
Pcap Only:
--pcap <PCAP> Read packets from .pcap file instead of capturing live packets
Pktmon Only:
--etl <ETL> Read packets from .etl file instead of capturing live packets
to customize logging, either
- set the verbose flags
- or set
RUST_LOG
env variable to customize logging, see here
to output logs to a file, provide --log-path <path>
. file logs will always be trace-level.
- If building on Linux, or Windows with pcap, follow instructions here
- for me on windows, adding the
Packet.lib
andwpcap.lib
from the sdk (check the x64 or arm dir) to this directory was enough to link successfully
- for me on windows, adding the
cargo build
/cargo run
note that the necessary resource files are downloaded in the build script (build.rs
) and compiled into the binary.
When running with the pcap
feature (optional on Windows, required on Linux),
the following requirements apply:
- requires npcap (windows) or
libpcap
(linux)- when installing on windows, make sure to enable the "winpcap api-compatible mode".
if this is grayed out for you, see here
for more details
- if you use wifi, enable
Support raw 802.11 traffic (and monitor mode) for wireless adapters
- if you use wifi, enable
- when building on Linux, set the
CAP_NET_RAW
capability on the resulting executable ( via pcap(3pcap))sudo setcap CAP_NET_RAW=+ep target/release/reliquary-archiver
- when installing on windows, make sure to enable the "winpcap api-compatible mode".
if this is grayed out for you, see here
for more details
want to do more with packet parsing? check out the standalone library the archiver is built on top off!
looking to export your achievements? check out stardb-exporter!