GPRM-based button with Start at Loop Point Troubles

First of all, I'm running DVD Studio Pro 4.2.1 on OS X 10.4.11
I'm trying to finish a project where when a video ends, it jumps back to the menu directly to the next button in order. This menu also has a loop point set in order to skip an opening animation. So I wrote the following script to accomplish this:
1: mov GPRM 0, SPRM 8
2: div GPRM0, 1024
3: add GPRM0, 1
4: jump "menu name"(Loop) [GPRM 0]
When I simulate the disc, everything works fine. However, a burned disc fails to return to the loop point. It will start on the next button when the highlights appear at the loop point, but the menu will begin from the beginning animation, not at the loop point.
Is there some conflict between the GPRM based button command and the start at loop point command? I did perform a test with the GPRM based button commands left out and the start at loop point function worked perfectly.
Edit: The "GPRM 0" at the end of the script shouldn't be a link but in brackets instead... the forum changed it to a link by default.
Message was edited by: brazzamHD

Given lines 1, 2 and 3, it is very unlikely that GPRM0 will ever be zero...
What your lines are saying, roughly, is:
"find the value of the last button that was pressed on a menu, and reduce it to a simple integer we can work with. Add '1' to the button number and then jump to the loop point on the menu IF the value in GPRM0 is '1'"
The problem is that it will never be '1' because of line 3. The lowest value it could be is '2' when you keep that line in there.
Also, you don't specify which GPRM you are evaluating in either version of line 4 - I assume GPRM0, as that is the one you are working with in lines 1, 2 and 3.
If you want to return to the loop point of a menu depending on the button the user previously selected being the first button then the code is this:
mov GPRM0, SPRM8
div GPRM0, 1024
Jump MenuName (Loop) If (GPRM0 = 1)
However, you might want to simply start at the loop point of the menu but make sure that the user is on the same button they were on previoulsy, in which case the code would be:
mov GPRM0, SPRM8
div GPRM0, 1024
Jump MenuName (Loop) \[GPRM0\]
To do this you \must make sure that you have checked the GPRM based button checkbox in the property inspector.
If you want to go to the next logical button after the one the user was on previoulsy, then you would need to add a '1' to it. The code looks like this:
mov GPRM0, SPRM8
div GPRM0, 1024
add GPRM0, 1
Jump MenuName (Loop) \[GPRM0\]
Note that the bracket shapes are important... a GPRM based button jump means that you will go to a button which has a value the same as that in the specified GPRM. The square brackets signify it is this kind of move, and not a simple evaluation of true or false.

