zzz-pokedex.git
14 years agoFixed comments in pokedex.lookup.
Eevee [Tue, 2 Feb 2010 07:50:33 +0000 (23:50 -0800)] 
Fixed comments in pokedex.lookup.

14 years agoAdded terrain icons for Rock Smash and unknown.
Eevee [Sun, 31 Jan 2010 02:12:23 +0000 (18:12 -0800)] 
Added terrain icons for Rock Smash and unknown.

Moved terrain icons into encounters/.

14 years agoRemoved leading zeroes from cries' filenames.
Zhorken [Sun, 31 Jan 2010 19:14:23 +0000 (14:14 -0500)] 
Removed leading zeroes from cries' filenames.

This makes them match the sprites etc. and fixes the cry links for
Bulbasaur through Kingler.

14 years agoMerge branch 'master' of git://veekun.com/pokedex
Zhorken [Sun, 31 Jan 2010 19:10:14 +0000 (14:10 -0500)] 
Merge branch 'master' of git://veekun.com/pokedex

14 years agoRemoved some svn cruft.
Eevee [Thu, 28 Jan 2010 09:21:28 +0000 (01:21 -0800)] 
Removed some svn cruft.

14 years agoMade regions first-class objects.
Eevee [Mon, 25 Jan 2010 04:39:33 +0000 (20:39 -0800)] 
Made regions first-class objects.

14 years agoUpdated some location/area names; collapsed Turnback Cave.
Eevee [Sun, 24 Jan 2010 10:35:34 +0000 (02:35 -0800)] 
Updated some location/area names; collapsed Turnback Cave.

This had been done before, but some of the changes were lost when I
re-ripped Diamond and Pearl.

Also, Turnback Cave has been collapsed into seven sections rather than
four.  The previous change in particular ignored that the encounter
rates for the first three areas were lower than elsewhere.  I'm
conjecturing wildly, but I believe those first three are the actual
pillar rooms, and the following four identical groups are the groups of
rooms between the pillars.

14 years agoRe-re-ripped HG/SS encounters.
Eevee [Thu, 21 Jan 2010 08:45:21 +0000 (00:45 -0800)] 
Re-re-ripped HG/SS encounters.

Turns out "fishing swarm 2" is time of day; it represents some water
Pokémon that only appear at night.

14 years agoAdded some encounter condition icons.
Eevee [Thu, 21 Jan 2010 07:57:39 +0000 (23:57 -0800)] 
Added some encounter condition icons.

14 years agoRedumped encounters for all five gen4 games.
Eevee [Sat, 2 Jan 2010 04:38:04 +0000 (20:38 -0800)] 
Redumped encounters for all five gen4 games.

14 years agoMerge branch 'master' of git://veekun.com/pokedex
Zhorken [Sun, 20 Dec 2009 21:08:47 +0000 (16:08 -0500)] 
Merge branch 'master' of git://veekun.com/pokedex

14 years agoAdded types' generations and pre-gen-IV damage classes.
Zhorken [Sun, 20 Dec 2009 06:41:40 +0000 (01:41 -0500)] 
Added types' generations and pre-gen-IV damage classes.

14 years agoAdded ???'s type efficacies to the database.
Zhorken [Sun, 20 Dec 2009 06:41:10 +0000 (01:41 -0500)] 
Added ???'s type efficacies to the database.

14 years agoFixed "Official Romaaji" -> "Official Roomaji".
Zhorken [Sun, 20 Dec 2009 06:40:03 +0000 (01:40 -0500)] 
Fixed "Official Romaaji" -> "Official Roomaji".

14 years agoAdded types' generations and pre-gen-IV damage classes.
Zhorken [Sun, 20 Dec 2009 06:41:40 +0000 (01:41 -0500)] 
Added types' generations and pre-gen-IV damage classes.

14 years agoAdded ???'s type efficacies to the database.
Zhorken [Sun, 20 Dec 2009 06:41:10 +0000 (01:41 -0500)] 
Added ???'s type efficacies to the database.

