PDA

View Full Version : Creating new menu with subs [small tutorial]



Yummieee
16-12-2002, 10:02 PM
Everybody asked me: "How do I create a new menu witch contains sub menus?"
THAT GET ON MY NERVS
So I descided to write a tutorial:


How to create a "Favorite-Menu" in g3n0lite 1.7 by g3gg0

Example:
You wanna create a new "favorite-menu" that looks like that:
1. Favorites
1.1. Slideshow
1.2. Write Message
1.3. Message Inbox

The code that has to be written in g3n0lite 1.7 (example):
+ADD_TEXT Favorites
[0xDEADBEEF] [0x00000000] [0x00000000] (0x0043) (0x0387) (0x0000) (0x0035) (0x0130) (0x0000) Favorites
[0x00000000] (0x03) (0xC0) (0x0101) [0x00000000]
[0x00000000] [0x00000000] [0x00000000] (0x0043) (0x00DC) (0x0000) (0x0035) (0x0130) (0x0000) Favorites
+ADD_TEXT SlideShow
[0xDEADBEEF] [0x00000000] [0x00000000] (0x0043) (0x0B64) (0x0000) (0x0035) (0x0130) (0x0000) Slideshow
[0x002A4D83] [0x00000000] [0x0000001F] (0x0043) (0x05E0) (0x0000) (0x0045) (0x0400) (0x0000) Write Message
[0x002A4D50] [0x00000000] [0x0000001C] (0x0043) (0x05E0) (0x0000) (0x0045) (0x0000) (0x0000) Message Inbox


Explanation:
+ADD_TEXT Favorites
//adding a new text_id

[0xDEADBEEF] [0x00000000] [0x00000000] (0x0043) (0x0387) (0x0000) (0x0035) (0x0130) (0x0000) Favorites
//setting the "ghost menu" (the values in the round brackets may vary to your values - except "(0x0387)" )

[0x00000000] (0x03) (0xC0) (0x0101) [0x00000000]
//setting menu counter("(0x03)"), displaying-type ("(0xC0)" - list), beginning of menu(?) ("[0x00000000]" - g3n0lite calculates it hisself)

[0x00000000] [0x00000000] [0x00000000] (0x0043) (0x00DC) (0x0000) (0x0035) (0x0130) (0x0000) Favorites
//Beginning of menu

+ADD_TEXT Slideshow
//add a new text_id

[0xDEADBEEF] [0x00000000] [0x00000000] (0x0043) (0x0B64) (0x0000) (0x0035) (0x0130) (0x0000) Slideshow
//creating the slideshow menu; important: message_id "0b64"

[0x002A4D83] [0x00000000] [0x0000001F] (0x0043) (0x05E0) (0x0000) (0x0045) (0x0400) (0x0000) Write Message
//just copy n paste from the original message menu

[0x002A4D50] [0x00000000] [0x0000001C] (0x0043) (0x05E0) (0x0000) (0x0045) (0x0000) (0x0000) Message Inbox
//just copy n paste from the original message menu

Then you hae to correct the menu counter in the first line of g3n0lite.

I hope this helps a little bit.
READ THIS THREAD CAREFULLY. ALL INFORMATIONS OF CREATING NEW MENUS ARE IN THIS TEXT. USE YOUR BRAIN!


btw: Sorry for my sick English [ I'm German]

theremoids
17-12-2002, 01:37 AM
thanks Yummieee!

Manipulator
17-12-2002, 06:17 AM
thanks,it is very nice.

ryan_chong
17-12-2002, 09:49 AM
Hello....

Hmm....Iziit this is the only way?Or there's other programs can do this accept g3nolite 1.7?

Thanks before mate...:)

Yummieee
17-12-2002, 06:09 PM
you can do it manually with the hex editor.
but its a harder way to get your new menus.

the way i described should work on all versions of g3n0lite (DONT USE 1.7B - its buggy).

ryan_chong
18-12-2002, 07:29 AM
@Yummiee

Thanks!:) Wish version of genolite do u recommend?


Thanks again...

ryan_chong
18-12-2002, 07:30 AM
Oops!:eek: Wrong spelling....

*Which

Yummieee
18-12-2002, 07:38 AM
genolite 1.7
or just wait for 2.0

