Log in

View Full Version : Remove Highlight


King_Diamond
11th July 2005, 16:22
I have just authored a dvd and when it is run, the button play is highlighted. Is it possible with MenuEdit or PgcEdit to remove the highlight, that is nothing is highlighted until it is selected or hovered over with the mouse?

Video Dude
11th July 2005, 17:50
1) Use PGCEdit or MenuEdit to create a small new button (like a 2x2 box) and place it in one of the four corners. This will "hide" it.

2) Specify this new button to be the default. I'm old school, so I usually use VobEdit for this, but perhaps MenuEdit or PGCEdit will let you specify this.

3) In MenuEdit or PGCEdit, edit the "adjacent button" properties box so all four numbers point to the play button. When the user presses the arrow keys, the play button will be highlighted like you want.

4) In PGCEdit, edit the new button's command so it will jump to the play button and highlight it. I don't know the command off hand.


So now the play button will not highlight until the user: hovers the mouse, uses the arrow keys, or presses enter.

lovelegend
11th July 2005, 18:22
@King_Diamond
For the menu, there should be a pre-command to set the highlight button:

http://hmr9dkc6xgks.hp.infoseek.co.jp/image10.png

(in the above example it's pre-command row 5)
Just delete that pre-command and it should do...

King_Diamond
11th July 2005, 18:58
Thanks for the reply.

lovelegend, excellent answer but I have a problem. I have 4 statements of the command you mentioned, 3 under title and 1 under root. I'm new to this and don't know which one to delete or if all. DVD has a main menu and one track menu. Want to delete them from both.

2COOL
11th July 2005, 19:24
I have just authored a dvd and when it is run, the button play is highlighted. Assuming you are talking about the main menu, use PgcEdit's "Go to calling command" feature. Right click on main menu PGC and select it. The results found are your prior PGCs that have jumps/calls/links directly to your main menu. Click on any of them to jump to that PGC.

Asa educated guess, find out what your Play Button number is and multiply it by 1024. If is number 1, then your highlight button SPRM will be set to 1024. If not of your previous ones don't have any SetHL_BTN commands, you may have to do more jump to calling commands with your first results.

Another thing you can do is to insert a SetHL_BTN command as your main menu's (EDIT) last pre command. Set it to SPRM 21 (reserved). It will always be zero and by doing so, a button zero means no highlights.

King_Diamond
11th July 2005, 19:26
lovelegend, I deleted all the 4 commands and tried deleting them one by one. In either case it highlighted the next button. Any ideas?

Video Dude, I will try your method but it is a bit complex for me. I'm new to this so I need your help on how to do point 2, 3 and 4. A detailed explanation would be much appreciated.

lovelegend
11th July 2005, 19:35
Thanks for the reply.

lovelegend, excellent answer but I have a problem. I have 4 statements of the command you mentioned, 3 under title and 1 under root. I'm new to this and don't know which one to delete or if all. DVD has a main menu and one track menu. Want to delete them from both.

First of all, I didn't mean to delete all pre-commands, just delete the set highlighted button command:
(SetHL_BTN) Set Highlighted Button = ....

3 SetHL_BTN commands under title? Could you take a screenshot? I don't quite get it..

King_Diamond
11th July 2005, 19:42
I was posting while 2 cool sent your post. I tried your suggestion but I'm confused.

lovelegend, I only deleted the highlight command. I have the screenshot but don't know how to post it. Can you explain pls?

2COOL
11th July 2005, 19:48
I have 4 statements of the command you mentioned, 3 under title and 1 under root. Post your PGC info dumps (Info > PGC) for your Title in question and root menu. Enclose them in code tags.

e.g.

Pasted info here

King_Diamond
11th July 2005, 19:51
I attached it instead. The same commands are also in line 4 and 5 under title and in line 5 under root.

King_Diamond
11th July 2005, 19:56
VMGM , LU 1 (--) , 1 (dummy) TitleM - Chapters: n/a, Programs: 0, Cells: 0

********** pre commands:
1 (SetHL_BTN) Set Highlighted Button =(mov) 4096 (button 4)
2 LinkPGCN PGC 2
********** post commands:
********** cell commands:



Playback time: 00:00:00.00 (at 25 fps)
PG Playback mode: sequential
PUOs: 0 (0x00000000)
NextPGCN: 0
PrevPGCN: 0
GoUpPGCN: 0
PGC Still Time: 0


I hope this is ok 2Cool.

2COOL
11th July 2005, 20:04
VMGM , LU 1 (--) , 1 (dummy) TitleM - Chapters: n/a, Programs: 0, Cells: 0

********** pre commands:
1 (SetHL_BTN) Set Highlighted Button =(mov) 4096 (button 4)
2 LinkPGCN PGC 2
********** post commands:
********** cell commands:
What you posted is neither your root menu or a Title PGC. I'm going on what you posted earlier. Anyways, your command SetHL_BTN command above is set for button 4. Is button 4 for your Play button on your main menu correct?

Check your PM. ;)

