@shmoo
Thanks for the great Tut.. so I tired to play something but not quite getting there. I guess my main problem is I don't know what AppDelgate and how to answer with,
The result is I can build the package but didn't see button show up at my game. please can you share where can be wrong at my end?
NIC 2.0 - New Instance Creator
------------------------------
[1.] iphone/apmenu
[2.] iphone/application
[3.] iphone/library
[4.] iphone/preference_bundle
[5.] iphone/tool
[6.] iphone/tweak
[7.] shmoo's Mod Menu Template
Choose a Template (required): 7
Project Name (required): vfcheat
Package Name [com.yourcompany.vfcheat]: com.ap.valantforcehack
Author/Maintainer Name [System Administrator]: Steveb
[shmoo's Mod Menu Template] Cydia Substrate Bundle filter [com.apple.springboard]: com.diandian.valiantforce
[warning] Asked to link theos, but template lacks an optional theos link. Creating one! Contact the author of this template about this issue.
[shmoo's Mod Menu Template] Version of the app: 1.12.0
[shmoo's Mod Menu Template] Name of the hack: vfHack
[shmoo's Mod Menu Template] Name of the binary: valiantforce
[shmoo's Mod Menu Template] What is the AppDelegate: vfDegegate
[shmoo's Mod Menu Template] List of applications to terminate upon installation (space-separated, '-' for none) [SpringBoard]: com.diandian.valiantforce
Instantiating shmoo's Mod Menu Template in vfcheat/...
Done.
Steven6:/var/mobile/vfcheat root# make package
Making all for tweak vfcheat...
Preprocessing Tweak.xm...
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Compiling Tweak.xm...
Compiling ModMenu.mm...
Compiling Hack.mm...
Compiling Hook.mm...
Compiling SliderHook.mm...
Compiling TextfieldHook.mm...
Compiling InfoView.mm...
Linking tweak vfcheat...
Stripping vfcheat...
Signing vfcheat...
Making stage for tweak vfcheat...
dpkg-deb: building package 'com.ap.valantforcehack' in './debs/com.ap.valantforcehack_1.12.0-1_iphoneos-arm.deb'.
Steven6:/var/mobile/vfcheat root# dpkg -i ./debs/com.ap.valantforcehack_1.12.0-1_iphoneos-arm.deb
(Reading database ... 10204 files and directories currently installed.)
Preparing to unpack .../com.ap.valantforcehack_1.12.0-1_iphoneos-arm.deb ...
Unpacking com.ap.valantforcehack (1.12.0-1) over (0.0.1-1) ...
Setting up com.ap.valantforcehack (1.12.0-1) ...
Steven6:/var/mobile/vfcheat root#
at Tweak.xm, I add this line, updated some color setting as well
addHack(@"God Mode", @"God Power", font, {0x93C83C}, {0x5846}, {0x006c});