azce8210
18-12-2002, 06:07 PM
it is interesting.... but i have no g3nolite program, can you tell me where can i download g3nolite 1.7

tnx....

Yummieee
18-12-2002, 07:14 PM
HERE (http://www.yummieee.de/files/programs/g3n0lite v1.7.rar)

azce8210
18-12-2002, 09:16 PM
thank you very much! yummieee for your time but i cant open it, can u send it again..

tnx again...

Yummieee
18-12-2002, 09:18 PM
link works TESTED

azce8210
18-12-2002, 09:52 PM
i got it.... thank you very much yummieee
more power to you.....

srisawats
19-12-2002, 03:07 AM
You are very nice guy for share that.So do you know how to make new main-menu with new sub-menu ?

(sorry for my bad english)

srisawats,
:p :p :p

Yummieee
19-12-2002, 06:23 AM
Use the search option.
http://nokiafree.org/forums/t5876/s.html <- all informations bout creating menus

tempe
19-12-2002, 08:50 AM
Thanks for the tutorial... I will try it tonight...

MastSher
20-12-2002, 06:43 PM
i want to try ur tutorial, plz tell me where can i find g3n0lite 1.7 . tnx!

baculao
21-12-2002, 03:05 PM
Yummieee,

if you dont mind....

1)

[0xDEADBEEF] [0x00000000] [0x00000000] (0x0043) (0x0B64) (0x0000) (0x0035) (0x0130) (0x0000) Slideshow
//creating the slideshow menu; important:

(0x0b64)<----what do you call this? pointer for the execution of the slideshow? it varies from phone to phone - right? how do i the right address for a different phone?

2)

[0xDEADBEEF] [0x00000000] [0x00000000] (0x0043) (0x0387) (0x0000) (0x0035) (0x0130) (0x0000) Favorites
[0x00000000] (0x03) (0xC0) (0x0101) [0x00000000]
[0x00000000] [0x00000000] [0x00000000] (0x0043) (0x00DC) (0x0000) (0x0035) (0x0130) (0x0000) Favorites

where is the graphic pointer here?

more power,
baculao

benchnix
21-12-2002, 03:13 PM
Originally posted by Yummieee
you can do it manually with the hex editor.
but its a harder way to get your new menus.

the way i described should work on all versions of g3n0lite (DONT USE 1.7B - its buggy).

Hello yummiee!! Thanx 4 ur tutorial!!
I have question in adding the menus..
Does it need to reserve ppm chunk(code chunk in genolite) or no need to reserve ppm chunk?? Just wondering about that function.

Is it ok to copy that code in another 3315 file?

Yummieee
21-12-2002, 03:32 PM
@bucalo

[0xAAAAAAAA] [0xBBBBBBBB] [0xCCCCCCCC] (0xDDDD) (0xEEEE) (0xFFFF) (0xGGGG) (0xHHHH) (0xIIII)

"0x0b64" (E) is the Funktion_ID of the Slideshow (String is the same in all Phones).
The Message_ID (C) must be "0" (0x00000000).

The BITMAP_ID and the ANIMATION_ID is "I" and "D".
But I don't know which one belongs to the other.

@benchnix

Does it need to reserve ppm chunk(code chunk in genolite) or no need to reserve ppm chunk?? Just wondering about that function.

I don't understand your question. You need a complete flash.

baculao
22-12-2002, 07:21 AM
# --------------
[0x002E390E] [0x00000000] [0x002E4C98] (0x0043) (0x0387) (0x0000) (0x0036) (0x0000) (0x0000) Favorites
[0x002E4CA4] (0x02) (0x80) (0x0101) [0x00000000]
# --------------
[0x00000000] [0x00000000] [0x00000000] (0x0114) (0x00DC) (0x0000) (0x0035) (0x0130) (0x0019)
[0x002E3924] [0x00000000] [0x00000000] (0x0114) (0x0B64) (0x0000) (0x0035) (0x0130) (0x0019) SlideShow
[0x002D5BB5] [0x00000000] [0x00000024] (0x0114) (0x05E0) (0x0000) (0x0049) (0x0400) (0x0019) Composer
# --------------

Yummieee,

