Is there an Angry Birds Level Editor?

Discussion in 'iPhone, iPod & iPad' started by Team_Subspace, Sep 1, 2010.

  1. Team_Subspace
    OP

    Team_Subspace Citizen Marsalevsky

    Member
    323
    2
    Apr 4, 2009
    United States
    Behind a laptop screen
    ive seen something like this for the n900 or somethin like that but for the ipod touch/iphone, is there such thing as a level modifier/ custom level creator at the time??
     
  2. _Chaz_

    _Chaz_ GBAtemp's Official Mook™

    Member
    5,685
    409
    Sep 12, 2009
    United States
    Was this supposed to be a post, or did you mean to make a thread with no back story?
     
  3. Devin

    Devin "Local Hardware Wizard"

    Member
    GBAtemp Patron
    Devin is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,747
    2,202
    Aug 17, 2009
    United States
    The Nexus
    You have to post to make a thread. [​IMG]
     
  4. Team_Subspace
    OP

    Team_Subspace Citizen Marsalevsky

    Member
    323
    2
    Apr 4, 2009
    United States
    Behind a laptop screen
    well i just wanted to make some custom levels for it cuz my friends are constantly borrowing my ipod to play it and i wanted to mix it up a bit for em
     
  5. Edgedancer

    Edgedancer Director of Moon based operations

    Member
    2,642
    37
    Oct 2, 2006
    Canberra
    Play what? You have given no name of anything you are asking about.
     
  6. Team_Subspace
    OP

    Team_Subspace Citizen Marsalevsky

    Member
    323
    2
    Apr 4, 2009
    United States
    Behind a laptop screen
    woah i didnt even notice that... WOW im stupid but anyways for angry birds
     
  7. gameguy95

    gameguy95 Needs More Furries!

    Banned
    1,119
    1
    Jan 27, 2009
    United States
    Furrytown
    try google cuz ive never seen 1
     
  8. Team_Subspace
    OP

    Team_Subspace Citizen Marsalevsky

    Member
    323
    2
    Apr 4, 2009
    United States
    Behind a laptop screen
    ive looked and all i can find is for the n900...
     
  9. Chaz.

    Chaz. GBAtemp Fan

    Member
    314
    0
    Jul 7, 2009
    UK
    There isn't one for iPod, iPhone and iPad.
     
  10. Team_Subspace
    OP

    Team_Subspace Citizen Marsalevsky

    Member
    323
    2
    Apr 4, 2009
    United States
    Behind a laptop screen
    well then is there a way for me to do it on a computer then?
     
  11. SifJar

    SifJar Not a pirate

    Member
    6,022
    892
    Apr 4, 2009
    Sure. SSH into your iPod/iPhone/iPad and dump the levels to your computer. Then open them in a Hex editor and reverse engineer the level format. Modify what you want, replace them by SSH (definitely backup the original levels first) and play. Of course, be careful if you actually do decide to do this. Don't replace any files unless you're sure they're the right ones.

    EDIT: Apparently on the N900, the levels are all written in Lua, and by the looks of things VERY easy to edit. All you need to do is decompile them and edit. You don't even need to recompile, it'll work with the decompiled Lua scripts. May be different on iOS devices, but I don't really see why it would be...
     
  12. Team_Subspace
    OP

    Team_Subspace Citizen Marsalevsky

    Member
    323
    2
    Apr 4, 2009
    United States
    Behind a laptop screen
    thanx [​IMG] for putting files on my ipod i use a program called iFunbox so do u know what the file directory for angry birds would be? also what kind of hex editor would i use
     
  13. SifJar

    SifJar Not a pirate

    Member
    6,022
    892
    Apr 4, 2009
    I have no idea what directory the Angry Birds resources would be in, I don't own any iOS devices, so don't know anything about the directory layout of them.

    Also, as I realised they are Lua scripts, disregard my suggestion of using a Hex Editor. Instead, get a Lua decompiler (just google for one, I have never used one, so don't what one to suggest), and then edit the decompiled levels in a text editor (Notepad or similar would do the job, but I recommend something like Notepad++). On the N900, you don't need to recompile the levels, just copy the decompiled level back to your phone, so I assume its the same on iOS devices.
     
  14. Team_Subspace
    OP

    Team_Subspace Citizen Marsalevsky

    Member
    323
    2
    Apr 4, 2009
    United States
    Behind a laptop screen
    mmk ill try that
     
  15. Gaz777

    Gaz777 Member

    Member
    29
    0
    Feb 23, 2009
    UK
    The levels do seem to be stored as compiled lua files.

    You could always unpack the .ipa file, its a zip file, the the levels would be in "\Payload\AngryBirds.app\data_iphone\levels"

    On you iphone/ipod/iPad they are in "/private/var/mobile/Applications//AngryBirds.app/data_iphone/levels"

    if you have SBSettings on your iphone/ipod/iPad if you open it to where you can change brightness etc. press the 'More' button, then go to the bottom and press 'App Folders'
    Finally find Angry Birds and it'll tell you the path.

    Now you just have to find out how to decompile them.

    Let me know how you get on, I'd like to know if you get them decompiled
     
  16. SifJar

    SifJar Not a pirate

    Member
    6,022
    892
    Apr 4, 2009
    http://luadec51.luaforge.net/ - I believe that was the tool used to decompile them for N900. You could try that.
     
  17. Gaz777

    Gaz777 Member

    Member
    29
    0
    Feb 23, 2009
    UK
    I gave it a try and it returned an error:
    luadec.exe: Level1.lua:1: '=' expected near '?'

    I know nearly nothing about lua files and even less about decompiling them, I'm guessing it could be encrypted, using a different version, or changed in another way.
     
  18. SifJar

    SifJar Not a pirate

    Member
    6,022
    892
    Apr 4, 2009