Giter Site home page Giter Site logo

ducrp / libretro-thumbnails Goto Github PK

View Code? Open in Web Editor NEW

This project forked from libretro-thumbnails/libretro-thumbnails

0.0 0.0 0.0 943 KB

Thumbnails for RetroArch

Home Page: https://github.com/libretro-thumbnails/libretro-thumbnails#libretro-thumbnails

Makefile 86.04% Shell 13.96%

libretro-thumbnails's Introduction

libretro-thumbnails

Thumbnails for RetroArch, split into individual repositories to ease maintenance.

Install

Check out the repository, with all submodules, into RetroArch's thumbnails directory:

cd ~/.config/retroarch
git clone --recursive --depth=1 http://github.com/libretro-thumbnails/libretro-thumbnails.git thumbnails

Update

To bring in the latest thumbnails across all systems, use:

git pull --recurse-submodules
git submodule update --remote --recursive

Or by using the script which will maintain shallow clones (depth=1) and checkout master:

sh update_modules.sh

Usage

  • Thumbnails are installed into RetroArch config's thumbnails directory
  • There are three types of thumbnails:
    • Named_Snaps are in game snapshots
    • Named_Titles are title screen snapshots
    • Named_Boxarts are the boxes or covers for games
  • Thumbnails follow the following naming convention:
    thumbnails/Playlist Name/Named Type/Game Name.png
    
  • The following characters in playlist titles must be replaced with _ in the corresponding thumbnail filename:
    &*/:`<>?\|"
    
  • Images must be .png format
  • Image resolution guidelines:
    • Images with native width larger than 512px should be scaled down to 512px wide
    • Images with native width of 512px or less should be added as-is
  • Substitute promotional material is acceptable when no official boxart is available
  • Use libretro-thumbnails-check to check for missing thumbnails

Testing

To check for files with invalid file names, use the following command....

find . -name '*[&\*:`<>?\\|"*]*'

This can be put in a .travis.yml file to enable automated testing.

language: bash
script:
    - find Named* -name '*[&\*:`<>?\\|"*]*' | grep "." && echo "The above are invalid filenames" && return 1 || echo "No invalid files found"
notifications:
  email: false

Thumbnail Server

The libretro-thumbnail server provides two functions...

.index Files

The .index files allow RetroArch to list the files available in the given directory. To build the .index files, run the following command...

make index

Packs

Thumbnail packs can be generated to create a zip of all thumbnails across each system. To build the thumbnail packs, run the following command...

PACKSDIR=../packs make packs

Change PACKSDIR to change which you would like the thumbnail packs to be built.

Credits

The art provided has many different sources. Thank you to many of the contributors and sites who have made this possible...

libretro-thumbnails's People

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.