Jump to content

9 posts in this topic

Recommended Posts

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

 

 

 

Updated by T13RN0
Link to comment
https://iosgods.com/topic/77849-cant-create-hack-theos-errors/
Share on other sites

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.

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 

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?

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. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • 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