Skip to content

Digald/mtga-pathway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MTGA Pathway

Find the closest competitive or meta MTGA decks you are closest to building with your current collection. This desktop application helps new and veteran Magic: The Gathering Arena players focus how to make the most of their current collection by following what competitive decks can be played now.

Check it out at: https://mtgapathway.netlify.com/

Preview!

Getting Started

Prerequisites

  • Have Magic: The Gathering Arena installed on your home directory. The output_log.txt

  • At the moment of writing this, MTGA is only available on Windows. So Windows is required at the moment.

Installing

yarn install
yarn start

Electron Settings Queries

Data persists on the user's computer using electron-settings.

rawData: {
    cards: // Array of raw arena id's and quantity from the log file
    path: // Saved path to user's log file
    isRunning: // boolean to check if app is already running
}

mtgaCardData: {
    playerMtgaCards: // Array of card data in player's collection,
    allMtgaCards: // Array of all parsed card data from the log file
    playerTokens: // Array of all player wildcards, gems, gold, etc,
    minedDecks: // Array of decks from sources
    savedDecks: // Array of decks saved by the user for future reference
}

dataToRender: {
    newCards: // Array of cards newly added to collection,
    insideDecklist: // Object containing the metadata and details of a single deck
}

Troubleshooting

A troubleshooting and FAQ section will be added to the app's website.

  • Confirm that "detailed logs" are selected in your Magic Arena account settings.
  • Delete the Settings.txt file from ..\AppData\Roaming\MTGA Pathway to refresh the app or clear any saved data.
  • Disable your anti-virus AT YOUR OWN RISK since MTGA Pathway is considered a 3rd party app.

Running the tests

Testing is a work in progress >_> Jest is the only testing libarary used so far.

yarn test

Deployment

Create an executable file to install the program using electron-builder

yarn package

Built With

  • Electron - Cross platform desktop apps with JavaScript
  • NEXT.js - React Framework

Contributing

TBD

Authors

  • Mark Alaniz - Initial work - Digald

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

About

Find the closest competitive or meta MTGA decks you are closest to building with your current collection.

Resources

License

Stars

Watchers

Forks

Packages

No packages published