maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Maemo 5] Angry Birds Level Editor - NOW FULLY WORKING (https://talk.maemo.org/showthread.php?t=40591)

cgarvie 2010-02-01 13:08

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by BillyTheFish (Post 505044)
Just to clarify a couple of things with replacement pack 2:

1) Do we need to have downloaded the official add-on pack from the Ovi store to get it to work? -I want to but can't due to the current Ovi Store problems.

2) Will the pack overwrite existing, original levels / high scores? If so, is there any way to get them back or back them up afterwards?

3) Will the pack cause any problems with the new official levels when they come back on sale?

Thanks for everyone's work on this, it's a really great game.



1) No you dont need to but the official pack. But you should when its released. Esp as the developers have been very helpfull in helping us get our own levels up and running
2-3)When you get the proper pack2. You will have unlocked and set up high scored based on the pack i created.
How to get them back. i do have on my plan to look at , btu given im trying to also build a new mythtv box at home , im not sure of my time scales. So in summary. Wont stop you playing the pack 2 levels, They will just copy over our ones. but it will mean you might have 3* in some of them already


to get the meteor stirke. just copy the unziped file over one of the pack 2 levels using the mapping list on page 4(i think of the thread)

stobbsc 2010-02-01 13:22

Re: [Maemo 5] Angry Birds Level Editor?
 
It's probably advisable to backup or make a copy of pack 2 if you like me you have the level pack installed, otherwise you will loose the levels.
cgarvie are the custom levels the first ten levels?

I don't want to replace my whole pack2
so it's it just a case of moving
Level1.lua
Level2.lua
...
Level10.lua
from Mypack to Pack2?
or are the Level numbers actually mixed up?

Thanks

cgarvie 2010-02-01 16:43

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by stobbsc (Post 505067)
It's probably advisable to backup or make a copy of pack 2 if you like me you have the level pack installed, otherwise you will loose the levels.
cgarvie are the custom levels the first ten levels?

I don't want to replace my whole pack2
so it's it just a case of moving
Level1.lua
Level2.lua
...
Level10.lua
from Mypack to Pack2?
or are the Level numbers actually mixed up?

Thanks



you can just replace the appropriate levels, but you need to use the mapping file earlier in thread.

i just moved all pack 2 to side called pack2_orig
and keep mypack and pack2_orig all the time then copy each as needed. you could symblink with a bit of luck and just move the link

stobbsc 2010-02-01 16:50

Re: [Maemo 5] Angry Birds Level Editor?
 
Sounds good I'll just change the pack2 folder like you did and then move mypack over to pack2 and go from there.

What level number do the cutsom levels start at?1 - 10

stobbsc 2010-02-01 17:06

Re: [Maemo 5] Angry Birds Level Editor?
 
great work on the package, just installed it now very easy and not issues :-)

and yes it's levels 1-10 :-)

If anyone wants to know how to copy/rename the folders just shout and one of us can give you a hand :-)

Flandry 2010-02-01 17:31

Re: [Maemo 5] Angry Birds Level Editor?
 
The popularity of the Angry Birds game and this thread is awesome. It's getting a bit confusing, though.

Would the person most active in releasing custom level collections please create a separate thread titled "Angry Birds Custom Levels" and then everyone can use that one to discuss the releases? This thread will remain for discussion of the editor(s).

I would also suggest that a custom "maemo.org favorites" level pack be put together as an installable package and uploaded to the repository so that it's more universally visible and accessible. You could create a poll in the Custom Levels thread and include just the levels that get a substantial number of votes for inclusion.

If you need help with the packaging process or moving posts/threads around to manage the project, feel free to send me a message.

You would need to decide on a license and get agreement from everyone releasing a level in the pack. This could then be updated periodically with new popular levels and make use of the updater functionality of the App Manager.

BillyTheFish 2010-02-01 17:35

Re: [Maemo 5] Angry Birds Level Editor?
 
Great idea Flandry!

zehjotkah 2010-02-01 18:55

Re: [Maemo 5] Angry Birds Level Editor?
 
