Silly Problem With Resume And A Game

Discussion in 'Mac OS X Lion (10.7)' started by bushido, Jun 20, 2011.

  1. bushido Suspended


    Mar 26, 2008

    i tried to play Plants VS Zombies on my Lion yesterday which obvs starts in full screen but the game seems to be unsupported by Lion so far, it froze and i can move my mouse but i cant seem to be able to quit the game. i even forced my mac book to restart but the game is opening at the same spot because of the stupid resume feature. what can i do? theres no task manager on mac right?
  2. baryon macrumors 68040


    Oct 3, 2009
    I think Apple didn't think this Resume thing through enough...

    Bus of course there is a task manager, it's: Alt + Command + Escape

    Hope it works!
  3. ErikGrim macrumors 68040


    Jun 20, 2003
    Brisbane, Australia
    It is not actually opening your game at the same point. That's just the screen shot that resume saves and shows you while it is trying to load the game. What is (likely) happening is that the game freezes at load and all you get is a screen shot of the last time froze.

    Resume doesn't work automatically like that. For unsupported apps it does try to load last opened documents (for an app that uses them), but for things like games it can't actually freeze the last state unless it the developer specifically makes use of the resume API (nor do I know if that is actually possible with things like games).
  4. baryon macrumors 68040


    Oct 3, 2009
    I thought Resume uses a memory image like hibernation, doesn't it?
  5. smoge macrumors regular


    Jun 14, 2011
    resume could work for game but would require a long wait will the hole thing is saved to disk and a massive load when it resumes so i dont think it dose could it wouldn't be worth it but i think it can be done.
  6. haravikk macrumors 65816

    May 1, 2005
    Most games are fairly quick to save these-days, to facilitate auto-saving on checkpoints and such, so there's no reason a game can't auto-save the current state and use that to resume automatically. The problem is that it can be slow to reload all of a high-end game's assets but for simpler games it's perfectly do-able.

    I was kind of hoping that resume would function like hibernating; by dumping some or all of the contents of RAM to disk so you can restore a system to its exact running state; otherwise resume is just something that developers could already be doing trivially.

    API's could then allow developers to provide light-weight pause and resume if their programs are suitable for such a feature, or tell Lion specifically to not resume the application if it's something that might not work well or had a heavy-weight file open.
  7. timcharper macrumors newbie

    Aug 26, 2008
    I was really disappointed with resume too...

    It doesn't dump RAM to disk like I anticipated it would. It just provides an API for an application to pass some state data to the operating system, and for the operating system to pass that state data back to the program when it runs again. Only a handful of apps properly support it. It is nice that windows restore to their original spaces and positions, but it is not nice that if an app interrupts a restart or a log off, the apps quit previous to that interruption can no longer be resumed (hope apple resolves this!)

    My plants vs. zombies freezes on Lion too. I wrote popcap about it, and they responded that they'd get to a fix when Lion is officially released. Poo. Puzzle mode, zen garden, I zombie, and a few other modes don't crash, oddly enough.

    If you start the game in window mode, you can quit it when it freezes. Otherwise you may be SOL & have to reboot. And it freezes quite predictably.

  8. spokes1124 macrumors member

    Mar 12, 2010
    Mac releasing OS X Lion this week LOL yeah right!! #epicfail
  9. Mr.C macrumors 601

    Apr 3, 2011
    London, UK.
    Mac isn't releasing Lion, Apple is. ;)
  10. *LTD* macrumors G4


    Feb 5, 2009
    No showstopper bugs so far, so it's ready.
  11. timcharper macrumors newbie

    Aug 26, 2008
    Just clean installed the latest lion. Plants vs. zombies still freezes.

Share This Page