Skip to content

Commit 99d1b15

Browse files
committed
Create a release archive
1 parent cda0675 commit 99d1b15

File tree

4 files changed

+35
-2
lines changed

4 files changed

+35
-2
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/build
2+
/dist
23
*.dol
34
*.elf
45

@@ -8,6 +9,7 @@ ipl.rom
89
*.vgc
910
*.bin
1011
*.gci
12+
*.zip
1113

1214
/subprojects/libogc2
1315

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ should you want to use it for development purposes.
6060

6161
## Installation
6262

63-
Download the designated appropriate file for your device from the [latest release].
63+
Download and extract the [latest release].
6464

6565
Prepare your SD card by copying DOLs onto the SD card and renaming them
6666
according the table above.
@@ -188,7 +188,7 @@ Qoob Pro requires BS1 (early initialization code) from the original bootrom.
188188
This can be obtained from an existing Qoob Pro BIOS or any IPL dump.
189189

190190
To use an existing Qoob Pro BIOS (easiest method),
191-
download `iplboot_qoob_pro.gcb` from the [latest release].
191+
grab `iplboot_qoob_pro.gcb` from the [latest release].
192192

193193
Alternatively, you can dump the IPL ROM from your own GameCube using Swiss:
194194
1. Ensure file management is enabled in Swiss settings: press B, select the gear

meson.build

+14
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,17 @@ if full_rom_opt.allowed()
107107
output: 'iplboot_qoob_pro.gcb',
108108
command: [dol2ipl, '@OUTPUT@', '@INPUT@'],
109109
build_by_default: true,
110+
install: true,
111+
install_dir: '/qoob_pro',
110112
)
111113
qoob_pro_updater_tgt = custom_target(
112114
'qoob_pro_updater',
113115
input: [qoob_pro, qoob_pro_updater],
114116
output: 'qoob_pro_iplboot_upgrade.elf',
115117
command: [qoob_injector, '@INPUT@', '@OUTPUT@'],
116118
build_by_default: true,
119+
install: true,
120+
install_dir: '/qoob_pro',
117121
)
118122
endif
119123

@@ -135,6 +139,8 @@ qoob_sx_updater_tgt = custom_target(
135139
output: 'qoob_sx_iplboot_upgrade.elf',
136140
command: [qoob_injector, '@INPUT@', '@OUTPUT@'],
137141
build_by_default: true,
142+
install: true,
143+
install_dir: '/',
138144
)
139145

140146
viper = custom_target(
@@ -143,6 +149,8 @@ viper = custom_target(
143149
output: 'iplboot_viper.vgc',
144150
command: [dol2ipl, '@OUTPUT@', '@INPUT@'],
145151
build_by_default: true,
152+
install: true,
153+
install_dir: '/',
146154
)
147155

148156
pico = custom_target(
@@ -151,6 +159,8 @@ pico = custom_target(
151159
output: 'iplboot_pico.uf2',
152160
command: [dol2ipl, '@OUTPUT@', '@INPUT@'],
153161
build_by_default: true,
162+
install: true,
163+
install_dir: '/',
154164
)
155165

156166
gci = custom_target(
@@ -159,4 +169,8 @@ gci = custom_target(
159169
output: 'iplboot_memcard.gci',
160170
command: [dol2gci, '@INPUT@', '@OUTPUT@', 'boot.dol'],
161171
build_by_default: true,
172+
install: true,
173+
install_dir: '/',
162174
)
175+
176+
install_data('README.md', install_dir: '/')

release.sh

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
distdir=$PWD/dist
6+
builddir=$distdir/build
7+
destdir=$distdir/iplboot
8+
9+
version=$(git describe --always --tags --dirty)
10+
distfile=iplboot-$version.zip
11+
12+
rm -rf "$distdir" "$distfile"
13+
14+
meson setup . "$builddir" --cross-file=devkitPPC.ini -Dfull_rom=enabled
15+
meson install -C "$builddir" --skip-subprojects --destdir "$destdir"
16+
17+
7z a "$distfile" "$destdir/*"

0 commit comments

Comments
 (0)