Eevee [Sun, 29 Aug 2010 07:34:21 +0000 (00:34 -0700)]
Whoops; had two item categories both called "training". #254
Eevee [Sun, 29 Aug 2010 07:32:03 +0000 (00:32 -0700)]
Griseous Orb should be in the species-specific category. #328
Eevee [Wed, 25 Aug 2010 04:35:10 +0000 (21:35 -0700)]
Fix a couple of location names: Spring Path vs Sendoff Spring, Solaceon Town, and Bell Tower. #296
Eevee [Wed, 25 Aug 2010 04:21:29 +0000 (21:21 -0700)]
Make user and code valid_types not interfere when one is language and the other is table.
Eevee [Wed, 25 Aug 2010 03:15:12 +0000 (20:15 -0700)]
Return more than just ten results for wildcard lookups. #90
Eevee [Wed, 25 Aug 2010 03:06:40 +0000 (20:06 -0700)]
Allow restricting lookup by language, with a @ja: prefix. #90
Zhorken [Tue, 24 Aug 2010 03:38:12 +0000 (23:38 -0400)]
Fix Arceus's mismatched and missing sprites. #189
Its Platinum backsprites followed the veekun database's IDs instead of
the game's internal IDs. (Our IDs are the same, except for ??? being
moved to the end.) For example, veekun lists Fire as type #10, but the
gen IV games have ??? as type #10; 493-fire.png was the sprite for ???-
type Arceus. This is why about half of them were in a loop.
Its Normal-type Platinum backsprites were outright missing, and its ???
Platinum frontsprites were copies of Dark's instead. I reripped those.
493-normal overworld sprites were missing, but its plain 493.png sprites
were its default, Normal-type form, so I copied those.
Zhorken [Mon, 23 Aug 2010 05:29:13 +0000 (01:29 -0400)]
Add Mr. Pokémon and Primo as "locations".
Primo is the dude in the Violet City Pokémon Center who used to host the
Teachy TV programs and now sits around asking passersby what they think
of him or whatever. If you tell him the right phrases for your trainer
ID, he'll give you an egg. See: http://www.filb.de/games/tools/aikotoba
Eevee [Fri, 20 Aug 2010 03:48:03 +0000 (20:48 -0700)]
Adapt the Pokémon savefile struct to the database.
Eevee [Tue, 10 Aug 2010 17:04:47 +0000 (10:04 -0700)]
Move big items from underground/ to big/, like I thought I did months ago. Oops.
Zhorken [Sat, 7 Aug 2010 02:32:11 +0000 (22:32 -0400)]
Add foreign type names to the database.
Zhorken [Fri, 6 Aug 2010 04:36:09 +0000 (00:36 -0400)]
Elaborate on Honey Gather's effect. #39
Thanks to magical for discovering this.
Zhorken [Thu, 5 Aug 2010 19:54:32 +0000 (15:54 -0400)]
Replace mp3 cries with newly-ripped ogg cries. #91
Created with oggenc, using the default quality of 3.
As with sprites, Shaymin has its default form's cry both as 492.ogg, so
that one can ignore anything that isn't ###.ogg and get a cry for every
Pokémon, and as 492-land.ogg, to avoid needing "don't append the form if
it's the default" junk.
Zhorken [Mon, 26 Jul 2010 20:00:16 +0000 (16:00 -0400)]
Fix/improve a handful of abilities' descriptions.
Eevee [Mon, 26 Jul 2010 03:25:59 +0000 (20:25 -0700)]
Added gen 4 location internal ids and some pseudo-locations.
Eevee [Sun, 11 Jul 2010 08:31:43 +0000 (01:31 -0700)]
Add identifiers for move flags.
Eevee [Sun, 11 Jul 2010 08:31:33 +0000 (01:31 -0700)]
Fix short effect for Flower Gift.
Zhorken [Wed, 14 Jul 2010 03:07:25 +0000 (23:07 -0400)]
Store each Pokémon's initial hatch counter instead of a step count.
The step counts we had weren't even good estimates. To hatch an egg
uninterrupted takes (counter + 1) * 255 steps in gen IV; what we had
was counter * 256.
Phione and Manaphy have different counters, as do Croagunk and Toxicroak
for some reason, so they're associated with individual Pokémon now,
rather than entire evolution chains. Double-checked with Pearl,
Platinum, and SoulSilver; there were no differences between the three,
aside from the alternate forms introduced in Platinum.
Eevee [Thu, 8 Jul 2010 05:29:30 +0000 (22:29 -0700)]
Added an is_shiny accessor to Pokémon structs.
Eevee [Thu, 8 Jul 2010 05:25:23 +0000 (22:25 -0700)]
Add shiny leaf and pokeathlon stat sprites.
Eevee [Sun, 4 Jul 2010 03:45:02 +0000 (20:45 -0700)]
Added ribbon sprites.
Eevee [Thu, 1 Jul 2010 06:04:39 +0000 (23:04 -0700)]
Significantly improved lookup fuzzy matching.
Eevee [Tue, 29 Jun 2010 04:58:08 +0000 (21:58 -0700)]
Fuzzy lookup results were not respecting type limits.
Zhorken [Sun, 4 Jul 2010 18:14:48 +0000 (14:14 -0400)]
Fix a few Japanese Pokémon names.
Taken from a SoulSilver text dump. No other errors.
Not so obvious: Bayleef had a hiragana "be" instead of a katakana "be".
Must have missed it when we noticed herugaa et al had hiragana "he"
instead of katakana.
Eevee [Fri, 18 Jun 2010 04:43:50 +0000 (21:43 -0700)]
Added a big old construct-based pkm parser. #183
Eevee [Sat, 5 Jun 2010 08:02:41 +0000 (01:02 -0700)]
No longer require docutils.
a_magical_me [Thu, 17 Jun 2010 20:05:38 +0000 (13:05 -0700)]
Re-rip G/S/C egg moves.
Level up, TM, and tutor moves have already been ripped, so this should
be the last.
There are no changes (from what we had before) to Crystal, and only a
few additions to Gold/Silver.
Also, just to be safe, i checked that the egg moves in Silver are the
same as in Gold.
Thanks once again to UPC--it's easier to find something when you know
what you're looking for.
Zhorken [Tue, 15 Jun 2010 03:34:23 +0000 (23:34 -0400)]
Er, those were ITEM names. Fix the Pokéblock Case's names.
Zhorken [Tue, 15 Jun 2010 03:13:42 +0000 (23:13 -0400)]
Add foreign names to the database.
Most names as ripped from HeartGold or SoulSilver. Gen-III-only names
ripped from Emerald and de-allcapsed; for French, I also judged where
accents belong on newly-lowercase letters. A couple of them might have
mistakes.
Zhorken [Tue, 8 Jun 2010 00:14:37 +0000 (20:14 -0400)]
Added foreign nature names to the database.
Same as abilities. Japanese as ripped from SoulSilver; French, German,
Italian, and Spanish as ripped from Platinum.
Zhorken [Mon, 7 Jun 2010 20:10:44 +0000 (16:10 -0400)]
Order Pokémon dex numbers by Pokédex ID.
Zhorken [Mon, 7 Jun 2010 19:35:22 +0000 (15:35 -0400)]
Give Pokémon internal IDs their own table and add all gens' IDs.
- Gen I has them all mixed around.
- Gen II has no surprises, but I figured it's good to be thorough.
- Gen III has the first 251 in order, then a big break, then the
third-gen Pokémon mixed around, though families are usually together.
- Gen IV has the 493 in order and then alternate forms after Arceus,
which will be useful to have once Gen V comes and we have to bump
the alt forms in the pokemon table forward.
Eevee [Thu, 3 Jun 2010 01:36:15 +0000 (18:36 -0700)]
Crash fix: Fixed some typos in abilities and move effects.
Zhorken [Wed, 2 Jun 2010 22:23:18 +0000 (18:23 -0400)]
Reripped Gen I-III TM/HM and Crystal tutor compatibility.
The Gen III data didn't have any errors, and I assume our Gen IV data is
much more recent and trustworthy and isn't worth checking. Crystal
tutor compatibility is stored right after HMs, so it was easy; I don't
know about any other tutors.
Eevee [Wed, 2 Jun 2010 07:26:57 +0000 (00:26 -0700)]
Form groups, rst => markdown
Eevee [Tue, 1 Jun 2010 00:06:33 +0000 (17:06 -0700)]
Use absolute_import in markdown.py, to fix import problem.
Eevee [Mon, 31 May 2010 22:13:34 +0000 (15:13 -0700)]
Scrap docutils for markdown. #275
Eevee [Thu, 27 May 2010 18:12:49 +0000 (11:12 -0700)]
Bump required SQLA to 0.6.
Eevee [Thu, 27 May 2010 04:58:18 +0000 (21:58 -0700)]
Link stats to damage classes.
Eevee [Wed, 26 May 2010 05:40:30 +0000 (22:40 -0700)]
Blindly throw some more indexes on pokemon_moves.
Zhorken [Tue, 1 Jun 2010 17:20:25 +0000 (13:20 -0400)]
Fix remakes' titles, e.g. "Fire Red" to "FireRed". #196
Like I said, it is a bit funny-lookin', but it's correct.
Zhorken [Tue, 1 Jun 2010 06:17:58 +0000 (02:17 -0400)]
Strip gamma and ICC profiles from a few sprites.
The gamma here likely represents the monitor someone was using when they
saved the sprite, and not anything useful. ICC profiles are huge.
Zhorken [Mon, 31 May 2010 21:55:57 +0000 (17:55 -0400)]
Change some hyphens to shy hyphens in flavour text.
Gen III and IV only seem to shy-hyphenate compound words; I determined
whether or not to use a shy hyphen by looking at other instances of the
word. If it's consistently not hyphenated or just hyphenated on a line
break, I figure they mean for it to be a compound word, e.g.
"kindhearted" rather than "kind-hearted".
"Supereffective" is weird, but they seem to consistently spell it as all
one word when it's an attributive adjective, only ever hyphenating it on
a line break and only spacing it as a predicative adjective. So I
counted it as a compound word in the flavour text for Filter and Solid
Rock.
Zhorken [Mon, 31 May 2010 16:49:56 +0000 (12:49 -0400)]
Fix the rendering of some suspended hyphens.
"Fire-\nand Ice-type" should be displayed "Fire- and Ice-type", but the
flavour text rendering can't tell that it's not "Fire-and". Added zero-
width spaces to invisibly separate these hyphens from the newlines,
preventing them from being interpreted as hyphenated words split over
two lines.
Zhorken [Fri, 28 May 2010 22:27:02 +0000 (18:27 -0400)]
Optimize item sprites with OptiPNG.
I only meant for this to go over the new sprites, but apparently a
bunch of them weren't optimized.
Zhorken [Fri, 28 May 2010 22:25:55 +0000 (18:25 -0400)]
Add missing item sprites.
Snagged them from Bulbapedia. I don't care enough to figure out how to
rerip them right now.
Zhorken [Thu, 27 May 2010 06:12:27 +0000 (02:12 -0400)]
Fix a few Gen III items' sprites' filenames.
Still missing:
- Rm. 1/2/4 Key (slightly different from Rm. 6 Key's icon!)
- Old Sea Chart (Emerald only)
- Magma Emblem (Emerald only)
Zhorken [Thu, 27 May 2010 05:42:33 +0000 (01:42 -0400)]
Add Gen III and DPPt item flavour text.
Zhorken [Thu, 27 May 2010 03:56:59 +0000 (23:56 -0400)]
Add Gen III items and internal IDs to the database.
Items with the same name are considered the same. So, for example,
Storage Key is all one item, even though there are multiple storage keys
named "Storage Key" across the generations. As far as I know, this only
ever affects miscellaneous keys.
The Itemfinder is considered the same item as the Dowsing MCHN. They
have the same Japanese name and do the same thing; as far as I'm
concerned, the name change is just another data change.
I wrote effects for the newly-added items very quickly. They aren't
very good. I'm leaving it up to whoever takes care of issue #247 to
write good ones.
Zhorken [Wed, 26 May 2010 19:52:23 +0000 (15:52 -0400)]
Correct the happiness evolution threshold.
Tested by messing about with Pokésav. 200 doesn't work; 219 doesn't
work; 220 works.
Zhorken [Wed, 26 May 2010 18:46:01 +0000 (14:46 -0400)]
Update the form group description column. #210
I meant to include this in the last commit. Whoops.
Rotom's description is *really long*, so I needed to bump the length up
to fit it. Also changed it to an RstTextColumn.
Zhorken [Wed, 26 May 2010 18:29:33 +0000 (14:29 -0400)]
Rewrote Pokémon form group descriptions.
They now use our modified reST to link a few things like "Gracidea",
mention HG/SS where applicable, and are much more correct in general.
I might have missed some odd thing, and there are still a couple of
stylistic issues. Rotom's description is really long, for example, and
I'm not sure what to do about that; all of it seems fairly important.
Zhorken [Tue, 25 May 2010 21:07:05 +0000 (17:07 -0400)]
Add foreign ability names to the database.
This adds Japanese, French, German, Spanish, and Italian names, as
ripped from SoulSilver (Japanese) or Platinum (everything else).
This also fixes a couple of backrefs.
a_magical_me [Sun, 25 Apr 2010 07:14:29 +0000 (00:14 -0700)]
Python 2.5 compatibility
Eevee [Tue, 25 May 2010 07:09:29 +0000 (00:09 -0700)]
Pokemon.evolution_* => Pokemon.*_pokemon
Eevee [Tue, 25 May 2010 07:00:56 +0000 (00:00 -0700)]
Fix a many-to-many join bug with evolutions.
Eevee [Tue, 25 May 2010 04:31:14 +0000 (21:31 -0700)]
Removed evolution_methods table. #42
Eevee [Tue, 25 May 2010 04:29:04 +0000 (21:29 -0700)]
Overhauled evolution. #42
Zhorken [Thu, 20 May 2010 00:55:16 +0000 (20:55 -0400)]
(Re)ripped move flavour text for Gen II-IV. #171
Gen II move flavour sometimes has shy hyphens; these, like in the
Pokémon flavour text, are represented by U+00AD SHY HYPHEN even though
the Unicode standard specifies that it be used to mark where a shy
hyphen *could* go rather than where one was placed. (Supposedly, at
least; I haven't read it for myself.)
Zhorken [Thu, 20 May 2010 00:49:48 +0000 (20:49 -0400)]
Link move flavour text to version groups. #169
Zhorken [Wed, 19 May 2010 23:10:31 +0000 (19:10 -0400)]
Fix the PBR terrain tables.
I am an idiot and pushed too soon. >:(
Also, the "In Pokémon Battle Revolution:" label is too close to the
table above it, but that's a CSS issue.
Zhorken [Wed, 19 May 2010 23:01:53 +0000 (19:01 -0400)]
Split off and labelled the PBR terrains for Secret Power and Nature Power.
Zhorken [Wed, 19 May 2010 23:01:02 +0000 (19:01 -0400)]
Fixed some stylistic issues with ability effects.
Zhorken [Wed, 19 May 2010 17:58:10 +0000 (13:58 -0400)]
Flipped Crystal animations as a temporary fix.
Zhorken [Wed, 19 May 2010 03:37:27 +0000 (23:37 -0400)]
(Re)ripped GSC sprites, sans animations. #197 #102
We now have backsprites and still-frame sprites for Crystal. I'm
considering the still-frame sprites to be the canon ones to match
Emerald; the current (backwards) animated ones have been moved to
animated/. We also now have separate backsprites for Silver even
though they're the same as Gold. Crystal's do sometimes differ.
Turns out the sprites are actually all different sizes, too; it's
just that nobody can tell in-game, since the game places them all
in the same frame. (Actually, I think it might bottom-align them
in battle and center them in the Pokédex or something; not sure.)
The backsprites are all the same size, but it's not the same size
as the ones we had before. Either way, I think it's more correct
not to pad the sprites to a uniform size, in-game display aside.
I converted my script's PPM output to PNG with OptiPNG. It seems
to have rounded the five-bit-per-channel colors to fit eight bits
per channel, which I like. (Rather than flooring or something?)
Zhorken [Tue, 11 May 2010 06:00:39 +0000 (02:00 -0400)]
Specify which Gen IV evolutions are in the HG/SS Johto dex.
Most of them aren't; they just added the move-based evolutions because
they can't really keep those away from you until the National dex.
Eevee [Fri, 14 May 2010 01:06:50 +0000 (18:06 -0700)]
Make setup.py install work with package_data.
The CSVs are now the only package data. Otherwise, setuptools would
copy every single sprite individually to the standard library directory,
which is slow and time-consuming and wasteful. If you need the sprites,
use them from the repo. :(
a_magical_me [Thu, 13 May 2010 17:33:07 +0000 (10:33 -0700)]
Factor out logic for finding the default db/index. #180
Note: `if not x:` has changed to `if x is not None:`, changing the
semantics slightly. Shouldn't be a big issue.
Eevee [Thu, 13 May 2010 06:23:05 +0000 (23:23 -0700)]
Make plumbing respect the same env vars as the CLI. #180
Eevee [Thu, 13 May 2010 06:18:02 +0000 (23:18 -0700)]
Make `pokedex status` a bit more useful. #180
Eevee [Thu, 13 May 2010 05:36:12 +0000 (22:36 -0700)]
Split PokedexLookup(recreate=True) into its own method. #216
Eevee [Wed, 12 May 2010 03:20:33 +0000 (20:20 -0700)]
Added some missing item icons and fixed TMs/Data Cards. #248
Eevee [Tue, 11 May 2010 05:39:34 +0000 (22:39 -0700)]
Photo Album icon. #248
Eevee [Tue, 11 May 2010 02:04:49 +0000 (19:04 -0700)]
s/Pokemon/Pokémon/g #45
Eevee [Mon, 10 May 2010 04:21:59 +0000 (21:21 -0700)]
Unique Pokédex names.
Eevee [Sun, 9 May 2010 05:39:06 +0000 (22:39 -0700)]
Pokemon.types should order by slot. #220
Eevee [Fri, 7 May 2010 04:19:55 +0000 (21:19 -0700)]
Fix ordering of Pokémon abilities. #257
a_magical_me [Fri, 7 May 2010 07:30:55 +0000 (00:30 -0700)]
Munge SGB colors. Add GBC colors. #245
Firstly: it was discovered (or rather, noticed) that the sprites in
Green have a greenish background (technically, first palette entry)
rather than a reddish one.
1. To properly represent this difference between Red and Green, we would
have to give Green its own directory. This is silly, considering
that the sprites are identical in every other respect.
2. The background is not something inherent to the sprites, but a tint
which pervades the different versions of the game: Red is red, Green
is green, and Yellow is yellow. (Blue is red, not blue. Don't ask
me why.)
For these reasons, the Gen I sprites have had their background changed
to white. (The red background was ugly anyway.)
Secondly: Yellow has an additional set of palettes, which it uses when
played on a Gameboy Color. Sprites colored with these palettes have
been added to media/yellow/gbc and media/yellow/back/gbc.
It was suggested that the GBC-paletted sprites should be considered the
"main" ones; the argument being that the GBC is more canon (because it
is the platform most people would have played on).
I have kept the SGB-paletted sprites as the main ones, for the following
reasons:
1. By the above argument, the *grayscale* sprites should be considered
the main ones for Red & Green & Blue, since that is how they would
appear on a Gameboy.
2. The SGB colors go better with the colors we have for Red & Green &
Blue. (They should--they were designed to.)
Eevee [Thu, 6 May 2010 05:36:04 +0000 (22:36 -0700)]
Optipnged some version icons.
Eevee [Thu, 6 May 2010 05:35:52 +0000 (22:35 -0700)]
Added R/G version icons. #212
Eevee [Thu, 6 May 2010 04:35:06 +0000 (21:35 -0700)]
Fixed small problems with D/P font.
Zhorken [Tue, 4 May 2010 06:06:49 +0000 (02:06 -0400)]
Corrected a couple of French Pokémon names.
I compared with a rip from a Mystery Dungeon game. These are the only
two that didn't match, ignoring accents on capital letters. I need to
find an official list of names that includes accents on capital
letters....
Zhorken [Tue, 4 May 2010 06:03:01 +0000 (02:03 -0400)]
Added ability flavour text. #62
We had D/P flavour text in the abilities table already, but I didn't
entirely trust it, so I reripped it along with the rest when I moved
flavour text into its own table. And we didn't actually use the D/P
text anywhere, so I'm just going to pretend that it is entirely new.
Zhorken [Tue, 4 May 2010 06:01:34 +0000 (02:01 -0400)]
Added ability effects. Rewrote short effects. #39
Zhorken [Sat, 1 May 2010 21:35:11 +0000 (17:35 -0400)]
Removed "No Ability" from abilities.
B|
Zhorken [Sat, 1 May 2010 21:33:11 +0000 (17:33 -0400)]
Added abilities' generations to the database.
Eevee [Mon, 3 May 2010 08:00:05 +0000 (01:00 -0700)]
Added GrowthRate.max_experience.
Eevee [Sun, 2 May 2010 23:07:45 +0000 (16:07 -0700)]
Restored Item.appears_underground and added location support to rst.
Eevee [Sun, 2 May 2010 22:40:54 +0000 (15:40 -0700)]
Broke existing item flags out into their own table.
Eevee [Sun, 2 May 2010 08:33:44 +0000 (01:33 -0700)]
Added item HG/SS flavor text and internal ids. #168?
Eevee [Sun, 2 May 2010 06:49:34 +0000 (23:49 -0700)]
Added some HG/SS item data. #168
a_magical_me [Sun, 2 May 2010 07:54:08 +0000 (00:54 -0700)]
Ripped Gen I Pokémon sprites. #245
The previous sprites were backwards, were too large, and had alignment
issues. (Because they were made by cropping screenshots.)
This commit replaces the old, busted sprites with sprites ripped
directly from the ROM. It also adds grayscale sprites.
Thanks to Peter O. (of UPC) and RHWiki for documenting the sprite
compression algorithm.
http://www.upokecenter.com/projects/rbgfx.c
http://www.magicstone.de/rhwiki/article/Grafikkomprimierung_PKMN_RGBY
Some notes:
- The media/jp-blue directory has been renamed to media/red-green.
- The grayscale sprites are found in the "gray" subdirectories. For
example, media/red-blue/back/gray/1.png.
- Frontsprites are 40x40, 48x48, and 56x56. Backsprites are 32x32.
The game blows backsprites up to 64x64 when it displays them. The
previous sprites were all 60x60.
- The sprite colors come from a Super Gameboy extension which allowed
Gameboy games (which are normally grayscale) to display colors.
- The Red, Blue, and Green sprites have a pinkish, off-white background
rather than a white one. This is correct. The background of the
Yellow sprites is off-white too, but not as noticable.
Eevee [Fri, 30 Apr 2010 07:22:03 +0000 (00:22 -0700)]
Lookup now respects "ability" as a lookup type.
Eevee [Wed, 28 Apr 2010 17:26:27 +0000 (10:26 -0700)]
Let lookup accept hex/octal/binary numbers.
Zhorken [Wed, 28 Apr 2010 07:59:04 +0000 (03:59 -0400)]
Merge branch 'master' of git@veekun.com:pokedex
Zhorken [Wed, 28 Apr 2010 06:52:46 +0000 (02:52 -0400)]
Reripped Gen I–III Pokémon flavour text. #46
Page breaks are represented by form feeds and soft hyphens are
represented by soft hyphens, even though the Unicode standard's idea of
a soft hyphen is different from what we mean here.
My ripping scripts are at http://github.com/Zhorken/pokemon-flavour
Zhorken [Wed, 28 Apr 2010 06:52:46 +0000 (02:52 -0400)]
Reripped Gen I–III Pokémon flavour text.
Page breaks are represented by form feeds and soft hyphens are
represented by soft hyphens, even though the Unicode standard's idea of
a soft hyphen is different from what we mean here.
My ripping scripts are at http://github.com/Zhorken/pokemon-flavour
a_magical_me [Mon, 26 Apr 2010 11:27:55 +0000 (04:27 -0700)]
Add experience tables.
Eevee [Tue, 27 Apr 2010 06:26:37 +0000 (23:26 -0700)]
Jammed in a bunch of nature stuff.
Eevee [Tue, 27 Apr 2010 04:48:44 +0000 (21:48 -0700)]
Turned Move.contest_type into a foreign key.