2009-07-31 23:16:02 +02:00
#! /bin/bash
2009-07-30 22:21:44 +02:00
#
2009-07-31 00:40:44 +02:00
rev_new_raw = $( svnversion -n . 2>/dev/null | tr '\n' ' ' | tr -d '\r' )
[ -n " $rev_new_raw " ] || rev_new_raw = $( SubWCRev . 2>/dev/null | tr '\n' ' ' | tr -d '\r' )
2009-07-30 22:21:44 +02:00
2020-07-09 03:11:30 +02:00
[ -z " $rev_new_raw " ] && rev_new_raw = $( cat version.txt) && skip_ver_bump = "true"
2009-07-30 22:21:44 +02:00
2009-07-31 00:40:44 +02:00
rev_new_raw = $( echo $rev_new_raw | sed 's/[^0-9]*\([0-9]*\)\(.*\)/\1 \2/' )
rev_new = 0
a = $( echo $rev_new_raw | sed 's/\([0-9]*\).*/\1/' )
let "a+=0"
#find max rev
while [ " $a " ] ; do
[ " $a " -gt " $rev_new " ] && rev_new = $a
rev_new_raw = $( echo -n $rev_new_raw | sed 's/[0-9]*[^0-9]*\([0-9]*\)\(.*\)/\1 \2/' )
2010-12-31 00:49:22 +01:00
a = $( echo $rev_new_raw | sed 's/\([0-9]*\).*/\1/' )
2009-07-31 00:40:44 +02:00
done
2009-07-30 22:21:44 +02:00
2009-07-31 00:40:44 +02:00
rev_old = $( cat ./source/svnrev.c 2>/dev/null | tr -d '\n' | sed 's/[^0-9]*\([0-9]*\).*/\1/' )
if [ " $rev_new " != " $rev_old " ] || [ ! -f ./source/svnrev.c ] ; then
2010-12-31 00:49:22 +01:00
2009-07-31 00:40:44 +02:00
cat <<EOF > ./source/svnrev.c
#define SVN_REV "$rev_new"
const char *GetRev( )
{
return SVN_REV;
}
EOF
2020-07-09 03:11:30 +02:00
if [ -z " $rev_old " ] ; then
echo " Created svnrev.c and set the revision to $rev_new " >& 2
2009-07-31 00:40:44 +02:00
else
2020-07-09 03:11:30 +02:00
echo " Changed the revision from $rev_old to $rev_new " >& 2
2009-07-31 00:40:44 +02:00
fi
2011-12-22 23:44:48 +01:00
fi
2009-11-21 23:59:57 +01:00
2020-07-09 03:11:30 +02:00
[ " $skip_ver_bump " != "true" ] && rev_new = ` expr $rev_new + 1`
2012-10-14 18:27:01 +02:00
rev_date = ` date -u +%Y%m%d%H%M%S`
2010-12-31 00:49:22 +01:00
2015-11-17 15:41:27 +01:00
cat <<EOF > ./HBC/meta.xml
2009-11-17 23:57:41 +01:00
<?xml version = "1.0" encoding = "UTF-8" standalone = "yes" ?>
2020-07-09 03:11:30 +02:00
<app version = "1" >
<name> USB Loader GX</name>
<coder>USB Loader GX Team</coder>
<version>3.0 r$rev_new </version>
<release_date>$rev_date </release_date>
<!-- remove this line to enable arguments
<arguments>
<arg>--ios= 250</arg>
<arg>--usbport= 0</arg>
<arg>--mountusb= 1</arg>
</arguments>
remove this line to enable arguments -->
<ahb_access/>
<short_description>Loads games from USB-devices</short_description>
<long_description>USB Loader GX is a libwiigui based USB iso loader with a wii-like GUI. You can install games to your HDDs and boot them with shorter loading times.
2009-11-17 23:57:41 +01:00
The interactive GUI is completely controllable with WiiMote, Classic Controller or GC Controller.
Features are automatic widescreen detection, coverdownload, parental control, theme support and many more.
Credits:
2020-07-09 03:11:30 +02:00
Coding: Cyan, Dimok, blackb0x, nIxx, giantpune, ardi, Hungyip84, DrayX7, Lustar, r-win, WiiShizzza
2009-11-17 23:57:41 +01:00
Artworks: cyrex, NeoRame
2011-06-29 22:45:40 +02:00
Validation: Cyan and many others
2014-04-25 17:34:53 +02:00
Issue management: Cyan
2020-07-09 03:11:30 +02:00
GameTDB / Hosting covers: Lustar
2009-11-17 23:57:41 +01:00
USBLoader sources: Waninkoko, Kwiirk, Hermes
2011-06-29 22:45:40 +02:00
cIOS maintenance: davebaol, xabby666, XFlak and Rodries
2009-11-17 23:57:41 +01:00
Languages files updates: Kinyo and translaters
2020-07-09 03:11:30 +02:00
Themes website: Larsenv, Wingysam
2009-11-17 23:57:41 +01:00
Libwiigui: Tantric
Libogc/Devkit: Shagkur and Wintermute
FreeTypeGX: Armin Tamzarian.
2020-07-09 03:11:30 +02:00
USB Loader GX ( enhanced) :
https://github.com/wiidev/usbloadergx
USB Loader GX ( official) :
https://sourceforge.net/projects/usbloadergx
Support ( official) :
https://gbatemp.net/threads/149922
GameTDB:
https://www.gametdb.com
Themes:
https://theme.rc24.xyz
2009-11-17 23:57:41 +01:00
2020-07-09 03:11:30 +02:00
Libwiigui:
https://wiibrew.org/wiki/Libwiigui
FreeTypeGX:
https://github.com/ArminTamzarian/freetypegx
Gettext:
https://www.gnu.org/software/gettext</long_description>
</app>
2009-11-17 23:57:41 +01:00
EOF