Log in

View Full Version : GPRM navigation question


hyata
18th June 2004, 16:00
I was curious if there is an easier and cleaner way to accomplishing the following navigation in Scenarist. The method I have works but I am not sure if there is an easier way to accomplish it, so I thought I would ask. I wanted to set up a DVD to play 4 separate movies, what I wanted was to be able to select play all from the main menu and have it play all 4 movies in order but if you went to the PTT menu and selected a single movie, it would play that movie and return to the PTT menu and set the button highlight to the next track to play on the menu.

Here is what I set up to accomplish this navigation, I set the PTT menu to no highlight, I use GPRM 15 to store the button highlights for the PTT menu. I placed all 4 movies in a single title in VTS 1, I also created 4 dummy PGCs in my language folder in VMG, each one linked to by one of the PTT movie buttons, each dummy PGC links to a place holding PGC in one of 4 separate titles via a pre command. So PTT movie 1 button jumps to PGC 1 in VMG, which then jumps to place_1_PGC in Title 2. Place_1_PGC then does the following in it's pre command, I move 1 to GPRM 0, I move 0 to GPRM 1, I set GPRM 15 to 2048 and then do a jump to part of title in VTS, in this case since movie 1 was selected to the first scene in movie 1, at the end of
movie 1 playing in my post command I move 1 to GPRM 1 and link to the PGC for movie 2, in movie 2's pre command I have jump to the PTT menu if a bitwise compare between GPRM 0 & 1 is true, other wise I move 3072 to GPRM 15 and move 0 to GPRM 1 which sets the correct values if I have jumped to movie 2 from my PTT menu. To avoid any errors in missing resetting GPRM 0 & 1, each movie uses the number of that movie moved to these 2 GPRMs for it's bitwise, so playing movie 2 from the PTT menu would lead to both GPRMs being set to 2 for their
bitwise compare.

As I said at the start, the method I have works, so this is in no way a pressing matter, just curious if anyone had suggestions on how to make this navigation cleaner for future reference, since it seems to me there should be a bit tidier way to accomplish this naviagtion without having to have so many dummy PGCs and titles. Thanks for any ideas.

Dimmer
18th June 2004, 22:05
Have a look this thread (http://forum.doom9.org/showthread.php?s=&threadid=71958) where we discussed two different methods to achieve this.

Also, from your post it looks like you're putting more than one PGC in a title. It's not commonly a best practice since it disables time seek capability and some other inconvenience.

hyata
19th June 2004, 02:55
Yes, I had put more then one PGC in a title with this project because I had modified this project from having all 4 movies in a single PGC, and only being able to jump in from the PTT menu but not exiting back to the PTT menu.

Thanks for the link to that thread, wish I had found it when I was looking, but I didn't spend enough time looking in the regular DVD authoring topic. I just re-did the project with your method, and that is a much cleaner and easier to follow scenario then what I was doing. I'll probably play with a project trying SomeJoe's method just to know how.