Similar Messages

  • GPRM based button ignores Start at loop point!

    I have made the well known gprm based button script that jumps to last pressed button of a menu, and it works fine, but if I also enable the 'Start at loop point' function it only works in the simulator but never on test discs or final DLT's.
    Is it a software bug that DVDSP 4.03 ignores the start at loop point if it also should jump to a gprm based button?

    Nice... I've just done this and got exactly the same as you.
    It would appear to be that the loop point argument is stored in the same way a prescript is stored - and hence the GPRM based button jump doesn't work.
    I'll look further into this to see if I am on the right lines, but you'll need to create a second menu which is identical to the looping portion of the first, then point to that instead of the first menu. A GPRM based button jump should then work:
    mov GPRM0, SPRM8
    div GPRM0, 1024
    Jump menu2 [GPRM0]
    This will have the same visual effect as you want, at the cost of having a second menu on your disc.

  • How to make main menu start at loop point when you link back to it?

    I have a main menu with a an intro, after the intro I have put a loop point.
    But when I link back to the main menu, it plays the whole intro.
    How do I let the main menu start at the loop point when I target a button back to it?

    Jake:
    English is not my native language (I used Wikipedia to understand RTFM !!!).
    I used to copy&paste some lines from the manuals when a post can be answered directly that way (why to write it again if it's well written there?).
    This is my "last upgrade": I uploaded some captured images from the manual to use easier in this kind of frequent questions. I like to show that the information was right there in the manual . . . but I really find the expression RTFM a little hard !
    ;D
      Alberto

  • Jump back to meny loop point?

    Hi,
    I am making a dvd, and in the menu I have a video, that eventually has menu buttons. How do i set the DVD, so that while watching the DVD, the user can hit the 'Menu' button on their DVD player, and then menu will show up, but only at the loop point?
    As of now, when the user hits the menu button, it plays the whole menu over again, including the video at the begining.
    Thanks,
    Robbie

    doing a quick search of the forums should yield this answer.
    in dvdsp 4 you create a script with a jump command that goes to your menu and you can check the start at loop point box. Set this script to the menu and title buttons of your remote control in the disc inspector.
    everything before DVDsp4 you need to create a seperate menu that just contains the looping portion of your menu and set this as the title menu.
    -ryan

  • Normal State Button Shows Selected State At Loop Point

    My menu shows the Normal State Button Shows as the selected state At Loop Point. I want it to show for instance black until it is selected then "rollover" to red. TIA for any help.
    Murman

    There are two ways that you can do this without resorting to using a layer based shape or a layer based menu.
    First, you need to decide if it is important for the logo to appear in full colour or if you can get away with a single colour instance of it appearing. If the answer to this is that a single colour is OK, then use a standard overlay menu. Otehrwise, try using a masked overlay menu (there are limitations...)
    With a standard overlay, the background image is as you want it to appear without anything selected - all shapes and text, etc, should be in place as if no button is chosen.
    You then create the overlay, which is a simple .pict file that is the size of the menu. On this you simply place as many instances of the logo as you need - create them in black or grayscale and don't add anything else. The overlay will be mostly white with the black or gray shapes on it.
    Add this to your menu in DVDSP and drag out the button rectangles to cover the background text and the overlay shape. When the button is selected, the logo shape will show up, but will not show in the normal state.
    You can get the logo to be whatever colour you need by using the colour mapping within the property inspector for the button.
    If you definitley need a full colour logo to appear, you can either use a layer based photoshop menu, or use overlay masks:
    http://www.editorsbin.com/authoring/mask_overlay.html
    be aware that there are some limitations when using the masking technique - but all is explained in that tutorial.

  • How do you start a loop with an event and end the loop when u release ....

    How do you start a loop with lets say an event of some sort, whether it be holding down a key or pressing the mouse click and then stopping the loop when you release that key or mouse button.?
    double c = 1.8, i = 1, max = 90, exp = 0;
    final double inc = 0.002; //speed at while it increases
    boolean f = false, g = false;
    while (true)
        while (f == false && stopMeter == false) //increasing speed going up to 90
            exp = Math.pow (c, i);
            i += inc;
            pAngle.setText (Math.round (exp) + "");
            if (exp > max)
                f = true;
                g = false;
            } //end if
        } //end while
        while (g == false && stopMeter == false)  //decreasing speed going down from 90
            exp = Math.pow (c, i);
            i -= inc;
            pAngle.setText (Math.round (exp) + "");
            if (exp < 1)
                g = true;
                f = false;
            } //end if
        } //end while
    } //end whilethis is a snippet of my increasing increments. Its for an angle meter. I can't get it to stop, when the user clicks or does something... the program just gets stuck in an infinite loop. I am still new to java and i do not know how to fix this.

    You are in the wrong forum. Try this one instead: http://forum.java.sun.com/forum.jspa?forumID=31
    /M

  • Just started using Safari, 5.1 on Win XP.  Places where there used to be check boxes now have little buttons with triangles on them; clicking them seems to have no visible effect.  Help!

    I just started using Safari, using Safari 5.1 on Win XP.  Any place where there used to be a check box, there's now a little button with a triangle on it.  The triangle changes orientation as I move the mouse cursor around, but there is no visible change if I click on it.  Yet it appears that I must click on it to check, or uncheck, the box; I just can't tell whether it's checked.  If I can't get this to work better, I'll have to give up on Safari.  Please help.  (Note: there's one at the head of this thing saying "Mark this discussion as a Question - this encourages people to answer for points and helps you track answers."  I clicked on it, but don't know whether it's checked or not.  That's a fairly minor example.)

    Can you provide an SSCCE that demonstrates this behavior?

  • DVD button loop point

    I know this question is on here alot and I've already read some different things.
    I have a project where the DVD menu has and intro and at about 16 secs. the buttons fade in. I have figured out how to make the button delay by setting the loop point. The problem is now my client wants the whole intro of the DVD menu to loop and have the buttons fade in at 16 secs. Is there anyway to keep the video looping back to the start and have the buttons still come in at 16 secs? i appreciate the help in advance.
    thanks.

    So visually, the menu starts, at 16 seconds the buttons appear and they stay on screen whilst the menu appears to loop from the beginning?
    What I would do is make a whole bunch of clips into a single clip using FCP and placing them consecutively on the timeline, then export that to use as the menu background. Visually, this will appear to start over and over, but in actual fact it is playing through just once. Make it five minutes long, if you want so that no-one will rightly sit through it all.
    Now add your loop point at 16 seconds as before. The buttons will fade in as you want, and then stay on screen as the background footage continues to play, looking as though it is looping. At the very end of your footage there will be a slight pause and the menu will then actually loop to the loop point, missing hte first 15 seconds off. Since this is so long into the menu I doubt very much whether anyone would notice. I would tell the client that this is the most efficient way of achieving the look (which it is) and let them decide if they want something different.

  • URGENT! Hide buttons til after loop point on motion menu?

    Hi,
    Is it possible to hide the buttons on a motion menu til AFTER the loop point?
    I have a menu where there is a 10 second motion graphics intro, then a loop point, then 30 seconds of slight motion graphics in the background. As it should, after 30 seconds, it loops back to the loop point and only plays the last 30 seconds again and again.
    The problem I am having is that the buttons appear on the menu at the start, which looks awful as they get in the way of the 10 second motion graphic intro.
    Is there a way to make the buttons only appear at the 10 second (loop) point?
    As a side note - I tried doing the 10 second intro on its own track, then having the track jump to the menu, but that creates a little delay that is quite noticeable.. It's not a smooth and continuous flow like the way I am doing it above.
    Thanks!!!
    Jason
    G5 Dual 2.5Ghz, iMac 17" Core2Duo 2.0ghz, G4 900Mhz, 900mhz G3 iBook   Mac OS X (10.4.7)  

    JF:
    I add the button graphics into my background movie at the loop point. Then, I create an overlay file in Photoshop and add it to the menu? It will then only activate at the loop point, which works well since that's where the text would appear in the movie?
    That's right!
    I don't know is how to add the overlay in
    Select your menu, and in the Inspector windows you'll find the Select Overlay option and navigate to your PSD overlay file.
    I think that this Basic Menu Tutorial (from Drew13's www.dvdstepbystep.com site) could help you to create a basic overlay. Just keep the background of your file WHITE and your overlays graphics BLACK.

  • Custom text component with different start and end points for each line

    I'm trying to create a custom component extending textArea in which each individual line in the textArea would have different start and end points.  For example, the start/end points for line 1 might be 20 pixels in the front and 35 pixels at the end but start/end points for line 2 might be 25 pixels in front and 20 pixels at the end, etc.  These boundary values would be passed in.  The width of the entire textArea component would be a fixed size.  The result would be something like this:
         Jack and Jill
              ran up the hill
      to fetch a pail of water
    depending on the boundary values of each individual line of course.  The custom component would take a string and render it in the text component with the appropriate individual line start and end points.  I'm trying to do this by adding the text component to the display with the passed in string and then adding in spaces in the beginning of each line and adding a "/n" at the end of the line wherever appropriate based on the start and end values for that line.
    Just wondering if I'm on the right track and if anyone has any advice on this.

    > Applying the marker places the same icon on all lines of the graph and I need a different one for each
    What do you have selected when you assign the marker? It
    shouldn't apply to all the markers on the whole graph unless you have all the existing markers selected when you apply the new one.
    Assigning marker designs is exactly analogous to assigning bar graph designs.
    If you have a single marker selected when you assign the new design, it will apply to only that graph data point.
    If you use the group select tool (or option-click with the direct select tool) to reclick on an already-selected marker until all the markers for the same line are selected, and then assign a design, the new design will apply only to the selected line. (You can extend the graph by adding more rows, and the new data points will inherit the marker for the line they are on.)
    The thread linked to below demonstrates in more detail how the marker designs are scaled:
    http://www.adobeforums.com/cgi-bin/webx/.3bc10970/0

  • I'm having problem with text boxes.  Whenever i hit the enter button to start a new line or paragraph, the cursor doesn't drop down to the next line.  Instead i get this little red + sign in the box.

    I'm having problem with text boxes.  Whenever i hit the enter button to start a new line or paragraph, the cursor doesn't drop down to the next line.  Instead i get this little red + sign in the box.

    You are absolutely right.  Thought Enter meant Enter.  I was wrong.  Thank you for the help.
    Rod Rogers, Broker
    Accredited Land Consultant (ALC)
    Metcalf Land Company, Inc.
    Office: 864-585-0444
    Mobile: 864-316-0297
    Fax: 864-583-6000
    <http://www.metcalfland.com> www.metcalfland.com

  • Can't set a menu loop point for my buttons to come in

    because my menu loop background video has text that flies in, i need my menu buttons that correspond to that text to come in on a delay. reading my dvdsp3 book, it seems i would need to set a loop point in the menu to trick it into doing this, however i cannot set a loop point on my menu - that option is greyed out and i cannot toggle it.
    the guide i have says looping isn't possible if i add drop zones or text, but i have done neither within dvdsp3.
    any help appreciated
    thanks

    ok i think i know what happened
    i was using moving video as an asset for my buttons
    once i changed that i could set a loop.
    i guess i will edit my moving video into small "buttons" in FCP and then create the real selection buttons in DVDSP3.

  • Do you think the intel based macs will start with the iMac?

    do you think the intel based macs will start with the iMac? or the mini? or a tower?
    when are they suppoed to be ready theoretically anyways?
    just curious...
    chaz

    Hi iSMH;
    According to what Steve said in his keynote address on the Migration to Intel, so I think this is not speculation, they will start with the Mac Mini and iBook with the release being sometime during the summer of 2006. The rest of the line will foloow later with the Powermac being released sometime during the second half of 2007
    Allan

  • I just installed Lightroom 5. It will not open. I have clicked on the desktop icon as well as the start menu button with no results. What am I missing?

    I just installed Lightroom 5. It will not open. I have clicked on the desktop icon as well as the start menu button with no results. What am I missing?

    I had the same problem, and I believe it is caused by having the Creative Cloud application doing the updating of LR.  I "fixed" the problem by:
    1. Uninstall Lightroom
    2. Download the stand-alone LR 5.6 installer from Product updates
    3. Install LR 5.6 using the stand-alone installer, instead of using the Creative Cloud application.

  • EMail Submit button with mailto: based on form data

    Based on form data, I would like to have an email button that sends mail to the email address identified in the email field. Obviously this can change, how would one go about programming a button to send to email based on field data?
    Thx...
    /cw

    Hi Chris,
    Yes this can be easily done. I gathered the following solutions from various threads and so I am not claiming any originality here...
    Set up a textfield "Email", with a tooltip telling users to separate email addresses with a ";".
    Next set up a regular button with the following Javascript in the click event:
    var email = xfa.resolveNode("form1.#subform.Email").rawValue;
    var subject = "Specify your subject line here"
    event.target.submitForm({cURL:"mailto: "+ email +"?subject=" + subject +"&body=You can also input some standard text to appear in the body of the email.",cSubmitAs:"PDF",cCharset:"utf-8"});
    You might want to put an if statement that if the "Email" textfield is blank/null that an app.alert comes up informing the user to input at least one email address.
    We took it a stage further on one of our forms. We set up three checkboxes with people's names who are regularly sent the form (nod and cc1 and cc2) and then a textfield "additional" for additional addresses.
    Each checkbox had an associated Textfield (EM1_email, cc1_email, and cc2_email) that were invisible. Each checkbox had similar Javascript in the mouse up event:
    if (this.rawValue == 0) {
    EM1_email.rawValue = null;
    else {
    EM1_email.rawValue = "[email protected];";
    Then we set up another invisible textfield (Email) which had the following Formcalc in the calculate event:
    if (nod.rawValue == 0 & cc1.rawValue == 0 & cc2.rawValue == 0) then
    $ = null
    else
    $ = Concat(EM1_email, cc1_email, cc2_email, additional)
    endif
    This basically pulled the email addresses from the ticked checkboxes and the additional user inputted email addresses into one text field. From there the regular button with the script above send the email. This speeded up the process for regular reciptents.
    If you search the forum for topics such as cURL:"mailto: you should see lots of other examples.
    Good luck,
    Niall

Maybe you are looking for

  • Insert into a table using UNIX

    i have file Summary.txt contants looks like this ./log_CS-185.lst:Error detected, rollbacking ./log_CS-13603.lst:Error detected, rollbacking ./log_CS-1002.lst:Error detected, rollbacking now i have to parse this file to get (CS-185,CS-13603,CS-1002)

  • How do I base a chart on pop-up menus?

    Hello, I am trying to make a chart that gives me a quick overview of the amount of entries I add in my admin based on their specific categories. I wish to draw the data from three tables, each one on one separate spreadsheet (one per month). I have m

  • Calling C program

    Hi, I am trying to activate a C program from within my java program using Runtime.getRuntime().exec("program name") this C program is dealing with various files from it's directory - which is different from my my java's app directory. the C app seems

  • How to convert maintenance view 'v_t001k_assign' to inner join tables

    Dear friends, I found I could not select the fields of view 'v_t001k_assign' using SQL, and I found there are some tables joined together as below: T001     MANDT     =     T001K     MANDT T001     BUKRS     =     T001K     BUKRS T001K     MANDT     

  • Image component always on top

    I having an issue with the positioning of some of my images... It seems that they are going behind the main img and i cant see them... I have a button so that when you click the image is suppose to appear but it wont... is there some kind of code tha