Customize and cheat
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…
Dunno why wizards prefer holy moutains to the bahamas….
Maybe they want to seem more mysterious that way…
Well, they told me they were in the mountains, but they might actually be at the bahamas, and that’s one of their tricks to prevent me from finding them and asking them questions !
An holy mountain. Why is it holy ? How a mountain can be holy. And some wizards are more… you know… dark based… Don’t think they love the holyness.
If I were u, I’ll explore the bahamas in order to find them.
Hmm… Oh I see… I knew about cheating when I saw the data files. Didn’t know that I can actually edit _cards.dat to create a new card.
Way to add new card:
open _cards.dat under “sets\RV” using notepad
[card]
text= //This is for the text in the card use {} for special commands e.g {X} for that x mana, {8} for 8 colorless mana, {T} for whether need to tap or not.
target = //used for spells I think e.g artifact, creature|graveyard (creature in any graveyard, *|myGraveyard (any card in your graveyard
auto= //For lands only auto={T}:Add {B}
auto=:regenerate //for regenarative spells or creature regenerate
auto={2}:1/0 //2 colorless mana for +1/+0
auto= //flying,fear //give target ability
abilities= //Abilities for creature only, e.g Flying, Banding,First strike,protection from ,Swampwalk,Reach,Defender, I think that the abilitiy name must be spelt correctly.
id= //ID of the card, start from 1398 which is currently empty
name=//Name of the card
rarity= //C=Common, U=Uncommon, R=Rare
color=//Color of the card, Blue,White,Green,Red,Artifact,Black
type= //This thing must be correctly named I think in order for the program to recognize what type of card it is E.g Creature, Sorcery, Enchantment, Instant
mana= //Mana needed to execute the card, use suffixes, {3}, 3 colorless mana, {U} Blue, {W} White, {B} Black, {R} Red, {G} Green, {X} for x
power= //Power of creature, used for creature cards only
subtype=//Addition info for the type I think
toughness= //Toughness of creature, used for creature cards only
[/card]
no spacing allowed after “=” i am not so sure about it.
question: oh ya.. if the land can provide us with either red or black.. how does it know which to give.. lolz
so if I want a super powerful and lame card I will do this
[card]
text= Fear the Awesome Power of MONKIT!
auto={B}:regenerate
auto={1}:+99/+99
abilities= Flying, Banding,First strike,Defender //lolz defender cannot attack
id= 1398
name=Monkit
rarity= R
color=Artifact
type= Creature
mana= {1}
power= 0
subtype=Monster
toughness= 1
[/card]
Need to make a card picture as well. 1398.jpg
The reason 30% of the cards is because a lot of cards need customization of the program itself. Wololo can make it until 100% but it will need a lot of hard work and a lot of suffixs.
Wooo! am I a super power wizard in holy mountain now? lolz
Impressive !
For lands that provide two types of colors, you can type the “auto” line twice. this will look like:
[…]
auto={T}:Add{B}
auto={T}:Add{R}
[…]
But how does it know which one that I want? I can have black and red, but what if the card needs red, how does it know to produce R and not B
As I recall, when there are two conflicting abilities, the player has to choose with a menu that is automatically generated. For example, {T}:Add{R} and {T}:Add{B} both need the same event to occur, which is a click on the card.
In that case, a menu will appear, saying:
“Add 1 Black Mana”
“Add 1 Red Mana”
“Cancel”
Hmm it can be a good idea to add the card edition (Alpha, Beta, Urza …), you’ll need it later.
There’s another “Magic” Homebrew here :
http://forums.maxconsole.net/showthread.php?t=92539
Maybe you can take a look on it.
as I already said, MPS is a “port” of Magic Workstation. It has no rule enforcement system, and therefore is very different from what I plan to do. I could still use it to get inspiration for the GUI, but I’m not sure it will be of much help. Plus, installing it is REALLY painful.
Regarding the card edition, it is the folder’s name. So it’s already here 😉
Yeah the installing is just horrible :p
Maybe you could check your pms instead
any progress update? hehehe :p
or maybe too busy with marriage.. hmm…
Not so much progress right now, but still working !
which string should be used to increase the credits?