King_Diamond
11th July 2005, 20:23
Sorry for messing up 2Cool. Yes button 4 is the play button.

2COOL
11th July 2005, 20:30
Upon analysis, VMGM 2 is your main menu PGC. When doing a "go to calling command" with VMGM 2, I got three results. Each one had this

1 (SetHL_BTN) Set Highlighted Button =(mov) 4096 (button 4)

http://img236.imageshack.us/img236/4316/screenhunter0079tf.png (http://www.imageshack.us)

Delete all three SetHL_BTN commands in each of those chosen PGC. PgcEdit found them in VMGMs 1, 4, and 5.

King_Diamond
11th July 2005, 20:41
Just did as you told me. Highlight moved to the next button, it should be button 1 if I'm not mistaken!!

2COOL
11th July 2005, 20:46
Hmmm...suppose to work. Anyways, here is another workaround project. I needed a unused GPRM and you have many so I selected GPRM(0).

Double click on each SetHL_BTN commands and select GPRM (0) instead of button 4. Save and test. I want your SPRM 8 (SetHL_BTN) to hold a value of 0 and gprm(0) is always set at zero in your DVD.

King_Diamond
11th July 2005, 20:59
Sorry same result, highlight moved to button 1 in the main menu. Btw the main menu is a motion menu, if it makes a difference.

2COOL
11th July 2005, 21:01
If you set to highlight button 3, does it do it? Just doing a test. By the BTW, what is this DVD or how was it authored?

King_Diamond
11th July 2005, 21:05
How can I make it to highlight button 3?

The menu has only 2 buttons, 1 and 4. The others, 2 and 3 are only titles (text) which have nothing in them, ie they are not visible. Don't know why they are considered as buttons.

2COOL
11th July 2005, 21:09
Take a snapshot of your menu and use http://www.imageshack.us/ . Post your forum link it gives.

King_Diamond
11th July 2005, 21:16
Ok. I double clicked each SetHL_BTN commands and although buttom was greyed out, it was showing button 1. I selected button and changed it to button 3 as you suggested. IT WORKED!! Seems it's highlighting button 3 but as explained earlier, button 3 is not visible, it is not highlighting so the main menu is ok.

I changed the track menu and it seems the highlighting is under the root menu. The problem here is that there is also 4 buttons but are all visible so changing the button number resulted to highlight accordingly. Will try the GPRM(0) as you explained earlier and see what happens. Getting you with an answer soon.

King_Diamond
11th July 2005, 21:36
I had no luck. Was trying changing different button numbers but I'm late for work. Will continue tomorrow. If you have any other options, please post. Thanks a lot for your help.

2COOL
11th July 2005, 21:40
OK, start from scratch (unedited IFOs) and forgetting my previous posts on VMGM 2. It seems your main menu is in VTSM 2. I did a "go to calling command" on it. It only gave me VTSM 5 and in it has a SetHL_BTN command. Delete this command and test.

