Commit Graph

146 Commits

Author SHA1 Message Date
Bill Zorn a250e562c9 changed headings to be smaller 2015-08-15 13:51:44 -07:00
Bill Zorn ed50a8f0cc added dependencies file to explain how to make everything work 2015-08-15 13:49:36 -07:00
Bill Zorn 5fbd2dca8e Improved MSE support; lots of cool stuff goes into notes, and bsides work.
Also changed the phrasing of uncast a bit to be clearer for unpasses.
2015-08-14 23:40:47 -07:00
Bill Zorn 77835f9f08 Merge branch 'PAK90-master' 2015-08-11 00:16:19 -07:00
Bill Zorn 438bc86be9 Integration and unbreaking of MSE support changes.
There are still several major issues -
      MSE cards look decent, but there is virtually no text prettification.
      Split cards (bsides) are not supported at all.
      There is no abuse of the notes field to dump additional data yet.
2015-08-11 00:13:31 -07:00
PAK90 cda98f6209 Fixed Planeswalker loyalty costs. 2015-08-08 21:36:05 -06:00
PAK90 29e604cddf Nearly finished planeswalkers, fixed lands, added titlecase for capitalization, fixed choices.
Removed snow mana from land mana cost.
Planeswalkers almost done; need to handle those with loyalty costs above
9.
titlecase.py provides much better capitalization for names and
rulestext.
Choices now have dash and bullet points.
2015-08-08 21:19:00 -06:00
PAK90 1bc3c724a1 Added MSE2 export feature. 2015-08-08 15:03:37 -06:00
Bill Zorn 70bec99138 added support for checking cardnames 2015-08-01 22:16:30 -07:00
Bill Zorn 758f48b790 updated to new mtgjson version and added legacy support for formats
without a rarity field
2015-08-01 13:26:03 -07:00
Bill Zorn f0e631e015 added rarity to the default fields 2015-08-01 02:26:34 -07:00
Bill Zorn 0ec41d60a6 added MIT license 2015-07-29 01:21:52 -07:00
Bill Zorn 49e386ac4f various improvements, added cbow 2015-07-29 01:21:34 -07:00
Bill Zorn 08dc3944f8 made decoding better 2015-07-23 01:04:40 -07:00
Bill Zorn c5231ac947 fixed a few little things 2015-07-17 01:48:12 -07:00
Bill Zorn 747614e355 Added decode script with two supported formats.
Other misc fixes as well, we get all of the choice cards right in the encoding.
2015-07-17 01:13:58 -07:00
Bill Zorn 2a0e014c41 Changed things to use the python module system better and have argparse.
Encode now supports multiple formats, still working on decoding them nicely.
2015-07-15 23:40:15 -07:00
Bill Zorn 40fc695826 Card now has flexible input from encoded formats. Data mining code updated.
Unfortunately, python does not do import in a nice way without using the
full bore module system, I'll deal with that another day.
2015-07-14 23:27:21 -07:00
Bill Zorn 31877972c2 now we actually sort before pseudo-randomizing so we don't depend on dict order 2015-07-14 20:40:56 -07:00
Bill Zorn 1a4965fd83 EVERYTHING HAS CHANGED
Added lib and script subdirs to organize things; the biggest change is that now
we have a really powerful Card class that can handle all of the decoding and
encoding for us. encode.py has been written to take advantage of this, other
things have not yet. Coming soon! As a side note the changes to output.txt
are purely cosemtic, though the order should be stable now.
2015-07-14 00:07:25 -07:00
Bill Zorn cbf8ac34e5 Datamining code is in a working state, randomize_mana.py is a good demo
of a really specific feature. Other improvements; changing the keys used
during json decode reordered everything in output.txt, but there shouldn't
be any other major changes.
2015-07-08 00:22:54 -07:00
Bill Zorn 01c78549f5 made things better, probably usable, definitely not final 2015-07-07 02:26:09 -07:00
Bill Zorn 7db63b9b56 actually finished the symbols code in utils, probably decoding works 2015-07-06 23:03:33 -07:00
Bill Zorn 0257d352dd mostly reordings because mtgjson updated, will-o'-the-wisp seems to be new 2015-07-06 22:41:52 -07:00
Bill Zorn 8298788b73 here's the updated output file with many mana encoding errors fixed 2015-07-06 22:27:41 -07:00
Bill Zorn db0b9a9f9a split most of the code from config into utils, encode now uses utils as a lib
fixed MANY MANY ERRORS in the original output file by using this superior code
2015-07-06 22:26:25 -07:00
Bill Zorn 110ac8473c added base config file, it should work but it isn't used yet.
otherwise things are back to normal. minor output updates, removed conspiracies
2015-07-06 00:15:12 -07:00
Bill Zorn eef2e70e28 the encoding now makes 2 manacosts, one before and one after the text!
there are some other (temporary) changes too, things are a mess.
let's worry about that later.
2015-07-05 00:59:02 -07:00
Bill Zorn b4f8d26a20 updated readme 2015-07-04 02:50:40 -07:00
Bill Zorn 336ac2701c significantly enhanced datamining code, maybe it even does something 2015-07-04 02:39:41 -07:00
billzorn 3223618873 added datamining code, it doesn't do anything yet 2015-07-01 21:11:33 -07:00
billzorn 33a8b6d58f hacked in legacy support 2015-06-30 23:21:39 -07:00
billzorn 77133cbed6 fixed edge case with nonmana equip costs 2015-06-30 23:09:05 -07:00
billzorn b63b950955 sorting and unscrambling now handle new choice format 2015-06-30 23:02:48 -07:00
billzorn 749c7daea8 changed the comment marker from # to %, just because 2015-06-30 22:20:04 -07:00
billzorn b388ebc2e3 finished code for formatting choices, still need an unscrambler for it 2015-06-30 22:14:02 -07:00
Bill Zorn bf6114c932 working on choose one problem 2015-06-30 21:25:29 -07:00
billzorn 8cf4a7d955 some minor tweaks and improvements 2015-06-30 01:34:09 -07:00
billzorn 6df5a4410e added card sorting script, also added renaming of counter to uncast in encoding 2015-06-29 22:40:14 -07:00
billzorn edfa7100b7 added new unscrambling code to make good output for posting on mtgsalvation 2015-06-28 11:12:08 -07:00
billzorn be0a52f7ab who needs debugging print statements? 2015-06-27 22:26:01 -07:00
billzorn 92d9dc8bd8 added unscrambling script to make reading the format easier 2015-06-27 22:25:09 -07:00
billzorn 41e269d9b3 fixed doubling season's seeming use of ore counters 2015-06-27 19:17:38 -07:00
billzorn 63bdbc1569 ok here's the latest output file or something whatever yeah 2015-06-27 19:04:46 -07:00
billzorn a7a92dc533 added more description to README 2015-06-27 18:58:11 -07:00
billzorn f0fd56d8ea added initial files 2015-06-27 18:35:11 -07:00