MTGPlay - Magic: The Gathering TCP/IP Play

Version 1.2.474 (3.6.2004)
by Harri Pesonen  Copyright © 2000-2004

MTGPlay.com  New Forum  Chat  MTGNews Forum  Find  SourceForge project  NetDraft 1.41

CONTENTS

Load New Cards
General
Problems
The Artistic License
To-Do List

Release Notes

Testing and suggestions: Tom Snäll and Lexn Nitro. Additional programming: Viper, ChraviSsS, Mugendai, Quimbly, Torgo. Thanks to Wojciech Kozlowski for tournament type patches, tokens, Mirrodin patch etc! :-)

View the latest version of this document (alternative). Download the latest MTGPlay version (alternative), 4.7 MB, or only the executable (alternative), 2.4 MB, without system files.

LOAD NEW CARDS

After downloading and unzipping the file into some folder, click Game / "Load new cards" in MTGPlay, and select spoilername.txt. Warning: Card numbers etc. in this patch are not official Wizards of the Coast data! Check also the Load New Cards File Format.

First check MTGPlay.com  for the latest patches.

EXPANSION CREATED BY COMMENTS
All cards without images, 838 kB. Updated 3.6.2004 up to Fifth Dawn.   All 11089 cards from my database in one DB.txt file. Import these into empty database that comes with MTGPlay.
Alpha - Judgment, 39 patches, 4MB to 20MB, grand total of 405MB! Quimbly, Ron Vitale, Rusty Sullivan These patches were made with MTGPlay Spoiler feature (in Deck Editor) so that the card IDs match the official ones.
Torment fix, 1 kB.   Fixes 6 cards having ### in rules. No images.
Updated Onslaught patch with land graphics, 6.7 MB. Better version here, 27 MB.   Smaller has images only for MTGPlay. Bigger has both large and small images, but you have to install them manually.
Astral Set   Eduardo Avila High quality large pictures only.
Monty Python Set, 6.1 MB (also here) Oliver Visit Oliver's great site, MtG Lair, it has MtG Editor that he used to create this set. Preview the set here. Both large and small images.
Legions patch, 6 MB Bmrbt Both large and small images for MTGIE.
Scourge patch, 12 MB HellSpawn Wizard (original by twr23) Both large and small images for MTGIE.
Updated Eighth Edition patch, 19 MB   Both large and small images for MTGIE.
Updated Mirrodin patch, 14 MB (fixed Slith Predator 6.1.2004) Woj, fixes by Ron Vitale High quality large and small images for MTGIE.
Darksteel patch, 9 MB. Zark the Damned Medium quality large and small images for MTGIE
Fifth Dawn patch, 9 MB HellSpawn Wizard   Medium quality large and small images for MTGIE

DECKS

MTGPlay comes with several preconstructed decks. You can Import these in Deck Editor.
EXPANSION DECK NAME
Portal Three Kingdoms Shu Kingdom
  Wei Kingdom
  Wu Kingdom
Tempest Deep Freeze
  The Flames of Rath
  The Silvers
  The Swarm
Stronghold Call of the Kor
  Migraine
  The Sparkler
  The Spikes
Exodus Dominator
 (basic & Groundbreaker
 advanced White Heat
 versions) Widowmaker

 

EXPANSION DECK NAME
Starter 1999 Blinding Fury
  Deadly Instinct
  Goblin Assault
  Impaler
  Time Curse
Urza's Saga Sleeper
  Special Delivery
  The Plague
  Tombstone
Urza's Legacy Crusher
  Phyrexian Assault
  Radiant's Revenge
  Time Drain
Urza's Destiny Assasin
  Battle Surge
  Enchanter
  Fiendish Nature
EXPANSION DECK NAME
Mercadian Masques Deepwood Menace
  Disrupter
  Rebel's Call
  Tidal Mastery
Nemesis Breakdown
  Eruption
  Mercenaries
  Replicator
Prophecy Distress
  Pummel
  Slither
  Turnaround
Invasion Blowout
  Dismissal
  Heavy Duty
  Spectrum
Planeshift Barrage
  Comeback
  Domain
  Scout
Apocalypse Burial
  Pandemonium
  Swoop
  Whirlpool
EXPANSION DECK NAME
7th Edition Armada
  Bomber
  Decay
  Infestation
  Way Wild
Odyssey Liftoff
  One-Two Punch
  Pressure Cooker
  Trounce-O-Matic
