Page 1 of 1

Resume Menu with the last frame of the movie

Posted: Sun Dec 10, 2023 2:09 pm
by bestbluray
Hello, is there a way to set up a setting to take the last frame of the movie and use it as a background on this summary screen?

Re: Resume Menu with the last frame of the movie

Posted: Sun Dec 10, 2023 5:40 pm
by Alexey Kolesnikov
Hello,

There is no simple (and perfect) way to do this.

In theory, you can try the next way:
- Place this menu in the popup
- Set some GPR to some value as a flag (for example GPR[10] = 1)
- Resume the movie
- In the Action Every Second of the movie check that GPR[10]=1 and if yes:
-- set GPR[10] = 0
-- pause the movie (action Play MOVIE -> [pause])
-- jump to this popup menu
-- on Yes - Play MOVIE -> [play]
-- on No - Jump MENU "Main menu"

PS: you can try the "On movie start" instead of Action Every Second, but this may be less safe.
In the Project properties -> Advanced you can change how often Action Every Second will occur.

Re: Resume Menu with the last frame of the movie

Posted: Mon Dec 11, 2023 10:20 pm
by bestbluray
Thanks for the answer, but I found it a little complicated to configure, I tried to place the command when the disc is inserted for the second time, but this menu only appears when I click play in the main menu, this is the current configuration I use

-----------------------

it works well, but I really wanted to summarize it by taking the last frame of the film, when the disc is inserted for the second time, I made this configuration that is in the image but it didn't work, what would be wrong with the command?

Re: Resume Menu with the last frame of the movie

Posted: Tue Dec 12, 2023 7:30 am
by Alexey Kolesnikov
You still need to check CanResumeMovie and if yes - set GPR[10] to 1 and call Play MOVIE.

I would recommend to do it in the next way:
- In the Project Properties -> General -> JAR signing -> Disc settings = Restore on disc load
- In the Project Properties -> Advanced -> Action Every Second (at the center, slightly below) = Every 1/4 second
- In the Project Tree -> "On JAR startup" place an exclusive SWITCH:
if [CanResume('Movie')] -> [MA]: [set]: GPR[10] = 1; Movie: Movie [resume]
Menu: Main [Play]
- In the Movie -> "Action every second" place an exclusive SWITCH:
if [GPR(10)=1] -> [MA]: [set]: GPR[10] = 0; [pause]; Popup: Resume
- In the popup Resume -> Yes: [MA]: [play]; [close popup]
- In the popup Resume -> No: Menu: Main

You can download https://blu-disc.net/download/examples/Simple.zip, unpack the attached file and try how it works on a real player (I tested with PowerDVD only).

Re: Resume Menu with the last frame of the movie

Posted: Tue Dec 12, 2023 11:41 pm
by bestbluray
Thanks alexey the code worked perfectly, one last question, the "reset resume" function does not work on the "NO" button, when the "Restore on disc load" option is used correct?

Re: Resume Menu with the last frame of the movie

Posted: Wed Dec 13, 2023 3:01 pm
by Alexey Kolesnikov
It should work, but you can add it to the "No" action - convert the action to multiaction and add "Reset resume".