Programming Sprite Converter

Hey guys,

so a long time ago I created a sprite converter which takes a Pokémon Showdown Importable and converts it into a BB Code image output. I thought it might be time for a thread since the URL is changing to: http://fulllifegames.com/Tools/SpriteConverter/

How to use

Go to: http://fulllifegames.com/Tools/SpriteConverter/ and put in your team.
After that select the wanted sprite mode and click on the "Convert" button.


Examples

From the following importable the following outputs can be derived:

Ninja (Greninja) @ Life Orb
Ability: Protean
EVs: 4 Atk / 252 SpA / 252 Spe
Hasty Nature
- Gunk Shot
- Dark Pulse
- Extrasensory
- Hydro Pump

Zone (Magnezone) @ Choice Scarf
Ability: Magnet Pull
EVs: 4 HP / 252 SpA / 252 Spe
Timid Nature
IVs: 0 Atk
- Thunderbolt
- Hidden Power [Fire]
- Flash Cannon
- Volt Switch

Hulu (Tapu Bulu) @ Assault Vest
Ability: Grassy Surge
EVs: 248 HP / 60 Atk / 56 SpD / 144 Spe
Adamant Nature
- Horn Leech
- Wood Hammer
- Superpower
- Zen Headbutt

Eiffel Tower (Celesteela) @ Leftovers
Ability: Beast Boost
EVs: 248 HP / 104 Def / 156 SpD
Relaxed Nature
- Leech Seed
- Protect
- Heavy Slam
- Flamethrower

Heat (Heatran) @ Leftovers
Ability: Flash Fire
EVs: 248 HP / 8 SpA / 252 Spe
Timid Nature
IVs: 0 Atk
- Magma Storm
- Earth Power
- Taunt
- Stealth Rock

Thunder (Zapdos) @ Leftovers
Ability: Pressure
EVs: 248 HP / 240 Def / 20 Spe
Bold Nature
IVs: 0 Atk
- Discharge
- Roost
- Hidden Power [Ice]
- Defog

Example 1 (xyani)




Example 2 (sprites)




Example 3 (bw)




Example 4 (bwani)




If you have any questions or suggestions, just post them here!

Source Code: https://github.com/FullLifeGames/Sprite-Converter
 
Last edited:
Looks very nice! but all (not too sure if all) gen 7 bwani comes out as this
and when I copy and paste those sprites URL in the insert image it won't come up, So is it possible you can fix this?
 
Looks very nice! but all (not too sure if all) gen 7 bwani comes out as this
and when I copy and paste those sprites URL in the insert image it won't come up, So is it possible you can fix this?
I would really want to say that I could but I can't!
See, the sprite collection for the bwani sprites http://play.pokemonshowdown.com/sprites/bwani/ does not contain animated sprites for gen 7 pokemon so for now there is no way to provide that!
 

A Cake Wearing A Hat

moist and crusty
is a Community Leaderis a Community Contributoris a Top Contributoris a Smogon Media Contributoris a Dedicated Tournament Hostis a Battle Simulator Moderatoris a Site Content Manager Alumnusis a Top Social Media Contributor Alumnus
Community Leader
Yo, this is pretty late, but I've got a few bug reports to submit regarding the sprite converter. I really appreciate this tool, and thank you so much for it. This makes forum posts WAY easier. These are all pretty minor bugs and more or less quality-of-life things, so I'll just list them as I think of them:

- When converting Kommo-o to xyani/bw:
it results in https://play.pokemonshowdown.com/sprites/xyani/kommo-o.gif / https://play.pokemonshowdown.com/sprites/bw/kommo-o.png, rather than https://play.pokemonshowdown.com/sprites/xyani/kommoo.gif / https://play.pokemonshowdown.com/sprites/bw/kommoo.png. This results in the the sprites being broken unless the hyphen is manually removed.

Similar situations to the above also apply to Zygarde-10%, Farfetch'd, and the rest of the Kommo-o family.

-When converting Rotom and Deoxys to sprites:
It results in https://www.serebii.net/pokedex-sm/icon/o.png for regular rotom, which doesn't work, and https://www.serebii.net/pokedex-sm/icon/e.png for regular deoxys, which also doesn't work. In addition, converting Rotom-Fan to sprites results in the picture for Rotom-Frost, rather than Rotom-Fan (https://www.serebii.net/pokedex-sm/icon/479f.png).

