It is currently 29 Apr 2017, 23:22
   
Text Size

Card Development Questions

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, moomarc, Chris H., DennisBergkamp, Rob Cashwalker, friarsol, CCGHQ Admins

Re: Card Development Questions

Postby Hanmac » 18 Aug 2016, 08:34

i did a big change with ChooseCardName
now it does use (I)CardFace objects.

that makes it possible for Alhammarret to select Split Card Names.

But please check if i broke something.
Hanmac
 
Posts: 923
Joined: 06 May 2013, 18:44
Has thanked: 223 times
Been thanked: 152 times

Re: Card Development Questions

Postby vinnie » 24 Oct 2016, 00:13

older request | Open
where I can find all the abbreviated names of the sets that put in ./pics/cards? Today I spent the whole afternoon trying without find any documentation.

I looked also in the sources that I could find in http://www.cardforge.link/releases/forge/ doing a grep of a knew name (grep -ir "bng" ./*), and never finding anything (I've been looking at forge-ai-1.5.56-sources.jar, forge-core-1.5.56-sources.jar, forge-gui-desktop-1.5.56-sources.jar, forge-game-1.5.56-sources.jar).

In forge-core I found the file CardEdition.java with the following comment:
* @param code the MTG 3-letter set code
* @param code2 the 2 (usually) letter code used for image filenames/URLs distributed by the HQ pics team that
* use Magic Workstation-type edition codes. Older sets only had 2-letter codes, and some of the 3-letter
* codes they use now aren't the same as the official list of 3-letter codes. When Forge downloads set-pics,
* it uses the 3-letter codes for the folder no matter the age of the set.

* @param mciCode the code used by magiccards.info website.
but this does not explain the situation.

In ./res/editions/ there is a list of all editions with this codenames but here are two examples:
Code: Select all
[metadata]
Code=LEB
Date=1993-10-01
Name=Limited Edition Beta
Code2=B
MciCode=be
Type=Core
BoosterCovers=1
Booster=11 Common, 3 Uncommon, 1 Rare
Foil=NotSupported
Beta edition is an old set but also if should still use 3 characters code (as written in the previous comment), it uses only the "B" in Code2.
OK, then all sets using the Code2? NO! here another example:

Code: Select all
[metadata]
Code=BNG
Date=2014-02-07
Name=Born of the Gods
MciCode=bng
Type=Expansion
BoosterCovers=3
Booster=10 Common, 3 Uncommon, 1 RareMythic, 1 BasicLand THS
This edition totally lacking Code2, and use the BNG as folder name.
Please where can I find a unique and updated source of abbreviations of the set?

Thanks


