hotkey for Screenshot/screengrab?

Por animator75

Resident (38)

Imagen del animator75

07-04-2021, 14:12

Hi!
Is there a hotkey for taking a screenshot and if so is it possible to have the screenshot automatically saved with the same name as the game file (for instance "nemesis.rom --> nemesis.png)? I am trying to build an image database for my arcade setup.
Thanks.

Login sesión o register para postear comentarios

Por Manuel

Ascended (18088)

Imagen del Manuel

07-04-2021, 15:21

Try:
bind PRINT {screenshot [guess_title]}
or of course another hotkey (PRINT is the PrtScr key).

Por animator75

Resident (38)

Imagen del animator75

09-04-2021, 08:38

Excellent! Big smile
Thanks!

Por animator75

Resident (38)

Imagen del animator75

14-04-2021, 06:56

I have one more question. Smile

where does open MSX find the name of the screenshot? Sometimes the screenshot.png has the name spelled in spanish even though the name of the ROM file is in english. Does openMSX look in the file header rather than using the ROM file name?

Por Manuel

Ascended (18088)

Imagen del Manuel

14-04-2021, 07:46

It uses the name as specified in the software database. If the ROM has a hash that is not in the database, the filename is used as fallback.

Por animator75

Resident (38)

Imagen del animator75

14-04-2021, 09:15

Oh ok. Can I force it to use the filename?

Por turbor

Champion (481)

Imagen del turbor

14-04-2021, 10:05

Quote:

Oh ok. Can I force it to use the filename?

You can specify a filename instead of using the guess_title function, or you can ask for the filename of the cart in a given slot if you want

bind PRINT {screenshot -prefix [file rootname [file tail [carta]]]}

Por animator75

Resident (38)

Imagen del animator75

14-04-2021, 16:24

I have entered the line "bind q {screenshot -prefix [file rootname [file tail [carta]]]}" but that still does not save the screenshot using the ROM image name.

Por animator75

Resident (38)

Imagen del animator75

14-04-2021, 16:29

I got it working. I forgot SAVE_SETTINGS..