I tried aforementioned code on a 3210 ver 6.00. The Favorites menu as well as the shortcut to the composer works fine. However, the slideshow does not work. Everytime it's selected, only the "menu" text appears, then it goes to phonebook.

Yummieee
22-12-2002, 03:55 PM
@bacalo
Which version of g3n0lite did you use?
Have you already patched your File with the Slideshow?

NLOGOMASTER
22-12-2002, 06:52 PM
@ Yummieee


on a flash file i'm playing around there on funny error i've seen on my project on adding menu .

the ringtone i inserted was on top of the select command if your on the ringtone page:D instead inside the submenu ringtones:p

slikmik
23-12-2002, 12:08 AM
ok why when creating menu for slideshow do we use

DEADBEEF??????

im baffled

cheers for help

mike

baculao
23-12-2002, 01:31 AM
Originally posted by Yummieee
@bacalo
Which version of g3n0lite did you use?
Have you already patched your File with the Slideshow?

i'm using g3n0lite 1.7 since 1.7b is buggy.
i already did patch my file....

slikmik
23-12-2002, 03:06 AM
[0x0032C2A6] [0x00000000] [0x00332534] (0x0000) (0x0387) (0x0000) (0x003E) (0x0000) (0x0015) SlikMenu


the unknown value # 2 the (0x003E) above is the Select button!!!

if you just have (0x0000) then it says OK instead of Select :)

My little contribution :)

just thaught i'd say so because on another post someone mentioned three of them were UNKNOWN so maybe this helps

Mike

Yummieee
23-12-2002, 06:23 AM
@slikmik
We use DEADBEEF when the menu will get the name we created with +ADD_TEXT.

@baculao
No idea anymore. SORRY

markaidestine
23-12-2002, 09:57 PM
Originally posted by Yummieee
Everybody asked me: "How do I create a new menu witch contains sub menus?"
THAT GET ON MY NERVS
So I descided to write a tutorial:


How to create a "Favorite-Menu" in g3n0lite 1.7 by g3gg0

Example:
You wanna create a new "favorite-menu" that looks like that:
1. Favorites
1.1. Slideshow
1.2. Write Message
1.3. Message Inbox

The code that has to be written in g3n0lite 1.7 (example):
+ADD_TEXT Favorites
[0xDEADBEEF] [0x00000000] [0x00000000] (0x0043) (0x0387) (0x0000) (0x0035) (0x0130) (0x0000) Favorites
[0x00000000] (0x03) (0xC0) (0x0101) [0x00000000]
[0x00000000] [0x00000000] [0x00000000] (0x0043) (0x00DC) (0x0000) (0x0035) (0x0130) (0x0000) Favorites
+ADD_TEXT SlideShow
[0xDEADBEEF] [0x00000000] [0x00000000] (0x0043) (0x0B64) (0x0000) (0x0035) (0x0130) (0x0000) Slideshow
[0x002A4D83] [0x00000000] [0x0000001F] (0x0043) (0x05E0) (0x0000) (0x0045) (0x0400) (0x0000) Write Message
[0x002A4D50] [0x00000000] [0x0000001C] (0x0043) (0x05E0) (0x0000) (0x0045) (0x0000) (0x0000) Message Inbox



Yummiee, where will i start or paste this code in g3nolite? i mean... putting it in READ menustructure or in Write menustructure becoz i really dont know the use of READ and WRITE menustructure, can u tell me their uses? thanks!

Yummieee
23-12-2002, 10:12 PM
Please read the threads 'bout g3n0lite.
I don't have the time to explain you the whole program.

baculao
24-12-2002, 04:19 AM
Yummieee,

I just got it . Everything is working now.....
[0xDEADBEEF] [0x00000000] [0x00000000] (0x0043)<--I changed this (0x0B64) (0x0000) (0x0035)<--this (0x0130) <---this(0x0000) <---and this Slideshow

they seem to be constants in the phone. Furthermore, they differ from phone to phone.

thanks a lot for you tutorial.

Spoon
24-12-2002, 05:54 PM
thnks bro.:p

gsmsalers
06-01-2003, 01:43 AM
Hi.
I can't find submenu addresses in game menu, like instruction function? I used 3310 ver 5.55 flash? If someone know them or clue to find them please help me?
Thanks for attention.