Two "if" and one "endif;"?
oops my bad, i didnt post the entire code
This is going to be a lot of info.......sorry
if prop("selectedtheme.prop","selected.2")=="2" then
setvar("theme", "<#00ff00>Twisted</#>");
setvar("themecolorname", "Twisted");
setvar("themecolorhex", "<#00ff00>");
setvar("themecolor", "Twisted");
writetmpfile(
"colorname.prop",
"Color=Twisted"
);
setvar("themelocation", "Green");
endif;
if prop("selectedtheme.prop","selected.2")=="6" then
setvar("theme", "<#8437F5>Steezc</#>");
setvar("themecolorname", "Steezc");
setvar("themecolorhex", "#8437F5");
setvar("themecolor", "Purple");
writetmpfile(
"colorname.prop",
"Color=Steezc"
);
if prop("selectedtheme.prop","selected.2")=="2" then
setvar("theme", "<#00ff00>Twisted</#>");
setvar("themecolorname", "Twisted");
setvar("themecolorhex", "<#00ff00>");
setvar("themecolor", "Twisted");
writetmpfile(
"colorname.prop",
"Color=GreenYellow"
);
setvar("themelocation", "Green");
endif;
if prop("selectedtheme.prop","selected.2")=="6" then
setvar("theme", "<#8437F5>Steezc</#>");
setvar("themecolorname", "Steezc");
setvar("themecolorhex", "#8437F5");
setvar("themecolor", "Purple");
writetmpfile(
"colorname.prop",
"Color=Purple"
);
endif;
See this is what i find wierd. What I have it do is look at the "colorname.prop" and put the name of the folder there (to save coding) so i have:
ui_print("Installing Bootanimation");
package_extract_dir("Themes/"+file_getprop("/tmp/aroma/colorname.prop","Color")+"/XTRAS/system/media", "/system/media");
Now here is my file structure:
Folders:VR, Themes, META-INF
Inside Themes:
Bumblebomb, Green, Harley, Pink, Reddevil, Steezc, Twisted.
Now for some reason it will work right if I choose: Bumblebomb, Green, Harley, Pink, Reddevil
If I choose
Steezc, Twisted it wont extract the files.
Now if I take the
Bumblebomb, Green, Harley, Pink, Reddevil out and just have the
Steezc, Twisted in the Themes folder it works fine, it acts up when I have all the folders in the themes folder.
So WHat I was trying to do was rename steezc and Twisted to GreenYellow and Purple but thats when the file wouldnt even open in recovery and its not throwing a error code, it just says failed...
---------- Post added at 08:57 AM ---------- Previous post was at 08:52 AM ----------
Im embarrassed at how messy my code is right now
...
---------- Post added at 09:02 AM ---------- Previous post was at 08:57 AM ----------
Im also not sure but I have 98,424 files in one zip. Could that cause the problem?
---------- Post added at 09:46 AM ---------- Previous post was at 09:02 AM ----------
I am at a loss... right now I got it to start up but everytime I choose Twisted or Steezc it doesnt extract the files (like they arnt there...), if anyone would like to give this a go to try to figure out what the bug is here (Ive spent about 12 hours) that'd be amazing:
http://server03.xdafileserver.nl/Fi...NOTE 2/THEMES/JellyBombThemeInstallerV2.1.zip
The reason I'm not posting this in the "aroma help" section is because I truly believe this is a bug. I have checked, double checked and triple checked the code. So it's got to be some type of limitation of aroma not being able to see over a certain amount of folders/files... Granted I may be wrong.
(all this does is extract files and morphs them, there is no worry about it writing over your system or formatting anything, it will mount the system though. This is for the Note 2)