14 years agoFixed "Official Romaaji" -> "Official Roomaji".
Zhorken [Sun, 20 Dec 2009 06:40:03 +0000 (01:40 -0500)] 
Fixed "Official Romaaji" -> "Official Roomaji".

14 years agoOptimized the fuck out of `pokedex load`.
Eevee [Thu, 10 Dec 2009 02:15:51 +0000 (18:15 -0800)] 
Optimized the fuck out of `pokedex load`.

Major change was to skip the ORM entirely.  Sped it up 500%.

14 years agoRefactored encounters schema so HG/SS can work.
Eevee [Wed, 9 Dec 2009 22:35:29 +0000 (14:35 -0800)] 
Refactored encounters schema so HG/SS can work.

Conditions are now condition values; condition groups are conditions.
Types are now terrain.  Slots are first-class things.

Encounters' condition values and slots' conditions have been broken off
into their own tables, as HG/SS has several slots affected by multiple
conditions.

14 years agoAdded Emerald animations. #73
Eevee [Wed, 2 Dec 2009 00:45:08 +0000 (16:45 -0800)] 
Added Emerald animations.  #73

14 years agoReplaced cropped Pokémon sprites with HG/SS ones.
Eevee [Sun, 29 Nov 2009 06:09:33 +0000 (22:09 -0800)] 
Replaced cropped Pokémon sprites with HG/SS ones.

14 years agoAdded PokemonMove.machine relation.
Eevee [Sat, 28 Nov 2009 10:14:39 +0000 (02:14 -0800)] 
Added PokemonMove.machine relation.

14 years agoAdded ISO-3166 country codes to languages table and lookup.
Eevee [Tue, 24 Nov 2009 05:50:45 +0000 (21:50 -0800)] 
Added ISO-3166 country codes to languages table and lookup.

14 years agoAdded short_effects for no-effect moves.
Eevee [Tue, 24 Nov 2009 05:50:18 +0000 (21:50 -0800)] 
Added short_effects for no-effect moves.

14 years agoUpdated move and contest type icons to gen 4.
Eevee [Tue, 24 Nov 2009 03:49:53 +0000 (19:49 -0800)] 
Updated move and contest type icons to gen 4.

14 years agoAdded French move names.
Zhorken [Sat, 14 Nov 2009 01:05:28 +0000 (20:05 -0500)] 
Added French move names.

14 years agoRenamed ????? to ???, as the D/P text dump indicates is correct.
Eevee [Thu, 12 Nov 2009 06:11:44 +0000 (22:11 -0800)] 
Renamed ????? to ???, as the D/P text dump indicates is correct.

14 years agoRearranged move effect categories by primary key.
Eevee [Wed, 11 Nov 2009 04:06:30 +0000 (20:06 -0800)] 
Rearranged move effect categories by primary key.

14 years agoAdded HG/SS tutor moves. #109
Eevee [Wed, 11 Nov 2009 04:04:12 +0000 (20:04 -0800)] 
Added HG/SS tutor moves.  #109

14 years agoAdded move categories. #41
Eevee [Mon, 9 Nov 2009 01:00:45 +0000 (17:00 -0800)] 
Added move categories.  #41

14 years agoMinor fixes to a handful of move effects.
Eevee [Mon, 9 Nov 2009 00:58:30 +0000 (16:58 -0800)] 
Minor fixes to a handful of move effects.

14 years agoRequire docutils.
Eevee [Mon, 2 Nov 2009 04:42:13 +0000 (20:42 -0800)] 
Require docutils.

14 years ago"Unknown 71" is actually Route 47.
Eevee [Tue, 20 Oct 2009 07:50:07 +0000 (00:50 -0700)] 
"Unknown 71" is actually Route 47.

14 years agoRemoved some extraneous Pidgeotto R/B moves that snuck in somehow.
Eevee [Sun, 11 Oct 2009 22:22:38 +0000 (15:22 -0700)] 
Removed some extraneous Pidgeotto R/B moves that snuck in somehow.