2COOL
11th July 2005, 21:43
I had no luck. Was trying changing different button numbers but I'm late for work.Oh, I'm sure there are alot of obssessed users here that has happened to them alot due to "almost there" projects, including me. :p

King_Diamond
12th July 2005, 16:47
I tried your last suggestion. Result : no changes in main menu but the highlight is moved to the next button in the track menu.


Oh, I'm sure there are alot of obssessed users here that has happened to them alot due to "almost there" projects, including me.


Yep I know the feeling but I thought that this thing wasn't difficult. Seems I was wrong!!

2COOL
12th July 2005, 18:09
King

I need to know what I'm working with. Did you author this DVD from scratch or are you working with a shrunk commercial DVD?

King_Diamond
12th July 2005, 18:10
I understand that deleting the highlight command should delete the highlight but had no success with that option.

So I tried the following :

Selected VTSM Line 2, ctrl+g and selected cell 1. I added a button there and put the highlight on it, button 5. I tested and although no highlight was visible, when the mouse is hovered over the space button 5, cursor changed and when clicked it exits playback. So I changed it's command to nop. No highlight is visible, and cursor doesn't change when hovered over the space of button 5. However, after some seconds button 1 is automatically highlighted. The Hex value of the nop is 00 00 00 00 00 00 00 00. I think the value should be changed but don't know to what.

This was just trying and not sure if this is a good way. Would appreciate your comments about it. And did not test it on a set top player so don't know if results will be different. If this is a mad thing, please say so and I try something else even though I'm out of ideas!

King_Diamond
12th July 2005, 18:11
I authored the DVD with TMPGEnc.

2COOL
12th July 2005, 18:20
If this is a mad thing, please say so and I try something else even though I'm out of ideas! I kinda like the challenge to find out what wrong for future references.

What are you using to view your DVD on your PC?

Can you use PgcEdit and do a "Menu button commands" Info dump and post what you got?

King_Diamond
12th July 2005, 20:15
Sorry, had to leave a bit.

I also like the challenge and totally believe that what one can solve today, he will use it the the future.

I am using WinDVD for pc viewing.

Can you explain which part you need for the menu button commands? What I need to copy?

2COOL
12th July 2005, 21:47
Can you explain which part you need for the menu button commands? What I need to copy?Just select all in log to copy and paste with code tags.

Try playing your DVD in IfoEdit.

zacoz
13th July 2005, 13:14
I am using WinDVD for pc viewing.I also use WinDVD (ver 5) at times and noted that it doesn't always correctly display the highlights - particularly on the first menu after loading the dvd. The same dvd's burnt to disc work fine in my standalone however.
Possibly try playing in Media Player Classic or another software player to see if you get identical results as with WinDVD.

King_Diamond
13th July 2005, 15:36
2Cool, I hope the following is what you were refering to.


VMGM , LU 1 (--) , 8 (dummy) - Chapters: n/a, Programs: 0, Cells: 0

********** pre commands:
1 (SetGPRMMD) Set gprm(14) in register mode =(mov) 1
2 if ( gprm(15) & gprm(14) ) then { Goto line 4 }
3 Goto line 5
4 Set gprm(15) &=(and) 65534
5 (SetGPRMMD) Set gprm(14) in register mode =(mov) 2
6 if ( gprm(15) & gprm(14) ) then { Goto line 8 }
7 Goto line 10
8 Set gprm(15) &=(and) 65533
9 (JumpSS) Jump to VMGM Title menu
10 NOP
11 (JumpSS) Jump to VTSM 1, Root menu (TTN 1)
********** post commands:
********** cell commands:



