saekawa/res/saekawa.toml

54 lines
1.8 KiB
TOML
Raw Normal View History

2023-11-14 17:57:11 +01:00
[general]
# Set to 'false' to disable the hook
enable = true
# Whether the hook should export your class medals and emblems or not.
export_class = true
2023-11-18 17:10:50 +01:00
# Whether the hook should export PBs. This should be used as a last resort, if
# you cannot import scores from your network, since this provides less data
# and sends only one pre-joined score per chart. Will only work once every session; you'll
# need to restart the game to do it again.
export_pbs = false
# Whether FAILED should override FULL COMBO and ALL JUSTICE.
fail_over_lamp = false
2023-11-14 17:57:11 +01:00
# Timeout for web requests, in milliseconds
2024-04-08 09:16:04 +02:00
timeout = 30000
2023-11-14 17:57:11 +01:00
[cards]
2023-11-18 17:10:50 +01:00
# **DOES NOT WORK FOR WHITELISTING PBS!!**
#
2023-11-14 17:57:11 +01:00
# Access codes that should be whitelisted
# If this is empty, all cards will be whitelisted
# There should be no whitespace between the digits
2023-11-18 17:10:50 +01:00
#
2023-11-14 17:57:11 +01:00
# example: whitelist = ["00001111222233334444"]
whitelist = []
[crypto]
# Since CRYSTAL+, the game employs network encryption. If you do not wish to
# patch out encryption from your game, you will need to fill in these values.
#
# All values are in hex strings.
key = ""
iv = ""
# Salt for deriving hashed API endpoint names. Not necessary on PARADISE LOST
# and older. For CHUNITHM NEW and later versions, this must be set if encryption
# is not patched out, otherwise the hook will be active but doing nothing, since
# it cannot recognize the score upload endpoint.
#
# This must also be a hex string.
salt = ""
# Number of PBKDF2 iterations to hash the endpoint URL. Set to 70 for CHUNITHM SUN
# and newer, and 44 for older versions.
iterations = 70
2023-11-14 17:57:11 +01:00
[tachi]
# Tachi instance base URL
2024-04-08 09:16:04 +02:00
base_url = "https://kamai.tachi.ac"
2023-11-14 17:57:11 +01:00
# Tachi status endpoint
2024-04-08 09:16:04 +02:00
status = "/api/v1/status"
2023-11-14 17:57:11 +01:00
# Tachi score import endpoint
2024-04-08 09:16:04 +02:00
import = "/ir/direct-manual/import"
2023-11-14 17:57:11 +01:00
# Your Tachi API key
2024-04-08 09:16:04 +02:00
api_key = "your-key-here"