Changes must be made to the following resources for a given CAP to be implemented:
When sharing code/assets with a Showdown! developer:
Resource | What it does | Examples of code | Who should receive this data |
---|---|---|---|
Pokemon Showdown server repo |
|
| Marty/dhelmise If unavailable, please ask in the Smogon Development Discord server for help. |
Pokemon Showdown client repo |
|
| In order of preference: Marty/dhelmise, chaos, Zarel |
Smogon sprites database repo |
There is post-processing done on the sprites in order to upload to this repo; trimming (preserving displacement from center for static sprites), optimizing with the image tools in the repo, and renaming to the expected stable id with any appropriate suffixes found in the README. | In order of preference: Marty, chaos | |
Pokemon Showdown sprites directory |
ani/ directory structure outlined here --> | You generally want to update the following: Gen VI renders (any reasonable size, trimmed) (optional for a v1.0):
| Submit sprites with the proper folder/file names in a ZIP to:
Marty, chaos, Zarel |
Pokemon Showdown audio directory |
| You generally want to update the following directories:
| Submit audio with the proper file name to:
Marty, chaos, Zarel |
When sharing code/assets with a Showdown! developer:
- Share the data in the same file format as the above commits/directory layout.
- Share the data at least 3 days before they need to be used. This gives us time to check that the implementation is correct and avoids time crunches.
- 7 days before the inaugural battle, invite the PS! dev to the #cap-staff private channel on the CAP Discord server.
- 5 days before the inaugural battle, have the required PS! data prepared in the formats listed above and review it.
- 3 days before the inaugural battle, send the PS! data to the dev.
CAP implementation details
Data
Sprites
At minimum PS requires front and back, Shiny and non-Shiny Gen 5-style sprites to display in battles. These should be submitted as separate 96x96 PNG files. Ideally they are actually a winning submission and not the minisprite blown up to fit 96x96 and flipped horizontally for the back sprite. Browser caches are annoyingly persistent and users will still be seeing whatever is uploaded first, sometimes months later.
The minisprite should be submitted as a 40x30 PNG. It is then committed to the Smogon sprites repository (trimmed while preserving the actual sprite's displacement from center), which generates the sprite sheet for PS and is used to add :pokemonname: functionality to the forums.
For sprites that are created later, such as models and dex sprites, they should be submitted as a zip with the same directory structure that PS uses, where each filename is just the Pokemon's name in lowercase.
Cries
An MP3 file, preferably no larger than 26 KB.
Data
- name
- types
- gender ratio
- male only
- M: 0.875, F: 0.125
- M: 0.75, F: 0.25
- leave this field blank for 50/50
- M: 0.25, F: 0.75
- M: 0.125, F: 0.875
- female only
- genderless
- base stats: listed as HP / Attack / Defense / Sp. Atk / Sp. Def / Speed
- Abilities: listed as slot 1 / [slot 2] / [Hidden]
- height (m)
- weight (kg)
- height and weight can go to one decimal place
- dex color
- Red
- Blue
- Yellow
- Green
- Black
- Brown
- Purple
- Gray
- White
- Pink
- egg groups
- # of prevos (must not be changed after this CAP is implemented)
Sprites
At minimum PS requires front and back, Shiny and non-Shiny Gen 5-style sprites to display in battles. These should be submitted as separate 96x96 PNG files. Ideally they are actually a winning submission and not the minisprite blown up to fit 96x96 and flipped horizontally for the back sprite. Browser caches are annoyingly persistent and users will still be seeing whatever is uploaded first, sometimes months later.
The minisprite should be submitted as a 40x30 PNG. It is then committed to the Smogon sprites repository (trimmed while preserving the actual sprite's displacement from center), which generates the sprite sheet for PS and is used to add :pokemonname: functionality to the forums.
For sprites that are created later, such as models and dex sprites, they should be submitted as a zip with the same directory structure that PS uses, where each filename is just the Pokemon's name in lowercase.
Cries
An MP3 file, preferably no larger than 26 KB.