Opened 20 years ago

Closed 19 years ago

Last modified 5 years ago

#225 closed enhancement (fixed)

A Script to generate Screenshots for Emulators configured in Mythgame...

Reported by: anonymous Owned by: greg
Priority: minor Milestone: 0.20
Component: mythgame Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

This should be an addon Script for the contrib directory.

It uses the Programm scrot to generate screenshots for the Emulators defined in the New Mythgame.

Thestes with zsnes and it worked well.

Attachments (4)

emulator_screenshots.sh (2.3 KB ) - added by jochen 20 years ago.
New Version 2.0
emulator_screenshots21.sh (2.3 KB ) - added by jochen 20 years ago.
2.1 small bug fixed
emulator_screenshots30.sh (4.2 KB ) - added by jochen 20 years ago.
Version 3.0
emulator_screenshots.2.sh (4.7 KB ) - added by jochen 20 years ago.
Testversion 4.0 (deosn't work)

Download all attachments as: .zip

Change History (18)

comment:1 by Isaac Richards, 20 years ago

Owner: changed from Isaac Richards to greg

by jochen, 20 years ago

Attachment: emulator_screenshots.sh added

New Version 2.0

comment:2 by jochen, 20 years ago

Type: enhancementpatch

New Version of the Script:

Supports Parameters wich are stored in the emulator commandline in the database.

whats missing:

  • replacement of the variables in the commandline with the romname
  • using only the extensions stored in the database
  • serching through subdirectorys
  • checking if a screenshot exits

comment:3 by anonymous, 20 years ago

Type: patchenhancement

by jochen, 20 years ago

Attachment: emulator_screenshots21.sh added

2.1 small bug fixed

by jochen, 20 years ago

Attachment: emulator_screenshots30.sh added

Version 3.0

comment:4 by jochen, 20 years ago

3.0 changes:

  • extensions now supported
  • check if screenshot exits.

missing:

  • replacement of variables on the commandline
  • subdirectorys.

comment:5 by greg, 20 years ago

Status: newassigned

You could use the gamemetadata table here which contains the ROMPATH that the game was found in as well as the romname and thereby avoid having to worry about file extensions, subdirectories or loopthing through the contents of the base rompath.

by jochen, 20 years ago

Attachment: emulator_screenshots.2.sh added

Testversion 4.0 (deosn't work)

comment:6 by jochen, 20 years ago

I've updated the script to use the gamemetadata table.

now it need to be patched so that the $COMMANDLINE var is splited to cmdrun and cmdpar. If someone would work on this, i've no time...

comment:7 by danielk, 20 years ago

Milestone: 0.20
Version: head

comment:8 by jochen, 19 years ago

Resolution: fixed
Status: assignedclosed

This ticket is closed, because i've added the functionality of this script directly to mythgame...

in reply to:  8 comment:9 by ryebrye@…, 19 years ago

Replying to jochen:

This ticket is closed, because i've added the functionality of this script directly to mythgame...

Can you please explain how to access this functionality in mythgame? I have the latest svn build, but can't figure out how to make it build screenshots automatically for my several thousand roms... (yeah, you can see why an automatic generator is a feature I want!)

Ryan

comment:10 by greg, 19 years ago

The code to incorporate this directly within mythgame was never accepted into the code base and likely will not be.

There are just way too many potential issues with this and anyone wishing to do it will have to do it manually with a script (including the ones Jochen added to the system).

If you have any further comments and questions please do so on the mailling lists as the ticket system is not a help forumn :)

comment:11 by Mark Kendall <mark.kendall@…>, 5 years ago

In cc682b107d/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:12 by Mark Kendall <mark.kendall@…>, 5 years ago

In 6f9825338/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:13 by Mark Kendall <mark.kendall@…>, 5 years ago

In 55dd6a75df/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:14 by Mark Kendall <mark.kendall@…>, 5 years ago

In 2b753d95fd/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available
Note: See TracTickets for help on using tickets.