14 years agoRe-re-ripped gen 4 moves to fix an error with the rip script.
Eevee [Sun, 11 Oct 2009 08:26:47 +0000 (01:26 -0700)] 
Re-re-ripped gen 4 moves to fix an error with the rip script.

14 years agoForgot to uncomment the hiragana sokuon code.
Eevee [Sun, 11 Oct 2009 07:46:45 +0000 (00:46 -0700)] 
Forgot to uncomment the hiragana sokuon code.

14 years agoPrefix lookup is now case-insensitive.
Eevee [Sun, 11 Oct 2009 07:39:52 +0000 (00:39 -0700)] 
Prefix lookup is now case-insensitive.

14 years agoReloaded Red/Blue moves. Same story, again. #31
Eevee [Sun, 4 Oct 2009 02:32:46 +0000 (19:32 -0700)] 
Reloaded Red/Blue moves.  Same story, again.  #31

14 years agoRhyhorn and Rhydon had their gen1 internal ids backwards. #31
Eevee [Sun, 4 Oct 2009 02:08:11 +0000 (19:08 -0700)] 
Rhyhorn and Rhydon had their gen1 internal ids backwards.  #31

This meant their reloaded Yellow moves were switched around.

14 years agoReloaded Yellow moves. Same story. #31
Eevee [Sun, 4 Oct 2009 01:02:43 +0000 (18:02 -0700)] 
Reloaded Yellow moves.  Same story.  #31

14 years agoReloaded Gold/Silver moves to fix level-up move order. #31
Eevee [Sat, 3 Oct 2009 05:24:29 +0000 (22:24 -0700)] 
Reloaded Gold/Silver moves to fix level-up move order.  #31

Similar sorts of fixes as with Crystal.  Good lord.

14 years agoReloaded Crystal moves to fix level-up move order. #31
Eevee [Sat, 3 Oct 2009 04:31:10 +0000 (21:31 -0700)] 
Reloaded Crystal moves to fix level-up move order.  #31

This also fixes an absolute TON of errors with evolved Pokémon learning
a move both at level 1 and the pre-evolution's level, as well as
miscellaneous other problems.

14 years agoFixed Deoxys's gen 3 form moves. #31
Eevee [Thu, 1 Oct 2009 07:28:51 +0000 (00:28 -0700)] 
Fixed Deoxys's gen 3 form moves.  #31

Only the version group a forme actually exists in now has any moves for
that forme.

In addition, Deoxys formes were not showing any gen 3 moves at all
previously, because they were marked as only existing in gen 4.  This
has been fixed.

14 years agoReloaded FR/LG moves to fix level-up move order. #31
Eevee [Wed, 30 Sep 2009 07:46:08 +0000 (00:46 -0700)] 
Reloaded FR/LG moves to fix level-up move order.  #31

14 years agoReloaded Ruby/Sapphire moves to fix level-up move order. #31
Eevee [Wed, 30 Sep 2009 07:18:10 +0000 (00:18 -0700)] 
Reloaded Ruby/Sapphire moves to fix level-up move order.  #31

14 years agoReloaded Emerald moves to fix level-up move order. #31
Eevee [Wed, 30 Sep 2009 04:38:00 +0000 (21:38 -0700)] 
Reloaded Emerald moves to fix level-up move order.  #31

14 years agoAdded hiragana support to roomaji.py. #100
Eevee [Tue, 29 Sep 2009 04:29:01 +0000 (21:29 -0700)] 
Added hiragana support to roomaji.py.  #100

14 years agoAdded a prefix_lookup() function, for suggestions.
Eevee [Tue, 29 Sep 2009 03:59:53 +0000 (20:59 -0700)] 
Added a prefix_lookup() function, for suggestions.

14 years agoAdded Pichu form description so its page actually works.
Eevee [Fri, 25 Sep 2009 05:18:03 +0000 (22:18 -0700)] 
Added Pichu form description so its page actually works.

