« Return to Thread: jumppad with dvdauthor 6.12

Re: jumppad with dvdauthor 6.12

by Wolfgang Wershofen :: Rate this Message:

Reply to Author | View in Thread

Am Montag, 24. April 2006 17:38 schrieb Jérome Vérité:
> Hi,
>
> I use dvdauthor 6.11 with windows, it runs ok, but it doesn't manage
> the random function, so I tried the 6.12 version which manages it.
> With this 6.12 version, the "jump titleset 3 menu 2;" doesn't work,
> is there a difference with the jumppad attribute ?

Hm, the command above should work, if you're in the VMGM domain - with
or without jumppad.
I'm not sure, if it works from another titleset domain.

>
> Can you explain me why it doesn't want to JUMP to a menu in another
> titleset with 6.12 ?

AFAIK, jumppad causes troubles with playability and compatibility and
therefore, the use of jumppad is not recommended. Maybe Scott
discontinued the support for jumppad in the recent alpha versions, but
I don't know.

If you want to jump from within one titleset to a menu in another
titleset, you can do so without jumppad:
Just define a dummy menu in the VMGM menu and store titleset and menu
number in register variables. Should look something like this:

<!-- I suppose you have 3 titlsets, each with 4 menus
     The dummy menu in the vmgm domain is menu number 2
     g4 - stores the desired titleset
     g5 - stored the desired menu number //-->
<vmgm>
 <menus>
  (...)
  <pgc pause="0">
   <pre> {
        if (g4 lt 1) g4=1;
        if (g4 gt 3) g4=3;
        if (g5 lt 1) g5=1;
        if (g5 gt 4) g5=4;
        if (g4 eq 1) {
                if (g5 eg 1) jump titleset 1 menu 1;
                if (g5 eg 2) jump titleset 1 menu 2;
                if (g5 eg 3) jump titleset 1 menu 3;
                if (g5 eg 4) jump titleset 1 menu 4;
                     };
        if (g4 eq 2) {
                if (g5 eg 1) jump titleset 2 menu 1;
                if (g5 eg 2) jump titleset 2 menu 2;
                (...)
                     };
        if (g4 eq 3) {
                if (g5 eg 1) jump titleset 3 menu 1;
                (...)
                     };
          }
   </pre>
   <vob file="empty.mpg" />
  </pgc>
 </menus>
</vmgm>
<titlesets>
 <menus>
  <pgc entry="root"/>
   <vob file="your_menu.mpg" pause="inf"/>
   <button name="x"> { g4=3; g5=2; jump vmgm menu 2; } </button>
(...)

That's it. If the button 'x' in the root menu of titleset 1 is pressed,
a jump is created to titleset 3 (g4=3) and menu 2 (g5=2) via the vmgm
dummy menu.

It's a quick hack, so please excuse any typos in the xml example. Should
work this way, though I didn't try.

hth
Wolfgang

--
Geek by nature, Linux by choice


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

 « Return to Thread: jumppad with dvdauthor 6.12

LightInTheBox - Buy quality products at wholesale price!