mirror of
https://github.com/bryanthaboi/gen1recomp
synced 2026-10-26 06:54:40 -04:00
potential ps4 fix
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
# PlayStation 4
|
||||
|
||||
Homebrew (GoldHEN) build: `gen1recomp-*-ps4.pkg`, the game fused with
|
||||
[LÖVE for PS4](https://github.com/tomasmorello/love-ps4) (LÖVE 11.5), pinned
|
||||
like love-nx is for the Switch. PS4 port by
|
||||
[LÖVE for PS4](https://github.com/tomasmorello/love-ps4) (LÖVE 11.5), built
|
||||
from the [bryanthaboi/love-ps4](https://github.com/bryanthaboi/love-ps4) fork
|
||||
and pinned like love-nx is for the Switch. PS4 port by
|
||||
[Tomas Morello](https://github.com/tomasmorello). Tested on hardware with
|
||||
Red, Blue and Yellow; Gen 2 and Gen 3 are not tested yet.
|
||||
|
||||
|
||||
+9
-2
@@ -8,7 +8,8 @@ runtime in one installable package. Install it, then import your own legal
|
||||
> set that up.
|
||||
|
||||
PS4 port by [Tomas Morello](https://github.com/tomasmorello), on
|
||||
[LÖVE for PS4](https://github.com/tomasmorello/love-ps4) (LÖVE 11.5).
|
||||
[LÖVE for PS4](https://github.com/tomasmorello/love-ps4) (LÖVE 11.5), built from
|
||||
the [bryanthaboi/love-ps4](https://github.com/bryanthaboi/love-ps4) fork.
|
||||
|
||||
**Tested on real hardware:** Pokemon Red, Blue and Yellow (ROM import, play,
|
||||
save and load, mods, returning to the launcher). **Not tested yet:** Gold,
|
||||
@@ -26,6 +27,11 @@ Updating: install the newer `.pkg` the same way; it installs over the old one.
|
||||
Saves, imported ROMs and mods live in `/data/love/pokemon-love2d/`, outside the
|
||||
package. **Do not delete that folder** when updating.
|
||||
|
||||
If FTP or a file manager cannot open `/data/love/cache` or
|
||||
`/data/love/pokemon-love2d` (installs from 0.3.63 and earlier created them
|
||||
locked), install the current package and launch it once: it unlocks the whole
|
||||
`/data/love` folder on first start.
|
||||
|
||||
## 2. Import your ROM
|
||||
|
||||
The PS4 has no file picker, so the launcher reads an inbox folder, like the
|
||||
@@ -70,4 +76,5 @@ scripts/build_ps4.sh --fetch --fused --version X.Y.Z
|
||||
|
||||
Needs the OpenOrbis PS4 Toolchain v0.5.4 packaging tools (`OO_PS4_TOOLCHAIN`)
|
||||
and bash 4+. The runtime is downloaded from a pinned LÖVE for PS4 release and
|
||||
verified against `scripts/ps4/love-ps4-runtime.sha256`.
|
||||
verified against `scripts/ps4/love-ps4-runtime.sha256`, which names the repo
|
||||
(`bryanthaboi/love-ps4`) and tag to fetch.
|
||||
|
||||
@@ -23,9 +23,8 @@
|
||||
# OpenOrbis PS4 Toolchain v0.5.4 (bin/linux or bin/macos with
|
||||
# PkgTool.Core and create-gp4), plus bash 4+.
|
||||
#
|
||||
# The runtime is LÖVE 11.5 for PS4 by Tomas Morello
|
||||
# (https://github.com/tomasmorello/love-ps4), pinned the way love-nx is pinned
|
||||
# for the Switch.
|
||||
# The runtime is LÖVE 11.5 for PS4 by Tomas Morello, built from the
|
||||
# bryanthaboi/love-ps4 fork and pinned the way love-nx is pinned for the Switch.
|
||||
#
|
||||
# Non-goals: installing on a console, FTP uploads, ROM handling.
|
||||
set -euo pipefail
|
||||
@@ -61,10 +60,11 @@ manifest_field() { # manifest_field <key>
|
||||
printf '%s' "$v"
|
||||
}
|
||||
TAG="$(manifest_field tag)"
|
||||
REPO="$(manifest_field repo)"
|
||||
ZIP_NAME="love-ps4-${TAG#v}-runtime.zip"
|
||||
RUNTIME_DIR="$ROOT/.bazinga/love-ps4/$TAG"
|
||||
ZIP="$RUNTIME_DIR/$ZIP_NAME"
|
||||
BASE_URL="${GEN1_LOVE_PS4_BASE_URL:-https://github.com/tomasmorello/love-ps4/releases/download/$TAG}"
|
||||
BASE_URL="${GEN1_LOVE_PS4_BASE_URL:-https://github.com/$REPO/releases/download/$TAG}"
|
||||
|
||||
sha256_of() {
|
||||
if command -v sha256sum >/dev/null 2>&1; then sha256sum "$1" | awk '{print $1}'
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
# LÖVE for PS4 — pinned runtime (Tomas Morello)
|
||||
# https://github.com/tomasmorello/love-ps4/releases
|
||||
# LÖVE for PS4 pinned runtime, built from bryanthaboi/love-ps4 (fork of tomasmorello/love-ps4)
|
||||
# https://github.com/bryanthaboi/love-ps4/releases
|
||||
#
|
||||
# scripts/build_ps4.sh --fetch downloads <zip> from the release <tag> and refuses
|
||||
# it unless its SHA-256 matches. Bump both lines together.
|
||||
# scripts/build_ps4.sh --fetch downloads <zip> from <repo> release <tag> and refuses
|
||||
# it unless its SHA-256 matches. Bump tag and zip lines together.
|
||||
|
||||
tag v0.9.3
|
||||
love-ps4-0.9.3-runtime.zip 8cc66a447738a6772fc79775d7306791fb63542582e420cf08db8cb0420eded7
|
||||
repo bryanthaboi/love-ps4
|
||||
tag v0.9.4
|
||||
love-ps4-0.9.4-runtime.zip 4795ec523e32e1bb121211740caf0b652ae35335ed08782fd4b9b4a39098e5b7
|
||||
|
||||
Reference in New Issue
Block a user