Grrr, Safari crashed, now I have to type everything again.
Anyway, I think I can even continue the bloon editor on my iPod, with the SWF File Format Specification and the AVM2 Overview as pdf files in iBooks, with the Dropbox app to download the source code and the Python for ios app to edit it and iFile for the btd5 swf file, a hex editor and to put the source code into the python directory. I'll try that tomorrow.
edit: doesn't work, Python 2.7 for ios doesn't support Tkinter.
edit2:
It could take a while for the Bloon editor to be finished. I'm back home Friday and then I first want to fix some bugs in the SMG remake and improve the zone with the flag pole. And Saturday or Sunday we're going to Portugal for one week. Sorry.
edit3:
I'm going to try if I can make a new tower in Bloons TD 5 when tge Bloon editor is finished.
edit4:
I already got an idea for a new tower: a fireball shooter.
I'm pretty sure I can make everything I want for that tower (except for the ability, I'm not sure if I can make new abilities). The hardest thing will probably be making new images because I'm not good at image editing. If I can't add the tower, I'll replace one.
edit5:
Is there a way to close the poll?
I can edit Candy Crush IOS levels, they're in txt format so it's pretty easy.
I want some files of BTD5 IOS but most of them are stored in a password protected zip file in Bloons TD 5.app/Assets/BTD5.jet
The only way to get the password is guessing it (won't happen), asking Ninjakiwi (they probably won't gibe the pass), doing a brute force attack (can take months) or decompiling the binary, it's mach-o format (too hard).
Does someone know the password?
edit6:
I'm making a Candy Crush level editor on my iPod using the app Pythonista, I'll return home Sunday, then school starts, there isn't much school the first week though. When I'm at home I can do the SMG remake and Bloons hack things and at school I can do the Candy Crush level editor, I probably won't upload it, but if someone wants it I can pm it to them. I don't know if it works on your devices because the coordinates of the images may be different on other devices (I have a iPod Touch 4th generation with ios 5.1.1, no retina display), you need the app Pythonista ($6.39, my iPod is jailbroken so I got it for free), I don't know if Pythonista has access to the app files if your device isn't jailbroken and the app is inside a folder with lots of numbers and letters (/var/mobile/Applications/lots-of-numbers-and-letters/candycrush.app). I don't know if these numbers and letters are the same on different device or if they are generated randomly when you download the app from the App Store.
edit7:
I can add towers to the menu! Now I don't have to replace one.
edit8:
I tried to do something and now I corrupted the file, luckily I didn't change much yet.

edit9:
Fixed length bytes, now I don't get a white screen when running the SWF file but a black screen with an error message: "VerifyError: Error #1032: Cpool index 93 is out of range 68."
Why doesn't it say where in the SWF file the error occurred?

edit10:
I didn't know there's a bump button, I've never seen it before, now I know what it does.

edit11:
I think the error is in the DoABC tag of towers\TowerMenuSet since I only changed the ExportAssets tag and the DoABC tag of towers\TowerMenuSet and the constant pools are inside DoABC tags.
The multiname array is the only constant pool entry inside towers\TowerMenuSet with 68 indexes. Something is trying to get index 93 out of the multiname constant pool, but that doesn't exist.
edit12:
Fixed the length bytes of the Method Body Info of the method in towers\TowerMenuSet.
Now it gives me the error:
- Code: Select all
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at gui.ingame::TowerGroup/initialise()
at gui.ingame::InGameMenu()
at levels::Level/initialise()
at Main/initialise()
Then it plays the intro!
Then it starts playing the music.
Then I get another error:
- Code: Select all
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Main/showIntro()
at Main/splashComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at ninjakiwi.utils::StandardStuff$/splashed()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at MethodInfo-212()
Then the screen turns white with only the bar with my Ninjakiwi account, the achievements button, my awesome points (1515), my Ninjakiwi coins (5) and the buy coins button on top.
At least it shows where the error is this time.
edit13:
I accidentally entered 62 15 (getlocal 21) instead of 62 12 (getlocal 18).
Now I get another error, but that's just because I haven't made an image for the button yet. Is there someone on rvlution who is good at image making? If not, I'll just get a picture somewhere on Google.
edit14:
I can't get the images to work, I think I'll just use existing Images until I find a way to insert them into the SWF file.
edit15:
I got an idea. I made a simple SWF file with Flash CS 6 only with the image inside it, let's see what happens when I simply copy the tag with the image into the Bloons SWF file.
edit16:
It worked! Now I have to make a new sprite that's using that image and then link the button to the new sprite instead of the monkey village sprite.