Jump to content

Cant create hack Theos errors


T13RN0

9 posts in this topic

Recommended Posts

Posted

So look i wanna make a hack

and first i would like to ask how to add a hook in shmoo template tweak.xm

example: 

int GetMoney ()

{

return 999999999;

}

 

First i did add switch and than feature and script but whenever i go to newterm and do make package it gives me this error

 

make package                                                

> Making all for tweak @@Anonie@@…                 

==> Compiling Tweak.xm (arm64)…                    

Tweak.xm:27:1: error: expected unqualified-id      

%hook @@APPDELEGATE@@                              

^                                                  

1 error generated.                                 

make[3]: *** [/var/theos/makefiles/instance/rules.mk:246: /var/mobile/ioshax/Realracing/.theos/obj/debug/arm64/Tweak.xm.2bb28351.o] Error 1                

make[2]: *** [/var/theos/makefiles/instance/library.mk:33: /var/mobile/ioshax/Realracing/.theos/obj/debug/arm64/@@Anonie@@.dylib] Error 2                  

make[1]: *** [/var/theos/makefiles/instance/library.mk:24: internal-library-all_] Error 2              

make: *** [/var/theos/makefiles/master/rules.mk:123: @@Anonie@@.all.tweak.variables] Error 2           

Anonie:/var/mobile/ioshax/Realracing root#

 

 

and yes i did fill the appdelegate

 

anyone knows fix

 

 

 

Posted

It seems like you did not fill in the necessary fields when creating a new project. Or you simply extracted the template and started compiling it.

"%hook @@APPDELEGATE@@" should not look like that.

Posted
4 minutes ago, DiDA said:

It seems like you did not fill in the necessary fields when creating a new project. Or you simply extracted the template and started compiling it.

"%hook @@APPDELEGATE@@" should not look like that.

Well i filled Tweak.xm

control 

plist

makefile

and i also still not get how to add hooks example above in topic 

Posted
3 minutes ago, T13RN0 said:

Well i filled Tweak.xm

control 

plist

makefile

and i also still not get how to add hooks example above in topic 

Have you ran $THEOS/bin/nic.pl when creating your project?

Posted

Uh, you can't extract it from the .tar file. You need to place the .tar file in $THEOS/templates and then run $THEOS/bin/nic.pl
Select the cheat from shmoo and then you fill in the required information. After that you have the correct Tweak.xm and other stuff you can modify. 

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines