mirror of
https://github.com/lowbit/ps5-doom.git
synced 2026-10-06 08:00:23 +02:00
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.
20 lines
818 B
Bash
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)
|