{
  "api_version": "1.0.0",
  "slug": "harvest-moon-btn-recomp-claude",
  "url": "https://reversedwithai.com/p/harvest-moon-btn-recomp-claude",
  "markdown_url": "https://reversedwithai.com/p/harvest-moon-btn-recomp-claude.md",
  "json_url": "https://reversedwithai.com/p/harvest-moon-btn-recomp-claude.json",
  "title": "Recompiled Harvest Moon: Back to Nature (PS1) into a native PC port, then shipped drop-in mods for it",
  "tagline": "A PS1 farm game running natively, with a folder of drop-in mods.",
  "summary": "1475 recompiled functions on a PSXRecomp base with no ROM shipped, a working mod engine, and two mods by Claude Sonnet 5.5 that install as a single file.",
  "target": {
    "name": "Harvest Moon: Back to Nature (PlayStation, USA)",
    "type": "game",
    "type_label": "Games and mods"
  },
  "platform": "macOS (Apple Silicon)",
  "models": [
    "Claude Opus 5.1",
    "Claude Sonnet 5.5"
  ],
  "tools": [
    "PSXRecomp"
  ],
  "outcome": "works",
  "outcome_label": "Works",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": null,
  "checks": {
    "source_available": "yes",
    "repro_steps": null,
    "real_hardware": "yes",
    "independently_verified": null
  },
  "author": {
    "name": "vinibeloni",
    "url": "https://github.com/vinibeloni"
  },
  "sources": {
    "repository": "https://github.com/vinibeloni/harvest-moon-btn-psx-recomp",
    "writeup": null,
    "discussions": [],
    "all": [
      "https://github.com/vinibeloni/harvest-moon-btn-psx-recomp"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/harvest-moon-btn-recomp-claude.webp",
    "credit": "Image: GitHub (vinibeloni/harvest-moon-btn-psx-recomp)"
  },
  "commit_history": {
    "commits": 30,
    "ai_commits": 23,
    "ai_days": 5,
    "first_ai_commit": "2026-08-11",
    "last_ai_commit": "2026-08-17",
    "credited_models": [
      {
        "name": "Claude Opus 5",
        "commits": 23
      }
    ]
  },
  "added_at": "2026-10-19T07:47:28.055398+00:00",
  "updated_at": "2026-10-19T07:47:28.055398+00:00",
  "sources_reviewed_at": "2026-10-19T07:47:28.055398+00:00",
  "reviewed_by": "editor",
  "human_notes": null,
  "reproduce": null,
  "body_md": "A static recompilation of Harvest Moon: Back to Nature (USA disc) turns the MIPS code into a native executable, and a companion repository fills it with drop-in mods. Commits in the port carry Claude Opus 5.1 in long context as co-author, and the mods were built with Claude Sonnet 5.5. The README does not mention AI.\n\n## Port status\n\nThe port is built on PSXRecomp and bundles the recompiled OpenBIOS, so no console BIOS dump is required. The README reports 1475 functions with zero dispatch misses, overlays captured, compiled and natively loaded with zero invalidations, and the PlayStation peripherals simulated around the translated game code. Evidence for the seeds and the overlay map is committed to the repository, and every derived artifact is generated on the player's machine.\n\nThe status table lists boot to the title screen, town and farm gameplay, in-engine cutscenes and audio (software SPU synthesis) as working. MDEC, the movie decoder, is untested, so full-motion video is unproven. The only platform listed as verified is macOS on Apple Silicon. Known issues include an upstream test that fails and a configuration setting that is ignored on the overlay compile path.\n\nThe mod engine reads folders of mods next to the executable and rejects any mod file that fails to parse whole rather than half-applying it. Shipped mods so far are save anywhere from the field and triple speed dialogue, both pinned to the USA disc with an expected value check on every patch.\n\nYou need CMake 3.20 or newer, Ninja, a C or C++ toolchain, Python 3 and your own Harvest Moon: Back to Nature (USA, SLUS-01115) as a .cue and .bin in the repository folder. Clone with submodules, then run sh tools/regen.sh, sh build.sh and sh run.sh.\n\n## How the overlays are handled\n\nThe main executable is only 321 KB. About 848 KB of further code is streamed from the disc into RAM as overlays. The game ships them in one archive, A_FILE.BIN, indexed by the 132-byte A_FILE.HDT (33 little-endian offsets). One loader function copies a member to an address its caller passes, and every caller uses one of two constants in the executable, so overlays occupy two mutually exclusive memory windows. The repository's overlay map records 13 members, their window and their entry points. It holds no game content.\n\nOverlays are extracted at build time from the player's own disc, so coverage is the same for every user and needs no capture session. Code that is not compiled runs on a small MIPS interpreter, which the README says affects speed, never correctness. The five festival minigames are separate overlays that share one window.\n\n## Function seeds\n\nThe recompiler needs function entry points it cannot infer. The repository lists 954: 946 from Ghidra auto-analysis of the headerless executable text, and 8 recovered by scanning the data region for words that point into code, each a leaf function reachable only through a function-pointer table. Evidence for those 8 is recorded in the repository.\n\nSources:\n- https://github.com/vinibeloni/harvest-moon-btn-psx-recomp",
  "ai_use_excerpts": null
}
