Page 1 of 3

Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now

PostPosted: 29 Aug 2008, 21:52
by Huggybaby
We're confronting a fundamental issue that's small and large at the same time. It's not trivial so read on.

We're working on a new pics torrent. I needed to update the sets codes list to include the newest sets, so I googled the wikipedia for MTG set codes. I found out that for consistency some time ago WOTC changed the naming so that every set had a three letter code... but currently, MWS sets are a mixture of one, two, and three letter codes, the way it has always been. "A" has always meant "Alpha".

Goblin Hero brought this up years ago, that this situation should be changed.

He was ahead of his time perhaps, I forget how I felt about the subject. I may have been against it. It could be because I didn't want to break MWS for the large number of people that use it.

Things have changed though. There is no longer an official MWS Autoupdate base, or at least there hasn't been in a while. Detonator has recently relied on a version of MHD's base, which is based on GH's base. And the only themes regularly updated are GH's. And GH also controls MWSPA. And I control the torrent.

This means it is within our grasp to change everything over, in one fell swoop, so that nothing breaks.

Almost nothing anyway, there are difficulties. Here is what will happen.

First, the base will change. The new base will have official three letter codes.
The result is that some pics will quit working. Your picture sets need to be renamed to match the base.
Unfortunately, the sets on Rapidshare and MediaFire can't just be renamed. Still, once you get the pics unzipped onto your hard drive, the sets can be brought into line with a simple batch renamer we could write.

Your themes will quit working properly too, for some sets.
The solution is to get a new theme. This is to be expected, since a new theme is required every time, even if only one new set is released.

The torrent files will have to be renamed. That's OK, because we're working on the new one anyway.
MWSPA and its support folders will have to be edited. I suppose GH is up to the task without too much difficulty.

Any other software like the Deckbuilder and Card Generator may have to be edited, I'm not sure how difficult this will be.

Since we defacto control the new bases, themes and pics sets anyway, this is easy to coordinate.

Please think carefully about it and make up your own mind. I've set the poll so you can change your vote.

Though personally I see no reason not to proceed with the change, I've tried to anticipate all the negatives, and I've probably overlooked something. I need you to let me know what I've missed.

Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now

PostPosted: 30 Aug 2008, 07:24
by doxaios
So the problem is with rs downloads and not with torrent?

Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now

PostPosted: 30 Aug 2008, 07:46
by Goblin Hero
Huggybaby wrote:I suppose GH is up to the task without too much difficulty.
Yep. I can change everything w/o problems.

Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now

PostPosted: 30 Aug 2008, 10:36
by extreme
all ok by me

Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now

PostPosted: 30 Aug 2008, 12:08
by Goblin Hero
We forgot about two problems:
1. MWS won't load old decks with old set codes.
2. MWS store set codes inside inventory files and I'm not sure whether it works.

Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now

PostPosted: 30 Aug 2008, 17:41
by Huggybaby
Inventory files, eh? I was afraid there might be something hard-coded that would mess up the plan.

Can anyone answer this question? (I still don't think it's a deal breaker.)

Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now

PostPosted: 30 Aug 2008, 18:59
by kenaustin
At some point in the future this was going to be necessary anyways. You guys are the number one source on the internet for Magic set pictures, and people use the pics here for other programs and proxies. What you are proposing would be beneficial to thousands, if not more, in the long run, and have the benefit of being compatible with WoTC the standard. I vote yes.

Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now

PostPosted: 31 Aug 2008, 06:08
by nummie
Hi,
I cast my lot with YES. MWS is not the most user friendly program. Anything that could be done to synchronize the torrent with the masterbase would be a huge help. Deck files can be rewritten, as well as themes. I say have a go at it.

Nummie-

Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now

PostPosted: 31 Aug 2008, 11:12
by Nyth
Well, a tool could always be developed (either within MWS or externally) that can parse the old mwDeck and mwInventory files and fix any of the issues the renaming would cause. Then again, I say this assuming that this is an easy thing to accomplish.

Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now

PostPosted: 01 Sep 2008, 04:33
by Huggybaby
Like GH said,
2. MWS store set codes inside inventory files and I'm not sure whether it works.
That's what remains to discover.

Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now

PostPosted: 02 Sep 2008, 18:21
by Huggybaby
The ayes have it, so I changed the topic back to a normal sticky.

Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now

PostPosted: 05 Sep 2008, 20:27
by Huggybaby
Now, I need a batch file or script that will allow me to batch convert the set names in a collection of decks. Any suggestions?

Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now

