Jump to content

51 posts in this topic

Recommended Posts

Posted

However i must add ARCHS = armv7 arm64 each time i create a new project. Is there a way to add it to Makefile file automatically ?

Or give me some tutorials to modify tweak.nic.tar file. I tried uncompress by iFile and compress by Terminal (command : tar -cvf) but not work, missing a Theos directory symbolic link in project.

Ask @@DiDA to create Template!

Posted

However i must add ARCHS = armv7 arm64 each time i create a new project. Is there a way to add it to Makefile file automatically ?

Or give me some tutorials to modify tweak.nic.tar file. I tried uncompress by iFile and compress by Terminal (command : tar -cvf) but not work, missing a Theos directory symbolic link in project.

You should make a support topic, it's great that you're getting help on mine but it kinda removes my question..

Posted

%hook MyMainGame

(int)SYS_GetRemainderJewel:(_MAIN_STRUCT*)fp8 { if(GetPrefBool(@"kJewels")) {

return 999999999;

%orig(fp8);

}

return %orig;

}

%end

Posted

%hook MyMainGame

(int)SYS_GetRemainderJewel:(_MAIN_STRUCT*)fp8 { if(GetPrefBool(@"kJewels")) {

return 999999999;

%orig(fp8);

}

return %orig;

}

%end

I get this error

 

Compiling Tweak.xm...

Tweak.xm:16:90: error: unknown type name '_MAIN_STRUCT'

...SEL, _MAIN_STRUCT*); static int _logos_method$_ungroup...

^

Tweak.xm:16:194: error: unknown type name '_MAIN_STRUCT'

...SEL, _MAIN_STRUCT*);

^

Tweak.xm:14:99: error: unknown type name '_MAIN_STRUCT'

...self, SEL _cmd, _MAIN_STRUCT* fp8) { if(GetPrefBool(@"...

^

3 errors generated.

make[2]: *** [obj/Tweak.xm.e19b5f27.o] Error 1

make[1]: *** [internal-library-all_] Error 2

make: *** [abhack.all.tweak.variables] Error 2

Posted (edited)

I get this error

 

Compiling Tweak.xm...

Tweak.xm:16:90: error: unknown type name '_MAIN_STRUCT'

...SEL, _MAIN_STRUCT*); static int _logos_method$_ungroup...

^

Tweak.xm:16:194: error: unknown type name '_MAIN_STRUCT'

...SEL, _MAIN_STRUCT*);

^

Tweak.xm:14:99: error: unknown type name '_MAIN_STRUCT'

...self, SEL _cmd, _MAIN_STRUCT* fp8) { if(GetPrefBool(@"...

^

3 errors generated.

make[2]: *** [obj/Tweak.xm.e19b5f27.o] Error 1

make[1]: *** [internal-library-all_] Error 2

make: *** [abhack.all.tweak.variables] Error 2

You could try replacing _main_struct with something simple, but I doubt it would work :b

Updated by Pro

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • 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