aboutsummaryrefslogtreecommitdiff
path: root/opk
diff options
context:
space:
mode:
authorgameblabla2020-11-13 11:51:03 +0000
committerGitHub2020-11-13 11:51:03 +0000
commit2c0f6b94dde7ee731b12d8cd0325125a4130f7e1 (patch)
tree561d15ab3b9d9b7019420b6d8a01c652a65e6433 /opk
parentc6d560b0adc5b321115f2597091422787588b807 (diff)
parentbd845b9085ab3f59a66278c4f7d4d00877d8fce1 (diff)
downloadsnesemu-2c0f6b94dde7ee731b12d8cd0325125a4130f7e1.tar.gz
snesemu-2c0f6b94dde7ee731b12d8cd0325125a4130f7e1.tar.bz2
snesemu-2c0f6b94dde7ee731b12d8cd0325125a4130f7e1.zip
Merge pull request #2 from m45t3r/gcw0-support
GCW0 support and some fixes
Diffstat (limited to 'opk')
-rw-r--r--opk/default.gcw0.desktop12
-rwxr-xr-xopk/make_opk.sh15
-rw-r--r--opk/sfc.pngbin0 -> 3011 bytes
3 files changed, 27 insertions, 0 deletions
diff --git a/opk/default.gcw0.desktop b/opk/default.gcw0.desktop
new file mode 100644
index 0000000..cba0da9
--- /dev/null
+++ b/opk/default.gcw0.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=snes9emu
+Comment=Super Nintendo emulator
+Comment[fr]=Émulateur de Super Nintendo
+Comment[es]=Emulador de Super Nintendo
+Exec=snes9x %f
+Terminal=false
+Type=Application
+StartupNotify=true
+Icon=sfc
+Categories=emulators;
+MimeType=application/x-snes-rom;application/zip;
diff --git a/opk/make_opk.sh b/opk/make_opk.sh
new file mode 100755
index 0000000..f263b63
--- /dev/null
+++ b/opk/make_opk.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+cd $(dirname "$0")
+
+OPK_NAME="${1:-snesemu.opk}"
+
+echo Building "${OPK_NAME}"...
+
+# create opk
+FLIST="../snes9x default.gcw0.desktop sfc.png"
+
+rm -f "${OPK_NAME}"
+mksquashfs ${FLIST} "${OPK_NAME}" -all-root -no-xattrs -noappend -no-exports
+
+cat default.gcw0.desktop
diff --git a/opk/sfc.png b/opk/sfc.png
new file mode 100644
index 0000000..0fe6f7e
--- /dev/null
+++ b/opk/sfc.png
Binary files differ