My apologies if I'm overstepping anything by making this list, and thank you for reading.
 
Yo, this is pretty late, but I've got a few bug reports to submit regarding the sprite converter. I really appreciate this tool, and thank you so much for it. This makes forum posts WAY easier. These are all pretty minor bugs and more or less quality-of-life things, so I'll just list them as I think of them:

- When converting Kommo-o to xyani/bw:
it results in https://play.pokemonshowdown.com/sprites/xyani/kommo-o.gif / https://play.pokemonshowdown.com/sprites/bw/kommo-o.png, rather than https://play.pokemonshowdown.com/sprites/xyani/kommoo.gif / https://play.pokemonshowdown.com/sprites/bw/kommoo.png. This results in the the sprites being broken unless the hyphen is manually removed.

Similar situations to the above also apply to Zygarde-10%, Farfetch'd, and the rest of the Kommo-o family.

-When converting Rotom and Deoxys to sprites:
It results in https://www.serebii.net/pokedex-sm/icon/o.png for regular rotom, which doesn't work, and https://www.serebii.net/pokedex-sm/icon/e.png for regular deoxys, which also doesn't work. In addition, converting Rotom-Fan to sprites results in the picture for Rotom-Frost, rather than Rotom-Fan (https://www.serebii.net/pokedex-sm/icon/479f.png).

My apologies if I'm overstepping anything by making this list, and thank you for reading.
Well my answer is also pretty late, but I fixed all of these issues.
I also worked on some others people kept bugging me with over the months, including:
- Primal forms
- Necrozma forms
- Oricorio

Tell me if something doesn't work so it will be added again to my backlog!
 
I'm sorry I understand the first part of putting your teams in the sprite converter and choosing what kind of sprite to make them but how do i put them in showdown do I put the BB code somewhere in showdown because I'm confused as heck.

Sorry if its a stupid question I just don't see this explained anywhere at all.
 
I'm sorry I understand the first part of putting your teams in the sprite converter and choosing what kind of sprite to make them but how do i put them in showdown do I put the BB code somewhere in showdown because I'm confused as heck.

Sorry if its a stupid question I just don't see this explained anywhere at all.
Doesn’t Showdown have sprites already?
 
Hello. First I want to thank you for this. This is indeed very helpful.
I'd like to recommend a feature: Can you add an option that just changes teams to :pokemon:? Using big sprites takes a lot of spaces when you do a massive team dump. On that note, having it be able to handle a big team dump like that to separate it into teams would be very much appreciated, doing it for every team is very tedious and prone to mistakes like I did. Currently it keeps the team name and format parts and Idk if it handles the line break. Thank you once again.
 
Hello. First I want to thank you for this. This is indeed very helpful.
I'd like to recommend a feature: Can you add an option that just changes teams to :pokemon:? Using big sprites takes a lot of spaces when you do a massive team dump. On that note, having it be able to handle a big team dump like that to separate it into teams would be very much appreciated, doing it for every team is very tedious and prone to mistakes like I did. Currently it keeps the team name and format parts and Idk if it handles the line break. Thank you once again.
(I really need to migrate this code to something sustainable).

Anyway, I implemented this, if you choose "Smogon" from the list.

It outputs this:
Code:
:Tyranitar-Mega::Victini::Landorus-Therian::Rotom-Wash::Serperior::Magearna:
:Tyranitar-Mega::Victini::Landorus-Therian::Rotom-Wash::Serperior::Magearna:

For splitting teamdumps, I fear this will only be a thing when I migrate this code to something sensible.
 
hi, idk if i'm doing something wrong or if there's something i need to do but trying to actually convert a team to sprites throws a 403 Forbidden error...
maybe there's something i'm missing but i just don't know what?
 
hi, idk if i'm doing something wrong or if there's something i need to do but trying to actually convert a team to sprites throws a 403 Forbidden error...
maybe there's something i'm missing but i just don't know what?
Do you have the teams, maybe? For me, it all still seems to work.
 

Users Who Are Viewing This Thread (Users: 1, Guests: 0)

Top