I don't know how to program

QueBert

Lifer
Jan 6, 2002
22,932
1,129
126
I have an iPhone app I want to edit one of the selection lists on, I figured out it's just a ZIP and can be extracted like one. so I extracted it and opened up the main file in a text editor, I did a search and found the values that I want to add one too. Now I'm going to guess even thought I can read it, I know it was somehow compiled and simply adding a word next to the last one isn't going to cut it. Is there anything I can do here? Sorry if this sounds dumb, but the closest I've came to programming was typing in the code out of the back of a C-64 Magazine about 25 years ago. I don't own a Mac, and it doesn't look like the author of the app is interested in adding what I suggested. I know the answer but if a programing guru could tell me, or possible add .02 cents about anything I might be able to do here. I'm all ears :)
 

Onund

Senior member
Jul 19, 2007
287
0
0
Don't know anything about iphone apps but what might be happening is somehwere else in the program the selection list is being used either by comparing values or looking at the selected index. You might want to search the program for the selection list name or the values and see where else they pop up.

How are you trying to modify the code?

Also might help if you post the snippet of code that contains the selection list?
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,632
4,561
75
Did you notice the iPhone programming resources thread?

To make a very rough generalization, if you edit even compiled code and don't change its length (i.e. replace an unused number with the new one character for character), there's a good chance you won't completely break it. On the other hand, it might simply display the new number, but refer to the old one.
 

QueBert

Lifer
Jan 6, 2002
22,932
1,129
126
thanks guys I knew it wasn't going to work simply by editing it and adding it, to Onund I was just editing the file in a text editor, very ghetto. But I thought it was at worst worth a try. Maybe the author will still add what I requested, seems like if he has the source code it should take him 20 seconds. Of course this is coming from a guy who has programmed nothing :)
 

QueBert

Lifer
Jan 6, 2002
22,932
1,129
126
Ken g6 thanks for the suggestion, I tried it and removed one of the other choices and added the one I wanted as it was the same length. rezipped it, named it to an IPA and it loaded on my Touch but won't open. I tried editing the file in wordpad and it said something about "formatting will be wrong if you save it in dos mode" also tried it in Notepad++

Oh well I guess it's not going to work.