Log in

View Full Version : scenarist and resume function...


rick090
17th December 2003, 03:48
hay all!
i've been searchin' this forum but i couldnt find
a solution for my problem.
i've authored a project in scenarist pro 2.7..
i got still menus : one title menu in the VMG Language domain.
the same title menu as root menu in VTS_1-language domain.
in VTS_1 I got 2 titles : main movie, trailer.
in VTS_2 I got 2 titles : universal logo, my logo.
now i have authored all the project by now with alote of help from this forum (thanks guys!) but one thing i couldnt figure out...
i want to have the option to watch the movie, and go to a menu
and select whatever... and than from the root menu or title (or both),
to go back to the movie from where i left off!
i tryed alote of things, including massin' with GPRM Commands (which i dont know nothing about b.t.w) but nothing worked...
any help on this one guys?
i know i shuld use resume on sub-directions but its not available option in the main title PGC.
HOPE YOU GUYS CAN HELP! THANKS ALOTE!

maa
17th December 2003, 10:51
The resume function is placed in the menu PGCs so that IF (Gpreg <x>==y) the film is running then RESUME

So you need to set a Gpreg in VTS_PGCITI / VTS_PGC_x and ask about its value in the Menu PGC

Are you sure this hasn't been covered several times already ?

rick090
17th December 2003, 16:05
it wasnt coverd!!!
i searched all over the forum i havent find a single post
that explain which command is unique for resume.
i dont understand the GPRM Commands and u didnt explain anything about it in any post.
b.t.w. theres no gpreg command in scenarist so i still dont know what to do....
please help me!!!!!!!!!!!
thanks.

maa
17th December 2003, 16:39
I don't know scenarist but you can look at this guide to see how the resume command can be implimented:

Play All Guide for DVD Lab (http://forum.doom9.org/showthread.php?s=&threadid=62505)
Look at the fourth picture.
2nd command asks if GPreg<13> has been set to 1028 by playing the film (if so we want the resume function)and if so the 4th command "Link Subset" actually continues the film where it left off.

The third picture after 6. shows how to set GPreg<13> to <1024>

It might help you but it would be better if some Scenarist expert would tell you how its setup with the dialogs in the program...

DnGermany
11th January 2004, 08:11
First set one of the GPRM values to a number, I usually set GPRM1=1 when the movie begins, using the pre command of the movie. Then when the movie is finished set the GPRM value to a different number, I usually put it back to 0 (GPRM1=0) in the post command. Next put 2 post commands on the menu. First post command checks to see if GPRM1 equals 1, then resumes where you left off if it's true. The second post command just links the menu back to the main menu or back to itself if GPRM1 is any other value besides 1. Note: in the second post command, you don't have to actually check the value, only put the link command.(if the first cmd is false it will goto the next cmd anyway). And sometimes if doesn't work right in the simulation window, go ahead and compile it, should work fine.