All audio is now stored as mp3/ogg, and cries now use the same filename format as sprite IDs. All cries have been updated to Gen 7, and at much higher quality and lower filesize, too. They're roughly the same size of the old ones, e.g. bulbasaur.mp3 is 8KB, same as the old bulbasaur.wav, but with much better fidelity since the source file is a 159KB wav file. Music is now also available in mp3/ogg, making it playable in the desktop client. I still mildly dislike Vorbis for being more CPU-intensive and not hardware-accelerated, but we don't seem to have any other choice for the desktop client. TODO: Feature detection for ogg support. Browsers make this ridiculously hard for some reason. The main problem is that SM2 supports MP3 a whole lot of different ways, so MP3 should still be playable even without the corresponding HTML5 support.
Pokémon Showdown Client
Navigation: Website | Server repository | Client repository | Dex repository
Introduction
This is a repository for most of the client code for Pokémon Showdown.
This is what runs play.pokemonshowdown.com.
WARNING: You probably want the Pokémon Showdown server, if you're setting up a server.
Testing
You can make and test client changes simply by opening testclient.html.
This will allow you to test changes to the client without setting up your
own login server.
You can connect to an arbitrary server by navigating to
testclient.html?~~host:port. For example, to connect to a server running
locally on port 8000, you can navigate to testclient.html?~~localhost:8000.
The following things will fail in testclient.html:
- Registering
- Changing name to a registered name other than the one you are currently logged in with (however, changing to an unregistered name will work, and you can even change back to your original registered name afterward)
Everything else can be tested, though.
Warning
This repository is not "batteries included". It does NOT include instructions to run a full Pokémon Showdown client, and we will not provide them. Please do not ask for help on this; you will be turned away.
It also doesn't include several resource files (namely, the /audio/ and
/sprites/ directories) for size reasons.
In other words, this repository is incomplete and NOT intended for people who wish to serve their own Pokémon Showdown client (you can, but it'll require you figure it out yourself). Rather, it's intended for people who wish to contribute and submit pull requests to Pokémon Showdown's client.
License
Pokémon Showdown's client is distributed under the terms of the AGPLv3.
WARNING: This is NOT the same license as Pokémon Showdown's server.