![]() |
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
|
Re: [Maemo 5] Angry Birds Level Editor?
Ok dont know if anyone care but here some info ive gathered
+x is to the right +y is DOWN The catapult is placed relative to the first birds starting position Thus if you give your first bird a -ve y co-ord its in the air and the catapult will be higher up. changing bird order is easy as it just changing there start_number I have also managed to swap a pig and a small square ligth block on level 12 by swaping there y co-ords as there x was more or less the same i havnt made head wau with things like density yet, but im trying |
Re: [Maemo 5] Angry Birds Level Editor?
Just remember that by modifying the levels or poking around in other pack directories there is a high probability that you either end up corrupting your highscore or settings file or breaking installation of official level packs.
|
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
Ive only played around with 1 level for that reason, but im not to worried about highscore data. So far no trouble ,but its worth the rist for the fun im having :-) I'll be buying the extra levels when they appear as i really appreciate the openness. being about F.. around with the levels is almost as much fun as the game |
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
Actually cg, what I did was copy Level1.lua, to _all_ the filenames in the gamelogic.lua. So my pack1/ contains all the levels that the game could possibly be looking for. I then took that directory and copied it to pack2 _and_ pack3. Since I didn't have the retail version and I didn't know how far to go. All you'd have to do to fix this to buy the retail levels (If/when they're available again) is to delete your pack2 and pack3 directories (or move them somewhere else - This is of course me assuming that the levels in pack1 that are in themes 2 and 3 will not be loaded from pack1) After looking at the gamelogic Chunkspy dump yesterday it doesn't appear that anything is missing from the demo except the level scripts for themes 2 and 3. (I hope this doesn't encourage a re-release with that fixed) by the way cg, do you hang out in any of the #maemo irc channels at all? I was thinking of starting an angrybirds level editing channel on freenode or efnet or something. I think the only people who would visit would be you and forcer so I haven't gotten around to makin' one yet. |
Re: [Maemo 5] Angry Birds Level Editor?
1 Attachment(s)
Ok here a level i created. Its, more a proof to myself.
Single bird case. Called Up_and_over basically in order to use it ive been moving one of the levels aside and copied my level in its place. (it makes no attempt to do anything with highscores, so you keep the high score of that level, or increase it if you do better) I dont accept responsibility for any problems you encounter but will help if i can. I hope to try some more, and hopefully harder ones, as its quite easy, so if people are interested. do let me know. |
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
|
Re: [Maemo 5] Angry Birds Level Editor?
wow this thread is awesome. i was wondering if any of you gurus would be willing to take the time do a wiki post regarding this. so a step by step of how to find the files decomplie them edit them and where to place them.
i want to test the up and over level but not sure where to go after downloading it. i also then want to start making levels myself thanks in advance chris |
Re: [Maemo 5] Angry Birds Level Editor?
I don't think any of us have the time to set-up a wiki page. (We're currently working on a graphical level editor) I can give you a summary of all the info in this thread.
The first level of the game was decompiled by forcer and is located here; http://talk.maemo.org/showpost.php?p...9&postcount=28 after that he started working on a dumper to dump the level structures which he released here; http://talk.maemo.org/showpost.php?p...4&postcount=37 It's a copy of Lua for Windows compiled how it needs to be to read the level files properly, all you do to decompile a level is follow the instructions in his zip at that post. You basically just run his decompiler with Lua from the commandline, specifying the compiled levels you'd like to decompile. You do not need to recompile the levels to use them in Angrybirds, so you only need to do the decompile step once. To use cgar's level you would do something like this in the terminal; sudo gainroot mv /home/opt/rovio/angrybirds/levels/pack1/Level1.lua /home/opt/rovio/angrybirds/levels/pack1/Level1.lua.bak (We will assume you copied the level to your N900 via USB and it's just in /home/user/MyDocs) cp /home/user/MyDocs/AB_up_and_over.txt /home/opt/rovio/angrybirds/levels/pack1/Level1.lua Then you just bootup your copy and go to theme1, level1 If you'd like to restore your level 1 to the original level 1 that comes with the game simply execute mv /home/opt/rovio/angrybirds/levels/pack1/Level1.lua.bak /home/opt/rovio/angrybirds/levels/pack1/Level1.lua ---------------------------------------------------------------------------- That should cover how to decompile and use the levels. Editing them is a little harder, cgarvie has been working that out, forcer is responsible for all the decompiling we've done so far. We're currently hanging out on freenode in #angrybirds-leveleditor and ##angrybirds-leveleditor if you'd like to come by and help or ask questions about level editing. We might not answer immediately as we're going to be busy with the editor, but I'm sure we'll get to your questions eventually. Now if you'd like to help, there are a couple specific things we could use. -If anyone is slick enough to get luadec5.1 compiled with our modified copy of lua (float as default number instead of double, we can explain that) we would be very gracious. We're looking for cleaner ways to load the custom levels and to do that we'll need to have a source decompiled copy of gamelogic.lua Also, if you're a perl programmer you could potentially help in crafting the level editor. If you've got the mojo to make perl-sdl work in Windows it would make the level editor more cross platform, at this point we're not 100% sure it'll run great on the n900 but we're certainly going to try to make it so. |
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
since the maps are static, you just have to move some things on their positions and voila, a new map ist born. puting that positions into a lua script should be not that hard. on the website you could share maps and extend other maps, too :) |
Re: [Maemo 5] Angry Birds Level Editor?
1 Attachment(s)
Ok again im not sure who if anyone is interested.
but ive created a blank level. (well its got 1 red bird on it. and that cause the catapult is placed relative to the Birds position.) The level completes rigth away but it migth help people see what an empty level looks like.There maybe more stuff that could be removed but its fairly bare You can change through the 3 themes by changedint theme to theme1, theme2 or theme3, theme4 crashes so must only be 3 implemented. |
Re: Angry Birds Level editor
Quote:
|
Re: [Maemo 5] Angry Birds Level Editor?
@Thor
Same situation here, 3 of my buddys bought angry birds after seeing it on my n900, i didnt tell them it cost me £3 and them 59p though! hats off to rovio though, fantastic game CH |
Re: [Maemo 5] Angry Birds Level Editor?
1 Attachment(s)
Ok here another level. 3littlepigs. Again its a 1 bird level
It consists of 1 red bird 3 small ground blocks. with 3 larger ground blocks on top. Sitting on each block is a helmet pig. so if your trying to work on your own stuff notice that fo each of the pillars the X co-ord is the same 41,49 and 57 gotta knock all 3 helmet pigs out with one shot. If is any one is paying attention it would be nice to know,and if anyones installing these as i go. feed back is most welcome. to easy? im guessing but comments please |
Re: [Maemo 5] Angry Birds Level Editor?
1 Attachment(s)
here another level in my 1 bird puzzles. i think this ones a little tricker
|
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
|
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
That last one only took me an hour to do. So if i can think of a few more ideas im gonna do it for me anyway. the first one probably could do with some more work. but i think the 3 little pigs is ok if a tad easy and the through the wall takes me about as many attempts as the tricky official levels |
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
I just tried Through_wall and omg, I got it in my very first go! :D (Got 15330 points. I think it's impossible to get any higher.) Very nice. Maybe you can create 21 levels and make it a pack! :p (Even name the files the same as the original lua files so it's a simple copy over. hehe) Anyways. It's great to see new levels popping up! |
Re: [Maemo 5] Angry Birds Level Editor?
I want to try them. Is it possible to use them not instead of current level but additional? I don't have the level pack installed. I have created /home/opt/rovio/angrybirds/data/levels/pack2 directory, placed Through_wall.txt and 3littlepigs.txt in there and renamed them to level34.lua and level52.lua and changed the theme line in the two files from theme1 to theme2 but I cannot find theme2 when I start Angry Birds.
How can I use your custom level as theme2 instead of theme1 levels when I don't have the level pack installed? Thanks |
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
as for highscore. it may be that the highscore is that of what ever level was there previously. i havnt worked out how to make my level score independant from the one it replaces. however i am working on packageing them up as level 2 stuff. but that will interfere with the real level 2 when you upgrade. cant see a way round it at moment |
Re: [Maemo 5] Angry Birds Level Editor?
This sure proofs why the n900 lacks good content. If i were a develloper and read this, i wouldnt even try to make a game anymore. everything is hacked and cracked or modified! games that come out is no match for you guys to hack in and play it for free.
This sure is the down side with the open source platform! You guys are clearly ruining the payed apps platform! big game developers like EA Dont like these things, and am quit sure there wont be any games from them if you guys keep screwing around with copyrighted game files |
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
Quote:
|
Re: [Maemo 5] Angry Birds Level Editor?
1 Attachment(s)
Quote:
tar xzf cag_level_pack.tar this will create a mypack directory mkdir a pack2 dir in /home/opt/rovio/angrybirds/data/levels copy all files in mypack to this pack2 directory i think this should give you my 3 levels in the level 2 stuff ***** this will create info for level 2 ****** so it means you wil have unlocked and have highscores for the real level 2 stuff WHEN you buy the expansion pack EDIT And if some one does get it working can you at least confirm that for me |
Re: [Maemo 5] Angry Birds Level Editor?
1 Attachment(s)
Ok again in case anyones interested
here a template file. TO be used with Empty file earlier. cut and paste each object as many times as you like, and fill in the ?? fields remeber + is to the right in X direcrion and + is DOWN in the Y direction, so nearly all Y co-ords are -ve for the Empty file Put your first bird about x =-15 y = -0.2 and all your structure about x = 40 + ish spritepivot defines the size of blocks. so you know there relative size. angle defines orientation of the object blocks are horizontal for 0 or 3 and vertical for 1.5 or -1.5 definition field defines the object, and none of the Sprite values seem to have any effect, nor does levelGoal seem to have any effect. UPDATE In fact changing the definition block of the light, wood , stone type changed the block stats, so it looks quite easy to swap block types. just need to change 1 field I tested this by putting a light plock up and threw red birds at it light clock - 1 hit wood and stone - 2 hits (but i think the wooden ones can hit the edge where as stom might need more middle hits) UPDATE 2 The object x,y co0ord is to the middle of the object (i was assuming bottom left DOH) For static block 04. the x and y should be +- 4.5 to be flush medium pig should be +y 1.9 to sit on top of an object. |
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
|
Re: [Maemo 5] Angry Birds Level Editor?
in what country robio is located?
|
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
|
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
|
Re: [Maemo 5] Angry Birds Level Editor?
@jakiman, you are obviously missing the point here! The n900 has a terrible lineup for games and apps at the moment. the ovistore is near emty. apps like ovi maps are far from finished. And finaly a nice game comes out. and within a few weeks people find a way to free download the extra level packs and start cracking the code for making own levels. Result: Extra level pack has been removed from the store and not be returned since.
And you think all this is funny! If you want this to work then everyone should stop screwn around with other peoples software! And for the game consoles, there are always enough people that buy the games. Or to ban accounts for elegal copies. Companies must see an advantage in the n900 before they even try to make apps, games. If they read all this i dont think they are really motivated knowing that within a couple of days people started making their own maps not needing to buy the extra level pack. And maybe you buy the pack but allot of people who read this wont! |
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
The extra pack was removed because there's a bug in Ovi store that allows people to downnload stuff without paying for it. And the developer of the game clearly stated that he likes that the community creates extra levels. Stop whining. |
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
|
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
Is this maybe since there should only be 21 levels in each packX directory? |
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
I have only created 3 levels at the moment. Nearly completed 4th and got ideas for 5 and 6. but in order to package up. it was simpler to copy my level 3 to all the other files. When i release each new level i will tell you which one to copy over. numbers dont match so level 2-1 is not file level22 etc Remeber what i said. when you come to BUY real level 2 and 3 packs(and replace my levels) if you have completed my 3 levels, you wil have unlocked the real levels. and if you play my third level on level 2-4 and 2-5 and 2-6 etc. you will unlock those unfortunatly i havnt worked out how to have levels that wont interfeare with those in the full game. but there is some though going into that. im the mean time, those that are desperate for more levels, have to make do with me and what i have worked out. On that note, ive not had much feed back. Do people want me to post more levels. either add to the thread with comment or suggestions or just thank me in posts where ive added a level im more doing it fopr my fun but happy to share if people want them im tryign to make future ones a little tricker,but we will see |
Re: [Maemo 5] Angry Birds Level Editor?
More levels would be nice, yeah :)
|
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
As a hint, to make it more enjoyable, you really should think about making multiple-bird levels, this way with only one bird, your levels are hard, which is OK, but kinda non-fun in a way, no offense. |
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
Next one im hoping can be solved (very tricky) with single bird, but will have more birds for easier solution. this i'll need play tested, to see if it can be solved as i hope with single bit. and anyone that gets it on there first shot :-) wont be allowed any more levels :-) |
Re: [Maemo 5] Angry Birds Level Editor?
HI guys,
How do I convert these new levels or my levels to LUA files. Or can I simple just chagne the file type? I'm trying to make my own levels in note pad, and then am I correct in saying I just need to say for example back up level1.lua and replace with my Level.lua file? Thanks Chris |
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
(and prob 2-1 once youve done my 2-1)if you dont want to much around with your pack one levels, and that way you wont unlock to many of the real L2 stuff in order to get the text file you need to decode the lua files but teh code can read them as text so no need to recode. Can i also suggest you make small changes and test, as if you get somthing wrong game just closes and its a bugger to work out. I tend to vi in one terminal copy over game level in a 2nd terminal and you dont need to restart game just exit and reselect level will reload it. i tend to add 1-2 object then test. make position changes if needed. add 2 more test and check etc ocassionally saving a working backup so i can get back if i truly bugger up. |
Re: [Maemo 5] Angry Birds Level Editor?
That is some great advice thanks cgarvie.
I guess my last question then is how do I decode the lua files? Thanks again Chris |
Re: [Maemo 5] Angry Birds Level Editor?
Quote:
Also, as you have been replied to twice now by other members, Rovio (the maker of this game) actually is very happy to see "us" make extra levels for Angry Birds and said so in this very thread. So youa re looking at this from a wrong angle. |
All times are GMT. The time now is 04:11. |
vBulletin® Version 3.8.8