View Full Version : Using GPRM's to navigate?
melar2002
17th May 2002, 19:45
How do I set a GPRM to return playback to a submenu instead of the root menu when I press the menu button on the remote control?
Another thing is I have my own intro which I put in the VMG, how do I stop it being accessed from the remote control, when it plays through to the root menu, as I only want to view it once when the DVD is put in the player, and how do I stop it from being skipped?
melar2002
17th May 2002, 20:11
I forgot to mention that I'm using Scenarist 2.6
Vulpine
18th May 2002, 07:04
Take a look at this thread: http://forum.doom9.org/showthread.php?s=&threadid=21355&perpage=20&highlight=scenerist%20menu&pagenumber=2
Hope this helps.
melar2002
18th May 2002, 11:55
I've already looked at this but it confused the hell out of me. I'll try and figure it out. Thanks anyway.
Jestorius
18th May 2002, 13:17
Your standalone act like this:
If you press the Title button than you jump to VideoManager/Language/TitlePGC.
If you press the Menu button than you jump to VTS_1/Language/RootPGC.
The main problem is that Hollywood didn't know what to do with the TitleMenu, so there isn't any on most DVDs.
Back to your question. In the VTS_1 VTS_2 etc you have some PGCs. Each of them has a Pre and Post button. In the Pre or Post section you can assign Command List ( Jump to ... if ...etc.) In your situation you have to use the Pre section . Just add a Set to GPRM ( Mov GPRM0, 1 , next one to 2 etc. ) It gives a value to GPRM0 before the PGC beginns to play.
In the VTS_1/Language add a PGC ( it gonna be the RootPGC). In the Pre section add Jump to PGC -> Compare ->GPRM0 == Your value added by PGCs in the Pre section. It looks like:
1: if ( GPRM0 == 1 ) LinkPGCN YourMenu1
2: if ( GPRM0 == 2 ) LinkPGCN YourMenu2
3: if ( GPRM0 == 3 ) LinkPGCN YourMenuX
Jestorius
18th May 2002, 13:27
In VideoManger/Language/TitlePGC -> add a link to VTS_1/Language/RootPGC. So if they press the Title button than it jumps to your Dummy Root PGC in the VTS_1/Language/RootPGC's ComandList and it choose the corresponding Menu.
melar2002
18th May 2002, 13:51
But how do I disable the menu/title button's so that they will only work after the intro movie has been played?
Jestorius
18th May 2002, 14:10
intro movie is the First Play, you can't access this movie with the Title or Menu buttom.
In Scenarist a new project gives you a link to the VTS_1/Title_1. The first play can be where ever you want.
Jestorius
18th May 2002, 14:22
"I put in the VMG" - it's not correct.
I don't know how did you do it but the only thing I can do is to link FirstPGC to VideoManager/language/Pgc. And if you have your FirstPlay(PGC - Your Intro Movie) here than it's not so good. This is the place for the TitleMenu. Just move your First Play(Your Intro movie)somewhere else and it never gonna show up anymore.
melar2002
18th May 2002, 14:46
My main problem is that my menu has an an animated intro and the subpicture only comes into effect after this has played so then you can only choose the options after this. My 2nd menu is the same as the first but without the animated intro. The menu's have two buttons one to view the main feature and the 2nd to view different scenes. When I return from the scene slection I set it to go back to the 2nd menu. When I press the menu button I want it to goto the 2nd menu as I don't want to view the animated intro again. Your way works but only after I've been to the scene selection and gone back to the 2nd menu (as GPRM will be set to 2). If I haven't gone to the scene selection and back to the menu, when I press the menu button it will play the 1st menu. This is what I want to overcome. Cheers for your advice, you have been most helpful.
Jestorius
18th May 2002, 15:24
Ok, it isn't a FirstPlay but a part of your animated menu.
You can't show any menues by pressing the menu button if the PGC in the Language folder is a Dummy PGC. If you set up a Command List in this Dummy PGC then it determines which menu is the next one. It is an emty Menu without any graphics or anything , only a placeholder for your CommandList. This Command list choose a menu to show regarding of the value in GPRM0.
As you can see the PGC in the Language has the same Pre section. Just use it to assign a value to GPRM0. Let say it gonna give "1" to GPRM0 after playing the animated menu. So if the menubutton is linked to the CommandList , this List compare the GPRM0 to the value in the list and never show the animated menu anymore if the value is "1".
If you wanna jump to another menu than you have to change the GPRM0 to something else.
Jestorius
18th May 2002, 15:31
or just to make it more simple.
1: if ( GPRM0 == 0 ) LinkPGCN AnimatedMenu
2: if ( GPRM0 == 1 ) LinkPGCN 2ndMenu
3: you can use more numbers to more menues
or if you have only this two
1: if ( GPRM0 == 0 ) LinkPGCN AnimatedMenu
2: if ( GPRM0 != 0 ) LinkPGCN 2ndMenu
melar2002
18th May 2002, 15:39
I've got it to work. What I did was assign GRPM0 to 1 in the pre part of my intro file, then I have my 2nd menu as root and set the pre command to if GRPM0 == 1 LinkPGCN menu1-pgc (my animated menu) so it goes to the animated menu. Then I assign GPRM0 = 2 in the pre command of the animated menu so now when I press the menu button it will always go the the 2nd menu as GPRM0 = 2. All I need now is to find out how to disable the menu/title buttons until the 1st menu plays.
Jestorius
18th May 2002, 15:44
Sorry, I don't know. I'm a Maestro user and it has a dedicated section to desable user action for menues.
So , if someone knows how-to, I would be happy to learn.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.