Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
15th November 2004, 03:58 | #1 | Link | |
Registered User
Join Date: Nov 2003
Posts: 299
|
Jeanl's guide, "Jumping straight to the main menu or the movie with PgcEdit"
Quote:
E.g., the Title 1 in Shrek starts out: Code:
********** pre commands: [00 A1 00 03 00 0A 00 06] 1 if ( gprm(3) == 10 ) then { Goto line 6 } [79 00 00 01 00 03 00 00] 2 Set gprm(1) &=(and) 3 [41 00 00 81 00 00 00 00] 3 (SetSTN) Set Audio stream = gprm(1) [79 00 00 02 00 43 00 00] 4 Set gprm(2) &=(and) 67 [41 00 00 00 82 00 00 00] 5 (SetSTN) Set Sub-picture stream = gprm(2) [71 00 00 07 00 00 00 00] 6 Set gprm(7) =(mov) 0 [71 00 00 03 00 0A 00 00] 7 Set gprm(3) =(mov) 10 [51 00 00 00 00 81 00 00] 8 (SetSTN) Set Angle = 1 [71 00 00 00 00 02 00 00] 9 Set gprm(0) =(mov) 2 [...] Code:
[71 00 00 07 DE ED 00 00] 7 Set gprm(7) =(mov) 57069 Code:
[00 B1 00 07 DE ED 00 04] 1 if ( gprm(7) != 57069 ) then { Goto line 4 } |
|
15th November 2004, 05:00 | #2 | Link | |
PGC Navigator in Training
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
|
@jeanl
Just because you have all GPRMs used doesn't mean they ALL have been set when you get to the main menu. If you look at a GPRM and it's still greyed out, then it hasn't been set. With that said, I'll used GPRM 6 as an example. PgcEdit says it's used but not when you normally go to the main menu. Note: I haven't tested this yet but it looks logical. In First Play, I would set gprm(6) to 12345. I just used a random number. Code:
[71 00 00 06 30 39 00 00] 2 Set gprm(6) =(mov) 12345 Code:
[00 B1 00 06 30 39 00 03] 1 if ( gprm(6) != 12345 ) then { Goto line 3 } [00 02 00 00 00 00 00 00] 2 Break [71 00 00 0E 00 01 00 00] 3 Set gprm(6) =(mov) 0 [00 00 00 00 00 00 00 00] 4 NOP My way is different from what lamster mentions. Quote:
__________________
2COOL Last edited by 2COOL; 15th November 2004 at 06:08. |
|
15th November 2004, 06:08 | #3 | Link |
Registered User
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
|
I agree with both of you! Those are two good solutions (in fact I suspect they're identical, but lamster's is more generic because it's OK if his register has been used before, as long as it's not used in this PGC before it's set), normally they shouldn't mess things up, provided that the value you set in the first play is really "random", i.e. unlikely to be used again.
But here's the catch (pointed out by r0lZ a while back) when I suggested that to him: What if navigation goes back to First-Play PGC?! Then the register gets set again, and we'll go straight to the movie again even though that may not be what we should be doing at this point. r0lZ once told me that he had seen DVDs which did that (I haven't!), but then that's easy to check with the nifty cross-call info in PgcEdit. So, you're right, we could do that if we can make sure that we never go back to first-play again. Yet another solution is to use one of the registers that has been set when you get to the top of the precommands. Only if this register is 0 do you execute the register settings commands, and you don't set it in the first-play. In my view, this is slightly better because if you ever go back to the first-play (and if that register hasn't been reset to 0) you won't go to the movie again. But then, there's no guarantee that it won't have been reset to 0 somehow by the time you go back to first-play. Definitely not easy to explain all this to newbies, but good thinking you guys! Jeanl |
15th November 2004, 08:39 | #5 | Link | |
Registered User
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
|
Quote:
I know we're splitting hair here. First of all, I haven't seen a DVD that goes back to first-play, but I trust that there are some out there (hey, we've all seen the way they master! it can be pretty incredible). Second, it's unlikely that you'd mess things up, but it's not guaranteed that you wouldn't, so that's why I didn't like to put that in the guide. However, I could add your suggestions, mentioning that it's very very likely to work, but may not in some weird scenarios (which we can test, because if we never go back to first-play, we're scott-free!). Jeanl |
|
15th November 2004, 09:17 | #6 | Link |
PGC Navigator in Training
Join Date: Oct 2002
Location: NTSC Land
Posts: 3,552
|
Just do a PgcEdit search for "First" for First Play PGC jumping and if you find any, just say "this edit/guide is not for you".
__________________
2COOL Last edited by 2COOL; 15th November 2004 at 09:22. |
15th November 2004, 17:00 | #7 | Link | ||
Registered User
Join Date: Nov 2003
Posts: 299
|
Quote:
Quote:
Another approach would be to analyze the register usage, and see what register's are only used in other areas of the DVD. But this probably goes beyond the scope of an introductory guide. |
||
15th November 2004, 17:03 | #8 | Link | |
Registered User
Join Date: Nov 2003
Posts: 299
|
Quote:
(BTW - I have run into one DVD where it jumped to the First Play PGC; I hadn't even known you could do that previously.) Last edited by lamster; 15th November 2004 at 18:02. |
|
15th November 2004, 20:26 | #9 | Link |
Registered User
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
|
@2COOL and lamster
I will add your suggestions to the guide tonight, mentioning the caveat that you must check you don't go to first-play PGC later on. This is better than leaving the user to ponder what to do next if he/she can't find a free gprm... Jeanl |
4th December 2004, 10:47 | #10 | Link |
Registered User
Join Date: Nov 2001
Posts: 1,104
|
dazed and confused
Jeanl, I've been trying to follow your guide on Jumping straight to the main menu or the movie with and I've immediately run into problems so I'm asking in this thread as you suggested.
I'm ripping the first season of 'Six Fet Under' which has four complete menu sets in english, german, spanish, italian. I want to skip the HBO intro and jump straight to the german menu cause this is the only one I'm going to keep. So I set a playback breakpoint at this menu which is designated as RootM in 'VTSM 2, Lu2 (de)'. However, when I use the trace method, PgcEdit displays the english menu without offering me any chance to intervene. If I playback this DVD in my standalone it plays the german menu, I guess this is because my standalone's language settings are all set to german. How can I inform PgcEdit's trace mode that it is running on a German system? I assume I would have to set the SPRMs somehow? I'd like to use your method B, 2) on this DVD so if you can spend any time helping me out it'd be great. I've mailed you an URL where you can download the zipped ifos, in case you want me to paste some stuff here so everyone else can learn from your assistance please let me know. Thanks.
__________________
MultiMakeMKV: MakeMKV batch processing (Win) MultiShrink: DVD Shrink batch processing Offizieller Übersetzer von DVD Shrink deutsch |
4th December 2004, 17:58 | #11 | Link |
Registered User
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
|
Hi Chetwood!
Glad to read you on this forum, I checked out multishrink a while back, and I was duly impressed! OK. You can set your "player" preferences in PgcEdit, in the trace window in the "setup" menu, "setup/virtual player setp". In particular, you can select your preferred audio and menu languages, and you'd set that to "de" (if you forget the codes for specific languages, they're in PgcEdit's Help menu - r0lZ has thought of everything). Setup your player and give it a try... It should work then. If it doesn't then maybe that's a question for brother r0lZ! Post back if you enconter other problems... Jeanl
__________________
A few PgcEdit guides. DVDSubEdit a free tool to edit subtitles directly inside the vob. Last edited by jeanl; 4th December 2004 at 18:09. |
4th December 2004, 18:08 | #12 | Link |
Registered User
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
|
Hi Chetwood!
I downloaded your IFOs, set PgcEdit to "de" and ran the trace, and that landed me in the middle of the german menus. So everything should be fine for you. I will make a note in the guide about that. I hadn't thought of it! As for jumping straight to the menu using the technique B2, it's not as straightforward if your menu isn't one that you can jump straight to (i.e. it's not a root, subtitle etc). In your case, I can see in your IFOs that you could jump to VTSM2 LU2, 1. Hopefully that's what you have in mind... Post back if you can't get it to work (or if you can!!!) Jeanl
__________________
A few PgcEdit guides. DVDSubEdit a free tool to edit subtitles directly inside the vob. Last edited by jeanl; 4th December 2004 at 18:17. |
4th December 2004, 21:02 | #13 | Link | |
Registered User
Join Date: Nov 2001
Posts: 1,104
|
Quote:
1) I do not have a free GPRM so I deleted the only one that occured only once which was GPRM 6 and I'm not sure if this deletion caused any trouble later 2) as said before I wanna use your B 2) method, which means that I have to paste Code:
[00 B1 00 0E 00 00 00 03] 1 if ( gprm(14) != 0 ) then { Goto line 3 } [30 06 00 01 04 83 00 00] 2 (JumpSS) Jump to VTSM 4, Root menu (TTN 1) Code:
[71 00 00 01 04 00 00 00] 1 Set gprm(1) =(mov) 1024 [30 02 00 00 00 07 00 00] 2 (JumpTT) Jump to Title 7 Code:
[71 00 00 01 04 00 00 00] 1 Set gprm(1) =(mov) 1024 [00 B1 00 06 00 00 00 04] 2 if ( gprm(6) != 0 ) then { Goto line 4 } [30 06 00 01 02 83 00 00] 3 (JumpSS) Jump to VTSM 2, Root menu (TTN 1) BTW, this link from your guide isn't working: http://jean.laroche.free.fr/Jumping0...ping.html#GPRM However, I got the GPRM info from this link http://jean.laroche.free.fr/Jumping/Jumping.html#GPRM
__________________
MultiMakeMKV: MakeMKV batch processing (Win) MultiShrink: DVD Shrink batch processing Offizieller Übersetzer von DVD Shrink deutsch |
|
4th December 2004, 21:33 | #14 | Link | ||||
Registered User
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
|
Quote:
Quote:
Quote:
Quote:
Jeanl
__________________
A few PgcEdit guides. DVDSubEdit a free tool to edit subtitles directly inside the vob. |
||||
5th December 2004, 10:24 | #15 | Link | ||
Registered User
Join Date: Nov 2001
Posts: 1,104
|
making progress
Quote:
Quote:
While doing so I got a message from PgcEdit: Code:
There are several LUs in this VTSM. Do you want to modify the PGC type in each LU? (recommended) which I answered with YES and which seemed to work fine upon playback in PowerDVD. However, when I opened this manipulated DVD again to get rid of those FBI warnings that were displayed AFTER playback of the last episode just before jumping back to the root menu I got another warning message: Code:
There are different commands in the various PGCs of the menu LUs of the VTST 2 domain. This is somewhat unusual, and may cause problems with the 'Set Menu Type' and 'Copy LU Commands' utilities. which seems logical since I have this root menu in 4 different languages and only changed the german one. However, I'm not sure which is the best way to go here:
I've checked the post commands of the last episode, which looks a bit odd to me being the newbie that I am: Code:
[30 08 00 08 08 C0 00 00] 7 (CallSS) Call the VMGM PGC 8, resume cell 8 Code:
[30 02 00 00 00 0A 00 00] 1 (JumpTT) Jump to Title 10 Code:
[71 00 00 01 04 00 00 00] 1 Set gprm(1) =(mov) 1024 [71 00 00 00 00 50 00 00] 2 Set gprm(0) =(mov) 80 ********** post commands: [71 00 00 00 00 28 00 00] 1 Set gprm(0) =(mov) 40 [71 00 00 01 04 00 00 00] 2 Set gprm(1) =(mov) 1024 [30 08 00 07 0C C0 00 00] 3 (CallSS) Call the VMGM PGC 7, resume cell 12 Since I don't know what these gprm commands in title 10 do, could I just add a new line 3 in the pre-commands that jumps to the first line of the post commands thereby setting registers that I might need but effectively skipping the FBI warning playback? Thanks again.
__________________
MultiMakeMKV: MakeMKV batch processing (Win) MultiShrink: DVD Shrink batch processing Offizieller Übersetzer von DVD Shrink deutsch Last edited by Chetwood; 5th December 2004 at 10:41. |
||
5th December 2004, 18:26 | #16 | Link | |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
Quote:
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
|
5th December 2004, 18:30 | #17 | Link | ||||
Registered User
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
|
Re: making progress
Quote:
You can search for a gprm in the complete DVD using the search field at the bottom of the main window. Type in gprm(6) and hit the >> button to go to the next place where it appears. Quote:
Yes, but standalone DVDs don't tend to ignore PUOs, so it shouldn't be a problem in practice. Quote:
mmm that's a question for you to answer. If I were you, I would try to only modify the "german" version of the DVD, so it would play as the original when put in an english player. But that might be a bit of extra work, because you'd have to check the sprm() that holds the default language. Otherwise, you could repeat your modifications in all the language units, and the DVD would play exactly the same way no matter the language settings... As to how to use the german menu no matter what, I'm not entirely sure you can actually tell the player to do that, I wonder if that behavior isn't "automatic" in the player. (in other words, if you have a command to jump to the root menu, I think the player automatically selects the appropriate LU given your defaults, but I'm not 100% sure about that, you might want to ask in a new topic in the forum. Quote:
So in short, easiest way is to hit the "kill PGC playback" icon in the toolbar (the crossed-out movie strip) on the PGC of title 10. (you can also do that with a right-click on the pgc). Jeanl
__________________
A few PgcEdit guides. DVDSubEdit a free tool to edit subtitles directly inside the vob. |
||||
5th December 2004, 18:31 | #18 | Link | |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
Quote:
Also, a DVDShrink reauthored DVD will jump back to FP-PGC after each title. (But you have many unused GPRMs availables in that case.)
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
|
5th December 2004, 18:37 | #19 | Link | |
PgcEdit daemon
Join Date: Jul 2003
Posts: 7,469
|
Re: making progress
Quote:
(For old PgcEdit users: Find Unused GPRMs searches now also in the menubuttons commands.)
__________________
r0lZ PgcEdit homepage (hosted by VideoHelp) BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV |
|
5th December 2004, 18:40 | #20 | Link |
Registered User
Join Date: Sep 2004
Location: California, USA
Posts: 2,079
|
r0lZ,
what of the question about "always using the german menus"? I seem to remember that you can't change that behavior, that it's hard-coded in the player that the appropriate LU will be used automatically based on the preferrece menu langage setup. Is that right? Jeanl
__________________
A few PgcEdit guides. DVDSubEdit a free tool to edit subtitles directly inside the vob. |
|
|