PDA

View Full Version : How to identify multi-button set menu


spyhawk
15th June 2007, 23:17
Maybe this has been answered, but I can't seem to find it. In VobEdit, what and where do you look for to see if the menu contains multi-button set and how many sets there are? What are the conditions?

r0lZ
16th June 2007, 09:43
Highlight status (lower 2 bits only)
00 = No Highlight information for this VOBU
01 = All New Highlight information for this VOBU
10 = Use Highlight information from previous VOBU
11 = Use Highlight information from previous VOBU except commands, which come from this VOBU
So, in the first nav pack where the button begins, the highlight status (at offset 0x008d in VobEdit) must be 1. When the cell has only one set of buttons, all subsequent packs must have an highlight status of 2 (or 0 when the button ends.)

Subsequent highlight status of 1 or 3 in the same cell indicate that a new set begins.

However, I have already found several times highlight status of 1 or 3 but with all values for all buttons identical than in the previous cell, including the subpic itself. Therefore, in this case, there is only one set of buttons, even though the highlight status indicate several cells.

Unfortunately, finding how many sets of buttons are in a cell requires to parse all nav packs, and compare the button information with the first nav pack of the button.

spyhawk
16th June 2007, 18:12
Thanks r0lZ for the info. I thought there's more to this than just highlight status. I notice this when I just created menus using NVE with no button animation and both PgcEdit and DvdReMake Pro report that it is a multi-button set menu, even though I don't think it needs to be. And I find out that NVE keeps having highlight status of 1 for every nav pack.

Would merely resetting the highlight status for the subsequent navpacks other the first in the same cell be enough to make it a single button set menu, or there's more to it? This can be tedious if the menu is really long. :(

r0lZ
16th June 2007, 19:21
Yes, resetting the HL status to 2 should be enough. And yes, tedious is the right word! ;)
But why do you want to do that? Normally, the menu should work fine with a status of 1 for each VOBU.

spyhawk
16th June 2007, 19:46
yep, I probably wouldn't do it, waste of time. But I hate to see it appears as multi-button set though. So here's my wish: if you and Dimad add the ability to make it a single button set, that'll be fantastic. ;)

r0lZ
16th June 2007, 20:01
Well, it's not so easy. Imagine that the subpic is animated. Even though the button parameters in the nav packs can be always identical, it is necessary to preserve the highlight status. And PgcEdit has no way to examine the content of the subpic stream.

But since currently PgcEdit supports only the first set, the other sets are overwritten when you edit a button. Although the HL status is not modified, you can edit all sets at once.
(Another brilliant example of how to present a limitation as a feature!) ;)

blutach
17th June 2007, 08:54
(Another brilliant example of how to present a limitation as a feature!)
:D And here I was wondering when PgcEdit would support multi-button sets :)

Regards

r0lZ
17th June 2007, 09:28
Probably never. Sorry, but it's very difficult, for me and the user. IMO, editing hundreds of sets independently is not feasible.