Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit 545881893ddacb03d62475b0a91b091713bd4c8e @TheGurke committed Sep 20, 2011
Showing with 11,427 additions and 0 deletions.
  1. +5 −0 .gitignore
  2. +1 −0 AUTHORS
  3. +676 −0 COPYING
  4. 0 ChangeLog
  5. +157 −0 README
  6. +1,281 −0 client.glade
  7. +14 −0 clientRoadmap.txt
  8. +2,632 −0 deckeditor.glade
  9. +29 −0 default_decks/preconstructed/7th Edition/Armada.deck
  10. +32 −0 default_decks/preconstructed/7th Edition/Bomber.deck
  11. +33 −0 default_decks/preconstructed/7th Edition/Decay.deck
  12. +28 −0 default_decks/preconstructed/7th Edition/Infestation.deck
  13. +30 −0 default_decks/preconstructed/7th Edition/Way Wild.deck
  14. +35 −0 default_decks/preconstructed/Betrayers of Kamigawa/Dark Devotion.deck
  15. +31 −0 default_decks/preconstructed/Betrayers of Kamigawa/Ninjutsu.deck
  16. +32 −0 default_decks/preconstructed/Betrayers of Kamigawa/Rat's Nest.deck
  17. +35 −0 default_decks/preconstructed/Betrayers of Kamigawa/Spiritcraft.deck
  18. +34 −0 default_decks/preconstructed/Champions of Kamigawa/Kami Reborn.deck
  19. +29 −0 default_decks/preconstructed/Champions of Kamigawa/Snake's Path.deck
  20. +26 −0 default_decks/preconstructed/Champions of Kamigawa/Spiritbane.deck
  21. +28 −0 default_decks/preconstructed/Champions of Kamigawa/Way of the Warrior.deck
  22. +38 −0 default_decks/preconstructed/Invasion/Blowout.deck
  23. +43 −0 default_decks/preconstructed/Invasion/Dismissal.deck
  24. +37 −0 default_decks/preconstructed/Invasion/Heavy Duty.deck
  25. +38 −0 default_decks/preconstructed/Invasion/Spectrum.deck
  26. +28 −0 default_decks/preconstructed/New Phyrexia/Artful Destruction.deck
  27. +27 −0 default_decks/preconstructed/New Phyrexia/Devouring Skies.deck
  28. +29 −0 default_decks/preconstructed/New Phyrexia/Feast of Flesh.deck
  29. +29 −0 default_decks/preconstructed/New Phyrexia/Life for Death.deck
  30. +29 −0 default_decks/preconstructed/New Phyrexia/Ravaging Swarm.deck
  31. +36 −0 default_decks/preconstructed/Saviors of Kamigawa/Critical Mass.deck
  32. +37 −0 default_decks/preconstructed/Saviors of Kamigawa/Soratami's Wisdom.deck
  33. +35 −0 default_decks/preconstructed/Saviors of Kamigawa/Spirit Flames.deck
  34. +36 −0 default_decks/preconstructed/Saviors of Kamigawa/Truth Seekers.deck
  35. +31 −0 default_decks/preconstructed/Urza's Legacy/Crusher.deck
  36. +31 −0 default_decks/preconstructed/Zendikar/Kor Armory.deck
  37. +33 −0 default_decks/preconstructed/Zendikar/Pumped Up.deck
  38. +30 −0 default_decks/preconstructed/Zendikar/Rise of the Vampires.deck
  39. +33 −0 default_decks/preconstructed/Zendikar/The Adventurers.deck
  40. +34 −0 default_decks/preconstructed/Zendikar/Unstable Terrain.deck
  41. +122 −0 downloadlist.txt
  42. BIN media/deckmaster.png
  43. +85 −0 media/deckmaster.svg
  44. BIN media/hand.png
  45. +106 −0 media/hand.svg
  46. BIN media/land.png
  47. BIN media/life.png
  48. +104 −0 media/life.svg
  49. BIN media/mana_black.png
  50. BIN media/mana_blue.png
  51. BIN media/mana_green.png
  52. BIN media/mana_red.png
  53. BIN media/mana_white.png
  54. +48 −0 progenitus.py
  55. +2 −0 progenitus/__init__.py
  56. +156 −0 progenitus/async.py
  57. +2 −0 progenitus/client/__init__.py
  58. +7 −0 progenitus/client/cardbrowse.py
  59. +816 −0 progenitus/client/desktop.py
  60. +571 −0 progenitus/client/gui.py
  61. +71 −0 progenitus/client/muc.py
  62. +251 −0 progenitus/client/network.py
  63. +451 −0 progenitus/client/players.py
  64. +51 −0 progenitus/config.py
  65. +2 −0 progenitus/db/__init__.py
  66. +175 −0 progenitus/db/cards.py
  67. +112 −0 progenitus/db/miner.py
  68. +92 −0 progenitus/db/pics.py
  69. +2 −0 progenitus/editor/__init__.py
  70. +193 −0 progenitus/editor/decks.py
  71. +964 −0 progenitus/editor/gui.py
  72. 0 progenitus/editor/importfilter/__init__.py
  73. +1 −0 progenitus/editor/importfilter/octgn.py
  74. +96 −0 progenitus/editor/importfilter/octgnconvert (old).py
  75. +87 −0 progenitus/editor/importfilter/octgnconvert.py
  76. +1 −0 progenitus/editor/importfilter/octgnids.txt
  77. +12 −0 progenitus/lang.py
  78. +86 −0 progenitus/settings.py
  79. +110 −0 progenitus/uiloader.py
  80. +2 −0 progenitus/updater/__init__.py
  81. +151 −0 progenitus/updater/gui.py
  82. BIN stuff/Artifact.png
  83. BIN stuff/Creature.png
  84. BIN stuff/Enchantment.png
  85. BIN stuff/Instant.png
  86. BIN stuff/Land.png
  87. BIN stuff/Planeswalker.png
  88. BIN stuff/Sorcery.png
  89. +113 −0 stuff/cardview.py
  90. +290 −0 stuff/convert
  91. BIN stuff/mana_black.png
  92. BIN stuff/mana_blue.png
  93. BIN stuff/mana_green.png
  94. BIN stuff/mana_red.png
  95. BIN stuff/mana_white.png
  96. +250 −0 updater.glade
  97. +43 −0 win32compile.py
