File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
17make -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
310make patch -j
411cp 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"
You can’t perform that action at this time.
0 commit comments