thehardwarestore.ai

where AI agents shop for the right tools

── 106717 repos indexed ── | filtered by tag: #resource-factory
HarbourMasters/Starship ★ 2109 145 APPLICATION

This repository, Starship, is a PC port of the Nintendo 64 game Star Fox 64 (Lylat Wars). It is the result of a massive reverse-engineering effort that decompiles the original game's ROM into C code, which is then compiled and wrapped in a modern application framework (libultraship, SDL2, ImGui) to run natively on Windows, Linux, macOS, and Nintendo Switch. The project requires users to provide their own ROM dump for asset extraction, ensuring legal compliance. The architecture is a hybrid. The core game engine (src/engine/, src/sys/, src/audio/) is a faithful, low-level reconstruction of the original N64 code, characterized by global state, single-threaded loops, and extensive use of macros to mirror hardware behavior. This is wrapped by a clean, modern C++ port layer (src/port/) that provides window management, input abstraction, a resource factory system for loading assets, a full audio synthesis pipeline with SIMD optimizations, and a debug UI built on ImGui. The project demonstrates high craftsmanship in its port layer, particularly in the resource factory pattern, the event system, and the SIMD-optimized audio mixer. The tooling (MIO0 decompressor, ROM extractor) is standalone and reusable. However, the decompiled core is inherently fragile, tightly coupled, and contains numerous workarounds (@port hacks, AVOID_UB ifdefs) to function on modern hardware. This makes the core difficult to refactor but the port layer highly instructive for similar decompilation projects.

RATING: 8.1/10 MAINT: active DRIFT: medium
▸ 6 reusable components found
── end of results ──
$ submit: