Skip to content

locale and metadata cleanup #4354

locale and metadata cleanup

locale and metadata cleanup #4354

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build_yarg:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build Files
run: |
sed -i '1d' _ark/dx/song_updates/songs_updates.dta
dependencies/python/configure_yarg_build.py
dependencies/linux/ninja
- name: Upload result
uses: actions/upload-artifact@v4
with:
name: RB3DX-YARG-Updates
path: out/yarg
build_xbox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build ARK
run: |
dependencies/python/configure_build.py xbox
dependencies/linux/ninja
- name: Remove .gitkeep
run: |
find . -name ".gitkeep" -type f -delete
- name: Upload result
uses: actions/upload-artifact@v4
with:
name: RB3DX-Xbox
path: out/xbox
build_xbox_no_updates:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build ARK
run: |
dependencies/python/configure_build.py xbox --no-updates
dependencies/linux/ninja
- name: Remove .gitkeep
run: |
find . -name ".gitkeep" -type f -delete
- name: Upload result
uses: actions/upload-artifact@v4
with:
name: RB3DX-Xbox-No-Updates
path: out/xbox
build_ps3:
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build ARK
run: |
python dependencies/python/configure_build.py ps3
dependencies/windows/ninja.exe
- name: Build PKG
run: |
$sha_short="$(git rev-parse --short HEAD)".ToUpper()
$content="RB3DXNITE"
dependencies/windows/RB3DXBuildPkgPS3.exe out/ps3 usa ($content + $sha_short) .
- name: Upload result
uses: actions/upload-artifact@v4
with:
name: RB3DX-PS3
path: '*.pkg'
build_wii:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Set env
run: |
mkdir ./build
mkdir platform/wii/files
mkdir platform/wii/files/gen
cp dependencies/wii_patcher/main_wii.hdr platform/wii/files/gen/main_wii.hdr
mkdir platform/wii/sys
truncate -s 13068128 platform/wii/sys/main.dol
truncate -s 22353239 platform/wii/files/gen/main_wii_0.ark
truncate -s 5721833 platform/wii/files/gen/main_wii_1.ark
truncate -s 24584681 platform/wii/files/gen/main_wii_2.ark
truncate -s 266057007 platform/wii/files/gen/main_wii_3.ark
truncate -s 688887924 platform/wii/files/gen/main_wii_4.ark
truncate -s 107950925 platform/wii/files/gen/main_wii_5.ark
truncate -s 468328063 platform/wii/files/gen/main_wii_6.ark
truncate -s 22352016 platform/wii/files/gen/main_wii_7.ark
truncate -s 1983799220 platform/wii/files/gen/main_wii_8.ark
truncate -s 300667016 platform/wii/files/gen/main_wii_9.ark
- name: Build ARK
run: |
dependencies/python/configure_build.py wii
dependencies/linux/ninja
- uses: edgarrc/action-7z@v1
with:
args: 7z a -t7z -mx=9 build.7z ./build/
- name: Configure Tools
run: |
7z x dependencies/wii_patcher/wiimmfi-patcher-v7.5.zip
mv wiimmfi-patcher-v7.5 rb3dx_wii_patcher
mkdir rb3dx_wii_patcher/wii_patch_files
mkdir rb3dx_wii_patcher/wii_patch_files/gen
cp out/wii/files/gen/main_wii.hdr rb3dx_wii_patcher/wii_patch_files/gen/main_wii.hdr
cp out/wii/files/gen/main_wii_10.ark rb3dx_wii_patcher/wii_patch_files/gen/main_wii_10.ark
cp dependencies/wii_patcher/patch-images.sh rb3dx_wii_patcher/patch-images.sh
cp dependencies/wii_patcher/setup.sh rb3dx_wii_patcher/bin/setup.sh
- name: Remove .gitkeep
run: |
find . -name ".gitkeep" -type f -delete
- name: Upload result
uses: actions/upload-artifact@v4
with:
name: RB3DX-Wii-Patcher
path: rb3dx_wii_patcher