Capture Methods

Method 1: SMB Retrieval (Primary)

# List available screenshots
smbclient //100.119.202.114/share -N -c 'cd screenshots; ls'

# Retrieve specific screenshot
smbclient //100.119.202.114/share -N -c 'cd screenshots; get herms-sdl-internal-20260508-220201.png /local/path/'

# Retrieve all screenshots
smbclient //100.119.202.114/share -N -c 'cd screenshots; mget *'

Method 2: Triggered Capture via herms_sdl_client.py

The herms_sdl_client.py running on RG monitors for a trigger file:

# Trigger a capture by writing to the trigger file path
# The client watches /tmp/hermes-sdl-capture
# When the file exists, it reads the target path, saves PNG, then unlinks

# Write trigger file via SMB
smbclient //100.119.202.114/share -N -c 'cd tmp; put hermes-sdl-capture'
echo "/userdata/screenshots/custom-name.png" > /tmp/hermes-sdl-capture
smbclient //100.119.202.114/share -N -c 'cd tmp; put hermes-sdl-capture'

# Wait for capture (client polls every tick)
sleep 2
smbclient //100.119.202.114/share -N -c 'cd screenshots; get custom-name.png'