haganbmj / MagicSetEditor2

Magic Set Editor is a program for designing trading cards
Other
16 stars 7 forks source link

Magic Set Editor 2

Magic Set Editor, or MSE for short, is a program with which you can design your own cards for popular trading card games. MSE can then generate images of those cards that you can print or upload to the internet. Magic Set Editor also has a statistics window that will give useful information about your set, like the average mana cost, number of rares, etc. When you have finished your set, you can export it to an HTML file to use on the Internet, or to Apprentice or CCG Lackey so you can play with your cards online.

More information on https://magicseteditor.boards.net/

=======

Main Features in the Unofficial Branch

=======

Dependencies

The code depends on

Building on Windows with Visual Studio

On windows, the program can be compiled with Visual Studio (recommended) or with mingw-gcc.

=======

.\vcpkg install pkgconf wxwidgets boost-smart-ptr boost-regex boost-logic boost-pool boost-iterator hunspell --triplet=x64-windows-static

and/or

.\vcpkg install pkgconf wxwidgets boost-smart-ptr boost-regex boost-logic boost-pool boost-iterator hunspell --triplet=x86-windows-static

then, regardless of your choice

.\vcpkg integrate install

configuration

Notes:

For running tests you will also need to

Building on Windows with GCC (MSYS2)

pacman -S mingw32/mingw-w64-i686-gcc
pacman -S mingw32/mingw-w64-i686-wxWidgets
pacman -S mingw32/mingw-w64-i686-boost
pacman -S mingw32/mingw-w64-i686-hunspell
pacman -S cmake

Use mingw64/mingw-w64-x86_64-... instead of for the 64bit build.

cmake -G "MSYS Makefiles" -H. -Bbuild -DCMAKE_BUILD_TYPE=Release
cmake --build build

Use CMAKE_BUILD_TYPE=Debug for a debug build.

Building on Linux

sudo apt install g++
sudo apt install libboost-dev libwxgtk3.0-gtk3-dev libhunspell-dev

Then use cmake to build:

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .

Use CMAKE_BUILD_TYPE=Debug for a debug build.

Building on FreeBSD

sudo pkg install hunspell cmake wx30-gtk3 boost-all

Then use cmake to build:

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .

Use CMAKE_BUILD_TYPE=Debug for a debug build.

Building on Mac OS

brew install boost wxwidgets hunspell cmake dylibbundler
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_APPLE_BUNDLE=1 ..
cmake --build .

Use CMAKE_BUILD_TYPE=Debug for a debug build.

mkdir magicseteditor.app/Contents/SharedSupport
cp -r ../resource magicseteditor.app/Contents/SharedSupport
open ./magicseteditor.app