Friday, July 2, 2010

v0.0.1

Complete script as of now. Will work more on it in a few weeks.

#!/bin/bash

#
#Chear Utility v0.0.1
#Compiled by Zamda. Credits go to various cheat discoverers.
#
#If you have a cheat you want to add, pm me over at xSellize.
echo "Welcome to CheatUtility :)"

if [ ! -e /usr/bin/plutil ]; then
echo "You don't have plutil. Install Erica Utilities from Cydia."
exit
fi

case $1 in

"")
clear
echo "CheatUtility is maintained by Zamda. Feel free to contribute a cheat or a bit of bash. Credit given where due."
echo
echo "Usage: cheat -gamename"
echo "===Available Games==="
echo "-volley"
echo "-glasstower2"

;;

"-volley")
clear
function volleyp
{
cd /var/mobile/Applications/*/Volley.app
cd ..
cd Library/Preferences
echo Unlock all levels? [y/n]
read y

if [ $y == y ]; then
plutil -set 'max_level' -value '16' "com.tapelicious.volley.plist"
echo "Done!"
echo "Cheat by Zamda"
exit
else
echo Ok
exit
fi
}


if [ -d /var/mobile/Applications/*/Volley.app ]; then
volleyp
else
echo "You don't own this app."
exit
fi
;;

"-glasstower2")
clear
function glasstowerp
{

echo "Unlock all paid levels? (You will find them in Userlevels) [y/n]"
read y

if [ $y == y ]; then
cd /var/mobile/Applications/*/GlassTower2.app
cd ..
cd Documents
mv UserLevels UsrLvlsGT2
echo "Linking Files"
cp -l /var/mobile/Applications/*/GlassTower2.app/Level* /var/mobile/Applications/*/Documents/UsrLvlsGT2
cd /var/mobile/Applications/*/GlassTower2.app
cd ..
cd Documents
mv UsrLvlsGT2 UserLevels
echo "Done!"
echo "Cheat by Zamda"
exit
else
echo Ok
exit
fi
}


if [ -d /var/mobile/Applications/*/GlassTower2.app ]; then
glasstowerp
else
echo "You don't own this app."
exit
fi
;;


esac
exit

Glass Tower 2

Unlocks currently all levels (they already exist in app folder, even without buying them). Will try to work more on this game.

"-glasstower2")
clear
function glasstowerp
{

echo "Unlock all paid levels? (You will find them in Userlevels) [y/n]"
read y

if [ $y == y ]; then
cd /var/mobile/Applications/*/GlassTower2.app
cd ..
cd Documents
mv UserLevels UsrLvlsGT2
echo "Linking Files"
cp -l /var/mobile/Applications/*/GlassTower2.app/Level* /var/mobile/Applications/*/Documents/UsrLvlsGT2
cd /var/mobile/Applications/*/GlassTower2.app
cd ..
cd Documents
mv UsrLvlsGT2 UserLevels
echo "Done!"
echo "Cheat by Zamda"
exit
else
echo Ok
exit
fi
}


if [ -d /var/mobile/Applications/*/GlassTower2.app ]; then
glasstowerp
else
echo
"You don't own this app."
exit
fi
;;

Saturday, June 19, 2010

Volley

Unlocks all levels

"-volley")
clear
function volleyp
{
cd /var/mobile/Applications/*/Volley.app
cd ..
cd Library/Preferences
echo Unlock all levels? [y/n]
read y

if [ $y == y ]; then
plutil -set 'max_level' -value '16' "com.tapelicious.volley.plist"
echo "Done!"
echo "Cheat by Zamda"
exit
else
echo Ok
exit
fi
}

if [ -d /var/mobile/Applications/*/Volley.app ]; then
volleyp
else
echo "You don't own this app."
exit
fi
;;