View Full Version : PGCEdit question on menu
curious d
15th January 2009, 09:37
Hi. I am using PGCEdit to have my DVD jump to the Root Menu. There is animation that accompanies this Root Menu and I was able to get the DVD to get to the Root Menu, but it doesn't display the initial animation (only the menu after all the animation is done). Is there a way to get it to display the animation?
blutach
15th January 2009, 12:41
Check to see whatever register that is set to get it to play Program 1 is set ot that value.
Regards
Alex_ander
15th January 2009, 12:51
Animated intros in menus are very often intentionally organized so that you can view them just once, then some number is written into a register and that number is further used as condition for skipping the animated cell. Try to explore pre-commands beginning from root menu PGC (in simple case you can just remove a couple of lines responsible for that conditional transition).
r0lZ
15th January 2009, 14:42
If you use Jump2PGC to jump directly to the PGC containing the intro of the menu, it should be shown.
However, if you continue to trace, for example to set some default audio or subpic streams and then come back to the main menu, the intro will be skipped. In this case, the only way to play it again is to apply the method explained by Blutach and Alex_ander.
curious d
15th January 2009, 16:41
Thanks for the suggestions. However, am I a fish out of water here. I know enough to do some damage, but I am really a noob. I am backing up my copy of 101 Dalmatians for my kids and there is a menu selection for language. I though I bypassed that menu by erasing that pgc and replacing with a command to go directly to the desired pgc. However, after reviewing the process, I discovered I was pointing it to the Root Menu 18 lines above my intended target. (Please note that I have corrected this post after posting the blurb below this one).
Here is that Root Menu's (at VTSM 2, LU 1 (en), 4 (0:00) 3b) commands:
********** pre commands:
[00 B1 00 00 F7 F2 00 0D] 1 if ( gprm(0) != 63474 ) then { Goto line 13 }
[71 00 00 0F 03 E7 00 00] 2 Set gprm(15) =(mov) 999
[71 00 00 0E 03 E7 00 00] 3 Set gprm(14) =(mov) 999
[71 00 00 0D 00 3F 00 00] 4 Set gprm(13) =(mov) 63
[71 00 00 0B 00 01 00 00] 5 Set gprm(11) =(mov) 1
[71 00 00 0A 02 05 00 00] 6 Set gprm(10) =(mov) 517
[71 00 00 09 00 05 00 00] 7 Set gprm(9) =(mov) 5
[71 00 00 07 00 49 00 00] 8 Set gprm(7) =(mov) 73
[71 00 00 06 00 43 00 00] 9 Set gprm(6) =(mov) 67
[71 00 00 05 00 43 00 00] 10 Set gprm(5) =(mov) 67
[71 00 00 04 00 04 00 00] 11 Set gprm(4) =(mov) 4
[71 00 00 00 00 00 00 00] 12 Set gprm(0) =(mov) 0
[00 00 00 00 00 00 00 00] 13 NOP
[61 00 00 00 00 90 00 00] 14 Set gprm(0) =(mov) sprm(16:Preferred audio language)
[20 A6 00 00 65 73 0C 01] 15 if ( gprm(0) == 25971 ("es") ) then { LinkPGN Program 1, button 3 (3072) }
[20 A6 00 00 66 72 08 01] 16 if ( gprm(0) == 26226 ("fr") ) then { LinkPGN Program 1, button 2 (2048) }
[56 00 00 00 04 00 00 00] 17 (SetHL_BTN) Set Highlighted Button =(mov) 1024 (button 1)
********** post commands:
[71 00 00 0C 00 00 00 00] 1 Set gprm(12) =(mov) 0
[71 00 00 0D 00 3F 00 00] 2 Set gprm(13) =(mov) 63
[71 A0 08 0C 00 01 00 01] 3 if ( gprm(8) == 1 ) then { Set gprm(12) =(mov) 1 }
[71 A0 08 0D 00 49 00 01] 4 if ( gprm(8) == 1 ) then { Set gprm(13) =(mov) 73 }
[71 A0 08 0C 00 02 00 02] 5 if ( gprm(8) == 2 ) then { Set gprm(12) =(mov) 2 }
[71 A0 08 0D 00 4A 00 02] 6 if ( gprm(8) == 2 ) then { Set gprm(13) =(mov) 74 }
[30 06 00 06 00 C0 00 00] 7 (JumpSS) Jump to VMGM PGC 6
********** cell commands:
The intended PGC commands (at VTSM 1, LU 1 (en), 18 (3:26) 48b) are:
********** pre commands:
[71 00 00 00 00 00 00 00] 1 Set gprm(0) =(mov) 0
[71 00 00 01 00 01 00 00] 2 Set gprm(1) =(mov) 1
[71 90 0A 01 00 02 00 08] 3 if ( gprm(10) & 8 ) then { Set gprm(1) =(mov) 2 }
[71 90 0A 01 00 04 00 20] 4 if ( gprm(10) & 32 ) then { Set gprm(1) =(mov) 4 }
[61 A0 0B 0B 00 01 00 00] 5 if ( gprm(11) == 0 ) then { Set gprm(11) =(mov) gprm(1) }
[75 00 00 0B 04 00 00 00] 6 Set gprm(11) *=(mul) 1024
[46 00 00 00 00 0B 00 00] 7 (SetHL_BTN) Set Highlighted Button =(mov) gprm(11)
[00 91 00 0A 00 02 00 0E] 8 if ( gprm(10) & 2 ) then { Goto line 14 }
[7A 00 00 0A 00 02 00 00] 9 Set gprm(10) |=(or) 2
[20 A6 00 08 00 02 00 05] 10 if ( gprm(8) == 2 ) then { LinkPGN Program 5 }
[20 A6 00 08 00 01 00 03] 11 if ( gprm(8) == 1 ) then { LinkPGN Program 3 }
[20 06 00 00 00 00 00 01] 12 LinkPGN Program 1
[00 00 00 00 00 00 00 00] 13 NOP
[20 A6 00 08 00 02 00 06] 14 if ( gprm(8) == 2 ) then { LinkPGN Program 6 }
[20 A6 00 08 00 01 00 04] 15 if ( gprm(8) == 1 ) then { LinkPGN Program 4 }
[20 06 00 00 00 00 00 02] 16 LinkPGN Program 2
********** post commands:
[73 90 0A 00 00 01 00 20] 1 if ( gprm(10) & 32 ) then { Set gprm(0) +=(add) 1 }
[20 A4 00 00 00 02 00 14] 2 if ( gprm(0) == 2 ) then { LinkPGCN PGC 20 }
[20 A6 00 08 00 02 00 06] 3 if ( gprm(8) == 2 ) then { LinkPGN Program 6 }
[20 A6 00 08 00 01 00 04] 4 if ( gprm(8) == 1 ) then { LinkPGN Program 4 }
[20 06 00 00 00 00 00 02] 5 LinkPGN Program 2
********** cell commands:
[20 01 00 00 00 00 00 0D] 1 LinkTailPGC
I'm not sure which lines should be changing to get it to the second PGC listed. Thanks.
curious d
16th January 2009, 00:01
If you use Jump2PGC to jump directly to the PGC containing the intro of the menu, it should be shown.
I thought I had it point directly to the PGC. The disc shows that the desired PGC is labeled VTSM 1, LU 1 (en), 18 (3:26) 48b. I changed the pre command of the original language menu at VTSM 2, LU 1 (en), 4 (0:00) 3b to read Jump to VTSM 1, Root menu (TTN 18). When I click on this, however, it points to the Root menu at VTSM 1, LU 1 (en), 1 (dummy) Root Menu. I think that this causes the tracing that you mentioned. I don't see the option to point directly to PGC (options are to Root Menu, Sub-picture menu, Audio Menu, Angle Menu, and Chapter Menu). The result is the menu after the initial animation has been completed. Any thoughts as to where I should be pointing the Jump to?
blutach
16th January 2009, 00:29
No, the precommand in the Jump2PGC macro has made it go to the real menu in PGC 18 via the (dummy) root menu. Why is TTN set to 18? I don't think that is right, as that is a title number not a PGC number.
Go back to your original Jump2PGC output. Now, please trace carefully (step by step) and tell us the value of gprm(10) in the precommands inserted by PgcEdit in VTSM 1, 18. In order for your intro to play, it will need to have a value where bit 1 is unset just before it executes line 8 (permissible values are 0, 1, 4, 5, 8, 9, 12, 13, 16 etc).
Regards
curious d
16th January 2009, 00:49
Thanks for helping, Blutach. The TTN was set to 18 only because I didn't have any other idea of what to set it to get it to line 18. When I trace the DVD, it ends at VTSM 2, LU 1 (en), 4 (0:00) 3b. The original commands have been posted on the modified post above (Post #5). I erased everything at VTSM 2, LU 1 (en), 4 (0:00) 3b and placed the Jumpto command in the precommand section as posted above (Post #6). That helped me to jump to the intended PGC, but without the animation. As to tracing the steps, I'm afraid I'm clueless as being able to interpret values. Again thanks for the help.
blutach
16th January 2009, 02:54
I think you should go back to before you started the J2P macro - it sounds like you have manually messed it up.
So, restore your backup (Ctrl-Alt-b) and start the macro again. Then, go through all the paces, placing a pre-post breakpoint on VTSM 1, 18 (Ctl- Shift-T) and starting the trace, setting the audio and subtitle streams (but only if you want). If you just get to VTSM 1, 18 once, it will work with the intro animation, I am sure. But if you go to other menus and return, the animation will not be there.
Try it and post the commands in VTSM 1, 18 afterwards if it doesn't work.
BTW: You are using a very old version of PgcEdit. It's time to upgrade.
Regards
curious d
16th January 2009, 08:25
Okay. I think I understand what I did wrong. I made things more difficult that it needed to be. I tried to modify things on my own and didn't realize that PGCEdit can do these things for me with a click here and there. It works now. Thanks.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.