Log in

View Full Version : Understanding Jean's Guide on Jumping


Surf
24th January 2005, 18:51
Hi Jean,

A bit of curiosity regarding your guide (http://jean.laroche.free.fr/)on Jumping Straight to the movie:

Insert the following at the very top of the FPC's Pre-Command section.
1 if ( gprm(14) != 0 ) then { Goto line 3 }
2 (JumpTT) Jump to Title 2

Line 3? Not line 2?

Now the following at the very top(?) of the Main Title(movie)'s Pre-Command section.
1 if ( gprm(14) != 0 ) then { Goto line 4 }
2 Set gprm(14) =(mov) 1
3 Break
4 Nop

If "the movie's inserted for the 1st time" then Goto line 4. Line 4 is Nop which means no operation?
And if gprm14 IS equal to (mov) 1, then break? Again, as in don't do anything?

TIA :o

(still shaving the fishing rod)

2COOL
24th January 2005, 18:59
Originally posted by Surf
Insert the following at the very top of the FPC's Pre-Command section.
1 if ( gprm(14) != 0 ) then { Goto line 3 }
2 (JumpTT) Jump to Title 2

Line 3? Not line 2?You can do that too but I think jeanl did it that way so that there was some visual separation between the new commands and the original commands. Makes it easier to spot if you wanted to manually remove them. Even PgcEdit does it after KillPlayback function.

Now the following at the very top(?) of the Main Title(movie)'s Pre-Command section.
1 if ( gprm(14) != 0 ) then { Goto line 4 }
2 Set gprm(14) =(mov) 1
3 Break
4 Nop

If "the movie's inserted for the 1st time" then Goto line 4. Line 4 is Nop which means no operation?That is correct.

And if gprm14 IS equal to (mov) 1, then break? Again, as in don't do anything?If this was true with example above then if GPRM 14 = 1 then you'll be jumping to line 4. The Break command is executed if GPRM 14 = 0. Break means cease all execution of commands and jump to the end of the last command.

You can understand the logic alot better if you have done some computer programming.

Surf
24th January 2005, 19:32
Thanks for the reply 2COOL,

You're right, I don't have any programming knowledge other than running straight on logic/curiosity/common sense here:p .

Now how about this leetle guide:D ?

Movie TROY: If I clean up all the "junk" there's enough room on DISC 2 to keep some of the bonuses. The only way I know how is by using DVDshrink's re-author method....I have been spoilt by DOOM9:D . There's the SPECIAL FEATURE button on DISC 1 which can be used and link the main menu page of DISC 2......(stepping off the stage).

2COOL
24th January 2005, 19:41
Originally posted by Surf
Movie TROY: If I clean up all the "junk" there's enough room on DISC 2 to keep some of the bonuses. The only way I know how is by using DVDshrink's re-author method....I have been spoilt by DOOM9:D . There's the SPECIAL FEATURE button on DISC 1 which can be used and link the main menu page of DISC 2......(stepping off the stage). Hmmm...I'd say it could be done. I haven't done it so it'd be trial and error for me. But the import menus and titles functions in PgcEdit is what I'm thinking of using at the moment. Of course, you would need some knowledge of the commands and DVD Structure if manual editing is needed.

I'm at work at right but just providing food for thoughts for others who have another idea. Also, DVDRemake Pro has this guide (http://www.dimadsoft.com/dvdremakepro/ht_merge_full.php) if you're interested.

jeanl
24th January 2005, 21:09
Originally posted by Surf
Hi Jean,

A bit of curiosity regarding your guide (http://jean.laroche.free.fr/)on Jumping Straight to the movie:

Insert the following at the very top of the FPC's Pre-Command section.
1 if ( gprm(14) != 0 ) then { Goto line 3 }
2 (JumpTT) Jump to Title 2

Line 3? Not line 2?


The idea is that if gprm(14) is not 0, you're not entering the First-Play PGC from disc-insert. In many DVDs, the navigation goes back to the first-play PGC. We only want to jump to title 2 the first time around (right when the DVD is inserted). After that, we don't want to do it because that might really screw up the navigation. So if gprm(14) is 0 (first time around), we jump. But if later on the navigation returns to the first-play PGC, gprm(14) won't be 0, and we'll execute the "normal" commands that were there in the first place, the ones that start at line 3.



Now the following at the very top(?) of the Main Title(movie)'s Pre-Command section.
1 if ( gprm(14) != 0 ) then { Goto line 4 }
2 Set gprm(14) =(mov) 1
3 Break
4 Nop

If "the movie's inserted for the 1st time" then Goto line 4. Line 4 is Nop which means no operation?
And if gprm14 IS equal to (mov) 1, then break? Again, as in don't do anything?

TIA :o
(still shaving the fishing rod)
In the pre-command area, break takes you to the video. So it really does something!

Jeanl

Surf
24th January 2005, 21:34
I can see! I can seee!!

Blue sky! <breaking into song>

mucho gracia.


P.S. Don't feel left out Jean:D . You too are cordially invited to TROY'S adventure(see above), ya know?

blutach
24th January 2005, 22:03
In FP PGC, you actually don't need that fancy "jump over me" footwork in most cases.

1. Open the DVD in PgcEdit.
2. Navigate to FP PGC. Ctrl-G to see what calls the FP PGC.
3. If the only thing is "Entry PGC" you know it can never be returned to, except with eject/insert. Thus, don't worry about the If gprm <> 0 go to line 3. Just Jump to Title 2 (or root menu, if that's what you like).
4. As a little extra editing, you can now delete all lines following, once you are sure your immediate jump works well.

PS Welcome back d9 forums!!!!

Regards[/b]