Generate Wii homebrew zip

This commit is contained in:
UnknownShadow200 2024-01-07 12:34:13 +11:00
parent 7d26562277
commit d9b01a0a11
4 changed files with 25 additions and 2 deletions

View file

@ -19,6 +19,13 @@ jobs:
make wii
make clean
make gamecube
- name: Create Wii homebrew
run: |
mkdir -p wiitest/apps/ClassiCube
cp ClassiCube-wii.dol wiitest/apps/ClassiCube/boot.dol
cp misc/wii/icon.png wiitest/apps/ClassiCube/icon.png
cp misc/wii/meta.xml wiitest/apps/ClassiCube/meta.xml
- uses: ./.github/actions/notify_failure
@ -50,4 +57,10 @@ jobs:
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'ClassiCube-gc.elf'
DEST_NAME: 'ClassiCube-gc.elf'
DEST_NAME: 'ClassiCube-gc.elf'
- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'wiitest'
DEST_NAME: 'ClassiCube-Wii-Homebrew'

View file

@ -26,7 +26,7 @@ ifeq ($(PLAT),web)
CC=emcc
OEXT=.html
CFLAGS=-g
LDFLAGS=-s WASM=1 -s NO_EXIT_RUNTIME=1 -s ALLOW_MEMORY_GROWTH=1
LDFLAGS=-s WASM=1 -s NO_EXIT_RUNTIME=1 -s ALLOW_MEMORY_GROWTH=1 --js-library src/interop_web.js
endif
ifeq ($(PLAT),mingw)

BIN
misc/wii/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

10
misc/wii/meta.xml Normal file
View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<app version="1.2">
<name>ClassiCube</name>
<version>1.3.5</version>
<coder>Unknownshadow200</coder>
<short_description>Play ClassiCube</short_description>
<long_description>yeet the blocks
place the blocks</long_description>
</app>