Files
lowbit--ps5-doom/tools/fetch-native-tools.sh
T
rijads 61c14ce8a2 Native DOOM for PS5 from id's linuxdoom-1.10 source
id Software's original engine, made 64-bit clean, on a new platform layer:
VideoOut with tiled scanout, an AGC compute presenter, ScePad, AudioOut,
an OPL FM synth with a DMX-style MUS player, and a headless PC build for
testing. Ships Freedoom as the bundled game; id's own IWADs take priority.
2026-10-03 15:55:50 +02:00

20 lines
818 B
Bash

#!/usr/bin/env bash
# Fetches and builds the external native-app packaging tools at a pinned commit:
# ps5-native-tool (PIE to PS5 module converter, FSELF signer), libc.prx and the PS5 payload SDK.
set -euo pipefail
repo=https://github.com/blackbearreloaded/ps5-native-app-boilerplate.git
commit=b1315a9
root=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)
dest="$root/.deps/native-app"
if [[ ! -d $dest/.git ]]; then
git -c core.autocrlf=false clone -q "$repo" "$dest"
fi
git -C "$dest" -c advice.detachedHead=false checkout -q "$commit"
bash "$dest/tools/setup-native-dependencies.sh" >/dev/null
bash "$dest/tools/build-host-tools.sh" >/dev/null
[[ -f $dest/runtime/libc.prx ]] || bash "$dest/tools/rebuild-libc.sh" >/dev/null
(cd "$dest/runtime" && sha256sum --check --strict --quiet libc.prx.sha256)