Standby and resume

Subforum for discussion and help with ScummVM's PSP (PlayStation Portable) port

Moderator: ScummVM Team

Post Reply
Bluddy
ScummVM Developer
Posts: 145
Joined: Sun Nov 18, 2007 8:43 am

Standby and resume

Post by Bluddy »

Is the reason for Scummvm's inability to standby and resume known? Is there any progress in the direction of resolving this issue?
User avatar
joostp
ScummVM Developer
Posts: 490
Joined: Wed Sep 21, 2005 3:55 pm

Post by joostp »

Yes, the cause is known.

It has not been addressed since last I looked it would require some substantial platform specific changes/workarounds in the File class, although I've since thought of a few possible alternative ways to address this, so with some luck this'll be addressed in the future.
Bluddy
ScummVM Developer
Posts: 145
Joined: Sun Nov 18, 2007 8:43 am

Post by Bluddy »

Thanks for the reply. Can you tell me what the problem is? I'll take a look at the code myself when I get a chance. It's one of the things I would really like to see done at this point, since I have only short breaks throughout the day to play on my PSP and starting up Scummvm every time is both annoying and wasteful.
User avatar
joostp
ScummVM Developer
Posts: 490
Joined: Wed Sep 21, 2005 3:55 pm

Post by joostp »

In short; when you resume, all the file handles are closed/invalid.
Since ScummVM / the game engine is not aware of this, any subsequent reads a games does will fail (they'll need to be re-opened first).

At least, I believe that's what was going on last I looked (which admittedly was some time ago!).

Look forward to your patch! ;)
Bluddy
ScummVM Developer
Posts: 145
Joined: Sun Nov 18, 2007 8:43 am

Post by Bluddy »

OK I have my code written up. I tested it and it seems to work. I'm not sure how to manage SVN though. Can I commit files? Do I need to have permission first? Should I just send you the files?
User avatar
joostp
ScummVM Developer
Posts: 490
Joined: Wed Sep 21, 2005 3:55 pm

Post by joostp »

Bluddy wrote:OK I have my code written up. I tested it and it seems to work. I'm not sure how to manage SVN though. Can I commit files? Do I need to have permission first? Should I just send you the files?
Great!

You should submit a patch to the Patch Tracker (link on the front page).
Jinx1337
Posts: 146
Joined: Fri Jun 29, 2007 9:43 am

Post by Jinx1337 »

Now that's some achievement right there!

Thank you very much in advance, I'm looking forward to test it.
Bluddy
ScummVM Developer
Posts: 145
Joined: Sun Nov 18, 2007 8:43 am

Post by Bluddy »

Submitted.
MattNY
Posts: 5
Joined: Tue Jul 07, 2009 12:48 pm

Post by MattNY »

Kick ass Bluddy. ;)
rook
Posts: 6
Joined: Fri Oct 24, 2008 3:38 am

Post by rook »

works like a charm! thanks Bluddy!
Post Reply