Giter Club home page Giter Club logo

libretro-thumbnails's Introduction

MOVED

libretro-thumbnails has moved over to https://github.com/libretro-thumbnails/libretro-thumbnails .

libretro-thumbnails

The RetroArch XMB menu can display thumbnails for any game in a playlist.

Screenshot

Thumbnail repository layout

  1. The thumbnails are installed into the RetroArch config's thumbnails directory

  2. There are three types of thumbnails:

    • Named_Snaps In game snapshots
    • Named_Titles Title screen snapshots
    • Named_Boxarts Boxart
  3. Thumbnail files need to follow this naming convention:

    thumbnails/Playlist_Name/Named_Type/Game_Name.png
    
  4. The following characters in playlist titles must be replaced with _ in the corresponding thumbnail filename:

    &*/:`<>?\|
    

Thumbnail submission guidelines

  1. Images must be PNG
  2. Images submitted to this repository should not be greater than 512px wide. Images with native widths greater than this should be scaled down to 512px wide before submission.
  3. When official boxart is not available for a system, as for example with arcade ROMs, it is acceptable to substitute promotional flyers. Boxart for unlicensced and prototype titles is welcome, but in no case should fan-made or mockup boxart be submitted.
  4. Use RobLoach/libretro-thumbnails-check to check for missing thumbnails and/or orphaned files.

Thumbnail scraper tool

These example commands can be modified to scrape thumbnail images for other systems or in other source formats.

./tgdb.pl retroarch/media/libretrodb/dat/Nintendo\ -\ Super\ Nintendo\ Entertainment\ System.dat  
mogrify -format png -resize 512x Nintendo\ -\ Super\ Nintendo\ Entertainment\ System/Named_Boxarts/*.jpg
rm Nintendo\ -\ Super\ Nintendo\ Entertainment\ System/Named_Boxarts/*.jpg

Explanation:

  1. Retrieve the RetroArch database records for the Nintendo - Super Nintento Entertainment System
  2. Use the ImageMagick mogrify tool to convert a batch of jpg thumbnails to png format at the correct maximum width
  3. Remove the source jpg files (this third line can be removed if scraping files already in PNG format)

libretro-thumbnails's People

Contributors

inactive123 avatar robloach avatar xtmodx avatar kivutar avatar axiphel avatar lollo78 avatar kwyxz avatar davmanypsp avatar sergiobenrocha2 avatar cityeyes avatar markwkidd avatar lasers avatar taoplyply avatar budtske avatar montylfp avatar barbudreadmon avatar leiradel avatar romatthe avatar retroup avatar alegag avatar theoligopolist avatar kade-robertson avatar tcamargo avatar alcaro avatar garcia1987 avatar jsmadja avatar losernator avatar rsk8 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.