@@ -0,0 +1,5 @@
+*.pyc
+*~
+mtg.sqlite
+build
+dist
@@ -0,0 +1 @@
+TheGurke
676 COPYING

Large diffs are not rendered by default.

Oops, something went wrong.
No changes.
157 README
@@ -0,0 +1,157 @@
+Copyright (C) 2011 by TheGurke
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+Disclaimer:
+
+Using copyrighted material with this program might be illegal in your country of
+residence. Please note that I, the author of this program, cannot be held
+responsible for anything that you choose to do with it.
+
+
+
+Requirements:
+- Python 2.6 or 2.7
+- GTK 2.18 or higher
+- pygtk
+- pyxmpp
+
+There is a settings.cfg file where the user's settings are stored.
+
+
+------------
+[Downloader]
+------------
+
+This is a small program for downloading and updating the magic set data and
+card pictures. Please read the disclaimer carefully before using it.
+
+Known issues:
+- For every card the connection is reestablished.
+- Crashes on download completion
+
+Planned features:
+- Generate downloadlist automatically
+- Download tokens
+
+
+
+------------
+[Deckeditor]
+------------
+
+The deck editor is used to construct your own magic decks.
+
+Press 'insert' to insert a card to the deck, 'shift + insert' inserts into the
+sideboard.
+'space' toggles between deck and sideboard
+'delete' removes a card from the deck
+'ctrl + f' focuses the quicksearch entry
+'ctrl + q' shows the extended search
+'ctrl + shift + c' clears the extended search
+'ctrl + n' creates a new deck
+'ctrl + s' exports the current deck
+'ctrl + e' edits the current deck's description and author
+'f11' toggles fullscreen
+
+Known issues:
+- No possibility to create, rename or remove folders
+- No possibility to move deck within folders
+- Cannot click on the sideboard checkbuttons
+- Cannot use power/thoughness based search since they are text fields in the db
+- Searching for colors and lands at the same time is broken
+- "No results" in the extended search is not visible enough
+- Show expansion breaks when window is closed once
+
+Planned features:
+- List deck price
+- force only one instance
+- export as pdf (proxies)
+- export as html (pretty decklist)
+- card legality
+- Deck statistics overview: mana curve, color/land distribution, example hand
+- Auto-completion for types and card sets, maybe titles and artists
+- Drag 'n' drop for decks into folders
+- Deck list import/export for Magic Online, OCTGN2, OCTGN1, Apprentice formats
+- Deck cache
+- Mana cost as symbols
+- Card sets as symbols
+- Search icon for find lands: a mountain in the magnification glass
+
+Bugs:
+- can rename to an already used name
+- renaming fails sometimes
+- Sorting by mana cost does not cluster colors where converted costs are the
+ same
+- New deck doesn't remove the color symbols
+- moving the center bar to the right while in extended search causes graphic
+ bugs
+
+
+
+--------
+[Client]
+--------
+
+The client program is used to connect with other player over the internet and
+play magic games together.
+The underlying protocol used is Jabber/XMPP. This is the reason why you need a
+jabber account in order to play. There are many free jabber servers on the net,
+for example http://www.jabber.org/.
+Unlike most other programs of this kind there is no limit how many player can
+join in one game.
+
+The client has 3 hidden commands:
+/life set the life points
+/nick changes the user's nick
+/draw draws a number of cards
+
+'f11' toggles fullscreen
+
+Known bugs:
+- sometimes cards glitch into play while still being in the hand. this is not
+ seen across the network (has no itemid). Appearantly this is caused by fast
+ double clicking and then dragging (removed -> card is still changed)
+- mouse is not exactly on the card when dragging a card to play
+- tray layout is kinda broken
+- when just missing a card that is meant to be tapped, everything gets untapped.
+ This should be prevented by checking if there is an owned card around.
+- Enlarged card flicker when the mouse is near the center of the screen
+- If a card is flipped, the enlarged picture is not
+- can alter other player's cards on the battlefield
+- cannot roll dice of flip coins
+- the second card searched from the library is wrong
+- fetch card from removed produces error messages
+- user list is not updated
+- log does not always scroll down
+- moving the tray while the deck loads causes the tray to vanish
+
+Desired features:
+- save login details
+- move cards from/to the graveyard by drag and drop
+- play cards face down
+- set nick
+- search for cards automatically (basic lands...)
+- tokens
+- counters
+- pretty card browser
+- comprehensive match logger with colored output
+- console commands
+- undo untap all
+- optimize ram usage (+ ram saving mode)
+- Save games
+- Replay games
+
+
Oops, something went wrong.

0 comments on commit 5458818

Please sign in to comment.