Log in

View Full Version : "Play All" - Scenerist


switzch
15th April 2003, 05:57
allrighty. i am trying to figure out how to get a button in a menu to 'play all'. I have about 15 titles under one VTS which play and then return to the main menu, but i cant seem to figure out how to assign a button to play one title, then instead of returning to the main menu, it plays the next title... and so on till the end.

can anyone help me? i have been searching and toying around for days now, and i cant seem to figure this out.

tia

mpucoder
15th April 2003, 06:19
This has been asked before, but I don't know if a good answer was given. There are two ways to handle this. One is to use a general parameter register (GPRM) to indicate "play-all". Since GPRMs are reset to zero on power up, disk insert, or stop you can use a non-zero value to indicate play-all. Using this method means that each PGC must have post commands to check the value of the GPRM you chose, and link to the next PGC or return to the manu based on its value.
Another method is simpler, the "grand PGC". This creates a PGC with all the cells of the other PGCs in the correct order, and works best if the other PGCs are simple.

The difference in the methods, aside from complexity, is the time readout and seamless playback. Using seperate PGCs linked together can, if the PGCs are one-sequential, show the time relative to each title. That is the time will reset to 0:00 at the start of each. Seperate linked PGCs, however, will NOT playback seamlessly, there will be a pause between each one. The grand PGC, if the cells are listed in the order they appear in the vobs, will be seamless, and can have a time readout for the entire showing.