Skip to content

An Android app for all things Magic: The Gathering

License

Notifications You must be signed in to change notification settings

AEFeinstein/mtg-familiar

Repository files navigation

MTG Familiar

MTG Familiar is an Android app which has a suite of tools to play Magic: The Gathering

Features

  • Offline advanced card search with image and price lookup
  • Life tracking, including Commander damage
  • Mana pool / Deck count tracking
  • Dice, as random as Java's PRNG
  • Card trader which compares prices for lists of cards
  • A Wishlist
  • A configurable round timer, with 5/10/15 minute warnings
  • Searchable, offline comprehensive rules
  • Offline Judge documents (Magic Tournament Rules, Infraction Procedure Guide) and deck counter
  • Momir, Jhoira, Stonehewer randomizer

How To Build

AEFeinstein

  • Download and install the latest Android Studio
  • Make sure you have installed the latest Android SDK Platform, Android SDK Tools, Android SDK Platform-tools, Android SDK Build-tools, Android Support Repository, Android Support Library, and Google Play Services from the Android SDK manager
  • Check out this project with Android Studio's VCS tools
  • Press the build button

How to Update the Internal Database

  1. Launch an Android Emulator
  2. Run MTG Familiar on said Emulator
  3. Force Update the database in Familiar running in the emulator
  4. Run the following script to pull off and compress the database
    rm data datagz
    adb root
    adb pull /data/data/com.gelakinetic.mtgfam/databases/data
    adb pull /data/data/com.gelakinetic.mtgfam.debug/databases/data
    gzip -c -f --best data > datagz
    
  5. Copy datagz into the /mobile/src/main/res/raw directory
  6. Increment DATABASE_VERSION in /mobile/src/main/java/com/gelakinetic/mtgfam/helpers/database/CardDbAdapter.java
  7. Rename and copy any new Magic Tournament Rules, Infraction Procedure Guide, or Judging at Regular documents into /mobile/src/main/res/raw. This isn't really the database, but it's nice

Get it

Google Play Get it on F-Droid IzzyOnDroid

Show Support

The app is free, and the source is all here. If you'd like to say thanks and show a little support, here's a button: PayPal.

Become an Official Beta Tester

To receive official beta builds through Google Play, opt-in to the beta program here.