Skip to content

lrb - load any region dlc, merge with eu 1.0 #32

lrb - load any region dlc, merge with eu 1.0

lrb - load any region dlc, merge with eu 1.0 #32

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
rb1_xbox:
runs-on: ubuntu-latest
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: |
echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-7)" >> $GITHUB_ENV
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
chmod +x rb1/dependencies/linux/arkhelper
chmod +x rb1/dependencies/linux/dtab
chmod +x rb1/dependencies/linux/superfreq
pip install gitpython
pip install mido
- name: Remove PS3 files
run: |
find . -name "*.*_ps3" -type f -delete
- name: Build ARK
run: |
rb1/dependencies/linux/arkhelper dir2ark rb1/_ark rb1/_build/xbox/gen -n "patch_xbox" -e -v 4 -f
- name: Upload result
uses: actions/upload-artifact@v2
with:
name: RB1-Patch-Xbox
path: rb1/_build/xbox
rb1_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 rb1/dependencies/dev_scripts/download_ta_pkg_repacker.py
- name: Remove Xbox files
run: |
Get-ChildItem rb1/_ark/ -recurse -include *.*_xbox | remove-item
- name: Build ARK
run: |
rb1/dependencies/windows/arkhelper.exe dir2ark rb1/_ark rb1/_build/ps3/USRDIR/gen -n "patch_ps3" -e -v 4 -f
- name: Build PKG
run: |
$sha_short="$(git rev-parse --short HEAD)".ToUpper()
$content="UP1018-BLUS30050_00-RB1PATCHH"
$packageversion="1.07"
rb1/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) rb1/dependencies/ta_pkg_repacker_tools/package.conf rb1/_build/ps3
- name: Upload result
uses: actions/upload-artifact@v3
with:
name: RB1-Patch-PS3
path: '*.pkg'
lrb_xbox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Download Mackiloha
run: |
pip install requests
python lrb/dependencies/dev_scripts/download_mackiloha.py
- name: Set env
run: |
echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-7)" >> $GITHUB_ENV
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
chmod +x lrb/dependencies/linux/arkhelper
chmod +x lrb/dependencies/linux/dtab
chmod +x lrb/dependencies/linux/superfreq
pip install gitpython
pip install mido
- name: Remove PS3 files
run: |
find . -name "*.*_ps3" -type f -delete
- name: Build ARK
run: |
lrb/dependencies/linux/arkhelper dir2ark lrb/_ark lrb/_build/xbox/gen -n "patch_xbox" -e -v 5
- name: Upload result
uses: actions/upload-artifact@v2
with:
name: LRB-Patch-Xbox
path: lrb/_build/xbox
lrb_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: Download Mackiloha
run: |
pip install requests
python lrb/dependencies/dev_scripts/download_mackiloha.py
- name: Set env
run: |
pip install gitpython
pip install mido
pip install requests
- name: fetch TrueAncestor PKG Repacker
run: |
python lrb/dependencies/dev_scripts/download_ta_pkg_repacker.py
- name: Remove Xbox files
run: |
Get-ChildItem lrb/_ark/ -recurse -include *.*_xbox | remove-item
- name: Build ARK
run: |
lrb/dependencies/windows/arkhelper.exe dir2ark lrb/_ark lrb/_build/ps3/USRDIR/gen -n "patch_ps3" -e -v 5
- name: Build PKG
run: |
$sha_short="$(git rev-parse --short HEAD)".ToUpper()
$content="UP1018-BLUS30382_00-LRBPATCHH"
$packageversion="1.01"
lrb/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) lrb/dependencies/ta_pkg_repacker_tools/package.conf lrb/_build/ps3
- name: Upload result
uses: actions/upload-artifact@v3
with:
name: LRB-Patch-PS3
path: '*.pkg'
tbrb_xbox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Download Mackiloha
run: |
pip install requests
python tbrb/dependencies/dev_scripts/download_mackiloha.py
- name: Set env
run: |
echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-7)" >> $GITHUB_ENV
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
chmod +x tbrb/dependencies/linux/arkhelper
chmod +x tbrb/dependencies/linux/dtab
chmod +x tbrb/dependencies/linux/superfreq
pip install gitpython
pip install mido
- name: Remove PS3 files
run: |
find . -name "*.*_ps3" -type f -delete
- name: Build ARK
run: |
tbrb/dependencies/linux/arkhelper dir2ark tbrb/_ark tbrb/_build/xbox/gen -n "patch_xbox" -e -v 5
- name: Upload result
uses: actions/upload-artifact@v2
with:
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-TBRBPATCH"
$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
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Download Mackiloha
run: |
pip install requests
python gdrb/dependencies/dev_scripts/download_mackiloha.py
- name: Set env
run: |
echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-7)" >> $GITHUB_ENV
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
chmod +x gdrb/dependencies/linux/arkhelper
chmod +x gdrb/dependencies/linux/dtab
chmod +x gdrb/dependencies/linux/superfreq
pip install gitpython
pip install mido
- name: Remove PS3 files
run: |
find . -name "*.*_ps3" -type f -delete
- name: Build ARK
run: |
gdrb/dependencies/linux/arkhelper dir2ark gdrb/_ark gdrb/_build/xbox/gen -n "patch_xbox" -e -v 5
- name: Upload result
uses: actions/upload-artifact@v2
with:
name: GDRB-Patch-Xbox
path: gdrb/_build/xbox