How amix307/zelda-tmc-3ds works
This repository is a Nintendo 3DS port of The Minish Cap. Its principal workflow is to launch the application, locate and identify a user-provided USA or European ROM, initialize the game, and run gameplay with 3DS display, input, and audio. The port also adds dual-screen interfaces, Russian localization, randomizer support, persistent settings and saves, and diagnostics. The README documents these capabilities; sampled source and the source index support the main runtime links, but not every feature’s internal wiring.
Main entry points: main.c Game Main Loop · game.c Game Tasks · main_3ds.c 3DS Launch · platform_3ds.c Platform Services
Components 20
Game Runtime
- Game Main Loop
src/main.c - Game Tasks
src/game.c - World Simulation
src/entity.c - Room State
include/room.h - Screen Rendering
include/screen.h
3DS Platform
- 3DS Launch
platform/3ds/source/main_3ds.c - Platform Services
platform/3ds/source/platform_3ds.c - Audio
include/sound.h - Display Modes
port/port_config.h
Port Features
- Dual-Screen UI
port/port_second_screen.c - Map and Quest Views
port/port_second_screen_worldmap.c - Touch Controls
port/port_touch_controls.cpp - Russian Localization
platform/3ds/source/port_russian_3ds.c - Randomizer
port/rando/rando.cpp - Diagnostic Dumps
port/port_bugreport.cpp
Game Data
- ROM Discovery
port/port_rom_picker.c - ROM Runtime
port/port_rom.c - Save Handling
port/port_save.c - Runtime Settings
port/port_runtime_config.cpp
Other components
- Player
Connections 20
- Player → 3DS Launch: launches
- 3DS Launch → Platform Services: initializes
- 3DS Launch → Game Main Loop: starts
- Game Main Loop → ROM Discovery: selects ROM
- ROM Discovery → ROM Runtime: provides ROM
- Game Main Loop → Game Tasks: runs tasks
src/main.c - Game Main Loop → Screen Rendering: uses screen
src/main.c - Game Main Loop → Audio: uses audio
src/main.c - Game Main Loop → Room State: uses room state
src/main.c - Game Tasks → World Simulation: updates world
- Game Main Loop → Dual-Screen UI: updates interface
- Dual-Screen UI → Map and Quest Views: shows views
- Player → Touch Controls: touch input
- Player → Display Modes: chooses mode
- Game Main Loop → Russian Localization: loads localization
- Game Tasks → Randomizer: supports randomized play
- Game Tasks → Save Handling: persists progress
- Player → Runtime Settings: configures
- Player → Diagnostic Dumps: requests dump
- Platform Services → Audio: provides stereo audio