View Full Version : TitleM to chapter
ImAhNoBoDy
22nd June 2009, 05:04
I have a menu in TitleM and 3 buttons in there. Is there a way to have a button link to a chapter? I am trying to do this in PGCedit.
bigotti5
22nd June 2009, 09:37
Create a dummy pgc (menu) in VTSM area and set to an unused menu type (e.g. Angle menu)
Insert following commands in precommand area of this pgc
(example with 3 chapters, assuming VTS 1, gprm0 is unused, modify to your needs)
1 if (GPRM(0) == 1) then ( Goto line 4)
2 if (GPRM(0) == 2) then ( Goto line 5)
3 if (GPRM(0) == 3) then ( Goto line 6)
4 (JumpVTS_PTT) Jump to TTN 1, Chapter 1
5 (JumpVTS_PTT) Jump to TTN 1, Chapter 2
6 (JumpVTS_PTT) Jump to TTN 1, Chapter 3
Create a dummy pgc (menu) in VMGM area and insert following in precommand area
1 (JumpSS) Jump to VTSM 1, angle menu (TTN 1)
as button commands use
button 1 - Set gprm(0)=(mov) 1; LinkPGCN PGC x (x= # of your VMGM dummy pgc)
button 2 - Set gprm(0)=(mov) 2; LinkPGCN PGC x
button 3 - Set gprm(0)=(mov) 3; LinkPGCN PGC x
blutach
22nd June 2009, 21:15
If you follow bigotti5's plan, it's probably also useful to set the PUO for Menu Call - Angle in all PGCs in VTSM 1 and VTST 1, since without it, pressing Angle Menu on the remote will take you to the chapter you originally jumped to, which might not be what you want.
Regards
r0lZ
22nd June 2009, 23:30
If the VTS containing the movie has no menu or only a simple dummy Root menu, it might be easier to import the title menu in the VTS, then remove the PGCs that are not related to the chapter menu, and jump from the main title menu to the new VTSM menu when the chapter menu is called by the user. You will also have to fix the command of the button that returns to the main menu. This way, you can use standard JumpVTS_PTT commands in the chapter buttons to jump directly to the chapters, but this method requires a good understanding of the navigation commands.
ImAhNoBoDy
24th June 2009, 07:31
@bigotti5 - Amazing. I can now finish my DVD. Thank you so much.
@blutach - I did what you asked, but I don't think I understand you fully. So you're saying if I skipped to chapter 5 and hit the angle button, it will take me to chapter 5 again?
@r0lZ - I was thinking of doing that after checking my DVD collection, but wanted to know how to do it this way. Is it normal for most commerical DVD's to have a TitleM that is only a dummy. Then the actually menus are in RootM?
Overall, thank you everyone for helping me out.
r0lZ
24th June 2009, 07:58
Is it normal for most commerical DVD's to have a TitleM that is only a dummy. Then the actually menus are in RootM?Well, it works! But normally the VMGM menu should be used to store the main menu, and to jump to the various titles of the DVD, and the VTSM menus to store the chapter and audio/subpic menus for the current VTS only. Seems the authoring programs prefer a very complex way do do simple things, and use the VMGM only to store their studio logos, FBI warnings and other crap.
Note also that multi-lingual menus are usually authored without using the Language Unit (LU) system. That's a pity, as that system is very easy and clear, especially for the user trying to understand how a DVD is made, and how to get rid of the useless languages. But I guess the commercial companies don't do their DVDs with the PgcEdit users in mind! ;)
blutach
24th June 2009, 10:59
@blutach - I did what you asked, but I don't think I understand you fully. So you're saying if I skipped to chapter 5 and hit the angle button, it will take me to chapter 5 again?Yes. More precisely:
Suppose you enter the title via one of your buttons, say the button for chapter 5. The title plays merrily along and gets to chapter 17, say. Then you press Angle Menu on the remote by accident. Assuming that gprm(0) hasn't changed from its value of 5 since you pressed the button, when you hit the angle menu button, it will execute Jump to Chapter 5. But this is definitely not what you want.
That (named) menu is really just a convenient stopping off point for your chapter commands and really should only ever be entered after a button is pressed. Hence, the setting of the PUO.
Regards
ImAhNoBoDy
24th June 2009, 18:19
@r0lZ and blutach - Thank you both for the explainations. I understand more about DVD's more and more.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.