Skip to content

Setup Messages and Emulators

finthetechguy edited this page Nov 24, 2026 · 2 revisions

Messages, games and emulators

How messages are kept

ctrpass keeps messages in a store folder, by game:

  • Inbox: messages received from consoles, or imported.
  • Outbox: messages ctrpass sends every console it passes.

A game takes part in an exchange when it has a message in its outbox, or when it is set to receive and its inbox has room. A message whose signature is invalid is not sent.

Sending a message

Desktop app

On the Messages page, choose Outbox, then New Message and pick the game. Only games with a plugin can be picked; see Plugins. Fill in the fields and save. For StreetPass Mii Plaza this includes the Mii, greeting and featured software. If the game already has a message to send, ctrpass asks whether to replace it or keep both.

Building a signed message needs the game's signing key in the key file. The app shows a notice when the key is missing. See Making the key file.

Command line

# Build a Mii Plaza message from the store's identity and add it to the outbox
ctrpass --keys aes_keys.txt title build "Mii Plaza" --set greeting="Hello" --file icon=icon.png -o plaza.bin
ctrpass store add plaza.bin

# Show a message's fields, and save its images as PNG files
ctrpass --keys aes_keys.txt title show plaza.bin --images .

# Change a message, keeping everything else
ctrpass --keys aes_keys.txt title build 00020800 --from plaza.bin --set hat=12 -o plaza2.bin

ctrpass title list shows every game ctrpass can build messages for, with each field's key and limits.

Option Sets
--set KEY=VALUE One field from text. Repeatable.
--file KEY=FILE One field from a file: a PNG for images, a Mii record or a message holding a Mii for Mii fields, raw bytes otherwise. Repeatable.
--values FILE Fields from a JSON object, like the values that title show prints.
--from FILE The message to start from. Without it, a new body is made from the store's identity.
--text / --message-icon The text and 40 × 40 icon shown with the message.

ctrpass refuses to build a message with values the game would refuse or reset.

Importing messages from a console

You can bring in the messages and signing keys from your console's CEC data save partition, a CEC folder, or a single message file.

  • App: Messages page menu → Import File… or Import Folder…

  • Command line:

    ctrpass import cec-save.bin --dry-run
    ctrpass import cec-save.bin

    --to inbox or --to outbox puts every message in one box instead of the box it came from.

Copying the Inbox to an emulator

ctrpass can deliver received messages into the StreetPass folder of Azahar, Citra, etc. The emulator must already have a StreetPass folder, so start the game in the emulator once with StreetPass set up first. Close the emulator before copying.

  • App: Messages page menu → Copy Inbox to Emulator, then choose the emulator.

  • Command line:

    ctrpass export --dry-run
    ctrpass export

    ctrpass finds the emulator's data folder by itself when only one emulator is installed. Otherwise pass its data folder or CEC folder as DEST. --title limits the copy to one game, and --box outbox copies the outbox instead.

After copying, start each game in the emulator. The game collects its new messages the same way it does after a real pass.

flowchart LR
    C1[3DS consoles] <-->|StreetPass| S[(ctrpass store)]
    CS[CEC save or folder<br/>from your 3DS] -->|import| S
    S -->|export| E[Emulator<br/>StreetPass folder]
    A[App or ctrpass title build] -->|outbox| S
Loading

Next: Troubleshooting

Clone this wiki locally