From 6bde4133f69fa3831c2e6c4b79e2bd83355b2c01 Mon Sep 17 00:00:00 2001 From: Luna <37005649+lunalawl@users.noreply.github.com> Date: Sat, 6 Apr 2024 00:35:20 -0700 Subject: [PATCH] build tbrb ps3 --- .github/workflows/build.yml | 36 +++++++++++++++++++++++++++++++++ tbrb/_build/ps3/PARAM.SFO | Bin 0 -> 2756 bytes tbrb/dependencies/package.conf | 6 ++++++ 3 files changed, 42 insertions(+) create mode 100644 tbrb/_build/ps3/PARAM.SFO create mode 100644 tbrb/dependencies/package.conf diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0eac5bb..a7c4da9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -180,6 +180,42 @@ jobs: name: TBRB-Patch-Xbox path: tbrb/_build/xbox + tbrb_ps3: + runs-on: windows-2019 + + steps: + - uses: actions/checkout@v3 + - name: Set up Python 3.9 + uses: actions/setup-python@v4 + with: + python-version: '3.9' + - name: Set env + run: | + pip install gitpython + pip install mido + pip install requests + - name: fetch TrueAncestor PKG Repacker + run: | + python tbrb/dependencies/dev_scripts/download_ta_pkg_repacker.py + - name: Remove Xbox files + run: | + Get-ChildItem tbrb/_ark/ -recurse -include *.*_xbox | remove-item + - name: Build ARK + run: | + tbrb/dependencies/windows/arkhelper.exe dir2ark tbrb/_ark tbrb/_build/ps3/USRDIR/gen -n "patch_ps3" -e -v 4 -f + - name: Build PKG + run: | + $sha_short="$(git rev-parse --short HEAD)".ToUpper() + $content="UP0006-BLUS30282_00-TBRBPATCHH" + $packageversion="1.00" + tbrb/dependencies/ta_pkg_repacker_tools/make_package_npdrm_retail.exe --k-licensee 0x00000000000000000000000000000000 --drm-type Local --package-version $packageversion --content-type GameData --content-id ($content + $sha_short) tbrb/dependencies/ta_pkg_repacker_tools/package.conf tbrb/_build/ps3 + + - name: Upload result + uses: actions/upload-artifact@v3 + with: + name: TBRB-Patch-PS3 + path: '*.pkg' + gdrb_xbox: runs-on: ubuntu-latest diff --git a/tbrb/_build/ps3/PARAM.SFO b/tbrb/_build/ps3/PARAM.SFO new file mode 100644 index 0000000000000000000000000000000000000000..68a0a19a1d2231eb9008717851a14482ffc26a9a GIT binary patch literal 2756 zcmeI!ze~eF6bJCv8ufH?5uGH1;3m1$AFW$r&r%F+NzQ_Ulwu=-Vh0@@bvs;L99&&p z{rCK)?SuChxOjngd_M$Uk|W6-4T`f`jc9_}trKlhbp-XLYMf=FH41_%b8X}N7W{%z zs2yPk?+GjPjf5TC5>~ioD(v8MVTBv9!VbO?R=BAfVFyoz)iTkuu!CQP)e6y@u!G-) z)hf}au!FyZ6(-;tUdMB9pd9=Iqs?q?KH$^Dnod8zq(PFKo=vh*W`-ss+qIdQkE1B! zpgF`G8XOKd9CA3~aLl2}p|uE_J8SN&xwGcZnmcRm+-=j)ArkC3G?aoU6_s^Ci8QDG5YKK`S