14 years agoGave names to a bunch of HG/SS areas.
Eevee [Mon, 21 Sep 2009 06:24:49 +0000 (23:24 -0700)] 
Gave names to a bunch of HG/SS areas.

14 years agoAdded Rotom form moves for HG/SS.
Eevee [Mon, 21 Sep 2009 02:19:55 +0000 (19:19 -0700)] 
Added Rotom form moves for HG/SS.

14 years agoAdded HG/SS machines.
Eevee [Sat, 19 Sep 2009 04:45:37 +0000 (21:45 -0700)] 
Added HG/SS machines.

14 years agoFixed back sprites for Deoxys in Platinum.
Eevee [Wed, 16 Sep 2009 07:25:15 +0000 (00:25 -0700)] 
Fixed back sprites for Deoxys in Platinum.

14 years agoReorganized Deoxys gen 3 sprites to only be with the games they exist
Eevee [Wed, 16 Sep 2009 07:16:27 +0000 (00:16 -0700)] 
Reorganized Deoxys gen 3 sprites to only be with the games they exist
in.

14 years agoAdded contest combos.
Eevee [Wed, 16 Sep 2009 03:04:22 +0000 (20:04 -0700)] 
Added contest combos.

14 years agoMarked sprite forms with what version group introduced them.
Eevee [Tue, 15 Sep 2009 07:46:11 +0000 (00:46 -0700)] 
Marked sprite forms with what version group introduced them.

14 years agoAdded Gold/Silver Unown forms and dummy frame2s for D/P. #74
Eevee [Tue, 15 Sep 2009 07:10:41 +0000 (00:10 -0700)] 
Added Gold/Silver Unown forms and dummy frame2s for D/P.  #74

14 years agoAdded move flavor text.
Eevee [Tue, 15 Sep 2009 05:18:01 +0000 (22:18 -0700)] 
Added move flavor text.

14 years agoAdded super contest effects.
Eevee [Tue, 15 Sep 2009 05:07:08 +0000 (22:07 -0700)] 
Added super contest effects.

14 years agoAdded preliminary HG/SS encounter data.
Eevee [Tue, 15 Sep 2009 04:18:47 +0000 (21:18 -0700)] 
Added preliminary HG/SS encounter data.

14 years agoBalls. Last commit was only data. Here's move flag code.
Eevee [Mon, 14 Sep 2009 15:29:05 +0000 (08:29 -0700)] 
Balls.  Last commit was only data.  Here's move flag code.

14 years agoAdded move flags. Fixed Magic Coat description.
Eevee [Mon, 14 Sep 2009 06:11:52 +0000 (23:11 -0700)] 
Added move flags.  Fixed Magic Coat description.

14 years agoAdded foreign move names. Japanese only so far.
Eevee [Mon, 14 Sep 2009 04:06:15 +0000 (21:06 -0700)] 
Added foreign move names.  Japanese only so far.

Also fixed roomaji conversion to not die spectacularly when given
hiragana.  For some reason I let it know about hiragana soukuon and
youon, but nothing else, so it gets totally confused.

14 years agoFixed up setup.py. Most notably, 'install' now works.
Eevee [Mon, 14 Sep 2009 03:11:05 +0000 (20:11 -0700)] 
Fixed up setup.py.  Most notably, 'install' now works.

The package_data line was still wrong.

Also turned off zip_safe, since it's really not; pokedex setup tries to
write to the install directory!

Finally, bumped the whoosh version; the beta I required has been taken
off pypi, and the bugs in b6 seem to be gone now.

14 years agoWhen loading Pokédex data, commit every 1000 rows.
Eevee [Mon, 14 Sep 2009 03:10:20 +0000 (20:10 -0700)] 
When loading Pokédex data, commit every 1000 rows.

Mostly done to fix RAM usage issues, but seems to have increased speed slightly.

14 years agoFixed use of split() in lookup. Now strips whitespace. #94
Eevee [Mon, 14 Sep 2009 03:09:31 +0000 (20:09 -0700)] 
Fixed use of split() in lookup.  Now strips whitespace.  #94