Here is the current full list (helped by forge cards site):
Code: Select all
10E   Tenth Edition
4E    Fourth Edition
5E    Fifth Edition
6E    Classic Sixth Edition
7E    Seventh Edition
8E    Eighth Edition
9E    Ninth Edition
A     Limited Edition Alpa
AL    Alliances
ALA   Shards of Alara
AN    Arabian Nights
AP    Apocalypse
AQ    Antiquities
ARB   Alara Reborn
ARC   Archenemy
AVR   Avacyn Restored
B     Limited Edition Beta
BFZ   Battle for Zendikar
BNG   Born of the Gods
BOK   Betrayers of Kamigawa
C13   Commander 2013
C14   Commander 2014
C15   Commander 2015
C16   Commander 2016
CFX   Conflux
CH    Chronicles
CHK   Champions of Kamigawa
CM1   Commander's Arsenal
CN2   Conspiracy: Take the Crown
CNS   Conspiracy
COM   Commander
CS    Coldsnap
DD2   Duel Decks: Jave vs. Chandra
DDC   Duel Decks: Divine vs. Demonic
DDD   Duel Decks: Garruk vs. Liliana
DDE   Duel Decks: Phyrexia vs. the Coalition
DDF   Duel Decks: Elpeth vs. tezzeret
DDG   Duel Decks: Knights vs. Dragons
DDH   Duel Decks: Ajani vs. Nicol Bolas
DDI   Duel Decks: Vanser vs. Koth
DDJ   Duel Decks: Izzet vs. Golgari
DDK   Duel Decks: Sorin vs. Tibalt
DDL   Duel Decks: Heroes vs. Monsters
DDM   Duel Decks: Jave vs. Vraska
DDN   Duel Decks: Speed vs. Cunning
DDO   Duel Decks: Kiora vs. Elspeth
DDP   Duel Decks: Zendikar vs. Eldrazi
DDQ   Duel Decks: Blessed vs. Cursed
DDR   Duel Decks: Nissa vs. Ob Nixilis
DGM   Dragon's Maze
DIS   Dissension
DK    The Dark
DKA   Dark Ascension
DRB   From the Vault: Dragons
DS    Darksteel
DTK   Dragons of Tarkir
EMA   Eternal Masters
EMN   Eldritch Moon
EVE   Eventide
EVG   Duel Decks: Elves vs. Goblins
EX    Exodus
EXP   Zendikar Expeditions
FD    Fifth Dawn
FE    Fallen Empires
FRF   Fate Reforged
FUT   Future Sight
FVE   From the Vault: Exiled
FVL   From The Vault: Legends
FVR   From the Vault: Relics
GP    Guildpact
GTC   GATECRASH
HL    Homelands
HOP   Planechase
IA    Ice Age
IN    Invasion
ISD   Innistrad
JOU   Journey into Nyx
JU    Judgment
KLD   kaladesh
KTK   Khans of Tarkir
LE    Legions
LG    Legends
LRW   Lorwyn
M10   Magic 2010
M11   Magic 2011
M12   Magic 2012
M13   Magic 2013
M14   Magic 2014
M15   Magic 2015
MBP   Promo set for Gatherer
MBS   Mirrodin Besieged
MI    Mirage
MM    Mercadian Masques
MM2   Modern Masters 2015
MMA   Modern Masters
MOR   Morningtide
MPS   kaladesh inventions
MR    Mirrodin
NE    Nemesis
NPH   New Phyrexia
OD    Odyssey
OGW   Oath of the Gatewatch
ON    Onslaught
ORI   Magic Origins
P2    Portal Second Age
P3    Portal Three Kingdoms
PC2   Planechase 2012 Edition
PD2   Premium Deck Series: Fire and Lightning
PD3   Premium Deck Series: Graveborn
PDS   Premium Deck Series: Slivers
PS    Planeshift
PLC   Planar Chaos
PT    Portal
PY    Prophecy
R     Revised Edition
RAV   Ravnica: City of Guilds
ROE   Rise of the Eldrazi
RTR   Return to Ravnica
S2K   Starter 2000
SC    Scourge
SH    Stronghold
SHM   Shadowmoor
SOI   Shadows Over Innistrad
SOK   Saviors of Kamigawa
SOM   Scars of Mirrodin
ST    Starter 1999
TE    Tempest
THS   Theros
TO    Torment
TPR   Tempest Remastered
TSB   Time Spiral "Timeshifted"
TSP   Time Spiral
U     Unlimited Edition
UD    Urza's Destiny
UGF   Ugin's Fate
UL    Urza's Legacy
US    Urza's Saga
V12   From the Vault: Realms
V13   From the Vault: Twenty
V14   From The Vault: Annihilation
V15   From the Vault: Angels
V16   From the Vault: Lore
VAN   Vanguard
VI    Visions
VMA   Vintage Masters
W16   Welcome 2016
WL    Weatherlight
WWK   Worldwake
ZEN   Zendikar
User avatar
vinnie
 
Posts: 102
Joined: 21 Dec 2015, 14:03
Has thanked: 22 times
Been thanked: 6 times

Previous

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 7 guests


Who is online

In total there are 7 users online :: 0 registered, 0 hidden and 7 guests (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: No registered users and 7 guests

Login Form