From 84f92c54e7faf6b366e5b038235aeb104798cad0 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sun, 11 May 2014 20:43:49 +0200 Subject: [PATCH] add mkwiimm.db --- script.d/common.sh | 10 ++++++++++ script.d/mkwiimm.db | 21 +++++++++++++++++++++ script.d/wiimmfi.sh | 2 +- 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 script.d/mkwiimm.db diff --git a/script.d/common.sh b/script.d/common.sh index 87a1b8a..31841b1 100644 --- a/script.d/common.sh +++ b/script.d/common.sh @@ -253,6 +253,16 @@ check_riivolution_patch () { } +download_covers () { + + for path in cover cover3D coverfull disc disccustom; do + wget -O ${PATCHIMAGE_COVER_DIR}/${1}_${cover}.png \ + http://art.gametdb.com/wii/cover/${cover}/EN/${1}.png &>/dev/null \ + || echo "Cover (${cover}) does not exists for gameid ${1}." + done + +} + optparse () { xcount=0 diff --git a/script.d/mkwiimm.db b/script.d/mkwiimm.db new file mode 100644 index 0000000..3507fe5 --- /dev/null +++ b/script.d/mkwiimm.db @@ -0,0 +1,21 @@ +RMCP01 Original Mario Kart Wii +RMCP06 Wiimms MKW Fun 2010-12 +RMCP07 Wiimms MKW Retro 2011-02 +RMCP08 Wiimms MKW Fun 2011-03 +RMCP09 Wiimms MKW Fun 2011-06 +RMCP10 Wiimms MKW Fun 2011-07 +RMCP11 Wiimms MKW Fun 2011-08 +RMCP12 Wiimms MKW Fun 2011-11 +RMCP13 Wiimms MKW Fun 2012-01 +RMCP14 Wiimms MKW Revival 2012-02 +RMCP15 Wiimms MKW Boost 2012-03 +RMCP16 Wiimms MKW Fun 2012-05 +RMCP17 Wiimms MKW Fun 2012-09 +RMCP18 Wiimms MKW N64 2012-10 +RMCP19 Wiimms MKW Fun 2012-12 +RMCP20 Wiimms MKW Fun 2013-04 +RMCP21 Wiimms MKW Fun 2013-09 +RMCP22 Wiimms MKW Fun 2013-10 +RMCP23 Wiimms MKW-Fun 2014-01 +RMCP24 Wiimms MKW Retro 2014-02 +RMCP25 Wiimms MKW-Fun 2014-04 diff --git a/script.d/wiimmfi.sh b/script.d/wiimmfi.sh index b50f778..9ff45d0 100644 --- a/script.d/wiimmfi.sh +++ b/script.d/wiimmfi.sh @@ -44,7 +44,7 @@ patch_wiimm () { for image in "${IMAGE_DIR}"/RMC???.iso "${IMAGE_DIR}"/RMC???.wbfs; do if [[ -e ${image} ]]; then cp -v "${image}" . - ./create-image.sh + ./create-image.sh >/dev/null mv -v ./wiimmfi-images/${image##*/} "${PATCHIMAGE_GAME_DIR}"/ rm ${image##*/} fi