Author Topic: Modification to update Titles and Previews images on-the-fly  (Read 2527 times)

Offline fprietog

  • Member
  • ***
  • Posts: 121
  • Karma: +23/-0
  • El cerebro de la bestia
Hello,

I've done a little modification of my custom FinalBurn Neo due to my case usage.

I'd like to have in the front-end the Title and Preview images of my favorite games and, as not all of them have these images at https://github.com/finalburnneo/FBNeo-extras, or the clones shares it's parents ones that are not always accurate, or I just don't like the existent images, I'm doing it manually.

The problem... is really boring:
    - In the game title press F12 to save snapshot.
    - During game play press F12 to save another snapshot.
    - Exit FBNeo.
    - Go to /screenshots folder.
    - Rename first snapshot to leave only the game name without timestamp.
    - Move the renamed file to support/titles folder.
    - Rename second snapshot to leave only the game name without timestamp.
    - Move the renamed file to support/previews folder.
    - Repeat for every desired game.

The idea is to fill the Title and Preview image of the FBNeo front-end in an easy and quick way.

My first approach was to automate most of these steps with an external tool, something more or less easy, but as I'm a bit "perfectionist" sometimes I need to take more than one screenshot to be pleased and it complicates it's management. So discarded.

My second approach was to cut several steps from the process making unnecessary to exit FBNeo at all. It is:
    - In the game title press SHIFT+F10 to save snapshot directly to support/titles folder (overwritting if exist).
    - During gameplay press SHIFT+F11 to save snapshot directly to support/previews folder (overwritting if exist).
    - No need to exit FBNeo at all because just returning to the game list shows the Title and Preview images updated.
    - Repeat for every desired game.

Quick and easy!

So I added the to my custom FBNeo these new keys and menu options:
- SHIFT+F10: saves the screenshot in support/titles folder, named as romname.png (there is also a menu option "Save snapshot as title" in the Options menu).
- SHIFT+F11: saves the screenshot in support/previews folder, named as romname.png (there is also a menu option "Save snapshot as preview" in the Options menu).
 

NOTE: the modification is now in official FBNeo. Thank you @dink!


Thanks and best regards.
« Last Edit: May 17, 2025, 09:34:09 AM by fprietog »

Offline dink

  • Administrator
  • *****
  • Posts: 5331
  • Karma: +522/-1
  • pie? I nearly bought one!
Re: Modification to update Titles and Previews images on-the-fly
« Reply #1 on: May 17, 2025, 02:11:45 AM »
Wow, nice!
This was on my todo list several years ago, but, it got lost in the mess of time.  Of course, do make a PR :)

best regards,
- dink

Offline fprietog

  • Member
  • ***
  • Posts: 121
  • Karma: +23/-0
  • El cerebro de la bestia
Re: Modification to update Titles and Previews images on-the-fly
« Reply #2 on: May 17, 2025, 02:24:22 AM »
Hey @dink, glad you like it!

I'm going to do a PR. Change anything you see that can be improved before merging.

Thanks and best regards.

Offline geese howard

  • Member
  • ***
  • Posts: 141
  • Karma: +3/-1
Re: Modification to update Titles and Previews images on-the-fly
« Reply #3 on: May 23, 2025, 06:00:37 PM »
Thanks for this feature!

Offline fprietog

  • Member
  • ***
  • Posts: 121
  • Karma: +23/-0
  • El cerebro de la bestia
Re: Modification to update Titles and Previews images on-the-fly
« Reply #4 on: May 24, 2025, 02:26:38 AM »
Thanks for this feature!
Glad you like it!  Thk.

Offline Gab75

  • FBNeo Contributor
  • *****
  • Posts: 1735
  • Karma: +85/-0
  • Logic is the beginning of wisdom, not the end...
Re: Modification to update Titles and Previews images on-the-fly
« Reply #5 on: May 24, 2025, 02:32:15 AM »
Nice and useful new feature! Thanks! :)

Offline fprietog

  • Member
  • ***
  • Posts: 121
  • Karma: +23/-0
  • El cerebro de la bestia
Re: Modification to update Titles and Previews images on-the-fly
« Reply #6 on: May 24, 2025, 03:00:58 AM »
Nice and useful new feature! Thanks! :)
Thank you very much!