Torment Grave Danger
  Insanity
  Sacrilege
  Waking Nightmares
Judgment Air Razers
  Inundation
  Painflow
  Spectral Slam
Onslaught Bait & Switch
  Celestial Assault
  Devastation
  Ivory Doom
Legions Elvish Rage
  Morph Mayhem
  Silver Shivers
  Zombies Unleashed
Scourge Goblin Mob
  Max Attax
  Pulverize
  Storm Surge
EXPANSION DECK NAME
Eighth Edition Expulsion
  Heavy Hitters
  Life Boost
  Sky Slam
  Speed Scorch
Mirrodin Bait and Bludgeon
  Little Bashers
  Sacrifical Bam
  Wicked Big
Darksteel Master Blaster
  Mind Swarm
  Swarm & Slam
  Transference
Fifth Dawn Sumburst
  Special Forces
  Nuts and Bolts
  Stampede

 

GENERAL

This program is used to play Magic: The Gathering online with TCP/IP protocol. Up to four players can play at the same virtual table.

Magic: The Gathering Interactive Encyclopedia (MTGIE) is required for the card graphics and card database. A full installation is recommended. If MTGIE is not installed, then you can use db\empty.mdb, copied automatically to magic.mdb, and download the unofficial patches from above.

THE SETUP

Run the setup program.

QUICK PLAY INSTRUCTIONS

  1. Both players start MTGPlay and enter their names by right-clicking the Player name (red background).

  2. One player chooses to be server by clicking Menu / Serve.

  3. The other player connects by clicking Menu / Connect.

  4. Both players load some deck by right-clicking the player name (or the space to the right of it) and then clicking Load Deck.

  5. Draw seven cards by right-clicking on the library and clicking Draw N Cards.

  6. Then start playing... change the player turn by double clicking on the player name.

DRAGGING CARDS

You can drag cards from library to hand, from hand to play area, and from play area to graveyard. You can also drag cards directly from library to play area or from play area to hand. Press shift while dragging to move to the bottom of deck, or to move from hand to play face down.

You can also double-click the library to draw a card.

TAPPING CARDS, SETTING COUNTERS, ATTACK, BLOCK

Double-click on a card to tap or untap it. Right-click on a card to set a counter or a text. Attack by pointing at a card and pressing F3. Block by F4. Effect by F5. Face up/down by F6 (hold shift while dragging card from hand to play face down).

CREATING TOKENS

Right click on the play area to create tokens. Or right-click on a token to clone it. Right click on a token to destroy it, or just move it to graveyard.

OPTIONS

In Start menu, there are options to 

DECK EDITING

In Load Deck window, you can create and clone new decks, search for cards etc. Right click on deck list or card list for options and keyboard shortcuts. You can also save your opponents deck (Player / Save Deck) to your database, if he has given a permission (Start / Options / Allow Saving Your Deck).

AUTHENTICATION

Because MTGPlay is an open source program (you can get the Visual Basic 6 source code from here), it would be rather easy to build a version that cheats (you could see all hands, for example). That's why the public release version will authenticate versions if the version numbers match. The server will authenticate all clients and if the authentication fails, you will see question mark (?) before each client name. The client will authenticate the server and when it succeeds, you will see "Server authenticated" text in the title bar.

SUPPORT FOR DIFFERENT SCREEN RESOLUTIONS

The reference screen resolution for MTGPlay is 1152x864. This is the lowest resolution where the big card on the left top corner is displayed in its full glory, without any loss of quality.

If you have a bigger resolution (1280x1024 and up), then the playing area will be bigger. If one player has 1152x864 and the other is using 1280x1024, then the minimum of these is used for the playing area.

If you have a lower resolution (800x600 or 1024x768), then the size of the big card on the left top corner is reduced, and also the cards on the playing area are reduced. The virtual playing area size is still 1152x864, the cards are just smaller. Also the fonts are smaller, especially at 800x600.

WHERE TO GET MTGIE?

I bought it from thegamezone.

WHY MTGPLAY?

The online game in MTGIE has many problems:

  1. It has HUGE resource problems. You can't run it with MTGIE, or the game or Windows crashes. After a couple games it crashes nevertheless, because Windows has run out of resources.
  2. MTGIE has a fixed resolution. MTGPlay has a dynamic play area, the minimum of all different player resolutions.
  3. MTGIE does not work with large fonts.

