The Smogon / Pokémon Showdown! sprite repository
Go to file
Christopher Monsanto e7dfbfccb9 Add back shiny models
2020-04-13 01:42:07 -04:00
src/models Add back shiny models 2020-04-13 01:42:07 -04:00
util Add models & skeleton build 2020-04-12 23:21:02 -04:00
.gitignore Add models & skeleton build 2020-04-12 23:21:02 -04:00
README.md Add models & skeleton build 2020-04-12 23:21:02 -04:00
Tupfile.ini Add models & skeleton build 2020-04-12 23:21:02 -04:00
Tupfile.lua Add back shiny models 2020-04-13 01:42:07 -04:00

The Smogon/Pokemon-Showdown sprite repository

Installation

You will need to install the Tup build system. Instructions for Windows/Mac/Linux can be found here.

Building

Run tup.

Filename scheme

Pokemon sprite filenames are in a 1-to-1 correspondence with the Pokemon's name, for ease of processing. Filenames may be directly substituted in shell commands without escaping.

  • Characters outside [0-9a-zA-Z-.] will be escaped using _ and four hex characters, similar to JavaScript Unicode escapes. This conforms to the POSIX portable filename character set. (example: Flabébé -> Flabe_0301be_0301)

The following JS function may be useful:

function encode(s) {
    return s.replace(/[^0-9a-zA-Z-.]/g, c => '_' + c.charCodeAt(0).toString(16).padStart(4, '0'));
}
  • Formes are separated with two dashes from their base. (example: Necrozma--Dawn-Wings)

  • Cosmetic female formes are --Female instead of --F, so that you may distinguish it from Unown.