PostPosted: 15 Sep 2008, 15:30
by Nyth
I would just write a DOS batch file to do it. Simple and effective. All you'd need is something to rename directories and as long as you have the "before" and "after", there's no problems.

Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now

PostPosted: 27 Sep 2008, 08:52
by Nyth
Ok, so I've got a program to do the deck parsing and folder renaming. Where shall I post it? I don't think it should be floating around in public until it has been approved for use.
I'll need a complete up-to-date list of 2 to 3 letter code conversions, including promos and such.
The program uses a simple text file with the Old Code, New Code, and Set Name to work. It will go through the directory chosen and depending on which button is pressed, it will convert from 2->3 or 3->2 for either your mwDeck files or the picture subdirectories.

An extremely important thing to note is that if Conflux ends up having the 3 letter code of CON, we are going to have very big problems storing those cards on Windows systems (possibly others too) since CON is a reserved DOS keyword meaning that no directory can ever be created with that name. And there are no workarounds other than calling it something else like CFX or something silly like that.

Image

Re: Important 3 Letter MTG/MWS Set Codes Overhaul Poll: Vote Now

PostPosted: 27 Sep 2008, 15:18
by Snacko
REW Promo - Rewards
REL Promo - Release Events
PRE Promo - Prerelease Events
PR Promo - Other
JGC Promo - Judge Gift Cards
GTW Promo - Gateway
FNM Promo - FNM
CHP Promo - Champs
ARE Promo - Arena
THG Promo - Two-Headed Giant
SUM Promo - Summer of Magic
HHL Promo - Happy Holidays
APL Promo - Asia Pacific Land
EUL Promo - European Land Program
GUR Promo - Guru Lands
ARC Promo - Armada Comics
HPB Promo - Harper Prism Books
DLM Promo - DCI Legend
VG Vanguard
TKX Tokens - Tenth Edition
TK Tokens
ST,S99 Starter 1999
S00 Starter 2000
OV Oversized
DM,DKM Deckmasters 2001
BD,BTD Beatdown
AT,ATH Anthologies
BRB Battle Royale
EVG Elves vs Goblins
FVD Dragons
JVC Jace vs Chandra

A,LEA Alpha
B,LEB Beta
U,2ED Unlimited
AN,ARN Arabian Nights
AQ,ATQ Antiquities
R,3ED Revised
LG,LEG Legends
DK,DRK The Dark
FE,FEM Fallen Empires
4E,4ED,4TH Fourth Edition
CH,CHR Chronicles
HL,HML Homelands
IA,ICE Ice Age
AL,ALL Alliances
CS,CLD Coldsnap
CST Coldsnap Theme Decks
PT,POR Portal
P2,PO2 Portal Second Age
P3,PTK Portal Three Kingdoms
MI,MIR Mirage
5E,5ED,5TH Fifth Edition
VI,VIS Visions
WL,WTH Weatherlight
TE,TMP Tempest
SH,STH Stronghold
EX,EXO Exodus
UG,UGL Unglued
US,USG Urza's Saga
6E,6ED,6TH Sixth Edition
UL,ULG Urza's Legacy
UD,UDS Urza's Destiny
MM,MMQ Mercadian Masques
NE,NMS Nemesis
PY,PCY Prophecy
IN,INV Invasion
PS,PLS Planeshift
AP,APC Apocalypse
OD,ODY Odyssey
7E,7ED,7TH Seventh Edition
TO,TOR Torment
JU,JUD Judgment
ON,ONS Onslaught
LE,LGN Legions
SC,SCG Scourge
8E,8ED,8TH Eighth Edition
MR,MRD Mirrodin
DS,DST Darksteel
FD,5DN Fifth Dawn
CHK Champions of Kamigawa
UN,UNH Unhinged
9E,9ED,9TH Ninth Edition
BOK Betrayers of Kamigawa
SOK Saviors of Kamigawa
RAV,RV Ravnica: City of Guilds
GP,GPT Guildpact
DIS Dissension
TSP Time Spiral
TSB Time Spiral Timeshifted
PLC Planar Chaos
FUT Future Sight
10ED,10TH,10E Tenth Edition
LRW Lorwyn
MOR Morningtide
SHM Shadowmoor
EVE Eventide
ALA Shards of Alara
All the sets used by the MWS. There are 3 codes for each core edition as there used to be different naming conventions in the past in different masterbases.
You can also check out the 3 letter codes at Wikipedia