usbloadergx/svnrev.sh
Cyan 18edba07a0 * Changed priority to cIOS instead of "IOS58 + AHB access"
at launch if no argument is set in meta.xml.
* Added an option to choose if HDD should be mounted on
  Loader's launch
* Fixed installing games with no_split on NTFS partition 
  if SD Card is inserted (Thanks Dimok)
* Fixed a crash issue when plugging HDD after launch and
  mounting WBFS partition for the first time in HDD menu.
* Fixed gamecube game's list when mounting HDD after launch.
* Fixed automatic switching to channel mode if no USB device
  is detected.
* Updated Gamecube custom banner's default URL for new install.
* Added support for 302 Redirect HTTP error code 
  (for users still using the old banner URL).
* Updated runtimeiospatch to 1.5.2
* Replaced integer values with vector in credit page.

Nintendont : 
* Removed SRAM patch (unused)
* Added Nintendont svn support. (Tested up to r84)
* Added Nintendont USB support.
* Added a check for kenobi file presence when using Ocarina
  with DM/DML/NIN.
* Added a check for controller.ini presence when using HID 
  with Nintendont.
* Added support for Nintendont "loader.dol" filename
* Added support for r39 bootusb.dol and loaderusb.dol
2014-04-25 15:34:53 +00:00

98 lines
2.8 KiB
Bash

#! /bin/bash
#
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')
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/')
a=$(echo $rev_new_raw | sed 's/\([0-9]*\).*/\1/')
done
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
cat <<EOF > ./source/svnrev.c
#define SVN_REV "$rev_new"
const char *GetRev()
{
return SVN_REV;
}
EOF
if [ -n "$rev_new" ]; then
echo "Changed Rev $rev_old to $rev_new" >&2
else
echo "svnrev.c created" >&2
fi
echo >&2
fi
rev_new=`expr $rev_new + 1`
rev_date=`date -u +%Y%m%d%H%M%S`
cat <<EOF > ./HBC/META.XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<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>
</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.
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:
Coding: Cyan, Dimok, nIxx, giantpune, ardi, Hungyip84, DrayX7, Lustar, r-win, WiiShizzza
Artworks: cyrex, NeoRame
Validation: Cyan and many others
Issue management: Cyan
WiiTDB / Hosting covers: Lustar
USBLoader sources: Waninkoko, Kwiirk, Hermes
cIOS maintenance: davebaol, xabby666, XFlak and Rodries
Languages files updates: Kinyo and translaters
Hosting themes: Deak Phreak
Libwiigui: Tantric
Libogc/Devkit: Shagkur and Wintermute
FreeTypeGX: Armin Tamzarian.
Links:
USB Loader GX Project Page and Support Site:
http://code.google.com/p/usbloader-gui/
Help Website:
http://usbloadergx.koureio.net/
WiiTDB Site:
http://wiitdb.com
Themes Site:
http://wii.spiffy360.com
Languages Translaters Page:
http://gbatemp.net/index.php?showtopic=155252
Libwiigui Website:
http://wiibrew.org/wiki/Libwiigui/
FreeTypeGX Project Page:
http://code.google.com/p/freetypegx/
Gettext Official Page:
http://www.gnu.org/software/gettext/gettext.html
</long_description>
</app>
EOF