Closed Stalruth closed 5 years ago
uh oh I don't know how to fix this
Well actually I do have a vague idea, I need to generate them myself. I only depend on the existence of the female flag IIRC. Alternatively I can hijack the build script. Not sure how I want to approach this at the moment.
Alrighty so downloading the Client and doing a full build solves getting the files from the sim/
directory of the server, as the full build downloads and builds the server, although the js files are locates in Client_dir/data/Pokemon-Showdown/.sim-data
.
Getting the sprites is a slightly thornier issue. You could download the sprites from here (XY) and here (BW) but then you might as well download pokedex-mini.js and its BW version manually. The alternative is to change the //sprite and //furretturretsprite commands to check for the existence of female sprites, which is likely a better call.
I've been looking at //sprite for some time and the best solution is probably to download the files from https:play.pokemonshowdown.com as the structure of the commands seems to not be friendly to async functions, which is the only other way I can see this working.
Fixed by #7
There are two issues in README.md with respect to a fresh installation of the bot.
./build
) for the files needed fromsim/
to be generated.As of Zarel/Pokemon-Showdown-Client@84e76c :
This means that //sprite and //furretturretsprite won't work off a fresh install.