I've been pretty heavy into Magic: the Gathering the past 6 months, and have used Cockatrice for deck testing for much of that time. Having recently received a Pi as a rather unexpected birthday present, I naturally want to make some use of it other than using the SNES emulator to play Chrono Trigger. There isn't actually a pre-compiled Linux distribution of the program, so I have to compile and install it by myself from the source files(and there isn't much useful information on any forums or blogs).
I'm using a mostly-fresh installation of the latest Raspbian Wheezy (fresh as in I did it this morning because I managed to brick both my SD cards last night). The only addition I've made to the base install is adding Retro-Pie and doing
sudo apt-get install libqt4-dev
because the Readme in the Cockatrice source said it was a dependency, along with protobuf and cmake. I couldn't find what to use with apt-get to get an installation of protobuf.
Thanks in advance,
Lando
Private Mod Note
():
Rollback Post to RevisionRollBack
That is not dead which can eternal lie, and with strange æons, even death may die.
Use your os's package managers (for RPi's standard debian, sudo apt-get), and get Qt, Protobuf, and CMake...
And the rest of the build instructions are in there.
I've been using it on my ubuntu machine for almost a year now without problems, and they're both debian based, and have zero problems running it. I'm not entirely sure how resource intensive it'll be, but I'm pretty sure it's waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaayyyyyyyyyyyyyyyyyyyyyyyyyyyy less intensive than using wine & the win32.exe file. (edit: you can't actually run wine on RPi anyway)
Un autre con brandit le drapeau de la nouvelle économie. Agitant sa criminelle thérapie, l'abruti prophá¨te s'en va guerrir le monde de ses maux ! Mais la misá¨re n'a que faire de cette médecine á dose homeopathétique, Il n'y a d'autre cure que l'ablation du liberal-fascisme qui nous ronge. - Amanda Woodward, Un Autre Con
I fired up my rpi revision b (512meg) with the newest debian image and was able to compile cockatrice on it no problem. Took at least 2 hours to compile, ran fine.
I fired up my rpi revision b (512meg) with the newest debian image and was able to compile cockatrice on it no problem. Took at least 2 hours to compile, ran fine.
Did you get a chance to actually test the performance on a game with logs of object on the playing field or game zones? I would be interested in knowing how well the performance of the device is under a higher game load.
I haven't able to play a game online, but playing around in solo it seems to handle a number of counters without a problem. Top was reporting ~60megs of memory.
The pi overall lags a bit when running LxdE. Cockatrice didn't seem to slow it down more than anything else. Browsing with Midori puts a much higher strain on the system.
I'm actually surprised that I was able to compile a good size qt app with 512megs.
I haven't able to play a game online, but playing around in solo it seems to handle a number of counters without a problem. Top was reporting ~60megs of memory.
The pi overall lags a bit when running LxdE. Cockatrice didn't seem to slow it down more than anything else. Browsing with Midori puts a much higher strain on the system.
I'm actually surprised that I was able to compile a good size qt app with 512megs.
I'm not as the server at woogerworks ran on 512mb forever
Private Mod Note
():
Rollback Post to RevisionRollBack
UUW LeGend in my spaRe time BUU
MTGO: woogerboy21
To post a comment, please login or register a new account.
I'm using a mostly-fresh installation of the latest Raspbian Wheezy (fresh as in I did it this morning because I managed to brick both my SD cards last night). The only addition I've made to the base install is adding Retro-Pie and doing
sudo apt-get install libqt4-dev
because the Readme in the Cockatrice source said it was a dependency, along with protobuf and cmake. I couldn't find what to use with apt-get to get an installation of protobuf.
Thanks in advance,
Lando
But if you're familiar with how to compile source code (which if you're not, the RPi is a great tool to learn how to do that), it's pretty easy.
Get a copy of the source code from github (there's a few, but, the most active and updated one is at https://github.com/Daenyth/Cockatrice)
Use your os's package managers (for RPi's standard debian, sudo apt-get), and get Qt, Protobuf, and CMake...
And the rest of the build instructions are in there.
I've been using it on my ubuntu machine for almost a year now without problems, and they're both debian based, and have zero problems running it. I'm not entirely sure how resource intensive it'll be, but I'm pretty sure it's waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaayyyyyyyyyyyyyyyyyyyyyyyyyyyy less intensive than using wine & the win32.exe file. (edit: you can't actually run wine on RPi anyway)
wine won't work on RPi; it requires an x86 computer and the RPi is an ARM board.
Sig by Ace of Spades studio at http://forums.mtgsalvation.com/showthread.php?t=451747
I'm a child playing an adult's card game.
Esper CONTROL: http://forums.mtgsalvation.com/showpost.php?p=10441008&postcount=239
I'm a Rules Advisor. Woo-hoo.
Gamer's Armory in Raleigh, NC. Best bad store ever.
Did you get a chance to actually test the performance on a game with logs of object on the playing field or game zones? I would be interested in knowing how well the performance of the device is under a higher game load.
MTGO: woogerboy21
The pi overall lags a bit when running LxdE. Cockatrice didn't seem to slow it down more than anything else. Browsing with Midori puts a much higher strain on the system.
I'm actually surprised that I was able to compile a good size qt app with 512megs.
I'm not as the server at woogerworks ran on 512mb forever
MTGO: woogerboy21