Skip to content
finthetechguy edited this page Nov 24, 2026 · 3 revisions

ctrpass

ctrpass can let a Linux computer StreetPass with nearby Nintendo 3DS consoles. It finds consoles that have StreetPass on, exchanges messages with them over local wireless, and keeps the messages it receives in an inbox you can browse, edit, or copy into an emulator for example.

ctrpass has four parts:

Part What it is
ctrpass library Rust crate that implements the StreetPass protocol, message formats, game plugins and the message store. It has no Linux specific code of its own outside the radio backend.
ctrpass command Linux command-line tool for scanning, exchanging, building messages, importing and exporting.
Python module Bindings to the library, used by the desktop app.
Desktop app GTK 4 and libadwaita app. Runs as your user and starts ctrpass serve through polkit when it requires the radio.

Why ctrpass exists

StreetPass only works between consoles that are physically close to each other. Fewer people carry a 3DS now, so most consoles go days or weeks without a single pass, and games such as StreetPass Mii Plaza become hard to play. Emulators can read StreetPass data but cannot exchange it with real consoles.

ctrpass fills that gap. A computer with a suitable Wi-Fi adapter appears to a 3DS as another console, so it can:

  • pass with your own console, or with consoles near the computer,
  • hold messages for many games at once and hand them out to every console it meets,
  • move messages between real consoles and emulators.

A good concept could be setting up a small Linux computer in a shop, especially gaming/tech focused ones, and it allows customers carrying a 3DS to get a StreetPass.

Wiki contents

How to set up

  1. Overview and requirements
  2. Choosing a Wi-Fi adapter
  3. Building and installing
  4. Making the key file
  5. First exchange with the desktop app
  6. First exchange from the command line
  7. Messages, games and emulators
  8. Troubleshooting

Plugins

ctrpass reads and builds a game's messages through a plugin that describes the game's message body. Mii Plaza is built in. See Adding games with plugins to add other games or write a plugin.

Protocol

How StreetPass works in-depth and how ctrpass implements it. Start at Protocol overview.

Clone this wiki locally