Playback time: 00:00:00.00 (at 25 fps)
PG Playback mode: sequential
PUOs: 33554415 (0x01FFFFEF)
- Time play or search (0x00000001)
- PTT play or search (0x00000002)
- Title play (0x00000004)
- Stop (0x00000008)
- Time or PTT search (0x00000020)
- TopPG or PrevPG search (0x00000040)
- NextPG search (0x00000080)
- Forward scan (0x00000100)
- Backward scan (0x00000200)
- Menu call - Title (0x00000400)
- Menu call - Root (0x00000800)
- Menu call - Subpicture (0x00001000)
- Menu call - Audio (0x00002000)
- Menu call - Angle (0x00004000)
- Menu call - PTT (0x00008000)
- Resume (0x00010000)
- Button select or activate (0x00020000)
- Still off (0x00040000)
- Pause on (0x00080000)
- Audio stream change (0x00100000)
- Subpicture stream change (0x00200000)
- Angle change (0x00400000)
- Karaoke audio mix change (0x00800000)
- Video presentation mode change (0x01000000)
NextPGCN: 0
PrevPGCN: 0
GoUpPGCN: 0
PGC Still Time: 0


I don't have IfoEdit so I tried downloading but had no luck. Seems there is some kind of restriction.

zacoz, I never had problems with WinDVD. For confirmation, I tried it with Media Player but same result. Have no other player to test it with.

2COOL
13th July 2005, 21:08
I authored the DVD with TMPGEnc.There's something definitely wrong when you authored your DVD through TMPGenc. Your problem most likely lies at this stage. Are you referring to using TMPGenc DVD Author (http://www.pegasys-inc.com/en/product/tda.html) as that is different from using TMPGenc? I've used it before and didn't get any highlight problems.

It is possible for you to start your re-authoring from scratch again? Maybe, you got a bad author?

As for your I-frame error message when using MenuShrink, I'm not an expert on analysing but I'm sure jeanl, MenuShrink's author, would be of great help here. I've forwarded your PM to him.

2COOL
13th July 2005, 21:11
2Cool, I hope the following is what you were refering to. What I needed was Info > Menu Buttons commands

King_Diamond
13th July 2005, 21:27
Yes i'm using TMPGEnc DVD Author. I didn't know there was another author for TMPGEnc.

Yes i can re-author it and will do it now and re try all your suggestions.

As i said before, i am new to ifo/vob editing and i learnt alot thanks to you but i am still a novice and don't know where i can find the menu buttons commands. If you can help me out finding them, i will post them.

King_Diamond
13th July 2005, 21:43
I am so stupid! I found the menu commands, sorry. Here they are:


Menu buttons commands
DVD-TEXT General Name: ""
Provider ID: ""
Number of VTS: 1

VMG (VIDEO_TS.VOB)
------------------
VMGM, VOB ID 1, Cell ID 1 (First NAV pack LBA=0)
1 Group Select but=0, Action but=0
button 1: (JumpSS) Jump to VMGM PGC 3
button 2: LinkPGCN PGC 4
button 3: LinkPGCN PGC 5
button 4: (JumpSS) Jump to VMGM PGC 6



VTS 1 (VTS_01_0.VOB)
--------------------
VTSM 1, VOB ID 1, Cell ID 1 (First NAV pack LBA=0)
1 Group Select but=0, Action but=0
button 1: (JumpSS) Jump to VMGM Title menu
button 2: LinkPGCN PGC 3
button 3: LinkPGCN PGC 4
button 4: (JumpSS) Jump to VMGM PGC 7

VTSM 1, VOB ID 1, Cell ID 2 (First NAV pack LBA=6736)
1 Group Select but=0, Action but=0
button 1: (JumpSS) Jump to VMGM Title menu
button 2: LinkPGCN PGC 3
button 3: LinkPGCN PGC 4
button 4: (JumpSS) Jump to VMGM PGC 7

2COOL
15th July 2005, 05:48
@King_Diamond

Though subpictures are not my specialty, I came up with a generic working solution with your DVD. The trick is to use a hidden button as your default starting button. So, here's what I've done.

