31 lines
1.2 KiB
Text
31 lines
1.2 KiB
Text
# Example configuration for `cargo run --bin capture`.
|
|
# Copy to capture.toml and adjust to your machine; capture.toml is gitignored.
|
|
#
|
|
# The capture binary is Windows-only (BlueStacks + adb interception); on Unix
|
|
# hosts it builds as a stub that exits with an error message.
|
|
|
|
[device]
|
|
# BlueStacks ADB endpoint (BlueStacks Settings -> Advanced -> Android Debug Bridge)
|
|
serial = "127.0.0.1:5555"
|
|
# How long to wait for the emulator to come online before giving up
|
|
wait_secs = 180
|
|
# Close BlueStacks automatically after the capture finished
|
|
shutdown_bluestacks = true
|
|
|
|
[paths]
|
|
# Path to adb.exe (empty = auto-detect from LOCALAPPDATA, then PATH)
|
|
adb = 'C:\Users\<you>\AppData\Local\Android\Sdk\platform-tools\adb.exe'
|
|
# Path to the BlueStacks player, started automatically if the device is offline
|
|
bluestacks = 'C:\Program Files\BlueStacks_nxt\HD-Player.exe'
|
|
# Where the captured garage document is written
|
|
output = 'my_cars.json'
|
|
|
|
[proxy]
|
|
# Local port for the MITM proxy (must be free; close HTTP Toolkit first)
|
|
port = 8080
|
|
|
|
[capture]
|
|
# How long to wait for the game to boot and issue the sync request
|
|
timeout_secs = 300
|
|
# Per-request timeout when re-issuing the stored sync request (`capture replay`)
|
|
replay_timeout_secs = 30
|