From a9fc0adf962af598972d9dde7b4b4a91c61837ba Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Sun, 3 Oct 2021 11:37:33 +0200 Subject: 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> --- res/icon/melon_128x128.png | Bin 0 -> 59159 bytes res/icon/melon_16x16.png | Bin 0 -> 730 bytes res/icon/melon_256x256.png | Bin 0 -> 149161 bytes res/icon/melon_32x32.png | Bin 0 -> 1686 bytes res/icon/melon_48x48.png | Bin 0 -> 3340 bytes res/icon/melon_64x64.png | Bin 0 -> 32364 bytes res/melon.icns | Bin 0 -> 401172 bytes res/melon.ico | Bin 0 -> 123533 bytes res/melon.plist.in | 38 ++++++++++++++++++++++++++++++++++++++ res/melon.qrc | 6 ++++++ res/melon.rc.in | 34 ++++++++++++++++++++++++++++++++++ res/net.kuribo64.melonDS.desktop | 11 +++++++++++ res/xp.manifest | 23 +++++++++++++++++++++++ 13 files changed, 112 insertions(+) create mode 100755 res/icon/melon_128x128.png create mode 100755 res/icon/melon_16x16.png create mode 100755 res/icon/melon_256x256.png create mode 100755 res/icon/melon_32x32.png create mode 100755 res/icon/melon_48x48.png create mode 100755 res/icon/melon_64x64.png create mode 100644 res/melon.icns create mode 100644 res/melon.ico create mode 100644 res/melon.plist.in create mode 100644 res/melon.qrc create mode 100644 res/melon.rc.in create mode 100644 res/net.kuribo64.melonDS.desktop create mode 100644 res/xp.manifest (limited to 'res') diff --git a/res/icon/melon_128x128.png b/res/icon/melon_128x128.png new file mode 100755 index 0000000..b8cd179 Binary files /dev/null and b/res/icon/melon_128x128.png differ diff --git a/res/icon/melon_16x16.png b/res/icon/melon_16x16.png new file mode 100755 index 0000000..4fdce27 Binary files /dev/null and b/res/icon/melon_16x16.png differ diff --git a/res/icon/melon_256x256.png b/res/icon/melon_256x256.png new file mode 100755 index 0000000..59bf63a Binary files /dev/null and b/res/icon/melon_256x256.png differ diff --git a/res/icon/melon_32x32.png b/res/icon/melon_32x32.png new file mode 100755 index 0000000..3d31487 Binary files /dev/null and b/res/icon/melon_32x32.png differ diff --git a/res/icon/melon_48x48.png b/res/icon/melon_48x48.png new file mode 100755 index 0000000..c6ff679 Binary files /dev/null and b/res/icon/melon_48x48.png differ diff --git a/res/icon/melon_64x64.png b/res/icon/melon_64x64.png new file mode 100755 index 0000000..6182efb Binary files /dev/null and b/res/icon/melon_64x64.png differ diff --git a/res/melon.icns b/res/melon.icns new file mode 100644 index 0000000..b4f3733 Binary files /dev/null and b/res/melon.icns differ diff --git a/res/melon.ico b/res/melon.ico new file mode 100644 index 0000000..3870279 Binary files /dev/null and b/res/melon.ico 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 @@ + + + + + CFBundleExecutable + melonDS + CFBundleIconFile + melon.icns + CFBundleIdentifier + net.kuribo64.melonDS + CFBundleDevelopmentRegion + English + CFBundlePackageType + APPL + CFBundleVersion + ${MELONDS_VERSION} + CFBundleShortVersionString + ${MELONDS_VERSION} + NSHumanReadableCopyright + Licensed under GPLv3 + NSHighResolutionCapable + + NSMicrophoneUsageDescription + We need microphone access so you can use the emulated DS microphone + CFBundleDocumentTypes + + + CFBundleTypeExtensions + + nds + srl + + CFBundleTypeRole + Viewer + + + + 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 @@ + + + + icon/melon_256x256.png + + 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 @@ + + + +Project + + + + + + -- cgit v1.2.3