Resume Menu with the last frame of the movie

EasyBD, Blu-Disc Studio, BD Wizard, IG Editor, Quick BD Menu
rickemail
Posts: 29
Joined: Fri Jun 25, 2021 9:33 pm

Re: Resume Menu with the last frame of the movie

Post by rickemail »

It worked that way, could you tell me if everything is really correct? tks

Project properties [Menu] = Allow pause/play


1- Mainmenu = Action Every Second
manager.setGPR(10, 1);


2-Menu Resume = Action Every Second
if (canExec && (manager.getGPR(10)==1)) {
canExec = false;
manager.setGPR(10, 0);
manager.pauseMovie();
}


3- On JAR startup Switch
If [CanDiscResume] [MA]: [set]: GPR[10] = 1; Menu: Menu Resume [YES]


4- Button Yes Menu Resume
Menu: mainMenu [mm play]; [play]


5- Button NO Menu Resume
[MA]: Movie:Warning[1]; [play]
Alexey Kolesnikov
Posts: 711
Joined: Fri Mar 01, 2013 1:03 pm

Re: Resume Menu with the last frame of the movie

Post by Alexey Kolesnikov »

1- Mainmenu = Action Every Second
manager.setGPR(10, 1);
Here you are setting GPR[10] to 1 every second - why? what is a purpose of this?
Best regards,
Alexey Kolesnikov
rickemail
Posts: 29
Joined: Fri Jun 25, 2021 9:33 pm

Re: Resume Menu with the last frame of the movie

Post by rickemail »

It's true, I removed the gpr from Action Every Second, it's perfect, my bds license expires next month,It is possible to pay in installments via credit card?
Alexey Kolesnikov
Posts: 711
Joined: Fri Mar 01, 2013 1:03 pm

Re: Resume Menu with the last frame of the movie

Post by Alexey Kolesnikov »

Yes, you need to request "Extra access to updates" here https://dvd-logic.com/blu_disc_studio/order, it accepts credit cards.

Regarding the point 3. CanDiscResume checks that disc was inserted before, but it does not check that main movie was played (or finished).
If you need to check for ability to resume the movie you should use CanResume('Movie Name')
Best regards,
Alexey Kolesnikov
rickemail2
Posts: 79
Joined: Fri Jun 25, 2021 9:45 pm

Resume Menu with the last frame of the movie

Post by rickemail2 »

Alexey Kolesnikov wrote: Sun Jul 07, 2024 7:22 pm You mean that resume request is shown above the main menu, right? Well... you should do it manually - there is no such "feature".
Hello Alexey, I know it's been a while on this issue, but I wanted to resume the same menu as the official Sony ones, when the Blu-ray is ejected from the last use of the Blu-ray that in this case, if I eject the BD being in the main menu and reinsert the disc, after the loader opens me a menu asking if I want to resume from that point, this also happens when we eject the BD from the point of the running movie, reinserting the disc, it also opens a menu asking the same thing with the movie.
Both are paused with the question on the screen, I followed your test example attached here, I wanted to know how to apply this without it failing so that when restarting the disk it was not just wanting to resume the movie when the BD is ejected from the menu.

Sorry for the huge text and my English, I'm using the translator.

https://imgur.com/a/2z0NVzX
https://imgur.com/a/cnGRe7v
Alexey Kolesnikov
Posts: 711
Joined: Fri Mar 01, 2013 1:03 pm

Resume Menu with the last frame of the movie

Post by Alexey Kolesnikov »

Hi Ricardo,
Unfortunately, there is no ideal way.
The most stable for now is:
- set a flag (f.e. a value in GPR)
- start the movie
- in Action Every Second check for flag and if it set - clean it and activate a pause menu using enter animation/action
- use 24-26 frames delay animation in this enter animation/action and execute "[pause]" (so, pause should be executed after 1-1,5 sec in AES)
Best regards,
Alexey Kolesnikov
rickemail2
Posts: 79
Joined: Fri Jun 25, 2021 9:45 pm

Resume Menu with the last frame of the movie

Post by rickemail2 »

Alexey Kolesnikov wrote: Thu Apr 23, 2026 4:32 pm Hi Ricardo,
Unfortunately, there is no ideal way.
The most stable for now is:
- set a flag (f.e. a value in GPR)
- start the movie
- in Action Every Second check for flag and if it set - clean it and activate a pause menu using enter animation/action
- use 24-26 frames delay animation in this enter animation/action and execute "[pause]" (so, pause should be executed after 1-1,5 sec in AES)
Thank you Alexey.
At Startup I keep what you recommended here in the attached test project or is the approach different?
Alexey Kolesnikov
Posts: 711
Joined: Fri Mar 01, 2013 1:03 pm

Resume Menu with the last frame of the movie

Post by Alexey Kolesnikov »

What do you mean in the "attached test project"? I don't see anything attached.
Best regards,
Alexey Kolesnikov
rickemail2
Posts: 79
Joined: Fri Jun 25, 2021 9:45 pm

Resume Menu with the last frame of the movie

Post by rickemail2 »

Alexey Kolesnikov wrote: Tue Dec 12, 2023 7:30 am 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).
Would this be what I'm referring to, from your settings in Startup, do I use this configuration based on your recommendation?
Alexey Kolesnikov
Posts: 711
Joined: Fri Mar 01, 2013 1:03 pm

Resume Menu with the last frame of the movie

Post by Alexey Kolesnikov »

Yes, but with adjustments that I mentioned above
Best regards,
Alexey Kolesnikov