August 2008

You are currently browsing the monthly archive for August 2008.

Although Wagic is still in the alpha stage, there are lots of ways to customize it, mainly because the resource files are not encrypted or even compressed. On top of my mind, here is a list of hints for things you can change without touching the source code:

  • Avatars: Your avatar picture is in Res/player/. The AI’s avatar is in Res/ai/baka
  • AI’s Decks: Although you can create your decks with the deck editor, you cannot edit the AI’s decks…or can you ? They are located in Res/ai/baka/deck*.txt… Please be aware that currently the AI is unable to use most cards, especially those that have targets, and it might end up with weird crashes.
  • Background picture: Res/graphics/background.png
  • Background music: check the download section, there is music provided with Wagic, unfortunately the mp3 player is very unstable, so it crashes the PSP quite often… but you can give it a try to see what kind of musics I have in mind for Wagic. Currently, I personally use the music plugin to listen to music while I play, I find it more enjoyable.
  • More credits ? Check Res/player/data.dat
  • More cards in your collection ? You bought thousands of boosters and still don’t have that Shivan Dragon you dream of ? Edit Res/player/collection.dat to add it.
  • Add other magic sets ? It is currently possible to add around 30% of the cards in 10th edition to the game without changing the code… but the way to do that is still a secret known only to wizards hidden in a holy mountain, somewhere far away…


There are lots of things to improve in WTH, and all of them are important.

A few people tried this game already, and hopefully some of them will be coming back to this site to get news… So I’m asking the question : What would you like to see in priority in the next release ?

  • New features ?
  • Bug fixes ?
  • Improved AI ?
  • Improved user interface ?
  • More Cards ?

Let me know what you want :)

I’ve just uploaded the first public alpha to the server. I’ve already found lots of bugs, but that was to be expected, and I made a promise not to program for the next 4 weeks !

I will run a last set of tests on my PSP tomorrow to make sure nothing prevents the game from actually running, then make an announcement on QJ’s forums. This means that if you’re reading this blog for some reason, you might be able to try the game before it is officially announced. How lucky are you ?

Please give a try to WTH?!, and send me comments, feedback, bug reports in this post

Enjoy!

http://wololo.net/wagic/download

Tags:



These two images show the Deck Editor in its current state.

It has a nice interface for navigating the cards but is actually not user friendly. I always get confused between the Deck and the collection, and it is difficult to see how much cards of each type (e.g., how many fireballs ?) you have in your deck…

I’ll improve that with time

That next image is a bug that occurs from time to time in the blitting system. I have no clue where it comes from, I’m not even sure it’s still there… if it happens to you, just restart the game again and again and again… at some point it tends to go away (unititialized variable, anyone ?)

Other Programs

lord of the pit

bwahahaha

When I started working on Wagic a year ago, I thought there was absolutely no program that did what I wanted to do : a MTG game with rules enforcement.

After digging a little bit, I discovered that there are actually quite a lot of attempts at doing that.

MTG Forge Has quite a lot of cards (around 700 I think), is an open source Java application. Its author is working hard, so the application has in dynamism what it lacks in professional-looking-ism. When I tried it several months ago, I didn’t enjoy it because I thought the AI was crappy. I think differently now that I have to code my own :p . The creator’s blog is very interesting, updated regularly, and the main reason I started my own blog for this project !

Deckbot is not open source, but has quite a lot of cards from recent editions. It is text based, but uses a form of Minimax algorithm for the AI. Haven’t tried it yet but I read the AI is pretty damn good !

Incantus is the new hot Magic project these days. All is written in Python, and the GUI is brilliant, even better than the official “MTG Online” sold by Wizards of the Coast. I have difficulties to understand the “open source or not” status of this game… Adding cards seems to be easy as pie, it manages lots of complex rules, but it doesn’t have any AI (network play).

There are lots of other games, the site slightlymagic.net tries to give a complete list of them.

So why would we need yet another Magic game ? Well, none of these could run on the PSP, due to the size of the screen and the memory they use. So a new one is definitely needed for portable devices owners !

Note: There is also a PSP port of Magic WorkStation, but I found the installation process to be complex, especially since the game didn’t do much at that time (2 players hotseat, no rule enforcement…). MWS without network support is not that interesting…so I didn’t try that hard to install it.

FPU

I’ve spent two awful weeks debugging stupid stuff. Although it made me learn a lot about debugging techniques in Visual Studio, it was overall an incredible waste of time.

I still didn’t figure out what was going on on the PSP that made it randomly crash, but because it was a FPU (Floating Point Unit) Exception, I temporarily disabled FPU Exceptions. This works, but… it still means that somewhere in my code there’s a nasty division by 0 or something… oh well, doesn’t seem to have any impact on the game so…

« Older entries