PDA

View Full Version : Using PGC Edit to select what apears after language select (not on disc insert)?


Groove
16th May 2007, 17:30
OK, so I know how to use PGC Edit to get a menu to kick in straight away at the beginning of a title.

However, on Star Trek VI, I want to have the language menu pop up and THEN the main menu as most DVDs do, and all of my other Star Trek titles do. Unfortunately, after the language menu, it pops straight to the movie itself.

So my question is: is there any way to make it go to the main menu after the initial language screen? If not, I'd appreciate being told that is the case so that I can give up trying!

Thank you for any help!

r0lZ
16th May 2007, 18:08
Welcome to the forum, Groove!

There is an easy method if there is still a free GPRM in your DVD.

Use Info -> GPRMs to verify if there is a free GPRM still available. Remember its number. In my example below, I use GRPM 15. Replace it with your free GPRM.

Go to the first-play PGC and insert this command at the beginning of the pre-commands:[71 00 00 0F 00 01 00 00] 57 Set gprm(15) =(mov) 1

Go to the main movie PGC and insert those commands, again before the first pre-command:[00 A1 00 0F 00 00 00 04] 1 if ( gprm(15) == 0 ) then { Goto line 4 }
[71 00 00 0F 00 00 00 00] 2 Set gprm(15) =(mov) 0
[30 08 00 00 01 83 00 00] 3 (CallSS) Call the VTSM Root menu of the current VTS, resume cell 1
[00 00 00 00 00 00 00 00] 4 NOP
Save and test.

If that doesn't work, select the main movie PGC and do Info -> PGC. Post the output here.

Calimari
16th May 2007, 20:01
Groove,
the 'Jump to PGC upon DVD insert' function, lets you jump to the main menu with the right audio and subtitles settings already set.
I mean, with the settings you will use most. You can always go into the language menu to change these settings, if you want another audio/sub stream.

r0lZ
17th May 2007, 09:53
That's right, but I have many DVDs (such as the Disneys) with a first setup menu, usually to select the menus language, and it is normally not possible to go back to that menu.

Calimari
17th May 2007, 11:28
Oh, this is about the first language menu? I thought the navigation went straight to the main movie after selecting an audio language in the audio menu.
This first language menu, I usually cut out (Kill Playback, then make it uncalled, etc...). When my native language is available, I pick that one, otherwise I choose the DVD's native language, mostly being English.
Groove, if you want to keep this first language menu, rOLZ' method earlier in this thread is the most logical and easiest way. However, when there's no free GPRM, things get a bit more complicated.
Another possibility is, to check what happens after the main movie ends. Does the nav jumps straight to the main menu? In that case, you could safely replace the calling command of the main movie ((JumpTT) Jump to Title X) by a the calling command of the main menu ((JumpSS) Jump to VTSM X, Root menu (TTN X).
But usually, after the main movie ends, some parameters are set/changed (GPRM's) before returning to the main menu. Sometimes the navigation even skips the menu and jumps to the extra's, trailers, etc... All this could happen in the post commands of the main movie's PGC, or by jumping to another PGC first. In that case, you would have to use trace mode to keep an eye on what's set/changed. You would have to copy commands, GPRM states, replace calling commands etc...
There's no general solution to do this. Each disc has its own navigation.

Groove
17th May 2007, 15:30
Welcome to the forum, Groove!

There is an easy method if there is still a free GPRM in your DVD.

Use Info -> GPRMs to verify if there is a free GPRM still available. Remember its number. In my example below, I use GRPM 15. Replace it with your free GPRM.

Go to the first-play PGC and insert this command at the beginning of the cell-commands:[71 00 00 0F 00 01 00 00] 57 Set gprm(15) =(mov) 1

Go to the main movie PGC and insert those commands, again before the first pre-command:[00 A1 00 0F 00 00 00 04] 1 if ( gprm(15) == 0 ) then { Goto line 4 }
[71 00 00 0F 00 00 00 00] 2 Set gprm(15) =(mov) 0
[30 08 00 00 01 83 00 00] 3 (CallSS) Call the VTSM Root menu of the current VTS, resume cell 1
[00 00 00 00 00 00 00 00] 4 NOP
Save and test.

If that doesn't work, select the main movie PGC and do Info -> PGC. Post the output here.Yes - it did work! Excellent stuff, thank you!


All I've ever used PGC Edit for is dragging the menu to the front of movies that either play straight away or have lots of black screens when I've blanked VOBs. Wish I knew how I could do other things but it'd take up my life learning. Still - that trick is something I'll always use for troublesome titles like these - nice one!

r0lZ
17th May 2007, 15:46
You're welcome!

Groove
15th June 2007, 20:07
OK, super late update question.

I'm doing this with a DVD that doesn't have a free GPRM.

Um... what do I do?!

r0lZ
15th June 2007, 20:46
Well, unfortunately, as every DVD is different, there are no ways to explain how to do that easily.

Try to identify a GPRM that can be used freely.

1. Look in Info -> GPRMs. If a GPRM is used only once, you can probably delete or modify the command where it is used, to make it unused.

2. You can also try to find with the trace a GPRM that is not modified between the FP-PGC and the language menu, and that is not modified neither in the original commands between the language menu and the main menu. You can probably use it, with another value than 1 for the test. Use a value that is probably never assigned to the GPRM, and modify the line in the FP-PGC to, for example "Set gprm(15) =(mov) 65535", and the first line in the first menu to "if ( gprm(15) != 65535 ) then { Goto line 4 }".

3. I that doesn't work, study the VM commands. It is always possible to do what you want, but that requires a good understanding and analysis of the structure of the DVD.

I can't help much more. Sorry.

blutach
15th June 2007, 21:20
@r0lZ - I'm a bit confused here. Are you suggesting to insert a cell command in FP-PGC? Because it will not get executed, will it?

Regards

spyhawk
16th June 2007, 00:14
When there is no free GPRM, the strategy is to look for a GPRM(x) that is only on a left side of a Set statement and is not used in any conditional statements. Most probably this GPRM is a useless one. To be safe, delete all occurrences of this GPRM to prevent being overwritten before using it in any commands.

e.g. on some DVDs, in the menus, you see GPRM(3) is being set in the pre-commands, and then is reset in the post-commands, and it is not used anywhere else.

Correct me if I'm wrong, but I don't think cell command is valid in FP-PGC.

r0lZ
16th June 2007, 10:13
@r0lZ - I'm a bit confused here. Are you suggesting to insert a cell command in FP-PGC? Because it will not get executed, will it?Oops! Typo! ;) Fixed.

Correct me if I'm wrong, but I don't think cell command is valid in FP-PGC.Of course you're right.

Groove
17th June 2007, 15:25
OK, thanks for the replies guys.

Well, I'm a complete moron when it comes to PGC Edit. I only ever use it to whip straight top the menu on DVDs that strt on main movie - that's all.



So in short, everything else you've said is gibberish. I blanked quite a few cells that had ads on with VOB Blanker so I'm sure I could use one of the lesser GRPMs.

Um, do you want a screenshot or log or something? :? Or can I just go for a GRPM that has a value of 1 or could that bork it?

Thanks again.

blutach
17th June 2007, 17:58
Groove,

Usually, it is not the value of the GPRM that matters; it is the number of times it is used. If you find one only used once, you can usually use it with impugnity.

Alternatively, as r0lZ said, find one which does not change (or is not used at all) in between the things you are doing (use his method to figure this out and remember to reset it afterwards).

Regards

Groove
18th June 2007, 14:30
OK, I'll give it a shot - thanks!