This roadmap belongs exclusively to the new source lineage. Previous RVC milestones and build numbers are not carried forward. See Development Isolation.
- Inventory candidate source tree and dependencies
- Map resource-loading call sites (initial catalog recorded; further binary validation remains open)
- Identify binary resource formats (
.f,.bin, map data) - Inventory all language resource filenames (14 locale resources +
lang.xxfallback; see LANGUAGE_RESOURCE_CATALOG.md) - Map game loop, input, collision, animation, and level flow
- Map persistence/save behavior (including RMS usage)
- Audit MIDP, Nokia, Siemens, Mascot Micro3D, and M3G APIs actually used
- Set DIRU-NA initial logical viewport baseline to 240×320 portrait (project decision; separate from the archived project's 320×240 target)
- Classify components as retain, adapt, or rewrite (initial classification; see DIRU-NA-AUDIT-001 findings)
- Record licensing/provenance risks (rights remain unresolved; see DIRU-NA-AUDIT-001 findings)
- Reproduce the desktop build only if dependencies and rights permit
Working document: DIRU-NA-AUDIT-002 Gameplay and Resource Specification
- Write a complete resource catalog with offsets, dimensions, encoding, and call sites (initial resource call-site catalog exists; binary validation remains open)
- Document sprite and animation decoding at static-source level (binary fixtures and decoder tests remain open)
- Document stage-package outer structure and three tile layers at static-source level (field dictionary and binary validation remain open)
- Document player state, movement, collision, and interaction rules (spawn marker, direction states, action gating, checkpoint snapshot/restore arrays, partial occupancy predicates, and moving-object code 48 behavior recorded; full state/physics map and semantic tile dictionary remain open)
- Document audio event IDs and priority mapping (container header/payload validation remains open)
- Define test fixtures from legally usable material
- Record partial entity/foreground initialization effects and generated sprite-chunk slot mappings (semantic entity identities remain unresolved)
- Record logical viewport evidence (candidate source repeatedly uses 240×320; original Nokia orientation still requires confirmation)
Language payload changes are deferred until a Native Android APK is verified playable. Keep the existing candidate language inventory as documentation only. Do not import files from the previous Android build. After playable status, audit original Nokia Diamond Rush language resources read-only, subject to provenance and licensing review, then design language selection.
- Establish Android Gradle project and supported SDK/toolchain
- Add a platform-independent core module
- Add application lifecycle and 240×320 portrait presentation shell
- Add renderer abstraction and logical viewport
- Add input abstraction
- Add audio and persistence interfaces
- Add automated tests and CI checks
- Implement verified game-state model
- Implement movement and collision behavior
- Implement animation/state transitions
- Load a legally usable test level/resource set
- Validate behavior against documented reference observations
- v1.0: first playable Native Android release with basic touchscreen controls, retaining the 240×320 portrait logical viewport.
- v1.1: About screen, appropriate game attribution, and “Porting by MeongDev” credit, subject to rights review.
- v1.2: language selection.
- v2.0-alpha: touchscreen UI adaptation while preserving the original visual identity.
- v2.0: adaptive aspect ratios and full-screen presentation without stretching gameplay, while preserving the 240×320 logical coordinate system and adapting the viewport/layout around it.
DIRU-NA baseline decision: the first implementation and first playable build retain a 240×320 portrait logical resolution. This is an explicit decision for this independent project, informed by the candidate source's repeated 240×320 drawing/camera constants. It does not inherit the archived Native Android project's 320×240 target or build lineage. Future adaptive aspect-ratio support is a later enhancement: preserve the 240×320 gameplay coordinate system, maintain sprite/collision proportions, and adapt viewport/camera/UI for 1:1, 2:1, 3:2, 4:3, 5:4, 16:9, 18:9, and other screen ratios without stretching gameplay.
Working document: DIRU-NA-AUDIT-003 Nokia MIDlet Identity
- Inspect candidate resource manifest and compiled-output manifest
- Confirm MIDlet name, vendor, version, profile/configuration, and Nokia-specific attributes
- Inspect MIDlet entry point and Nokia API compatibility namespaces
- Record evidence-based classification as a Nokia-identified J2ME MIDlet package, version 1.1.7
- Obtain independently sourced original JAR/JAD and compare hashes/manifest for provenance authentication
- Trace actual Nokia-specific API call sites and determine whether any are required by gameplay
- Confirm original handset model, physical display characteristics, and distribution channel (not established by manifest alone)
Working document: DIRU-NA-AUDIT-033 Sprite Animation & Frame Metadata
- Reconstruct f_Sprite metadata section order
- Parse animation metadata for all five encounter chunks
- Extract frame counts and selected animation frame/duration sequences
- Trace b_SpriteAnimator tick, loop, and setAnimation semantics
- Record Great Anaconda constructor-default animation state
- Trace every encounter animation-selection call site
- Decode bounding boxes and establish collision semantics
- Establish game-loop tick frequency and time conversion
- Resolve sprite slot 7 and its animation resource
- Add bounded parser and deterministic animation tests
- Validate sequences against original runtime
Working document: DIRU-NA-AUDIT-032 Special Encounter Sprite & Animation Mapping
- Map Falling Torches sprite animator and texture resources
- Map Great Anaconda encounter resource chunks and runtime slots
- Map Evil Teutonic Knight encounter resource chunks and runtime slots
- Map Yetti encounter resource chunks and runtime slots
- Record confirmed initial animation selections
- Identify reused runtime slots and context-dependent asset identities
- Extract frame counts, durations, offsets, bounding boxes, and animation tables
- Resolve sprite slot 7 resource origin and complete draw-call map
- Visually verify encounter entities/effects after provenance review
- Add asset-manifest consistency tests
- Validate encounter animation behavior against original runtime
Working document: DIRU-NA-AUDIT-031 Special Stage Mechanics
- Extract Falling Torches stage initialization and hazard/update behavior
- Extract Great Anaconda encounter parameters and state-machine behavior
- Extract Evil Teutonic Knight encounter parameters and state-machine behavior
- Extract Yetti encounter parameters and timed stage-layout mutation
- Keep Angkor demo mode separate from regular special encounters
- Map encounter sprite slots and animation tables
- Trace exact encounter completion/failure and save-progression effects
- Resolve undocumented counters and trigger conditions
- Add deterministic state-machine and collision tests
- Validate against original runtime and exact target JAR variant
Working document: DIRU-NA-AUDIT-030 Special Stage Identification & Cross-Resource Reconciliation
- Identify source-declared special-stage constants
- Confirm Angkor stage index 13 is a demo stage via constant, launch flow, and dedicated initialization
- Reconcile Angkor stage stream (14) against map/title catalog (13)
- Confirm named special gameplay stages within normal stage ranges
- Keep Siberia/Tibet title mapping entry 14 unresolved; do not synthesize a stage
- Define Native catalog handling for demo-only and special gameplay metadata
- Verify demo-stage presence/role in the exact target Nokia JAR variant
- Resolve Siberia stage-index-14 mapping against independent package/runtime evidence
- Trace world-specific save bounds and demo-stage inclusion
- Build stage-specific mechanic profiles and runtime validation
Working document: DIRU-NA-AUDIT-029 World Stage-Stream Binary Inventory
- Decode /w0.bin, /w1.bin, and /w2.bin
- Reconstruct container prefix, stage count, dimensions, and three-layer payload format
- Inventory all 41 stage records and dimensions
- Verify exact byte consumption with no truncation or trailing bytes
- Reconcile stage-stream counts against map-node and title-mapping counts
- Isolate Angkor extra stage record index 13
- Isolate Tibet/Siberia extra title mapping entry index 14
- Determine semantic meaning of the leading 0x01 byte
- Resolve both cross-resource count anomalies
- Add bounded native parser and malformed-input tests
- Validate selected stages against original runtime evidence
Working document: DIRU-NA-AUDIT-028 Secret Node Availability & Progression Flags
- Separate secret-node classification from runtime availability
- Trace node availability initialization from stage flag 0x40
- Trace active route advancement writer of flag 0x40
- Distinguish flag 0x02 from flag 0x40 and result-condition flags
- Trace stage-stream loading structure and its separation from map/title data
- Decode /w0.bin, /w1.bin, and /w2.bin stage inventories
- Resolve Tibet/Siberia stage-index-14 mapping anomaly
- Enumerate all active readers/writers and clear paths for flags 0x40 and 0x02
- Determine exact prerequisites for every secret node
- Add progression and stage-stream validation tests
- Validate against original runtime evidence
Working document: DIRU-NA-AUDIT-027 Stage Title & Secret Route Correlation
- Trace generated normal, secret, and intro title ranges
- Extract per-world stage-title mapping arrays
- Cross-reference all 40 map nodes with generated localized title numbers
- Confirm secondary field value 1 maps to Secret stage titles in all three maps
- Record the unresolved extra Tibet/Siberia mapping entry at stage index 14
- Trace exact secret-stage unlock prerequisites and stage flag lifecycle
- Reconcile map/title arrays with /w0.bin, /w1.bin, /w2.bin stage streams
- Verify localized text indices 66, 62, and 31 against language resources
- Validate secret-stage availability and navigation against original runtime
Working document: DIRU-NA-AUDIT-026 Binary World Map Extraction & Topology
- Decode all three map resources from the pinned read-only source candidate
- Confirm exact payload lengths and record counts
- Reconstruct per-world node coordinates, stage IDs, and neighbor lists
- Validate unique node coordinates and 12×12 grid bounds
- Validate neighbor references, reciprocal edges, and graph connectivity
- Correct AUDIT-025 record layout: five fixed bytes per node, not six
- Determine semantic meaning of secondary field values, especially value 1
- Correlate stage IDs with title mappings and actual stage streams
- Complete directional tie-break analysis using real neighbor ordering
- Identify node sprite frames and validate visual classes
- Add automated parser and topology fixtures/tests
- Validate map navigation against original runtime evidence
Working document: DIRU-NA-AUDIT-025 World Map Resource & Node Construction
- Identify three world-map resource paths
- Trace binary envelope: 16-bit little-endian payload length and 1-byte record count
- Reconstruct node record field order and widths
- Trace record fields into packed-long node bits
- Confirm 12×12 grid allocation and direct X/Y indexing
- Separate map topology from stage gameplay resources and save records
- Decode each binary map resource and publish node/edge inventories
- Validate coordinates, neighbor counts, graph references, duplicates, and connectivity
- Determine full semantics of packed classification fields
- Identify secret-stage nodes and prerequisites
- Add robust map parser tests
- Validate against original runtime evidence
Working document: DIRU-NA-AUDIT-024 Node States, Directional Selection & Route Animation
- Record observed values and uses of packed node field bits 0–2
- Record observed values and uses of secondary field bits 3–5
- Trace directional candidate filtering over explicit neighbor coordinates
- Record partial multiple-candidate selection behavior
- Trace qualifying higher-index neighbor progression and flag 0x40 writes
- Separate route marker animation state from persistent graph state
- Complete semantics for every low-field value
- Reconstruct exact directional tie-break algorithm
- Trace full lifecycle of stage flag 0x40
- Establish secret-stage node encoding and prerequisites
- Identify node sprite frames from legally usable resources
- Add deterministic direction, graph, and progression tests
- Validate against original runtime evidence
Working document: DIRU-NA-AUDIT-023 Packed World Map & Route Graph
- Confirm 12×12 packed-long node grid and empty-cell convention
- Identify stage-index field at bits 6–10
- Identify neighbor-count field at bits 11–13
- Trace repeated 4-bit neighbor x/y coordinate pairs from bit 14
- Trace graph-based neighbor traversal and route advancement
- Record partial low-field state uses and 240×320 map coordinate constants
- Determine complete semantics of low fields 0–2 and 3–5
- Validate maximum neighbor count and 64-bit packing boundary
- Complete directional neighbor selection and tie-breaking analysis
- Decode secret-stage node encoding and prerequisites
- Identify source/provenance of generated 12×12 node array
- Add packed-node parser and graph-validation tests
- Validate topology and route rendering against original runtime
Working document: DIRU-NA-AUDIT-022 Stage Result Flags, Route & Secret Stages
- Trace stage result flag snapshot and one-time award checks
- Record result-condition bits 0x04, 0x08, 0x10, and 0x20
- Trace bit 0x02 use in result commit and stage/map state
- Trace bit 0x40 writes during progression advancement
- Distinguish coordinate collectible persistence from result flags
- Confirm secret-stage title generation
- Enumerate all readers/writers of stage flag bits
- Decode packed node state and relate it to stage flags
- Trace all progression-index transitions and branching paths
- Establish exact secret-stage prerequisites
- Add deterministic progression and persistence tests
- Validate against original runtime evidence
Working document: DIRU-NA-AUDIT-021 World Map, Stage Selection & Unlocks
- Record per-world stage-title mapping entries and indices
- Trace regular, secret, and intro-stage title generation
- Identify 12×12 packed world-map node grid
- Trace selected node title and current/target counter display
- Record per-world save offsets and stage-record structure
- Trace coordinate-pair collection persistence
- Record observed stage-result flag writes and world-specific stage-index clamping
- Decode complete packed world-map node schema
- Trace all stage flag bit semantics and secret-stage prerequisites
- Reconcile stage-title indices with actual world stage counts
- Extract map node coordinates, routes, and marker animation
- Add deterministic map, unlock, and persistence tests
- Validate against original runtime evidence
Working document: DIRU-NA-AUDIT-020 World Seal, Unlock & Stage Progression
- Record four seal-menu destinations
- Confirm red-gem requirements: Angkor 0, Bavaria 10, Siberia 25
- Trace unlock eligibility helper and locked/unlocked prompts
- Reconstruct directional navigation graph
- Trace world-entry state transitions and stage reset behavior
- Record save-byte-1 Bavaria/Siberia unlock flag writes
- Confirm world entry does not deduct red gems in inspected path
- Complete save-byte-1 and per-world stage progression semantics
- Confirm Angkor selected-stage retention behavior
- Map exact seal menu assets and localization strings
- Add deterministic menu/unlock/world-entry tests
- Validate against original runtime evidence
Working document: DIRU-NA-AUDIT-019 Gem Counters, Jacket Palette & World Progression
- Confirm separate violet-gem and red-gem balances
- Trace code-2 counter into red-gem balance
- Trace code-41 quantity counter into violet-gem balance
- Trace shop and world-price configuration
- Trace save-byte-8 into jacket progression and hero palette
- Trace save-byte-9 world/story progression thresholds
- Decode and identify visible jacket palette variants
- Distinguish jacket ownership from equipped selection
- Complete save-byte-9 state mapping and special-object semantics
- Identify exact pickup visuals and remaining collectible counters
- Add deterministic economy, jacket and progression tests
- Validate against original runtime evidence
Working document: DIRU-NA-AUDIT-018 Shop Jackets, Hero Palette & Progression
- Confirm four shop entries are documented as jackets
- Record configured violet-gem prices: 150, 400, 1,000, 3,000
- Trace ownership threshold written to save byte 8
- Trace save byte 8 into hero palette selection
- Distinguish jacket currency from red-gem world-unlock currency
- Record save-byte-9 ambiguity and progression writes
- Identify visible colors/names of all four jacket palettes
- Complete save-byte-8 and save-byte-9 reader/writer trace
- Trace potion pickup, consumption, duration, and effect
- Map violet-gem pickup IDs and counter increments
- Add deterministic shop, palette, and persistence tests
- Validate against original runtime evidence
Working document: DIRU-NA-AUDIT-017 Collectibles, Currency, Shop & Items
- Trace stage-result counters and target comparisons
- Record selected pickup-to-counter effects
- Identify red-diamond world-unlock balance at save offsets 6–7
- Distinguish shop balance at save offsets 4–5
- Trace four-entry shop selection, affordability, ownership check, and purchase persistence
- Record unresolved save-byte-9 / blue-potion interpretation
- Verify collectible category labels from language resources
- Trace all counter writers/readers and pickup visual mappings
- Identify all shop items and gameplay effects
- Trace potion pickup, inventory, consumption, and effect
- Add deterministic inventory, currency, shop, and persistence tests
- Validate against original runtime evidence
Working document: DIRU-NA-AUDIT-016 Water, Potion & Environmental Hazards
- Trace foreground code-8/code-9 preprocessing distinction
- Trace water-related stage feature flags
- Trace conditional chunk-28 loading and texture slots 24/25
- Record confirmed environmental damage call examples
- Document unsupported assumptions about swimming, oxygen, and drowning
- Trace all feature-flag and texture-slot references
- Trace potion pickup, inventory, consumption, and gameplay effect
- Trace player movement/collision on foreground codes 8 and 9
- Determine whether breathing/underwater timers exist
- Validate water tile and potion semantics against original runtime evidence
Working document: DIRU-NA-AUDIT-015 Object Pushing, Falling & Environment
- Trace code-48 multi-cell object initialization
- Record selected ordinary object push branches
- Trace two-cell code-48 push destination and occupancy checks
- Record code-46 timed downward movement and state transitions
- Record foreground code-3 timed interaction with player/entities
- Document native atomic multi-cell movement requirements
- Trace code-48 helper methods and complete lifecycle
- Complete movable/falling entity update catalog
- Map per-cell timer arrays and metadata semantics
- Build complete pushability/support/collision matrix
- Add deterministic object-physics tests and runtime validation
Working document: DIRU-NA-AUDIT-014 Player Movement, Collision & Tile Interaction
- Record directional input mapping and committed movement direction
- Document separation of tile coordinates and sub-tile movement progress
- Record movement eligibility gates and direction-vector use
- Document examples of metadata-dependent collision behavior
- Trace checkpoint confirm action and selected context-sensitive interactions
- Record camera synchronization with interpolated player position
- Complete movement helper and all movement-progress transitions
- Build full collision and interaction matrix
- Trace pushing, climbing, swimming, doors, ladders, and hazards
- Add deterministic movement/collision/action tests
- Validate against original runtime evidence
Working document: DIRU-NA-AUDIT-013 Player Spawn, Camera & Movement
- Trace player-start marker 79 and initial logical coordinates
- Record the 24-pixel tile coordinate model
- Trace normal camera-follow offsets, thresholds, and bounds
- Trace scripted camera transition interpolation
- Identify shared keyboard input bitmask
- Trace all uses of the spawn marker's retained X coordinate
- Complete movement interpolation and key-to-action mapping
- Trace camera update cadence and all scripted camera entry points
- Define and test small-stage camera bounds
- Add deterministic spawn, camera, and input-equivalence tests
- Validate against original runtime evidence
Working document: DIRU-NA-AUDIT-012 Stage Loading & Gameplay Initialization
- Trace incremental initialization steps 7–10
- Record world stage-file selection and binary stage header
- Document extraction of player/object, background, and foreground layers
- Record selected tile preprocessing transformations
- Record selected resource loading and world-map cleanup paths
- Identify parser robustness risks in single read/skip calls and unchecked dimensions
- Complete all initialization steps and conditional branches
- Complete tile preprocessing and spawn/camera ordering
- Map resource load masks, ownership, and all unload paths
- Add synthetic parser and lifecycle tests
- Validate stage entry against original runtime evidence
Working document: DIRU-NA-AUDIT-011 Main Menu, World & Stage Selection
- Trace title/menu input routine and confirm/cancel behavior
- Identify three world indices and corresponding map resource filenames
- Trace seal/world unlock threshold checks
- Trace transition into world-map preparation states 15 and 21
- Record map-node and stage-progress reconciliation fields
- Complete menu layout/options and cursor movement
- Trace exact map-node selection and stage-launch route
- Resolve world seal names versus map resource names
- Decode stage flag bits and progression helper semantics
- Add deterministic selection/unlock tests and runtime validation
Working document: DIRU-NA-AUDIT-010 Game State & Screen Transitions
- Identify the global game-flow state field and initialization
- Record partial state roles supported by inspected update/input/paint paths
- Trace the incremental world-map/resource preparation state
- Trace credits screen loading, scrolling, and return path
- Record selected input and lifecycle state routing
- Enumerate all state writes and map every state value
- Complete title, world-selection, and stage-selection navigation
- Trace terminal game-over presentation and retry transitions
- Complete pause/resume and lifecycle behavior
- Build deterministic state-transition tests and validate against runtime evidence
Working document: DIRU-NA-AUDIT-009 Damage, Death, Retry & Checkpoint
- Inspect damage-handler gates, state-bit updates, and animation requests
- Record observed damage argument patterns without assigning unsupported meanings
- Trace checkpoint snapshot contents and in-memory persistence boundary
- Trace checkpoint activation and restore sequence
- Trace retry-count decrement and exhausted-retry state branch
- Trace all writers/readers for damage, retry, and counter fields
- Complete death animation and global state-transition graph
- Identify exact checkpoint-save trigger conditions
- Build deterministic damage/checkpoint/retry tests
- Validate behavior against original runtime evidence
Working document: DIRU-NA-AUDIT-008 Hero Animation & Movement State
- Trace hero sprite resource, chunk, and palette selection
- Inspect central hero animation selector and environment-dependent overrides
- Record special auxiliary animator path
- Separate hero animator timeline from nearby entity update logic
- Trace all callers of the hero animation selector and assign state names only where proven
- Complete hero movement and scripted-state mapping
- Trace damage, death, retry, and checkpoint animation transitions
- Complete hero draw/tick lifecycle and offset behavior
- Create deterministic hero state-transition fixtures
- Validate animation behavior against original runtime evidence
Working document: DIRU-NA-AUDIT-007 Entity Animation & State Mapping
- Record multi-pass stage rendering structure at static-source level
- Map selected foreground codes to sprite slots and animation/frame selection
- Map selected object-layer codes to sprite slots and animation/frame selection
- Record examples of per-cell animation progression and completion side effects
- Complete hero animation state mapping
- Complete enemy AI and animation mapping
- Complete object/entity codes 0–79 state and animation mapping
- Trace all per-cell state arrays and reset/restore behavior
- Create deterministic synthetic animation/state tests
- Validate render ordering and behavior against original runtime evidence
Working document: DIRU-NA-AUDIT-006 Sprite Resource Mapping
- Document sprite parser sections, palette formats, and encoded module formats at static-source level
- Document module-to-frame composition and animation timing behavior
- Map selected generated-resource chunks to runtime sprite slots and texture arrays
- Map selected
cm.f, UI, hero, and other directly loaded sprite resources - Complete conditional load-mask, palette, world, and resource-lifetime mapping
- Identify visual meaning of sprite slots and animation indices using legally usable fixtures
- Validate decoder formats, offsets, flips, frame bounds, and animation timing with synthetic fixtures
- Trace hero/enemy/object state-to-animation transitions
- Confirm unresolved chunk boundaries and compare with original handset/runtime evidence
Working document: DIRU-NA-AUDIT-004 Gameplay State & Movement
- Document main loop timing and input bitmask capture at static-source level
- Document four-direction input mapping and 24-unit tile coordinate model
- Trace movement interpolation and animation selection paths
- Record partial foreground/object-layer collision and push behavior
- Trace damage handler, manual respawn, retry transition, and checkpoint snapshot boundary
- Record camera-follow coordinate relationship
- Complete direction vector and animation-index dictionary
- Trace status/retry counters to UI and save/load call sites before assigning semantic labels
- Complete tile-code dictionary using legally usable visual/resource fixtures
- Trace all damage sources, scripted exits, and special movement states
- Create deterministic movement/collision/checkpoint test fixtures
- Validate gameplay timing and behavior against original handset/runtime evidence
Working document: DIRU-NA-AUDIT-005 Tile & Entity Dictionary
- Confirm three world map resources and stage header/layer layout
- Document player/object, background, and foreground layer roles
- Record partial foreground code catalog from initialization, collision, and rendering branches
- Record partial object/entity code catalog and confirmed player-start/checkpoint/door/multi-cell behaviors
- Document sprite parser structure and animation composition model
- Record partial sprite-slot to file/chunk/palette mapping (see AUDIT-006; visual identities and conditional paths remain open)
- Validate all image decoder formats and malformed-input behavior
- Correlate tile/entity codes with visual sprite frames using permitted fixtures
- Trace dynamic entity updates and remaining puzzle/hazard/collectible behaviors
- Build synthetic map and sprite parser fixtures
- Validate against original Nokia package/runtime evidence