aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorNadia Holmquist Pedersen <nadia@nhp.sh>2021-10-03 11:37:33 +0200
committerGitHub <noreply@github.com>2021-10-03 09:37:33 +0000
commita9fc0adf962af598972d9dde7b4b4a91c61837ba (patch)
treecf47a2f8233f97f2e476c9d83e1a31dde93145c5 /res
parentd378b0252f0f8ea7a97889e35320a49b9192affc (diff)
Move resources to res/ directory (#1204)
* Move resources to res/ directory and update CMake scripts accordingly Co-authored-by: Rayyan Ansari <68647953+RayyanAnsari@users.noreply.github.com>
Diffstat (limited to 'res')
-rwxr-xr-xres/icon/melon_128x128.pngbin0 -> 59159 bytes
-rwxr-xr-xres/icon/melon_16x16.pngbin0 -> 730 bytes
-rwxr-xr-xres/icon/melon_256x256.pngbin0 -> 149161 bytes
-rwxr-xr-xres/icon/melon_32x32.pngbin0 -> 1686 bytes
-rwxr-xr-xres/icon/melon_48x48.pngbin0 -> 3340 bytes
-rwxr-xr-xres/icon/melon_64x64.pngbin0 -> 32364 bytes
-rw-r--r--res/melon.icnsbin0 -> 401172 bytes
-rw-r--r--res/melon.icobin0 -> 123533 bytes
-rw-r--r--res/melon.plist.in38
-rw-r--r--res/melon.qrc6
-rw-r--r--res/melon.rc.in34
-rw-r--r--res/net.kuribo64.melonDS.desktop11
-rw-r--r--res/xp.manifest23
13 files changed, 112 insertions, 0 deletions
diff --git a/res/icon/melon_128x128.png b/res/icon/melon_128x128.png
new file mode 100755
index 0000000..b8cd179
--- /dev/null
+++ b/res/icon/melon_128x128.png
Binary files differ
diff --git a/res/icon/melon_16x16.png b/res/icon/melon_16x16.png
new file mode 100755
index 0000000..4fdce27
--- /dev/null
+++ b/res/icon/melon_16x16.png
Binary files differ
diff --git a/res/icon/melon_256x256.png b/res/icon/melon_256x256.png
new file mode 100755
index 0000000..59bf63a
--- /dev/null
+++ b/res/icon/melon_256x256.png
Binary files differ
diff --git a/res/icon/melon_32x32.png b/res/icon/melon_32x32.png
new file mode 100755
index 0000000..3d31487
--- /dev/null
+++ b/res/icon/melon_32x32.png
Binary files differ
diff --git a/res/icon/melon_48x48.png b/res/icon/melon_48x48.png
new file mode 100755
index 0000000..c6ff679
--- /dev/null
+++ b/res/icon/melon_48x48.png
Binary files differ
diff --git a/res/icon/melon_64x64.png b/res/icon/melon_64x64.png
new file mode 100755
index 0000000..6182efb
--- /dev/null
+++ b/res/icon/melon_64x64.png
Binary files differ
diff --git a/res/melon.icns b/res/melon.icns
new file mode 100644
index 0000000..b4f3733
--- /dev/null
+++ b/res/melon.icns
Binary files differ
diff --git a/res/melon.ico b/res/melon.ico
new file mode 100644
index 0000000..3870279
--- /dev/null
+++ b/res/melon.ico
Binary files differ
diff --git a/res/melon.plist.in b/res/melon.plist.in
new file mode 100644
index 0000000..1057c47
--- /dev/null
+++ b/res/melon.plist.in
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleExecutable</key>
+ <string>melonDS</string>
+ <key>CFBundleIconFile</key>
+ <string>melon.icns</string>
+ <key>CFBundleIdentifier</key>
+ <string>net.kuribo64.melonDS</string>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleVersion</key>
+ <string>${MELONDS_VERSION}</string>
+ <key>CFBundleShortVersionString</key>
+ <string>${MELONDS_VERSION}</string>
+ <key>NSHumanReadableCopyright</key>
+ <string>Licensed under GPLv3</string>
+ <key>NSHighResolutionCapable</key>
+ <true/>
+ <key>NSMicrophoneUsageDescription</key>
+ <string>We need microphone access so you can use the emulated DS microphone</string>
+ <key>CFBundleDocumentTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleTypeExtensions</key>
+ <array>
+ <string>nds</string>
+ <string>srl</string>
+ </array>
+ <key>CFBundleTypeRole</key>
+ <string>Viewer</string>
+ </dict>
+ </array>
+</dict>
+</plist>
diff --git a/res/melon.qrc b/res/melon.qrc
new file mode 100644
index 0000000..38915bb
--- /dev/null
+++ b/res/melon.qrc
@@ -0,0 +1,6 @@
+<!DOCTYPE RCC>
+<RCC version="1.0">
+ <qresource>
+ <file alias="melon-icon">icon/melon_256x256.png</file>
+ </qresource>
+</RCC>
diff --git a/res/melon.rc.in b/res/melon.rc.in
new file mode 100644
index 0000000..d38f86c
--- /dev/null
+++ b/res/melon.rc.in
@@ -0,0 +1,34 @@
+#define VOS_NT_WINDOWS32 0x00040004L
+#define VFT_APP 0x00000001L
+
+//this will set your .exe icon
+100 ICON MOVEABLE PURE LOADONCALL DISCARDABLE "res/melon.ico"
+
+//include version information in .exe, modify these values to match your needs
+1 VERSIONINFO
+FILEVERSION ${MELONDS_VERSION_MAJOR},${MELONDS_VERSION_MINOR},${MELONDS_VERSION_PATCH},0
+PRODUCTVERSION ${MELONDS_VERSION_MAJOR},${MELONDS_VERSION_MINOR},${MELONDS_VERSION_PATCH},0
+FILETYPE VFT_APP
+{
+ BLOCK "StringFileInfo"
+ {
+ BLOCK "040904E4"
+ {
+ VALUE "CompanyName", "Melon Factory of Kuribo64"
+ VALUE "FileVersion", "${MELONDS_VERSION}"
+ VALUE "FileDescription", "DS emulator, sorta. also 1st quality melon."
+ VALUE "InternalName", "SDnolem"
+ VALUE "LegalCopyright", "2016-2021 Arisotura & co."
+ VALUE "LegalTrademarks", ""
+ VALUE "OriginalFilename", "zafkflzdasd.exe"
+ VALUE "ProductName", "melonDS"
+ VALUE "ProductVersion", "${MELONDS_VERSION}"
+ }
+ }
+ BLOCK "VarFileInfo"
+ {
+ VALUE "Translation", 0x0409, 1252 //language codes
+ }
+}
+
+1 24 "res/xp.manifest"
diff --git a/res/net.kuribo64.melonDS.desktop b/res/net.kuribo64.melonDS.desktop
new file mode 100644
index 0000000..de12ecc
--- /dev/null
+++ b/res/net.kuribo64.melonDS.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=melonDS
+GenericName=Nintendo DS Emulator
+Comment=A fast and accurate Nintendo DS emulator.
+Exec=melonDS %f
+Type=Application
+Categories=Game;Emulator;
+Terminal=false
+Icon=net.kuribo64.melonDS
+MimeType=application/x-nintendo-ds-rom;
+Keywords=emulator;Nintendo;DS;NDS;Nintendo DS;
diff --git a/res/xp.manifest b/res/xp.manifest
new file mode 100644
index 0000000..85ca945
--- /dev/null
+++ b/res/xp.manifest
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly
+ xmlns="urn:schemas-microsoft-com:asm.v1"
+ manifestVersion="1.0">
+<assemblyIdentity
+ name="Exe.Apps.Project"
+ processorArchitecture="amd64"
+ version="1.0.0.0"
+ type="win32"/>
+<description>Project</description>
+<dependency>
+ <dependentAssembly>
+ <assemblyIdentity
+ type="win32"
+ name="Microsoft.Windows.Common-Controls"
+ version="6.0.0.0"
+ processorArchitecture="amd64"
+ publicKeyToken="6595b64144ccf1df"
+ language="*"
+ />
+ </dependentAssembly>
+</dependency>
+</assembly>