14 years agoAdded HG/SS overworld sprites.
Eevee [Mon, 14 Sep 2009 02:26:12 +0000 (19:26 -0700)] 
Added HG/SS overworld sprites.

14 years agoRe-ripped Diamond/Pearl level-up moves.
Eevee [Sun, 13 Sep 2009 06:15:57 +0000 (23:15 -0700)] 
Re-ripped Diamond/Pearl level-up moves.

No errors in my old data, but some orders are different from Pt.

14 years agoRe-ripped Platinum moves directly.
Eevee [Sun, 13 Sep 2009 06:02:01 +0000 (23:02 -0700)] 
Re-ripped Platinum moves directly.

This gives the correct ordering to level-up moves that have the same
level.

It also fixes move errors with Wartortle, Blastoise, Persian, Golduck,
Rapidash, Kabutops, Croconaw, Feraligatr, Noctowl, Sharpedo, Piplup's
family, Shinx's family, and Yanmega.  Yikes.

14 years agoRaichuu, not Raichyuu
Eevee [Sat, 12 Sep 2009 21:49:02 +0000 (14:49 -0700)] 
Raichuu, not Raichyuu

14 years agoAdded HG/SS egg and level moves. (Thanks, Arty2)
Eevee [Fri, 11 Sep 2009 06:32:41 +0000 (23:32 -0700)] 
Added HG/SS egg and level moves.  (Thanks, Arty2)

14 years agoFixed some problems with HGSS alt sprites; frame2 were missing and some palettes...
Eevee [Fri, 11 Sep 2009 05:04:19 +0000 (22:04 -0700)] 
Fixed some problems with HGSS alt sprites; frame2 were missing and some palettes were off.

14 years agoHG/SS sprites cleanup.
Eevee [Fri, 11 Sep 2009 02:13:26 +0000 (19:13 -0700)] 
HG/SS sprites cleanup.

Added forms.

Removed blank or duplicated female sprites.

14 years agoHeart Gold and Soul Silver sprites.
Eevee [Thu, 10 Sep 2009 17:32:58 +0000 (10:32 -0700)] 
Heart Gold and Soul Silver sprites.

14 years agoClarified some move target descriptions.
Eevee [Thu, 10 Sep 2009 17:19:32 +0000 (10:19 -0700)] 
Clarified some move target descriptions.

14 years agoMade short_effect also an rST column, so effect chance works.
Eevee [Thu, 10 Sep 2009 17:19:03 +0000 (10:19 -0700)] 
Made short_effect also an rST column, so effect chance works.

Added support for types in move effects.

14 years agoAdded __singlename__ property to tables that have corresponding dex pages.
Eevee [Thu, 10 Sep 2009 17:17:59 +0000 (10:17 -0700)] 
Added __singlename__ property to tables that have corresponding dex pages.

14 years agoRewrote every single move effect. #55
Eevee [Thu, 10 Sep 2009 17:17:14 +0000 (10:17 -0700)] 
Rewrote every single move effect.  #55

14 years agosetup.py needs a list for package_data, not a string
Eevee [Thu, 3 Sep 2009 06:42:46 +0000 (23:42 -0700)] 
setup.py needs a list for package_data, not a string

14 years agoAdded D/P font as a bunch of PNGs.
Eevee [Wed, 2 Sep 2009 03:18:02 +0000 (20:18 -0700)] 
Added D/P font as a bunch of PNGs.

14 years agoAdded semi-magical reST parsing for move effects.
Eevee [Tue, 1 Sep 2009 04:37:29 +0000 (21:37 -0700)] 
Added semi-magical reST parsing for move effects.

14 years agoMoved damage classes to a separate table. #76
Eevee [Thu, 27 Aug 2009 05:30:07 +0000 (22:30 -0700)] 
Moved damage classes to a separate table.  #76

14 years agoAdded alt Shaymin/Giratina/Rotom moves for Platinum. #5
Eevee [Wed, 26 Aug 2009 06:16:17 +0000 (23:16 -0700)] 
Added alt Shaymin/Giratina/Rotom moves for Platinum.  #5