MTGPlay still has a few shortcomings compared to MTGIE online game:

  1. Not all the features have been implemented, for example moving random cards from library to hand. I will implement those after a while.
  2. No forum to agree on games.

WHERE TO FIND OPPONENTS?

Try MTGIE Club!

Visit MTGIE Club Forum. It has MTGPlay forum as well.

Or try a IRC room! You'll need an IRC client for this, mIRC is probably the most popular.

WHAT IF SOMEONE DISCONNECTS?

The server will keep the game state. So if the client reconnects with the same name, the game will continue from exactly the same point.

LOAD NEW CARDS FILE FORMAT

Database / Load New Cards allows you to load new cards into magic.mdb, and images into LargeJPG and SmallJPG subfolders. Here is the patch file format:

spoiler.txt
*.jpg
LargeJPG\*.jpg
SmallJPG\*.jpg

Spoiler.txt is in Wizards spoiler format. Both the old and the new introduced in Eighth Edition are supported.

MTGPlay searches for card images in the following order:

  1. Small images in spoiler.txt folder by card title
  2. Small images in SmallJPG folder by card title
  3. Small images in SmallJPG folder by card number
  4. Large images in LargeJPG folder by card title
  5. Large images in LargeJPG folder by card number

Image file name can be either the card title (spaces and other special characters removed or replaced with _) or by card number. E.g. "Dromar's Cavern" could be either Dromars_Cavern.jpg or 25932.jpg.

In MTGIE, Large images are 312 x 445 pixels, the size varies between 20 - 64 kB. Small images are 151 x 211 pixels, size 6 - 18 kB. MTGPlay does not really care about the image size, but you get the best results with images in the Large format.

This is how MTGPlay generates the ids for the cards. Legions official spoiler starts with the lines:

Legions Spoiler
Wizards of the Coast, Inc.
(Released January 31, 2003)

MTGPlay takes the release date and converts it to the base number. January 31, 2003 becomes 20030131, and the first two digits are dropped, 030131, converted to number becomes 30131. Then it adds the card numbers to it, so Akroma, the first card (001), gets 30131001, and so on.

PROBLEMS

DO YOU HAVE DATABASE (OR OTHER) PROBLEMS?

You might have an incompatible MDAC (Microsoft Data Access Components). You could try downloading either MDAC 2.5 (larger, has Jet engine) or MDAC 2.8 (does not have Jet engine) and the Jet engine update:

http://www.microsoft.com/data/download.htm

ARE YOU BEHIND A ROUTER (NAT), AND CAN'T SERVE?

If you are behind NAT (Network Address Translation), then you can't serve MTGPlay but you can connect to other servers. If you want to serve as well, then you'll need to tell the router to forward connections to your machine:

And you need to tell your opponents your public ip address, not your private one. Visit http://checkip.dyndns.org/.

DON'T SEE OTHER PLAYER'S GRAPHICS?

Try Options / Download Missing Pictures. Both players should execute Database / Card ID Checker. 

THE ARTISTIC LICENCE

Preamble

The intent of this document is to state the conditions under which a Package may be copied, such that the Copyright Holder maintains some semblance of artistic control over the development of the package, while giving the users of the package the right to use and distribute the Package in a more-or-less customary fashion, plus the right to make reasonable modifications.

Definitions:

1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers.

2. You may apply bug fixes, portability fixes and other modifications derived from the Public Domain or from the Copyright Holder. A Package modified in such a way shall still be considered the Standard Version.

3. You may otherwise modify your copy of this Package in any way, provided that you insert a prominent notice in each changed file stating how and when you changed that file, and provided that you do at least ONE of the following:

a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or placing the modifications on a major archive site such as ftp.uu.net, or by allowing the Copyright Holder to include your modifications in the Standard Version of the Package.

b) use the modified Package only within your corporation or organization.

c) rename any non-standard executables so the names do not conflict with standard executables, which must also be provided, and provide a separate manual page for each non-standard executable that clearly documents how it differs from the Standard Version.

d) make other distribution arrangements with the Copyright Holder.

4. You may distribute the programs of this Package in object code or executable form, provided that you do at least ONE of the following:

a) distribute a Standard Version of the executables and library files, together with instructions (in the manual page or equivalent) on where to get the Standard Version.

b) accompany the distribution with the machine-readable source of the Package with your modifications.

