Skip to content

Commit 5adb855

Browse files
Merge branch '96flashbacks:main' into main
2 parents 50db25a + b8120e8 commit 5adb855

2 files changed

Lines changed: 19 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
4444
Commit message from latest build:
4545
${{github.event.head_commit.message}}
46-
files: ${{github.event.repository.name}}-${{github.ref_name}}.bps
46+
files: |
47+
${{github.event.repository.name}}-${{github.ref_name}}.bps
48+
${{github.event.repository.name}}-${{github.ref_name}}-hle.bps
4749
clear_attachments: false
4850
prerelease: true

makecontinuous.sh

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1+
#!/bin/bash
2+
3+
# Pre-calculate the hash string to reuse it for both builds
4+
HASH_STAMP="$(echo "H$(cat .git/refs/heads/$2)" | cut -c1-7 | tr '[:lower:]' '[:upper:]')"
5+
6+
# Standard Build
17
make -j
2-
printf "$(echo "H$(cat .git/refs/heads/$2)" | cut -c1-7 | tr '[:lower:]' '[:upper:]')" | dd of=build/jp/sm64.jp.z64 bs=1 seek=42 count=7 conv=notrunc
8+
printf "$HASH_STAMP" | dd of=build/jp/sm64.jp.z64 bs=1 seek=42 count=7 conv=notrunc
9+
tools/sm64tools/n64cksum build/jp/sm64.jp.z64
310
make patch -j
411
cp build/jp/sm64.jp.bps "$1-$2.bps"
12+
13+
# HLE Build
14+
make clean
15+
make -j GRUCODE=f3d_20E
16+
printf "$HASH_STAMP" | dd of=build/jp/sm64.jp.z64 bs=1 seek=42 count=7 conv=notrunc
17+
tools/sm64tools/n64cksum build/jp/sm64.jp.z64
18+
make patch -j GRUCODE=f3d_20E
19+
cp build/jp/sm64.jp.bps "$1-$2-hle.bps"

0 commit comments

Comments
 (0)