[EDIT] Just went over the thread again and it seems Video Dude had the same idea first. ALL credits will go to him. ;)

Video Dude, I will try your method but it is a bit complex for me. I'm new to this so I need your help on how to do point 2, 3 and 4. A detailed explanation would be much appreciated.

Update: Guide has been edited.
Update: Guide edited again

HOW TO GET YOUR MENU TO START WITH NO HIGHLIGHTS
___________________________________________
1. Select your Menu PGC
___________________________________________
2. Click on "Show menu buttons" toolbar icon > http://img303.imageshack.us/img303/2356/screenhunter0014mo.png (http://www.imageshack.us)
___________________________________________
3. Click on Edit button > http://img303.imageshack.us/img303/1448/screenhunter0021qy.png (http://www.imageshack.us)
___________________________________________
4. If you want to work on a group by group basis, you can select which one you want else by default, All will be selected for you.

http://img308.imageshack.us/img308/2548/screenhunter0096qd.png (http://www.imageshack.us)

NOTE: if a button command is different among your groups, group 1 will be selected, and the All buttons will appear in red. This is because if you select the All mode to edit something, you will loose these differences. In this case, you might want to individually edit each group.
___________________________________________
5. Create a new button. Button > New button.

http://img303.imageshack.us/img303/985/screenhunter0035fd.png (http://www.imageshack.us)

Your menu had 4 buttons so now you will have a 5th one created top-left corner.
___________________________________________
6. Change the button command to NOP. Hide button > Replace command with NOP.

http://img303.imageshack.us/img303/8742/screenhunter0045nc.png (http://www.imageshack.us)

We don't want this button doing anything. NOP means No OPeration.
___________________________________________
7. As you can see below, using the arrow keys on your keyboard or remote is useless as it will bring you back to itself.

http://img303.imageshack.us/img303/1330/screenhunter0050wq.png (http://www.imageshack.us)

What we want is to navigate to another button if we choose to. Your Play button is button 4. This would be a good selection. So with that idea, I clicked on each 4 slidebars and changed them to 4.

http://img303.imageshack.us/img303/8580/screenhunter0065ol.png (http://www.imageshack.us)
___________________________________________
8. Now, it's a matter of having button 5 being selected when this menu is accessed. Check Advanced checkboxes to access global controls.

Click on "force select button" slidebar and change it to button 5.

http://img303.imageshack.us/img303/5937/screenhunter0078ct.png (http://www.imageshack.us)
___________________________________________
9. If you had selected to do individual groups in Step 4, all you need to repeat is Step 7 for each one.
___________________________________________
10. Click OK to set.
___________________________________________
11. Close Menu button dialog
___________________________________________
12. Save and test
___________________________________________

Note: The force select button flag overrides the SetHL_BTN command. I wasn't sure but I just tested it and it did override when I had a SetHL_BTN with button 1.

I hopes this works for you. It's rare someone wants it this way but at least, there's an option to do so.
___________________________________________

@r0lZ

If you are reading this, I remember you telling me that with no SetHL_BTN command prior to a menu, there would be "no" highlighted buttons. With my thorough testing, it seems button 1 will always be defaulted to be highlighted. Even in the SPRM monitor, it is defaulted at 1024. I assume this is the specs for DVD players. There is no way to select button 0 in PgcEdit. I've even tried hexediting it in IfoEdit.

r0lZ
15th July 2005, 11:35
Good guide, 2COOL, although I can't see the reason to hide the highlight.

___________________________________________
8. Your DVD had only one group of buttons.

http://img303.imageshack.us/img303/6165/screenhunter0085bh.png (http://www.imageshack.us)

If per chance, you have more than one group, you will have to repeat steps 1 to 7 with the others.
___________________________________________That's not true. If you have several groups, just be sure to select the "All" radiobutton, and you don't need to repeat the operation for all groups.
And, even if you work on a per group basis, only step 6 must be repeated.


