How suke0930/luma3ds-bbp-online works
Luma3DS is Nintendo 3DS custom firmware; this fork adds Band Brothers P Online by relaying the game’s local-wireless traffic. Its documented user workflow is to configure relay options in Rosalina, launch the game, and use its local-wireless room flow. The graph also preserves documented boot, homebrew, modding, debugging, and overlay capabilities. Several internal links are dashed because the supplied source excerpts do not show their runtime wiring; documented relationships cite the README.
Main entry points: source/main.c Boot menu · source/main.c Rosalina overlay · server.c GDB stub · uds_service.c UDS traffic relay
Components 31
Boot and firmware
- Boot menu
arm9/source/main.c - Boot configuration
arm9/source/config.c - Firmware chainloader
arm9/source/chainloader.c - Firmware loading
arm9/source/firm.c - Screen and input
arm9/source/screen.c - Boot graphics
arm9/source/draw.h - Hardware I2C
arm9/source/i2c.c - Memory utilities
arm9/source/memory.c
System services
- Homebrew loader
sysmodules/loader/source/main.c - Process management
sysmodules/pm/source/manager.c - Service sessions
sysmodules/sm/source/main.c - PXI messaging
sysmodules/pxi/source/main.c - Game modding
sysmodules/rosalina/source/process_patches.c - Game plugins
sysmodules/rosalina/source/plugin/plgloader.c - Loader services
sysmodules/loader/source/service_manager.c - PM services
sysmodules/pm/source/service_manager.c
Rosalina overlay
- Rosalina overlay
sysmodules/rosalina/source/main.c - Screen filters
sysmodules/rosalina/source/menus/screen_filters.c - Input redirection
sysmodules/rosalina/source/input_redirection.c
BBP Online
- BBP Online menu
sysmodules/rosalina/source/menus/bbp_online.c - UDS traffic relay
sysmodules/rosalina/source/uds_service.c - Encrypted transport
sysmodules/rosalina/source/bbp_secure_transport.c
Debug and kernel
- Kernel extension
k11_extension/source/main.c - Kernel SVC handlers
k11_extension/source/svc.c - Exception handling
k11_extension/source/fatalExceptionHandlersMain.c - GDB stub
sysmodules/rosalina/source/gdb/server.c - GDB networking
sysmodules/rosalina/source/gdb/net.c - GDB threads
sysmodules/rosalina/source/gdb/thread.c - GDB queries
sysmodules/rosalina/source/gdb/query.c
Other components
- Console user
- Relay server
Connections 31
- Console user → Boot menu: starts firmware
- Console user → BBP Online menu: opens menu
README.md - BBP Online menu → UDS traffic relay: configures relay
- Console user → UDS traffic relay: plays local wireless
README.md - UDS traffic relay → Relay server: forwards traffic
README.md - UDS traffic relay → Encrypted transport: encrypts traffic
- Encrypted transport → Relay server: sends encrypted traffic
README.md - Console user → Rosalina overlay: opens overlay
README.md - Console user → Firmware chainloader: selects payload
README.md - Console user → Boot configuration: sets boot options
README.md - Boot menu → Firmware chainloader: offers chainloading
README.md - Boot menu → Firmware loading: launches firmware
- Console user → GDB stub: connects debugger
README.md - Rosalina overlay → GDB stub: offers debugger
- Rosalina overlay → Screen filters: offers filters
README.md - Rosalina overlay → Input redirection: offers redirection
README.md - Rosalina overlay → Game plugins: supports plugins
README.md - Rosalina overlay → Game modding: supports modding
README.md - Homebrew loader → Game modding: applies patches
- Process management → Homebrew loader: manages processes
- Service sessions → Loader services: handles sessions
- Process management → PM services: handles sessions
- GDB stub → GDB networking: serves connections
- GDB stub → GDB threads: handles threads
- GDB stub → GDB queries: dispatches queries
- Kernel extension → Kernel SVC handlers: extends services
- Kernel extension → Exception handling: installs handlers
- Boot menu → Boot graphics: draws screens
arm9/source/main.c - Boot menu → Hardware I2C: reads hardware
- Boot menu → Memory utilities: uses memory helpers
- PXI messaging → Service sessions: uses system IPC