Log in

View Full Version : [DVDLAB PRO] Problems synchronizing two VTS in mode "advanced"


kirous
8th May 2016, 22:55
Hello, after time I enter this forum. Thanks to you guys to help me in some problems I've had with my creation of my projects, and I have learned a lot from you.

Rather this time would be a level that is unprofessional, and I realized that in most of the original DVD, programming is not the same as I was doing, but if I tried to do and almost most were me satisfactory.

The problem would be the navigation button TITLE BUTTON and MENU BUTTON, which I have previously written, for which would be the problem of synchronizing two VTS are separate, that almost most of the original DVD has the same structure .

But hey, they said they would in the ROOT MENU, this encoding:

MAIN MENU:
(A) Custom Pre Commands:
------------------------------------
If (gprm(0)==1) then { linkPGC 4 }
Set gprm(0)=(mov)1
Set gprm(0)=(mov)1
Set gprm(1)=(mov)0

***Para la sincronizacion***

(A) Custom Post Commands:
-------------------------------------
Set gprm(1) =(mov) sprm (8:Highlighted button number)


MENU 2 (Related MENU ROOT):

(A) Custom Pre Commands:
------------------------
If (gprm(2) == gprm(0)) then {(SetHL_BTN) Set Highlighted Button =(mov) gprm(1)}
Set gprm(1) =(mov) 0
Set gprm(2) =(mov) 0

(A) Custom Post Commands:
-------------------------------------
LinkCN Cell 1



With this basic programming, synchronization is successfully achieved, as well as works the jump buttons MENU BUTTON and TITLE BUTTON.

Now I was seeing in the PgcEdit that one of the original DVD menus have these encodings:

VTSM5, LU 1 (en), 13 (0:38) 3b.
-----------------------------------------
********* pre commands:
if ( gprm(15) != 1 ) then ( set gprm(15) =(mov) 0 )
(SetHL_BTN) Set Highlighted Button =(mov) 1024 (button 1)
Set gprm(0) =(mov) 42
if ( gprm(2) == gprm(0) ) then ( (SetHL_BTN) Set Highlighted Button =(mov) gprm(4) )
Set gprm(6) =(mov) 0
Set gprm(3) =(mov) 0
Set gprm(4) =(mov) 0
Set gprm(2) =(mov) 0
Set gprm(1) =(mov) 0
Set gprm(0) =(mov) 0
********* post commands:
LinkCN Cell 1
********* cell commands:


VTSM5, LU 1 (en), 14 (0:47) 3b.
-----------------------------------------
********* pre commands:
(SetHL_BTN) Set Highlighted Button =(mov) 1024 (button 1)
Set gprm(15) =(mov) 99
Set gprm(3) =(mov) 0
Set gprm(9) =(mov) 0
********* post commands:
Set gprm(15) =(mov) 0
Set gprm(2) =(mov) 42
Set gprm(4) =(mov) sprm(8:Highlighted button number)
LinkPGCN PGC 13
********* cell commands:

With this, I do not know which of the two is the MENU ROOT and the other is the VTS Normal that is linked with the MENU ROOT, for me, it is assumed that the MENU ROOT would be the VTSM5, LU 1 (en), 14 ( 0:47) 3b., as the animation time is long, I do not know if I'm wrong.

Well, my question is: how are you encodings apply in the DVDlab PRO? and what else it gets, it is a VMCOMAND or other object. I remember I said that this form is a little "advanced" and would not understand. but this time, yes, and as they apply ?, Do not worry on my level of my ability, I can understand it with an example. I hope someone can understand me what I say.

Sorry my bad English XD!! :)