Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Savegame Screenshot?



  • Hi all,

    i believe the idea is not new, but why not adding a screenshot of a savegame automatically to the detail view of a game?

    As far as I have seen on https://github.com/retropie/retropie-setup/wiki/Take-and-Scrape-Your-Own-Screenshots it is possible to assign a joypad hotkey for taking a screenshot. Therefore I wanted to ask if following concept is possible:

    • Assign input_screenshot_btn for retroarch to the same hotkey as it is for saving
    • On runcommand-onend move the screenshot to the gamelist folder and replace it in the gamelist db?
    • Maybe such a screenshot could be displayed in the theme on another position?

    I know that there may be several slots for savegames, but as a starting point it would be nice to have at least the latest one available as screenshot.

    I have also seen https://github.com/retropie/retropie-setup/wiki/Take-and-Scrape-Your-Own-Screenshots#method-2 which only works if the save metadata option is disabled.

    So, thinking about my concept:

    • Is it possible to assign 1 button to multiple retroarch functions?
    • Is there a way to replace the image without deactivating the "save metadata" option on shell level?


  • @daeks said in Savegame Screenshot?:

    Is it possible to assign 1 button to multiple retroarch functions?

    Is it that hard to change your own configs and try to see if it works? :-) Yes, you can assign multiple functions to the same button (but you can't assign a function to be triggered by different buttons).

    You can set input_save_state_btn and input_screenshot_btn to the same button and then use the method 2 you mentioned.

    • Maybe such a screenshot could be displayed in the theme on another position?

    There's no way to achieve it (let's not be so drastic. If you know how to code in C++, you can try to make emulationstation do what you want. The source code is available.).

    • Is there a way to replace the image without deactivating the "save metadata" option on shell level?

    No. Emulationstation reads the gamelist.xml files and stores them in RAM. If "save metadata on exit" is enable, when finishing emulationstation it gets those files from RAM, updates the metadata and saves them to disc (SD card). Any change made in those gamelist.xml between the beginning and the end of emulationstation will be overwritten.


  • administrators

    @daeks anything is possible of course with Linux ;) it's worth a try anyways. I always liked the screenshot of where I last left off on games like pajama sam



  • Hummm actually this deserves a little extra thought.....I have mine setup to show the box art at launch.
    I believe this is handled by the runscript which is not emulationstation.
    Perhaps with some minor modification it would show the last game savestate at launch....would be a small but cool feature and totally doable by my initial thinking.



  • @Shakz I don't know how to launch RetroArch loading a specific saved state file. This feature is a must-have to start making it doable.


Log in to reply
 

Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.