[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4721: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3851)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4723: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3851)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4724: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3851)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4725: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3851)
New MMBforums • View topic - VM command to link to menu via GPRM register

VM command to link to menu via GPRM register

DVD-lab, DVD-lab Studio and DLP2

VM command to link to menu via GPRM register

Postby peterlloyd » Sat Dec 17, 2011 10:47 pm

I have looked and cannot find a VM command to link to a menu whose location is the value of a GPRM register. Please help
peterlloyd
 
Posts: 55
Joined: Sat Nov 13, 2010 9:21 pm

Re: VM command to link to menu via GPRM register

Postby Vapymid » Mon Dec 19, 2011 1:11 pm

It will have to be a combination of commands.

Please explain from where do you want to jump to the menu (from a title, a VMG menu, VTS menu) and in which domain the target menu is (VMG, VTSM)?

Regards
Vapymid
 
Posts: 342
Joined: Wed Oct 27, 2010 4:38 am
Location: London, UK

Re: VM command to link to menu via GPRM register

Postby peterlloyd » Fri Dec 23, 2011 4:27 pm

Vapymid, I want to pass control to a VTS root menu PRE section where the value of register GPRM4 is determined from the value of other previously set registers with logic and arithmetic. The resulting value of GPRM4 corresponds to the menu number of another menu in the same VTS. I want the last set of VM commands of the VTS root PRE section to transfer control to this computed menu.
Peter
peterlloyd
 
Posts: 55
Joined: Sat Nov 13, 2010 9:21 pm

Re: VM command to link to menu via GPRM register

Postby Vapymid » Mon Dec 26, 2011 12:47 pm

Vapymid
 
Posts: 342
Joined: Wed Oct 27, 2010 4:38 am
Location: London, UK

Re: VM command to link to menu via GPRM register

Postby peterlloyd » Tue Dec 27, 2011 5:04 pm

Vapymid,
Thanks I have used that technique in the past when only tens of menus were involved. Is there a limit to the number of lines of code in PRE section? I want to handle 250-350 menus and can easily generate the code automatically.
Cheers!
Peter
peterlloyd
 
Posts: 55
Joined: Sat Nov 13, 2010 9:21 pm

Re: VM command to link to menu via GPRM register

Postby Vapymid » Thu Dec 29, 2011 6:32 am

Yes, there cannot be more than 128 VM commands in total in a PGC (that includes all PRE, CELL and POST commands).

For your project you will just need to use several VM command objects linked to each other, with the code split between them.

Regards
Vapymid
 
Posts: 342
Joined: Wed Oct 27, 2010 4:38 am
Location: London, UK

Re: VM command to link to menu via GPRM register

Postby peterlloyd » Thu Dec 29, 2011 10:47 am

Vapymid,
Thanks for the info.
I will be cautious. It would be great if another more compact method could be used.
Peter
peterlloyd
 
Posts: 55
Joined: Sat Nov 13, 2010 9:21 pm

Re: VM command to link to menu via GPRM register

Postby peterlloyd » Fri Sep 06, 2013 2:05 pm

peterlloyd
 
Posts: 55
Joined: Sat Nov 13, 2010 9:21 pm

Re: VM command to link to menu via GPRM register

Postby Vapymid » Mon Sep 09, 2013 6:49 am

Hi Peter,

There is only one alternative that I know of - it is .

With it you can go to the next or previous PGC or cell or program, depending on a constant or GPRM or SPRM value.

In my opinion, its utility in most situations is minimal and the "brute force" method remains the best option.

Regards
Vapymid
 
Posts: 342
Joined: Wed Oct 27, 2010 4:38 am
Location: London, UK

Re: VM command to link to menu via GPRM register

Postby peterlloyd » Wed Sep 11, 2013 12:24 pm

Vapymid,
Thanks for the suggestion.
if only" LInkPGCN gprm0" was possible so many things would be so simple.
Peter
peterlloyd
 
Posts: 55
Joined: Sat Nov 13, 2010 9:21 pm


Return to DVD-lab Authoring

Who is online

Users browsing this forum: Google [Bot] and 1 guest