forked from Ports/goldeneye-pc-port
- README: attract-mode stills + demo GIF as the hero row, status/warning callouts, metrics table, "Contents" index, doc-index table; simplified the two-agent workflow diagram (LR -> TD, fewer edges) for GitHub web - Table-of-contents indexes added to internals.md, porting-notes.md, agentic-development.md, AUDIO-PLAN.md - CI: add Windows/MSYS2 build job, minimal token (contents: read), persist-credentials: false, concurrency group; run on main + master. validate job regenerates the US ROM-asset symbol file only and configures ntsc-final (PAL/JP need a region ROM; no ROM is used in CI) - .github: SECURITY.md, issue forms + chooser config, PR template, labels.yml, dependabot (Actions, monthly) - Do not track the proprietary SGI IRIX IDO toolchain or SGIImageViewer.exe; document in SetupGuide.md / building.md how to obtain IDO for N64 ROM builds (the PC port does not need it) - Stop tracking two committed *.pyc files; drop stale screenshots and a redundant .gitignore line; misc doc cross-reference fixes Claude-Session: https://claude.ai/code/session_01GULf6knbsqfsnW39tMr9WT
36 lines
922 B
Bash
36 lines
922 B
Bash
#!/usr/bin/env bash
|
|
#
|
|
# Build the GoldenEye 007 PC port.
|
|
#
|
|
# Usage:
|
|
# ./build-pc.sh [ntsc-final|pal-final|jpn-final]
|
|
#
|
|
# Dependencies (see docs/building.md):
|
|
# - CMake >= 3.16
|
|
# - SDL2 dev
|
|
# - zlib dev
|
|
# - OpenGL dev (opengl32 on Windows, GL on Linux, OpenGL.framework on macOS)
|
|
#
|
|
# Example (Linux):
|
|
# sudo apt install cmake libsdl2-dev zlib1g-dev libgl1-mesa-dev
|
|
# Example (macOS):
|
|
# brew install cmake sdl2 zlib
|
|
# Example (Windows/MSYS2):
|
|
# pacman -S mingw-w64-x86_64-toolchain mingw-w64-x86_64-SDL2 \
|
|
# mingw-w64-x86_64-zlib mingw-w64-x86_64-cmake
|
|
#
|
|
set -euo pipefail
|
|
|
|
ROMID="${1:-ntsc-final}"
|
|
BUILD_DIR="build-pc"
|
|
|
|
echo "==> Configuring PC port (ROMID=${ROMID})"
|
|
cmake -S . -B "${BUILD_DIR}" -DROMID="${ROMID}"
|
|
|
|
echo "==> Building"
|
|
cmake --build "${BUILD_DIR}" -j
|
|
|
|
echo "==> Done."
|
|
echo " Binary: ${BUILD_DIR}/ge007.*"
|
|
echo " Put your ROM in ./data/ (see README) and run the binary."
|