ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > Help and Support > "Greyed out" Load button functionality
"Greyed out" Load button functionality
  Author    Thread Reply to topic
Raziel
ScummVM Porter


Joined: 25 Oct 2005
Posts: 895
Location: A haunted Castle somewhere in the Bavarian Mountains
"Greyed out" Load button functionality 

Is there a possibility to enhance the launcher's Load button to show an information window for games (instead of switching to the save state window) that do not support restore from the launcher?

Goblins 3 comes to mind where, even if save states are avaialble, restoring them from launcher is not possible due to the game's handling of save states.
With a "greyed out" Load button one could think that something is broken or the last game session (with saves) was lost or ScummVM did something bad. (The user will only know when he/she starts the game and checks for the saves)

Wouldn't it be better to show a message instead (when clicking on "Load" in launcher) which briefly explains why restoring from the launcher (with this specific game) isn't possible?

I don't know how many games actually can't do that...from the top of my head i can only think of the Gobliiins series right now (given the fact that Gobliiins itself uses passwords for levels)

And, as a bonus, if it *is* possible for ScummVM to "see" if there a Goblins 3 save states available or not, finding none could still trigger the "greyed out" Load button to stay consistent.


Just an idea, not sure if it would be feasable...i'd gladly open a PR for it, if you want me to, just wanted to ask first to not spam the tracker

 Reply with quote  
Post Sun May 14, 2017 7:04 am 
 View user's profile Send private message Visit poster's website
sev
ScummVM Lead


Joined: 21 Sep 2005
Posts: 1935
 

We have that for a long while. It is called GUI Options, GUIO_* series of constants in the sources.

Particularly, for the functionality you describe, the GUIO_NOLAUNCHLOAD has to be used as part of the game entries for all games which do not support that.

There is one heads-up, though. GUIOs have affect only after the first launch of the game, e.g. they work as a setting which is stored in the scummvm.ini file, and that happens only after the engine was launched.


Eugene

 Reply with quote  
Post Sun May 14, 2017 8:28 am 
 View user's profile Send private message Visit poster's website
  Display posts from previous:      
Reply to topic

Forum Jump:
 



Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge