Log in

View Full Version : New


Tariq
20th October 2004, 01:54
Hi Cona,

As you know I am no programmer just a designer, so I am going to do something crazy, I am going to save my project as a new file i.e save as DVD.new and try and work it step by step. Because I know that the dvd has still a long way to go and if its wrong from the start its only going to get more complicated for me.

So what I have done is as follows.

In VMGM_DOM I have put my Title Menu.
This is Basically A pice of video that has a intro animation then 10 seocnds in there is a cell where the menu and subpicture starts.

Then In VTS_1 I have one english language folder (VTSM_DOM) and two Title Folders (TT_DOM) named (Title 1 and Title2).Title 1 contains the 1 Hour Footage with the Chapter Points, Title 2 contains a secret peice of video which can only be accssed by Chapter Menu 8-15 which has a hidden button.

In that language folder I have Dragged and dropped all my menus as you have stated in one of your previous posts (below)

"I use VTS_1 for my main movie and all menus. VTS_1 contains Title_1 and one languagefolder. All menus are inside the languagefolder of VTS_1."

The next step I took was to put the pre commands on my PTT menu
Precommands for the chaptermenu:
1: SetHL_BTN = GPRM2
2: if (GPRM1==32) LinkPGN ChapterMenu 1-7
3: if (GPRM1==33) LinkPGN ChapterMenu 8-15

I then placed commands on my buttons as so
1: {Mov GPRM0, 11 ; LinkTailPGC, button=0} (Chapter 1)
2: {Mov GPRM0, 12 ; LinkTailPGC, button=0} (Chapter 1)
3: {Mov GPRM0, 13 ; LinkTailPGC, button=0} (Chapter 1)
4: {Mov GPRM0, 14 ; LinkTailPGC, button=0} (Chapter 1)
5: {Mov GPRM0, 15 ; LinkTailPGC, button=0} (Chapter 1)
6: {Mov GPRM0, 16 ; LinkTailPGC, button=0} (Chapter 1)
7: {Mov GPRM0, 17 ; LinkTailPGC, button=0} (Chapter 1)
8: LinkPGNChapterMenu 8-15pg_1, button=0} (Next chapter menu)
9: {Mov GPRM0, 11 ; LinkTailPGC, button=0} (Root Menu)

and on the post i started to put the code you supplied where
if (GPRM0==31), JumpVTS_PTT chapter_9@Title_x
but immediate is still greyed out.
1: Mov GPRM2, SPRM8
2: if (GPRM > 30 ) GoTo 16
3: if (GPRM > 20 ) GoTo 10
4: Mov GPRM1, 31

Help I am stuck. I want to get this right this time, and I am sure I am on the right lines.

cona812
20th October 2004, 07:15
Looks like you have two programs in your PTT-menu so you can't take the my advise direct. Change it to:Precommands:[list=1] SetHL_BTN = GPRM2 if (GPRM1==32), LinkPGN ChapterMenu 8-15[/list=1]Buttoncommands for 1-7:[list=1] Mov GPRM0, 11 ; LinkTailPGC, button=0 (Chapter 1) Mov GPRM0, 12 ; LinkTailPGC, button=0 (Chapter 2) Mov GPRM0, 13 ; LinkTailPGC, button=0 (Chapter 3) Mov GPRM0, 14 ; LinkTailPGC, button=0 (Chapter 4) Mov GPRM0, 15 ; LinkTailPGC, button=0 (Chapter 5) Mov GPRM0, 16 ; LinkTailPGC, button=0 (Chapter 6) Mov GPRM0, 17 ; LinkTailPGC, button=0 (Chapter 7) LinkPGN ChapterMenu 8-15pg_1, button=0 (Next chapter menu) Mov GPRM0, 19 ; LinkTailPGC, button=0 (Root Menu)[/list=1]Buttoncommands for 8-15:[list=1] Mov GPRM0, 21 ; LinkTailPGC, button=0 (Chapter 8) Mov GPRM0, 22 ; LinkTailPGC, button=0 (Chapter 9) Mov GPRM0, 23 ; LinkTailPGC, button=0 (Chapter 10) Mov GPRM0, 24 ; LinkTailPGC, button=0 (Chapter 11) Mov GPRM0, 25 ; LinkTailPGC, button=0 (Chapter 12) Mov GPRM0, 26 ; LinkTailPGC, button=0 (Chapter 13) Mov GPRM0, 27 ; LinkTailPGC, button=0 (Chapter 14) Mov GPRM0, 28 ; LinkTailPGC, button=0 (Chapter 15) LinkPGN ChapterMenu 1-7pg_1, button=0 (Prev chapter menu) Mov GPRM0, 29 ; LinkTailPGC, button=0 (Root Menu)[/list=1]Postcommands:[list=1] mov GPRM2, SPRM8 if (GPRM0>20) Goto 5 mov GPRM1, 31 Goto 7 mov GPRM1, 32 Goto 9 sub GPRM0, 10 Goto 10 sub GPRM0, 20 if (GPRM0!=9) Goto 12 LinkPGC your rootmenu if (GPRM2==32), add GPRM0, 7 mov GPRM15, 1 if (GPRM0==GPRM15), JumpVTS_PTT Chapter_1@Title_x add GPRM15, 1 if (GPRM0==GPRM15), JumpVTS_PTT Chapter_2@Title_x add GPRM15, 1 if (GPRM0==GPRM15), JumpVTS_PTT Chapter_3@Title_x add GPRM15, 1 if (GPRM0==GPRM15), JumpVTS_PTT Chapter_4@Title_x add GPRM15, 1 if (GPRM0==GPRM15), JumpVTS_PTT Chapter_5@Title_x add GPRM15, 1 if (GPRM0==GPRM15), JumpVTS_PTT Chapter_6@Title_x add GPRM15, 1 if (GPRM0==GPRM15), JumpVTS_PTT Chapter_7@Title_x add GPRM15, 1 if (GPRM0==GPRM15), JumpVTS_PTT Chapter_8@Title_x add GPRM15, 1 if (GPRM0==GPRM15), JumpVTS_PTT Chapter_9@Title_x add GPRM15, 1 if (GPRM0==GPRM15), JumpVTS_PTT Chapter_10@Title_x add GPRM15, 1 if (GPRM0==GPRM15), JumpVTS_PTT Chapter_11@Title_x add GPRM15, 1 if (GPRM0==GPRM15), JumpVTS_PTT Chapter_12@Title_x add GPRM15, 1 if (GPRM0==GPRM15), JumpVTS_PTT Chapter_13@Title_x add GPRM15, 1 if (GPRM0==GPRM15), JumpVTS_PTT Chapter_14@Title_x JumpVTS_PTT Chapter_15@Title_x[/list=1]This should work for sure.

cona812
20th October 2004, 07:22
The command JumpVTS_PTT can't be used together with comparisons to immediate values, so I made a mistake befor :eek:. JumpVTS_PTT can only be used with comparisons to other GPRMs or SPRMs. Did not know up to present.

Keep on learning for whole life :)