hn.today

Ogre Battle 64 Recompiled Project at 99.05%

github.com51 points15 comments
Screenshot of Ogre Battle 64 Recompiled Project at 99.05%

This repository performs a static recompilation of the N64 game Ogre Battle 64: Person of Lordly Caliber (USA Rev A) into a native PC executable using the N64Recomp toolchain. The project is near-complete: the main code segment (807 functions) has been fully recompiled to C, with the runtime pieces (rendering, input, audio) identified as the next milestone. The tree contains 146 commits, disassembly, configuration files, patches and build tooling (Makefile, config.toml/yaml, splat-generated asm, and RT64 renderer as a submodule). Recompiled C is generated from a user-supplied ROM and intentionally not committed; an AI model (DeepSeek v4/v4.1 Flash) assisted much of the work. Several patches and bank-specific configs are included to support the recompilation and runtime integration.

Practical build details are explicit: install a MIPS toolchain and splat, clone N64Recomp as a submodule and apply the repo’s patches, place a USA Rev A .z64 ROM in assets/, then run make regenerate to produce the RecompiledFuncs and other generated sources. Build the app with cmake, run the produced ogrebattle64 executable which validates and stores the ROM, and note battery saves land beside the executable. Distribution targets (make dist / make dist-zip) produce a single-file package with SDL2 statically linked; RT64 may require an SDL patch on systems with SDL < 2.0.22. This is explicitly for preservation and interoperability research; do not distribute ROM contents.

Read on github.com15 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Other

Winning the Visa Lottery

Winning the Visa Lottery

A study of the US government visa lottery shows that restricting low-skill foreign workers reduces business activity without creating more jobs for Americans. The research used a randomized lottery for H-2B visas, revealing that caps on visas limit employment opportunities and economic growth. (aeaweb.org)

Amiga Unix, Again

Amiga Unix, Again

Amiga Unix, called Amix, is being revived by an open community project for 68040 and 68060 hardware, with modern tools, package management, and drivers. It supports installation from floppy or CD-ROM, runs on real hardware and emulators, and includes updated GNU tools and network features. (amigaux.org)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.