Skip to content

Commit 3ddb0fb

Browse files
committed
WII: add readme
1 parent b7a8474 commit 3ddb0fb

File tree

4 files changed

+43
-2
lines changed

4 files changed

+43
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ It is written in [OOP](https://en.wikipedia.org/wiki/Object-oriented_programming
99

1010
## Platform support
1111

12-
This officially supports Linux, Windows, MacOS, Android, Nintendo Switch and Nintendo 3DS.
12+
This officially supports Linux, Windows, MacOS, Android, Nintendo Switch , Nintendo Wii and Nintendo 3DS.
1313

1414
Why these? Because it was fun to port the application to those platforms 😋
1515

docs/develop.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ For concrete instructions, see the list below:
2828
[switch](3ds.md)
2929

3030

31+
## Nintendo Wii
32+
33+
[wii](wii.md)
34+
3135
## Android
3236

3337
[android](android.md)

docs/switch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
- a C++23 compatible cross compiler, we only support The [devkitpro](https://devkitpro.org/) one
66
- meson
7-
- some portlibs from devkitpro, namely sdl2, sld2_ttf, sdl2_mix.
7+
- some portlibs from devkitpro, namely sdl2, sdl2_ttf, sdl2_mix.
88

99

1010
## Compiling

docs/wii.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Nintendo Wii build
2+
3+
## Prerequisites
4+
5+
- a C++23 compatible cross compiler, we only support The [devkitpro](https://devkitpro.org/) one
6+
- meson
7+
- some portlibs from devkitpro, namely sdl2, sdl2_ttf, sdl2_mix.
8+
9+
10+
## Compiling
11+
12+
13+
Cross Compiling is only possible on linux-like systems.
14+
15+
We use meson and cross-compilation files, everything is wrapped into shell script, so you just need to run:
16+
17+
18+
```bash
19+
./platforms/build-wii.sh
20+
21+
```
22+
After that you can find the runnable executable (also supports emulators)
23+
in `build-wii/oopetris.dol`
24+
25+
Typically this would be moved into a folder on an external SD card of the WII, than you can load it with Homebrew.
26+
27+
28+
The Folder structure would be:
29+
30+
`/apps/OOPetris/`
31+
- `boot.dol`
32+
- `icon.png`
33+
- `meta.xml`
34+
35+
At the moment we don't package that like this, but in the future we might.
36+
37+
The `meta.xml` file is being generated, the `boot.dol` file has to be renamed and the `icon.png` can be taken from the `assets/icon/` folder

0 commit comments

Comments
 (0)