{
  "api_version": "1.0.0",
  "slug": "king-s-field-additional-i-and-ii-3bbafbdb",
  "url": "https://reversedwithai.com/p/king-s-field-additional-i-and-ii-3bbafbdb",
  "markdown_url": "https://reversedwithai.com/p/king-s-field-additional-i-and-ii-3bbafbdb.md",
  "json_url": "https://reversedwithai.com/p/king-s-field-additional-i-and-ii-3bbafbdb.json",
  "title": "Reversed King's Field Additional I and II (PSP) file formats and game engine structures with Claude",
  "tagline": "Research and tools for translating King's Field Additional I and II on PSP hardware and PPSSPP.",
  "summary": "This project provides tools and research to translate King's Field Additional I and II. It includes methods for decrypting main.dat, extracting and re-importing text, images, and FMG tables, and patching game executables for subtitle support.",
  "target": {
    "name": "King's Field Additional I and II",
    "type": "game",
    "type_label": "Games and mods"
  },
  "platform": "PSP",
  "models": [
    "Claude"
  ],
  "tools": [
    "Go",
    "Python 3",
    "Ghidra 12.2",
    "ghidra-allegrex v21.6",
    "7z",
    "openssl",
    "ffmpeg"
  ],
  "outcome": "research",
  "outcome_label": "Research",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": null,
  "checks": {
    "source_available": null,
    "repro_steps": null,
    "real_hardware": null,
    "independently_verified": null
  },
  "author": {
    "name": "shindakun",
    "url": null
  },
  "sources": {
    "repository": "https://github.com/shindakun/additional-1-and-2-translation-research",
    "writeup": null,
    "discussions": [],
    "all": [
      "https://github.com/shindakun/additional-1-and-2-translation-research"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/curation/3bbafbdb-4db7-45f7-b6b5-9bfae9cbb388.webp",
    "credit": "Image: GitHub (shindakun/additional-1-and-2-translation-research)"
  },
  "commit_history": null,
  "added_at": "2026-11-28T20:00:47.857672+00:00",
  "updated_at": "2026-11-28T20:00:47.857672+00:00",
  "sources_reviewed_at": "2026-11-30T22:09:10.390791+00:00",
  "reviewed_by": "automated",
  "human_notes": "The project uses a modular approach with Go for core binary operations and Python for high-level script manipulation. The author notes that the boot opening movie does not load a font, which limits subtitle implementation at that specific point.",
  "reproduce": "Build the Go tools using 'go build -o kfa ./cmd/kfa'. Use 'scripts/extract_iso.sh' to prepare the file tree, then 'scripts/maindat.py' to decrypt the main.dat container. Run 'scripts/scene_text.py' to extract text for translation.",
  "body_md": "The repository contains research and tools for King's Field Additional I (ULJS-00070) and King's Field Additional II (ULJS-00076). The author developed a suite of Go tools and Python scripts to parse the disc file system, BND archives, and FMG tables. The `main.dat` container and its encryption are decoded and verified for both games. The author implemented text export and in-place import, including logic to move long strings into freed space within chunks. Image handling includes export and in-place JPEG import, with GIM decoding support. The author reports that the town map with English labels and translated tavern lines are visible in-game. Subtitle support for movies is designed via a patch to CSimpleMovieScene::Draw, using position-independent code in an unreferenced function. The author collaborated with Claude Opus 5.5 to develop these tools and scripts. Testing is performed on PPSSPP, with headless scripts used for automated verification. Documentation is available at https://raw.githubusercontent.com/shindakun/additional-1-and-2-translation-research/HEAD/README.md.",
  "ai_use_excerpts": {
    "checked_at": "2026-11-25T04:01:53.121Z",
    "items": [
      {
        "quote": "Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>",
        "url": "https://github.com/shindakun/additional-1-and-2-translation-research/commits.atom"
      }
    ]
  }
}