14 years agoFix crash when stdin has no encoding.
Eevee [Tue, 25 Aug 2009 15:07:54 +0000 (08:07 -0700)] 
Fix crash when stdin has no encoding.

14 years agoAdded random lookup. #57
Eevee [Tue, 25 Aug 2009 05:59:39 +0000 (22:59 -0700)] 
Added random lookup.  #57

14 years agoWildcard lookup! #89
Eevee [Tue, 25 Aug 2009 05:04:55 +0000 (22:04 -0700)] 
Wildcard lookup!  #89

Test suite no longer reloads the entire database.  Takes too long.

Factored out some magic numbers in lookup().

14 years agoSome minor lookup refactoring.
Eevee [Tue, 25 Aug 2009 04:50:19 +0000 (21:50 -0700)] 
Some minor lookup refactoring.

Wrote a little add() function to clean up the duplication of
add_document().

Delete the index directory if it exists and we're being forced to
recreate it.

14 years agoRevert "Renamed de-accented item names in the db."
Eevee [Tue, 25 Aug 2009 04:27:21 +0000 (21:27 -0700)] 
Revert "Renamed de-accented item names in the db."

Somehow that worked..  backwards, and removed the accents.

This reverts commit 204a43b3b15946a64b971966706fba713065b7ea.

14 years agoFilled in missing Pokédex flavor text, even when duplicated.
Eevee [Mon, 24 Aug 2009 07:22:15 +0000 (00:22 -0700)] 
Filled in missing Pokédex flavor text, even when duplicated.

14 years agoRemoved +x from Crystal sprites.
Eevee [Mon, 24 Aug 2009 07:00:40 +0000 (00:00 -0700)] 
Removed +x from Crystal sprites.

14 years agoRenamed de-accented item names in the db.
Eevee [Mon, 24 Aug 2009 05:07:28 +0000 (22:07 -0700)] 
Renamed de-accented item names in the db.

14 years agoAdded whoosh and sqlite files to .gitignore.
Eevee [Mon, 24 Aug 2009 03:46:21 +0000 (20:46 -0700)] 
Added whoosh and sqlite files to .gitignore.

14 years agoAdded lookup tests. #15
Eevee [Mon, 24 Aug 2009 03:43:39 +0000 (20:43 -0700)] 
Added lookup tests.  #15

14 years agoRestored accents on Poke * items.
Eevee [Mon, 24 Aug 2009 02:18:17 +0000 (19:18 -0700)] 
Restored accents on Poke * items.

14 years agoAdded support for type: prefix and forme lookup. #15
Eevee [Sun, 23 Aug 2009 23:27:13 +0000 (16:27 -0700)] 
Added support for type: prefix and forme lookup.  #15

14 years agoFix whoosh version so Nidoran search works.
Eevee [Sun, 23 Aug 2009 04:50:33 +0000 (21:50 -0700)] 
Fix whoosh version so Nidoran search works.

14 years agoReturn correctly-cased foreign names from lookup. #15
Eevee [Sun, 23 Aug 2009 03:49:07 +0000 (20:49 -0700)] 
Return correctly-cased foreign names from lookup.  #15

14 years agoFinally weight lookup results by language. #15
Eevee [Sun, 23 Aug 2009 02:44:57 +0000 (19:44 -0700)] 
Finally weight lookup results by language.  #15

14 years agoFlesh out lookup by number. #15
Eevee [Sun, 23 Aug 2009 01:56:02 +0000 (18:56 -0700)] 
Flesh out lookup by number.  #15

Note that, unlike SVN veekun, entering "133" will return ANYTHING with an id of 133.

14 years agoAdded support for lookup by other language name. #15
Eevee [Sat, 22 Aug 2009 08:13:34 +0000 (01:13 -0700)] 
Added support for lookup by other language name.  #15

English fuzzy matches are preferred, followed by Roomaji and then
everything else.

The return tuple from lookup() now has a `name` parameter for the actual
name that was matched.