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 "Waiting for login..."
the download button will say "Export not ready" until you start the game - start the game by pressing "Click to Start"
- if successful, the archiver should switch to "Connected!" and the download button should become available

- Options:
- Live Import (recommended) - check that "Enable Live Import" is enabled in the optimizer "Import" section and that it says "Connected".
- Manual Import - click the download button and save the generated
archive_output-...jsonfile wherever you want
Troubleshooting:
- Please make sure you are fully entering the game; if you are still on the "Click to Start" train hyperdrive screen, you need to click to start.
- Brave Shield is incompatible with Live Import, please make an exception for Fribbels
- You might have to disable your VPN or enable/disable wifi!
- If you were already in-game before launching the archiver, you must log out and log back in.
alternatively, if you already have a packet capture file:
- click "Upload .pcap"
- select a
.pcap,.pcapng, or.etlfile - click the download button once the export is ready
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]
-s, --stream Host a websocket server to stream relic/lc updates in real-time. This will disable the timeout
-p, --websocket-port <PORT> Port to listen on for the websocket server, [default: 23313]
-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
--always-update Update without asking for confirmation, 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, --headless Run in headless mode (no GUI), only applicable when GUI feature is enabled
-d, --detach Detach from the parent terminal (run in background), only applicable on Windows
-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_LOGenv 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.libandwpcap.libfrom the sdk (check the x64 or arm dir) to this directory was enough to link successfully
- for me on windows, adding the
- If building on Linux, there is also a dependency on
libwayland-dev 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_RAWcapability 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!