Jump to content

[source code]FlexConverter


94 posts in this topic

Recommended Posts

Posted (edited)

Thanks! Was hoping for the source code for that. The package has a few bugs (which I know you're aware of) but for the most part is totally awesome!

I've got a million flex patches I never submitted to cloud or were rejected because they hacked the IAP functions. Now I can share them with my other devices (and iOS Gods if it's something they haven't hacked yet) without having to start from scratch.

how to use

After installing the tweak, you type "FlexConverter name_of_ur_patch_to_convert".

 

It then copies to clipboard and displays in terminal most of what your tweak.xm file (in the project folder you created using nic.pl) is going to need. Nullified functions and ones with multiple arguments require you to do some small steps to get it working in Theos, then made into a deb.

 

If you get an error that your patch couldn't be found, it is probably because you have a newer iOS and/or newer version of Flex, or your spelling wasn't case-sensitive, which it needs to be. Also you could have multiple patches with same name that would give an error.

 

FlexConverter doesn't have support for Flex 3(at least not since i downloaded it last), but an easy fix for that is to just put a symlink for patches.plist, the one found at (/var/mobile/Library/Application Support/Flex3/patches.plist) pointing from where Flex2 and earlier versions stored patches (/var/mobile/documents/flex/patches.plist). Make sure you remove the old patches.plist (rename it or move to other folder- it could come in handy later.)

 

Edit:

I think I'm going to try modifying line 20 of the source code so the tweak can process patches made in Flex3. Gonna change to:

NSArray* patches = [[NSDictionary dictionaryWithContentsOfFile: @"/var/mobile/Library/Application Support/Flex3/patches.plist"] objectForKey: @"patches"];
Then copy paste build an updated version of project for myself, if OP doesn't mind. Updated by i0s_tweak3r
  • Agree 1
Posted

The Flex3 symlink fix posted above, or modified source code, works to get most of your project over, but I noticed it inverts the values of some of your bool variables. Just make sure u check everything b4 compiling your tweak.

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