Here is the How-To for installing custom levelpacks for Angry Birds.
Please only do this, if you don't have the official levelpacks installed, because these custom ones will overwrite your bought LevelPacks! For Rovio (the developber of Angry Birds) it is okay if you install custom levelpacks.
If you haven't seen the video yet, here it is again:

http://www.youtube.com/watch?v=NcSLjVvIMbU

First you have to download this file. If you use Windows, then use WinRAR to unpack the file. If you've downloaded the file directly to your N900 you can also unpack it there.
Type in the following:
Code:

root
tar xfz /home/user/MyDocs/cag_level_pack.tar.gz

You will get a mypack folder. Copy this folder to the internal memory of the N900 if you unpacked in windows. Then open X-Terminal (you will need rootsh, as every time) on the N900 an type in the following:
Code:

root
mkdir /home/opt/rovio/angrybirds/data/levels/pack2
cp /home/user/MyDocs/mypack/* -R /home/opt/rovio/angrybirds/data/levels/pack2

That was all! Easy, isn't it? Now you can start Angry Birds and play the new levels.
Thanks to Rovio for this game, and thanks to cgarvie for this levelpack, and all his effort!

Have fun!

edit: it seems that youtube has disabled my subtitle file... now it works... strage

stobbsc 2010-02-02 10:51

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by cgarvie (Post 505355)
you can just replace the appropriate levels, but you need to use the mapping file earlier in thread.

i just moved all pack 2 to side called pack2_orig
and keep mypack and pack2_orig all the time then copy each as needed. you could symblink with a bit of luck and just move the link

Hi again,

I found the mapper file a big confusing, but am I right in saying that if I want meteor_show to be number level then I would put it at in as Level9.lua ?

Thanks again

cgarvie 2010-02-02 12:51

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by stobbsc (Post 506557)
Hi again,

I found the mapper file a big confusing, but am I right in saying that if I want meteor_show to be number level then I would put it at in as Level9.lua ?

Thanks again


ok here a small slice
006768 41C00000 [004] loadk 1 3 ; "Level1"
00676C 81000100 [005] loadk 2 4 ; "Level57"
006770 C1400100 [006] loadk 3 5 ; "Level53"
006774 01810100 [007] loadk 4 6 ; "Level3"
006778 41C10100 [008] loadk 5 7 ; "Level6"
00677C 81010200 [009] loadk 6 8 ; "Level2"
006780 C1410200 [010] loadk 7 9 ; "Level4"
006784 01820200 [011] loadk 8 10 ; "Level5"


loadk 1 (is pack 1 1st level ) and load k7(is pack1 level7)

so loadk1 "Level1" means level 1 is names ok
loadk7 "Level4" means edit or replace file Level4.lua to alter or change pack1 level7


loadk22 is pack2 level1

no idea what the number between loadk X and "LevelY" is though

hope that helps

stobbsc 2010-02-02 13:04

Re: [Maemo 5] Angry Birds Level Editor?
 
sorted thanks
0067E4 01880800 [035] loadk 32 34 ; "Level38"
I've replace Level38.lua and now meteor shower is level 11 in pack 2 for me

MERVERNATOR 2010-02-03 17:32

Re: Angry Birds Level editor
 
Quote:

Originally Posted by Miika (Post 483674)
Yes in theory that would be possible. However, since we don't have a pre-existing store already it would be near impossible to come up with one from scratch in this kind of time frame. And some kind of an adhoc store like paypaling the money and sending the pkg back in email would just be a way too big of an hassle.

would it be wrong to mention that its possible to get the iphone version and extract the level files form the .ipa archive, and put them in the correct file structure on the N900? I did it, and it works perfectly... if one BUYS the iphone version, does the money still go where it needs to, or is this still considered "software piracy" ?

Im sure theres money to be made on this game if they would just get the ovi store working properly again.. not sure whats taking so long.

geohsia 2010-02-03 19:16

Re: [Maemo 5] Angry Birds Level Editor?
 
Nice job with the pack. For practice I went through 11-21 even though they're all the same. ;-)

Miika 2010-02-03 19:34

Re: Angry Birds Level editor
 
Quote:

Originally Posted by MERVERNATOR (Post 508989)
would it be wrong to mention that its possible to get the iphone version and extract the level files form the .ipa archive, and put them in the correct file structure on the N900? I did it, and it works perfectly...

So you download a cracked version of the game and used the files to get another paid version of the application to work for free, and you have to even think if it's piracy or not? Really?

白い熊 2010-02-03 20:27

Re: Angry Birds Level editor
 
Quote:

Originally Posted by Miika (Post 509174)
So you download a cracked version of the game and used the files to get another paid version of the application to work for free, and you have to even think if it's piracy or not? Really?

Piracy is taking a commercial ship hostage, killing the crew, and selling the merchandise...

He was talkin' 'bout somethin' else, man...

MERVERNATOR 2010-02-03 21:08

Re: Angry Birds Level editor
 
Quote:

Originally Posted by Miika (Post 509174)
So you download a cracked version of the game and used the files to get another paid version of the application to work for free, and you have to even think if it's piracy or not? Really?

well, with the hacking of the levels that seemed to be encouraged here, I thought I should ask/mention since people were asking for a different way to legally buy it. it was a test to see if just the level files could be sold and transfered somehow. (which I only figured out the order of thanks to the person who posted to contents of that gameIogic file). in this specific case, I didnt know for sure being as you could pay apple the $1 for it and then move it to a different platform, given you have the resources. Im certainly not encouraging people to steal the thing. I dont know what OVI was going to charge for the game, but thought it would be about the same price. Ive been trying to buy it for a month now, and still intend to as soon as its available.

I dont have an iphone myself, but it certainly wasnt hard for my friend to extract the app from his jailbroken one. if that is considered cracking the game and not just the Phone/OS, then I certainly understand. I will delete the levels regardless, and I apologize. I had no idea the huge amount of pirated .ipa files floating around out there currently.

on another note, are there any plans to sell more levels for that N900 bounce game? from what Ive seen so far, Ill buy anything Rovio puts out for this thing. very impressive.

Miika 2010-02-03 21:26

Re: Angry Birds Level editor
 
Quote:

Originally Posted by MERVERNATOR (Post 509310)
I dont have an iphone myself, but it certainly wasnt hard for my friend to extract the app from his jailbroken one. if that is considered cracking the game and not just the Phone/OS, then I certainly understand. I will delete the levels regardless, and I apologize. I had no idea the huge amount of pirated .ipa files floating around out there currently.

Yes, it seems that piracy on iPhone is very common because it is so easy. There are these "press-a-button-to-crack-a-game" GUI applications to automate the cracking process. In cases where developers have tracked illegal versions I've heard 80-95% piracy rates, which is quite sad for a game that costs just a buck to begin with.

Quote:

Originally Posted by MERVERNATOR (Post 509310)
on another note, are there any plans to sell more levels for that N900 bounce game? from what Ive seen so far, Ill buy anything Rovio puts out for this thing. very impressive.

I can't really comment on anything on this one, sorry.

torpedo48 2010-02-04 09:26

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by cgarvie (Post 505061)
2-3)When you get the proper pack2. You will have unlocked and set up high scored based on the pack i created.
How to get them back. i do have on my plan to look at , btu given im trying to also build a new mythtv box at home , im not sure of my time scales. So in summary. Wont stop you playing the pack 2 levels, They will just copy over our ones. but it will mean you might have 3* in some of them already


Why don't simply resetting your scores to 0? That will remove all the 3 stars. And you can even remove the "completed" tag from a level, and the game will start just from the finishing of the free pack.

qole 2010-02-05 01:10

Re: [Maemo 5] Angry Birds Level Editor?
 
Miika & Rovio: The Angry Birds game is magnificent. Both I and my 4 year old daughter play it constantly. She's always bugging me, "Daddy, can I play piggies?" She has a real feel for ballistics already...

I want to register a vote for the suggestion made earlier in the thread: I also would really like a version of the game that has a "custom world" for user-created levels, so that I can keep the official levels and high scores pristine.

stobbsc 2010-02-05 09:35

Re: [Maemo 5] Angry Birds Level Editor?
 
Just got a message on twitter from @RovioMobile:
Quote:

@stobbsc The other levels should be available again soon on maemo. It's all ready on our side.
hold thumbs dudes ..

torpedo48 2010-02-05 10:02

Re: [Maemo 5] Angry Birds Level Editor?
 
Ehi Rovio I've just voted for your nice game, keep going on.

stobbsc 2010-02-05 12:13

Re: [Maemo 5] Angry Birds Level Editor?
 
@cgarvie I played Meteor show and it's a really funny level he he he
it's actually pretty hard , even though you can score very high he he he.

I've been pretty busy lately so haven't been able to create anything new, but I'll look at your grouping examples and see if I can get something new done this week-end.

Would be cool if we could gather 21 custom levels to fill our own work. then maybe Rovio would create a custom world for us ;-)

cgarvie 2010-02-05 12:37

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by stobbsc (Post 511730)
@cgarvie I played Meteor show and it's a really funny level he he he
it's actually pretty hard , even though you can score very high he he he.

I've been pretty busy lately so haven't been able to create anything new, but I'll look at your grouping examples and see if I can get something new done this week-end.

Would be cool if we could gather 21 custom levels to fill our own work. then maybe Rovio would create a custom world for us ;-)


yeah . now i worked out how to do high scores . i can include meteor strike. in the next pack .

i really like it, but the high score isnt what id planned

ive been way to busy installing a 2nd myth tv setup so ive not done anything new either
but yeah im aiming for 21 levels

i saw you and a few other people covered the custom levels on blogs

stobbsc 2010-02-05 12:42

Re: [Maemo 5] Angry Birds Level Editor?
 
Yeah I did right up on my blog and looks like a few people have referenced it :-)

MERVERNATOR 2010-02-15 03:25

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by stobbsc (Post 511523)
Just got a message on twitter from @RovioMobile:


hold thumbs dudes ..

I wonder if it will be v1.2.0 ?... I saw that this is now the version available for the apple devices and it includes a second "episode" with 2 more sets of 21 levels each for $.99.

how great is that.. we havnt been able to buy the first set of levels, and now a second set is being sold already. lol.. oh well, lets hope its all sorted out soon.

vishal 2010-02-23 13:22

Re: [Maemo 5] Angry Birds Level Editor?
 
it doesnt work out wid me...i do evrythn....n den it says cannot create directory....file exists n den after da next step it says.........cp [option]...source dest n den der r no new level packs in my game....

Ayreon 2010-06-09 18:53

Re: [Maemo 5] Angry Birds Level Editor?
 
Hi there,

Does anybody knows in what format *.lua files are stored in version 1.3.2?

Thanks!

forcer 2010-10-27 11:37

Re: [Maemo 5] Angry Birds Level Editor?
 
Aye guys, long time no see, let me share my progress on angry birds level editor, finaly decided to make it in html5+canvas+js

here is link to the editor: http://dualsoul.net/junk/canvas.html

paste decompiled level code to the textbox and press "render"

Note it was only tested in chrome6+/firefox 3.5+/microb(maemo5)/opera

regnighc 2010-10-27 11:48

Re: [Maemo 5] Angry Birds Level Editor?
 
Quote:

Originally Posted by forcer (Post 853257)
Aye guys, long time no see, let me share my progress on angry birds level editor, finaly decided to make it in html5+canvas+js

here is level visualizer: http://dualsoul.net/junk/canvas.html

paste decompiled level code to the textbox and press "render"

Note it only works 100% in chrome/chromium, firefox has weird problem, will look at it later.


Blank page using Chrome

regnighc 2010-10-27 11:50

Re: [Maemo 5] Angry Birds Level Editor?
 
Leverage browser caching (1)
The following resources are missing a cache expiration. Resources that do not specify an expiration may not be cached by browsers:
canvas.html

forcer 2010-10-27 12:06

Re: [Maemo 5] Angry Birds Level Editor?
 
1 Attachment(s)
Just edited it, refresh(http://dualsoul.net/junk/canvas.html)

see picture in att.

regnighc 2010-10-27 12:08

Re: [Maemo 5] Angry Birds Level Editor?
 
That works Thanks!

regnighc 2010-10-27 12:13

Re: [Maemo 5] Angry Birds Level Editor - progress
 
any way to see the birds and pigs on there?

forcer 2010-10-27 12:14

Re: [Maemo 5] Angry Birds Level Editor - progress
 
Quote:

Originally Posted by regnighc (Post 853327)
any way to see the birds and pigs on there?

not yet, but I wil work on it today, hopefuly I will get somewhere.

forcer 2010-10-27 18:40

Re: [Maemo 5] Angry Birds Level Editor - progress
 
update: you can see all pigglets and birds in visualization.

forcer 2010-11-03 21:56

Re: [Maemo 5] Angry Birds Level Editor - progress
 
1 Attachment(s)
Description

Editor location: http://www.badboll.nu/acme/able/
If you don't have decompiled level already, no worries, there is blank level with few objects on screen when you start the editor.

After editing is done, you can save your level to your mobile device and replace any existing level in /opt/rovio/angrybirds/data/levels/packX

You need html5 capable browser, Newest version of Chrome, Firefox, Opera, Safari and even built-in microb in n900 should handle it. However it can drain 100% of processor on N900.

Changelog

11-11-10
bugfixes:
preloading of images now works, you don't need to refresh the browser to see the content.

11-09-10
features:
ctrl+click adds single selection/deselection of objects.
J = make joint between 2 objects.
R = remove joint between 2 objects.
joints make invisible string between objects.(you can for example hang tnt on a baloon)

11-06-10
features:
now you can duplicate selected objects with D key and rotate objects with right mouse button.

Please note that this editor would not exist without Rovio, if you like it, buy level packs in ovi store, if you didn't already.

cfh11 2010-11-04 18:22

Re: [Maemo 5] Angry Birds Level Editor - NOW FULLY WORKING
 
Nice! Let the custom level packs begin :cool:

noal 2010-11-04 18:34

Re: [Maemo 5] Angry Birds Level Editor - NOW FULLY WORKING
 
I would just like to thank everybody who has put so much effort into this project.

I'm not a developer and don't really want to mess with my highscores, so maybe this will become more popular once it becomes easier to do.

We are due a level pack soon: Is there any chance of a seperate world for the custom levels? Would be very nice!

forcer 2010-11-04 19:22

Re: [Maemo 5] Angry Birds Level Editor - NOW FULLY WORKING
 
@noal: Whole code of the editor was done by me, other bits are from the game itself, thank Rovio for awesome game that pushed me to do editor for it.

About separation: That's more question to Rovio, you can only bombard them to open new "user" pack.
--
On other topic(compatibility of AB levels)
The good thing is, that Android and Palm do have same lua level format, the iPhone ones are different(encrypted). I guess that's because of former App Store policy of not using other languages than ObjC for app development. That means levels are compatible with android/maemo/palm, but not compatible with Apple devices - that's bit sad.

Qteb 2010-11-04 19:48

Re: [Maemo 5] Angry Birds Level Editor - NOW FULLY WORKING
 
Quote:

Originally Posted by forcer (Post 863553)
@noal: Whole code of the editor was done by me, other bits are from the game itself, thank Rovio for awesome game that pushed me to do editor for it.

About separation: That's more question to Rovio, you can only bombard them to open new "user" pack.
--
On other topic(compatibility of AB levels)
The good thing is, that Android and Palm do have same lua level format, the iPhone ones are different(encrypted). I guess that's because of former App Store policy of not using other languages than ObjC for app development. That means levels are compatible with android/maemo/palm, but not compatible with Apple devices - that's bit sad.

And what about compatible with symbian verson of AngryBirds?


All times are GMT. The time now is 15:25.

vBulletin® Version 3.8.8