c) accompany any non-standard executables with their corresponding Standard Version executables, giving the non-standard executables non-standard names, and clearly documenting the differences in manual pages (or equivalent), together with instructions on where to get the Standard Version.

d) make other distribution arrangements with the Copyright Holder.

5. You may charge a reasonable copying fee for any distribution of this Package. You may charge any fee you choose for support of this Package. You may not charge a fee for this Package itself. However, you may distribute this Package in aggregate with other (possibly commercial) programs as part of a larger (possibly commercial) software distribution provided that you do not advertise this Package as a product of your own.

6. The scripts and library files supplied as input to or produced as output from the programs of this Package do not automatically fall under the copyright of this Package, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this Package.

7. C or perl subroutines supplied by you and linked into this Package shall not be considered part of this Package.

8. The name of the Copyright Holder may not be used to endorse or promote products derived from this software without specific prior written permission.

9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

The End

TO-DO LIST (in the likely implementation order)

RELEASE NOTES

1.2.474 (3.6.2004)

1.2.474 (25.5.2004)

1.2.474 (21.5.2004) Beta by Torgo

1.2.470 (9.5.2004)Beta

1.2.469 (9.5.2004)Beta

1.2.467 (3.5.2004)

1.2.464 (21.4.2004)

1.2.462 (3.4.2004)

1.2.461 (27.3.2004) by Torgo

1.2.460 (24.3.2004) by Torgo

1.2.456 (21.3.2004)

1.2.455 (20.3.2004)

1.2.453 (18.3.2004)

1.2.444 (16.3.2004) by Torgo

1.2.427 (15.3.2004)

1.2.427 (14.3.2004)

1.2.425 (11.3.2004)

1.2.422 (9.3.2004)

1.2.422 (2.3.2004)

1.2.421 (1.3.2004)

1.2.420 (28.2.2004) by Quimbly

1.2.419 (23.2.2004) by Quimbly and me

1.2.412 (28.1.2004)

1.2.410 (12.10.2003)

1.2.409 (27.9.2003) still beta?

1.2.401 (25.9.2003) still beta?

1.2.400 (24.9.2003) beta

1.2.399 (20.9.2003) BETA, NOT NETWORK COMPATIBLE WITH PREVIOUS VERSIONS

1.1.375 (26.8.2003)

1.1.371 (18.8.2003)

1.1.369 (16.8.2003)

1.1.368 (16.8.2003)

1.1.367 (14.8.2003)

1.1.366 (12.8.2003)

1.1.365 (12.8.2003)

1.1.362 (9.8.2003)

1.1.361 (9.8.2003)

1.1.360 (14.7.2003)

1.1.359 (13.7.2003)

1.1.358 (25.6.2003)

1.1.357 (18.6.2003)

1.1.356 (6.6.2003) by ChraviSsS

1.1.355 (13.5.2003) by ChraviSsS and me

1.1.353 (9.4.2003) by ChraviSsS and me

1.1.351 (25.3.2003) by ChraviSsS and me

1.1.349 (23.3.2003) by ChraviSsS

1.1.348 (18.3.2003) by ChraviSsS and me

1.1.347 (4.3.2003)

1.1.346 (26.2.2003) by ChraviSsS and me

1.1.345 (5.2.2003) by ChraviSsS

1.1.344 (5.2.2003)

1.1.343 (4.2.2003)

1.1.342 (26.1.2003)

1.1.341 (21.1.2003)

1.1.340 (15.1.2003)

1.1.338 (9.1.2003)

1.1.336 (3.12.2002)

1.1.333 (1.12.2002)

1.1.331 (29.7.2002)

1.1.330 (15.7.2002)

1.1.328 (20.6.2002) developed with Mugendai, thanks!

1.1.324 (9.6.2002) developed by Mugendai, thanks!

1.1.180 (3.6.2002)

1.1.179 (28.5.2002)

1.1.178 (3.4.2002)

1.1.176 (14.3.2002)

1.1.175 (31.1.2002) co-developed with Viper and ChraviSsS, thanks!

1.0.86 (17.5.2000)

1.0.84 (13.5.2000)

1.0.82 (6.5.2000)

1.0.77 (29.4.2000)

1.0.76 (21.4.2000)

1.0.75 (16.4.2000) FIRST PUBLIC RELEASE

1.0.69 (4.4.2000) FIRST SEMI-PUBLIC RELEASE