Note: The force select button flag overrides the SetHL_BTN command. I wasn't sure but I just tested it and it did override when I had a SetHL_BTN with button 1.That's right.


@r0lZ

If you are reading this, I remember you telling me that with no SetHL_BTN command prior to a menu, there would be "no" highlighted buttons. With my thorough testing, it seems button 1 will always be defaulted to be highlighted. Even in the SPRM monitor, it is defaulted at 1024. I assume this is the specs for DVD players. There is no way to select button 0 in PgcEdit. I've even tried hexediting it in IfoEdit.Right. Seems setting SPRM 8 to 0 is illegal.


Also, note that if you change the NOP command of the new button to a LinkTopCell, Button 4 command, you will be able to select button 4 by pressing Enter on the remote. (But the cell will be restarted, while pressing an arrow button will not restart it.)

2COOL
15th July 2005, 11:41
That's not true. If you have several groups, just be sure to select the "All" radiobutton, and you don't need to repeat the operation for all groups.
And, even if you work on a per group basis, only step 6 must be repeated.Thanks for the correction. As you can tell by my example, I ws working on a 1 group DVD. I'll try to correct the guide soon.

EDIT: I just used a DVD with 2 groups and the All option was selected by default when menu editor dialog opened.

Update: Guide edited.

r0lZ
15th July 2005, 12:20
EDIT: I just used a DVD with 2 groups and the All option was selected by default when menu editor dialog opened.That will be the case most of the time. But PgcEdit selects the All option only if there are no adjacent buttons and button commands differences in all groups.
For example, if a button command is different in group 1 and 2, group 1 will be selected, and the All buttons will appaer in red. This is because if you select the All mode to edit something, you will loose these differences.

2COOL
15th July 2005, 12:26
Thanks. Noted in guide. Almost time to go to la-la-land.

blutach
15th July 2005, 14:27
LOL - with my lousy authoring, more times than not my menus enter without highlight (jumping to hidden button!) and I have to fix them up!

Good guide (as usual) 2COOL!

Regards

King_Diamond
15th July 2005, 16:08
Great job 2Cool, it worked. Thanks for your outstanding help.

r0lz,

Also, note that if you change the NOP command of the new button to a LinkTopCell, Button 4 command, you will be able to select button 4 by pressing Enter on the remote.

The above seems a nice tweaking. However, the LinkTopCell did not work for me. I looked at the play button (4) command which was [JumpSS] Jump to VMGM PGC and copied it to button 5 and it worked. However i only tested it on pc.

(But the cell will be restarted, while pressing an arrow button will not restart it.)

Can you please explain what the above statement means?

2Cool, blutach
I wanted to remove the highlight as i have only 2 visible buttons which for me, made it look ackward to have 2 buttons which look different at first glance. I think it's just a question of taste.

Edit: Sorry r0lz, the above explanation was for you too.

blutach
15th July 2005, 16:17
I'm sure it is King :)

As for the cell being restarted, that's what LinkTopCell does. In a motion menu, it starts it off again. It will have no apparent effect in a non-motion menu other than a slight blinking of the button highlight (which you won't see because you start on a non-highlighted button)

Regards

King_Diamond
15th July 2005, 17:06
Thanks for the explanation blutach.

The method of [Jump SS] i mentioned above worked fine with a still menu but not with a motion menu. The only problem seems that the arrow keys are disabled. Any ideas how to solve this, if it is possible?

King_Diamond
15th July 2005, 17:35
Ok found the problem. The adjacent buttons were 5 instead of 4, even though i'm sure i had changed them.

:thanks: to everyone, you were all very helpful.

2COOL
15th July 2005, 20:15
:thanks: to everyone, you were all very helpful.:cool: To the "King"...thank you...thank you very much.

blutach
16th July 2005, 06:39
Another happy satisfied customer http://img116.exs.cx/img116/1231/z7shysterical.gif

Regards