PDA

View Full Version : Scenarist - Help with button comand


factoryfeatures
13th September 2004, 21:29
I have 1 Root Menu with 3 buttons. Each button links to a Title Folder 1, 2, & 3. In each Title there is a Sub-Menu PGC.

I want the Main button in the Sub-Menu PGC to link back to the Root Menu, and HIGHLIGHT the next in line button i.e. Title 1 Sub Menu PGC Main button links to Root Menu with Button 2 highlighted.

I turned off force button selection. This is starting to get really hard now.

cona812
14th September 2004, 01:45
Do you really have your submenu in your titles?

I think you should read the manual or/and this (http://www.dvd-replica.com/DVD/vmcmdset.php).

Menus have to be in "language folders" as they represent the menudomains.

For your button-highlight problem you have to use pre/post commands in combination with registers (as I allready said befor here (http://forum.doom9.org/showthread.php?s=&threadid=82100)).


learn basics about DVD structur
learn commands for the DVD VM
and start authoring with small projects
read any posts about Scenarist in this forum
use the search function


Cona

factoryfeatures
14th September 2004, 23:29
Thanks. I think I need to give this up. This is WAY to much. Sonic DVD Producer does everything it needs to do, EXCEPT give the ability to use the NEXT button to go from movie to movie. Which is the only reason we played around with Scenarist in the first place. I'm losing time on the system we borrowed to experiment with this to determine its usability before we buy it and I see its too deep. Maybe 3.0 is easier then 2.7.?

Scenarist can do anything. But it seems like the logic of Set Button Commands is not simple. I just don't dont get it. I set GRPM's 2 = 2 and get the button I want. I try to set up another button comand following the same logic GPRM 0 = 0 and I get the the GRPM 2 button comand instead. Or the 0 = 0 comand takes precendence over GPRM 2 button comand. It never seems to do what I want it to. I dont understand why they can't make it as simple as Set Button Command to X when X happens and to Y when Y happens.

cona812
15th September 2004, 01:53
Scenarist is the best authoring suite you can work with. All you have to have is basic knowledge about DVD Spec and structur. For not so big projects it's nealy easy to learn.

I think you mixed up a lot.

Commands are binaryvalues interpreted by the virtualmachine of DVD players. Register (GPRM's and SPRM's) are 16bit memory-registers each player contains. The values of these registers can be read or changed by the virtualmachine. Depending of these values commands can be executed or not. All you have to have to setup commandlists is logic thinking (basic knowledge of programming will help too).

You can have pre/postcmd's of PGC's (up to 128 per PGC)
You can have Cellcmd's (1 per Cell, the max # of pre/post/Cell-cmd's is 128)
And you can have buttoncmd's (one per button).
I dont understand why they can't make it as simple as Set Button Command to X when X happens and to Y when Y happens.
I don't realy understand your problem. One button = one command.

If you will have different commands be executed by one button you have to compare to registervalues and depending of that compare you can execute different commands. As a button can only contain one command you have to setup a postcmd.

Excample1:

2 buttons (bt1 and bt2). After bt1 has been activated (as excample movie1 should be played) bt2 should be selected after returning to your menu.
For your menu PGC you have to set the forced selected button to non existend.
GPRM0 is used for the buttonhighlight;
GPRM1 is use to test if movie1 has been watched)

Postcmd for movie1:
1: mov GPRM1, 1 (set to GPRM)

Precmd for your menu:
1: if (GPRM0 = 0) mov GPRM0, 1024 (for button highlight you need to multipy the button number with 1024)
2: if (GPRM1 = 1) move GPRM0, 2048 (compare if movie1 was played)
3: SetHL_BTN = GPRM0 (set the button highlight)

Excample2:

1 button. Button one will jump to title_1, if title_1 was not played befor, title_2 should be watched befor title_1.

GPRM0 is used to test if title_1 was played.
Postcmd of title_2: JumpVTS_TT, title_1

Button command:
LinkTailPGC, button=0

Postcommand (menu):
1: if (GPRM0 = 1); Goto 4
2: mov GPRM0, 1
3: JumpVTS_TT, title_2
4: JumpVTS_TT, title_1


It's all about logic thinking ;)

So keep on trying Scenarist si the best.

good luck, Cona