diff --git a/gallery/img/afrModule.png b/gallery/img/afrModule.png new file mode 100644 index 00000000..e535369a Binary files /dev/null and b/gallery/img/afrModule.png differ diff --git a/gallery/img/afrSourcebook.png b/gallery/img/afrSourcebook.png new file mode 100644 index 00000000..af6f6feb Binary files /dev/null and b/gallery/img/afrSourcebook.png differ diff --git a/gallery/img/akhInvocation.png b/gallery/img/akhInvocation.png new file mode 100644 index 00000000..a82a7475 Binary files /dev/null and b/gallery/img/akhInvocation.png differ diff --git a/gallery/img/bfzExpedition.png b/gallery/img/bfzExpedition.png new file mode 100644 index 00000000..bcf707f1 Binary files /dev/null and b/gallery/img/bfzExpedition.png differ diff --git a/gallery/img/borderless.png b/gallery/img/borderless.png new file mode 100644 index 00000000..9fb27f57 Binary files /dev/null and b/gallery/img/borderless.png differ diff --git a/gallery/img/brawlCrown.png b/gallery/img/brawlCrown.png new file mode 100644 index 00000000..82192708 Binary files /dev/null and b/gallery/img/brawlCrown.png differ diff --git a/gallery/img/cmrEtched.png b/gallery/img/cmrEtched.png new file mode 100644 index 00000000..ba226413 Binary files /dev/null and b/gallery/img/cmrEtched.png differ diff --git a/gallery/img/eld.png b/gallery/img/eld.png new file mode 100644 index 00000000..c4a3ed97 Binary files /dev/null and b/gallery/img/eld.png differ diff --git a/gallery/img/extended.png b/gallery/img/extended.png new file mode 100644 index 00000000..9e182f0d Binary files /dev/null and b/gallery/img/extended.png differ diff --git a/gallery/img/fullText.png b/gallery/img/fullText.png new file mode 100644 index 00000000..06be0a32 Binary files /dev/null and b/gallery/img/fullText.png differ diff --git a/gallery/img/fullart.png b/gallery/img/fullart.png new file mode 100644 index 00000000..0662afa6 Binary files /dev/null and b/gallery/img/fullart.png differ diff --git a/gallery/img/futFutureshifted.png b/gallery/img/futFutureshifted.png new file mode 100644 index 00000000..8895d94d Binary files /dev/null and b/gallery/img/futFutureshifted.png differ diff --git a/gallery/img/gideon.png b/gallery/img/gideon.png new file mode 100644 index 00000000..4f5d69dc Binary files /dev/null and b/gallery/img/gideon.png differ diff --git a/gallery/img/gideonArtifact.png b/gallery/img/gideonArtifact.png new file mode 100644 index 00000000..01c8cfdf Binary files /dev/null and b/gallery/img/gideonArtifact.png differ diff --git a/gallery/img/ikoNickname.png b/gallery/img/ikoNickname.png new file mode 100644 index 00000000..79447643 Binary files /dev/null and b/gallery/img/ikoNickname.png differ diff --git a/gallery/img/inverted.png b/gallery/img/inverted.png new file mode 100644 index 00000000..abc3d658 Binary files /dev/null and b/gallery/img/inverted.png differ diff --git a/gallery/img/jace.png b/gallery/img/jace.png new file mode 100644 index 00000000..e17cb3c7 Binary files /dev/null and b/gallery/img/jace.png differ diff --git a/gallery/img/khm.png b/gallery/img/khm.png new file mode 100644 index 00000000..0bc299ef Binary files /dev/null and b/gallery/img/khm.png differ diff --git a/gallery/img/khmInvention.png b/gallery/img/khmInvention.png new file mode 100644 index 00000000..e55fd0f2 Binary files /dev/null and b/gallery/img/khmInvention.png differ diff --git a/gallery/img/khmNonlegendary.png b/gallery/img/khmNonlegendary.png new file mode 100644 index 00000000..3afbca58 Binary files /dev/null and b/gallery/img/khmNonlegendary.png differ diff --git a/gallery/img/khmPraetors.png b/gallery/img/khmPraetors.png new file mode 100644 index 00000000..04d9bebd Binary files /dev/null and b/gallery/img/khmPraetors.png differ diff --git a/gallery/img/m21BasriKet.png b/gallery/img/m21BasriKet.png new file mode 100644 index 00000000..e48dbc76 Binary files /dev/null and b/gallery/img/m21BasriKet.png differ diff --git a/gallery/img/m21Chandra.png b/gallery/img/m21Chandra.png new file mode 100644 index 00000000..814d630f Binary files /dev/null and b/gallery/img/m21Chandra.png differ diff --git a/gallery/img/m21Garruk.png b/gallery/img/m21Garruk.png new file mode 100644 index 00000000..5ee05162 Binary files /dev/null and b/gallery/img/m21Garruk.png differ diff --git a/gallery/img/m21Liliana.png b/gallery/img/m21Liliana.png new file mode 100644 index 00000000..799774fd Binary files /dev/null and b/gallery/img/m21Liliana.png differ diff --git a/gallery/img/m21Teferi.png b/gallery/img/m21Teferi.png new file mode 100644 index 00000000..3461e4c7 Binary files /dev/null and b/gallery/img/m21Teferi.png differ diff --git a/gallery/img/mh2Sketch.png b/gallery/img/mh2Sketch.png new file mode 100644 index 00000000..686923be Binary files /dev/null and b/gallery/img/mh2Sketch.png differ diff --git a/gallery/img/midEquinox.png b/gallery/img/midEquinox.png new file mode 100644 index 00000000..a16a2ffc Binary files /dev/null and b/gallery/img/midEquinox.png differ diff --git a/gallery/img/midEternalNight.png b/gallery/img/midEternalNight.png new file mode 100644 index 00000000..b5db9dbe Binary files /dev/null and b/gallery/img/midEternalNight.png differ diff --git a/gallery/img/neoNeon.png b/gallery/img/neoNeon.png new file mode 100644 index 00000000..5b3fff7b Binary files /dev/null and b/gallery/img/neoNeon.png differ diff --git a/gallery/img/neoNinja.png b/gallery/img/neoNinja.png new file mode 100644 index 00000000..5d6a0608 Binary files /dev/null and b/gallery/img/neoNinja.png differ diff --git a/gallery/img/neoSamurai.png b/gallery/img/neoSamurai.png new file mode 100644 index 00000000..b7bed07d Binary files /dev/null and b/gallery/img/neoSamurai.png differ diff --git a/gallery/img/staMysticalArchive.png b/gallery/img/staMysticalArchive.png new file mode 100644 index 00000000..8b4345b2 Binary files /dev/null and b/gallery/img/staMysticalArchive.png differ diff --git a/gallery/img/staMysticalArchiveJP.png b/gallery/img/staMysticalArchiveJP.png new file mode 100644 index 00000000..9e5a63ce Binary files /dev/null and b/gallery/img/staMysticalArchiveJP.png differ diff --git a/gallery/img/staMysticalArchiveJPHorizontal.png b/gallery/img/staMysticalArchiveJPHorizontal.png new file mode 100644 index 00000000..5256cae9 Binary files /dev/null and b/gallery/img/staMysticalArchiveJPHorizontal.png differ diff --git a/gallery/img/thb.png b/gallery/img/thb.png new file mode 100644 index 00000000..c3a49213 Binary files /dev/null and b/gallery/img/thb.png differ diff --git a/gallery/img/universesBeyond.png b/gallery/img/universesBeyond.png new file mode 100644 index 00000000..88732673 Binary files /dev/null and b/gallery/img/universesBeyond.png differ diff --git a/gallery/img/vowFang.png b/gallery/img/vowFang.png new file mode 100644 index 00000000..777847b3 Binary files /dev/null and b/gallery/img/vowFang.png differ diff --git a/gallery/img/xlnMap.png b/gallery/img/xlnMap.png new file mode 100644 index 00000000..ad8bb150 Binary files /dev/null and b/gallery/img/xlnMap.png differ diff --git a/gallery/img/znr.png b/gallery/img/znr.png new file mode 100644 index 00000000..61be2091 Binary files /dev/null and b/gallery/img/znr.png differ diff --git a/gallery/img/znrExpedition.png b/gallery/img/znrExpedition.png new file mode 100644 index 00000000..5c902467 Binary files /dev/null and b/gallery/img/znrExpedition.png differ diff --git a/img/frames/custom/celid/asap/a.png b/img/frames/custom/celid/asap/a.png new file mode 100644 index 00000000..7bda9eec Binary files /dev/null and b/img/frames/custom/celid/asap/a.png differ diff --git a/img/frames/custom/celid/asap/aThumb.png b/img/frames/custom/celid/asap/aThumb.png new file mode 100644 index 00000000..962cb6cc Binary files /dev/null and b/img/frames/custom/celid/asap/aThumb.png differ diff --git a/img/frames/custom/celid/asap/b.png b/img/frames/custom/celid/asap/b.png new file mode 100644 index 00000000..886f1e61 Binary files /dev/null and b/img/frames/custom/celid/asap/b.png differ diff --git a/img/frames/custom/celid/asap/bThumb.png b/img/frames/custom/celid/asap/bThumb.png new file mode 100644 index 00000000..178ee5a4 Binary files /dev/null and b/img/frames/custom/celid/asap/bThumb.png differ diff --git a/img/frames/custom/celid/asap/g.png b/img/frames/custom/celid/asap/g.png new file mode 100644 index 00000000..3e402dbf Binary files /dev/null and b/img/frames/custom/celid/asap/g.png differ diff --git a/img/frames/custom/celid/asap/gThumb.png b/img/frames/custom/celid/asap/gThumb.png new file mode 100644 index 00000000..5aec64f6 Binary files /dev/null and b/img/frames/custom/celid/asap/gThumb.png differ diff --git a/img/frames/custom/celid/asap/m.png b/img/frames/custom/celid/asap/m.png new file mode 100644 index 00000000..d2d6dfe2 Binary files /dev/null and b/img/frames/custom/celid/asap/m.png differ diff --git a/img/frames/custom/celid/asap/mThumb.png b/img/frames/custom/celid/asap/mThumb.png new file mode 100644 index 00000000..5d19aa9d Binary files /dev/null and b/img/frames/custom/celid/asap/mThumb.png differ diff --git a/img/frames/custom/celid/asap/margins/a.png b/img/frames/custom/celid/asap/margins/a.png new file mode 100644 index 00000000..b39f81bd Binary files /dev/null and b/img/frames/custom/celid/asap/margins/a.png differ diff --git a/img/frames/custom/celid/asap/margins/aThumb.png b/img/frames/custom/celid/asap/margins/aThumb.png new file mode 100644 index 00000000..f5d44404 Binary files /dev/null and b/img/frames/custom/celid/asap/margins/aThumb.png differ diff --git a/img/frames/custom/celid/asap/margins/b.png b/img/frames/custom/celid/asap/margins/b.png new file mode 100644 index 00000000..818a1bf5 Binary files /dev/null and b/img/frames/custom/celid/asap/margins/b.png differ diff --git a/img/frames/custom/celid/asap/margins/bThumb.png b/img/frames/custom/celid/asap/margins/bThumb.png new file mode 100644 index 00000000..2b95a4b9 Binary files /dev/null and b/img/frames/custom/celid/asap/margins/bThumb.png differ diff --git a/img/frames/custom/celid/asap/margins/g.png b/img/frames/custom/celid/asap/margins/g.png new file mode 100644 index 00000000..3b37d4dd Binary files /dev/null and b/img/frames/custom/celid/asap/margins/g.png differ diff --git a/img/frames/custom/celid/asap/margins/gThumb.png b/img/frames/custom/celid/asap/margins/gThumb.png new file mode 100644 index 00000000..8b7cc135 Binary files /dev/null and b/img/frames/custom/celid/asap/margins/gThumb.png differ diff --git a/img/frames/custom/celid/asap/margins/m.png b/img/frames/custom/celid/asap/margins/m.png new file mode 100644 index 00000000..2043f431 Binary files /dev/null and b/img/frames/custom/celid/asap/margins/m.png differ diff --git a/img/frames/custom/celid/asap/margins/mThumb.png b/img/frames/custom/celid/asap/margins/mThumb.png new file mode 100644 index 00000000..90ff960c Binary files /dev/null and b/img/frames/custom/celid/asap/margins/mThumb.png differ diff --git a/img/frames/custom/celid/asap/margins/r.png b/img/frames/custom/celid/asap/margins/r.png new file mode 100644 index 00000000..65003d93 Binary files /dev/null and b/img/frames/custom/celid/asap/margins/r.png differ diff --git a/img/frames/custom/celid/asap/margins/rThumb.png b/img/frames/custom/celid/asap/margins/rThumb.png new file mode 100644 index 00000000..a3982527 Binary files /dev/null and b/img/frames/custom/celid/asap/margins/rThumb.png differ diff --git a/img/frames/custom/celid/asap/margins/u.png b/img/frames/custom/celid/asap/margins/u.png new file mode 100644 index 00000000..06858047 Binary files /dev/null and b/img/frames/custom/celid/asap/margins/u.png differ diff --git a/img/frames/custom/celid/asap/margins/uThumb.png b/img/frames/custom/celid/asap/margins/uThumb.png new file mode 100644 index 00000000..ca87ad29 Binary files /dev/null and b/img/frames/custom/celid/asap/margins/uThumb.png differ diff --git a/img/frames/custom/celid/asap/margins/w.png b/img/frames/custom/celid/asap/margins/w.png new file mode 100644 index 00000000..ce548a27 Binary files /dev/null and b/img/frames/custom/celid/asap/margins/w.png differ diff --git a/img/frames/custom/celid/asap/margins/wThumb.png b/img/frames/custom/celid/asap/margins/wThumb.png new file mode 100644 index 00000000..e5b40b77 Binary files /dev/null and b/img/frames/custom/celid/asap/margins/wThumb.png differ diff --git a/img/frames/custom/celid/asap/pt/a.png b/img/frames/custom/celid/asap/pt/a.png new file mode 100644 index 00000000..5aadc027 Binary files /dev/null and b/img/frames/custom/celid/asap/pt/a.png differ diff --git a/img/frames/custom/celid/asap/pt/b.png b/img/frames/custom/celid/asap/pt/b.png new file mode 100644 index 00000000..dbb24e9f Binary files /dev/null and b/img/frames/custom/celid/asap/pt/b.png differ diff --git a/img/frames/custom/celid/asap/pt/g.png b/img/frames/custom/celid/asap/pt/g.png new file mode 100644 index 00000000..eb01ce17 Binary files /dev/null and b/img/frames/custom/celid/asap/pt/g.png differ diff --git a/img/frames/custom/celid/asap/pt/m.png b/img/frames/custom/celid/asap/pt/m.png new file mode 100644 index 00000000..4b5d0d9a Binary files /dev/null and b/img/frames/custom/celid/asap/pt/m.png differ diff --git a/img/frames/custom/celid/asap/pt/r.png b/img/frames/custom/celid/asap/pt/r.png new file mode 100644 index 00000000..6027805a Binary files /dev/null and b/img/frames/custom/celid/asap/pt/r.png differ diff --git a/img/frames/custom/celid/asap/pt/u.png b/img/frames/custom/celid/asap/pt/u.png new file mode 100644 index 00000000..3ddfd904 Binary files /dev/null and b/img/frames/custom/celid/asap/pt/u.png differ diff --git a/img/frames/custom/celid/asap/pt/w.png b/img/frames/custom/celid/asap/pt/w.png new file mode 100644 index 00000000..e7565457 Binary files /dev/null and b/img/frames/custom/celid/asap/pt/w.png differ diff --git a/img/frames/custom/celid/asap/r.png b/img/frames/custom/celid/asap/r.png new file mode 100644 index 00000000..cd50eade Binary files /dev/null and b/img/frames/custom/celid/asap/r.png differ diff --git a/img/frames/custom/celid/asap/rThumb.png b/img/frames/custom/celid/asap/rThumb.png new file mode 100644 index 00000000..719f8cdb Binary files /dev/null and b/img/frames/custom/celid/asap/rThumb.png differ diff --git a/img/frames/custom/celid/asap/u.png b/img/frames/custom/celid/asap/u.png new file mode 100644 index 00000000..450f4a4a Binary files /dev/null and b/img/frames/custom/celid/asap/u.png differ diff --git a/img/frames/custom/celid/asap/uThumb.png b/img/frames/custom/celid/asap/uThumb.png new file mode 100644 index 00000000..80f853ac Binary files /dev/null and b/img/frames/custom/celid/asap/uThumb.png differ diff --git a/img/frames/custom/celid/asap/w.png b/img/frames/custom/celid/asap/w.png new file mode 100644 index 00000000..7bb575ad Binary files /dev/null and b/img/frames/custom/celid/asap/w.png differ diff --git a/img/frames/custom/celid/asap/wThumb.png b/img/frames/custom/celid/asap/wThumb.png new file mode 100644 index 00000000..246a80db Binary files /dev/null and b/img/frames/custom/celid/asap/wThumb.png differ diff --git a/js/frames/groupCustom.js b/js/frames/groupCustom.js index b5245cf4..6dd3e9d8 100644 --- a/js/frames/groupCustom.js +++ b/js/frames/groupCustom.js @@ -23,5 +23,6 @@ loadFramePacks([ {name:'Cartoony - Sheepwave', value:'Cartoony'}, {name:'Neon - Elry', value:'CustomNeon'}, {name:'Ixalan - @feuer_ameise', value:'FeuerAmeiseIxalan'}, - {name:'Kaldheim, Fullart - @feuer_ameise', value:'FeuerAmeiseKaldheim'} + {name:'Kaldheim, Fullart - @feuer_ameise', value:'FeuerAmeiseKaldheim'}, + {name:'Celid\'s Asap', value:'CustomCelidAsap'} ]) \ No newline at end of file diff --git a/js/frames/groupMargin.js b/js/frames/groupMargin.js index 655e74a0..806c299f 100644 --- a/js/frames/groupMargin.js +++ b/js/frames/groupMargin.js @@ -3,7 +3,9 @@ loadFramePacks([ {name:'D&D Module Margins', value:'MarginDNDModule'}, {name:'Mystical Archive Margins', value:'MarginMysticalArchive'}, {name:'Unstable Basics Margins', value:'MarginUnstable'}, - {name:'Invocation Margins', value:'MarginInvocation'} + {name:'Invocation Margins', value:'MarginInvocation'}, + {name:'Custom Margins', value:'disabled'}, + {name:'Celid\'s Asap Margins', value:'CustomMarginCelidAsap'} ]) //For multiple Margin packs diff --git a/js/frames/packCustomCelidAsap.js b/js/frames/packCustomCelidAsap.js new file mode 100644 index 00000000..f378ecff --- /dev/null +++ b/js/frames/packCustomCelidAsap.js @@ -0,0 +1,48 @@ +//Create objects for common properties across available frames +var masks = []//[{src:'/img/frames/m15/regular/m15MaskPinline.png', name:'Pinline'}]; +// var bounds = {x:0.74, y:0.85, width:0.26, height:0.15}; +//defines available frames +availableFrames = [ + {name:'White Frame', src:'/img/frames/custom/celid/asap/w.png', masks:masks}, + {name:'Blue Frame', src:'/img/frames/custom/celid/asap/u.png', masks:masks}, + {name:'Black Frame', src:'/img/frames/custom/celid/asap/b.png', masks:masks}, + {name:'Red Frame', src:'/img/frames/custom/celid/asap/r.png', masks:masks}, + {name:'Green Frame', src:'/img/frames/custom/celid/asap/g.png', masks:masks}, + {name:'Multicolored Frame', src:'/img/frames/custom/celid/asap/m.png', masks:masks}, + {name:'Artifact Frame', src:'/img/frames/custom/celid/asap/a.png', masks:masks} +]; +//disables/enables the "Load Frame Version" button +document.querySelector('#loadFrameVersion').disabled = false; +//defines process for loading this version, if applicable +document.querySelector('#loadFrameVersion').onclick = async function() { + //resets things so that every frame doesn't have to + await resetCardIrregularities(); + //sets card version + card.version = 'customCelidAsap'; + //art bounds + card.artBounds = {x:0, y:0, width:1, height:0.8929}; + autoFitArt(); + //set symbol bounds + card.setSymbolBounds = {x:0.9213, y:0.9196, width:0.12, height:0.0362, vertical:'center', horizontal: 'right'}; + resetSetSymbol(); + //watermark bounds + card.watermarkBounds = {x:0.5, y:0.7762, width:0.75, height:0.2305}; + resetWatermark(); + //text + loadTextOptions({ + mana: {name:'Mana Cost', text:'', x:0.37, y:0.0267, width:0.26, height:54/2100, oneLine:true, size:54/1638, align:'center', manaCost:true, manaSpacing:0}, + title: {name:'Title', text:'', x:0.06, y:0.0743, width:0.88, height:0.04, oneLine:true, font:'belerenb', size:0.04, color:'white', align:'center'}, + type: {name:'Type', text:'', x:0.07, y:0.9058, width:0.86, height:0.0286, oneLine:true, font:'belerenb', size:0.0286, color:'white', align:'center'}, + rules: {name:'Rules Text', text:'', x:0.074, y:0.672, width:0.852, height:0.2191, size:0.0362, color:'white', align:'center'}, + // pt: {name:'Power/Toughness', text:'', x:0.7928, y:0.902, width:0.1367, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center', color:'white'} + }); + //bottom info + await loadBottomInfo({ + midLeft: {text:'{elemidinfo-set}*{elemidinfo-language} {fontbelerenbsc}{fontsize' + scaleHeight(0.001) + '}{upinline' + scaleHeight(0.0005) + '}\uFFEE{elemidinfo-artist}', x:0.0647, y:0.9548, width:0.8707, height:0.0171, oneLine:true, font:'gothammedium', size:0.0171, color:'white', outlineWidth:0.003}, + bottomLeft: {text:'NOT FOR SALE', x:0.0647, y:0.9719, width:0.8707, height:0.0143, oneLine:true, font:'gothammedium', size:0.0143, color:'white', outlineWidth:0.003}, + wizards: {name:'wizards', text:'\u2122 & \u00a9 {elemidinfo-year} Wizards of the Coast', x:0.0647, y:0.9549, width:0.8707, height:0.0167, oneLine:true, font:'mplantin', size:0.0162, color:'white', align:'right', outlineWidth:0.003}, + bottomRight: {text:'CardConjurer.com', x:0.0647, y:0.972, width:0.8707, height:0.0143, oneLine:true, font:'mplantin', size:0.0143, color:'white', align:'right', outlineWidth:0.003} + }); +} +//loads available frames +loadFramePack(); \ No newline at end of file diff --git a/js/frames/packCustomMarginCelidAsap.js b/js/frames/packCustomMarginCelidAsap.js new file mode 100644 index 00000000..cbbf2d5b --- /dev/null +++ b/js/frames/packCustomMarginCelidAsap.js @@ -0,0 +1,19 @@ +//Create objects for common properties across available frames +var bounds = {x:-0.044, y:0.6143, width:1.088, height:0.4143}; +var ogBounds = {x:0, y:0, width:1, height:1}; +//defines available frames +availableFrames = [ + {name:'White Extension', src:'/img/frames/custom/celid/asap/margins/w.png', bounds:bounds, ogBounds:ogBounds}, + {name:'Blue Extension', src:'/img/frames/custom/celid/asap/margins/u.png', bounds:bounds, ogBounds:ogBounds}, + {name:'Black Extension', src:'/img/frames/custom/celid/asap/margins/b.png', bounds:bounds, ogBounds:ogBounds}, + {name:'Red Extension', src:'/img/frames/custom/celid/asap/margins/r.png', bounds:bounds, ogBounds:ogBounds}, + {name:'Green Extension', src:'/img/frames/custom/celid/asap/margins/g.png', bounds:bounds, ogBounds:ogBounds}, + {name:'Multicolored Extension', src:'/img/frames/custom/celid/asap/margins/m.png', bounds:bounds, ogBounds:ogBounds}, + {name:'Artifact Extension', src:'/img/frames/custom/celid/asap/margins/a.png', bounds:bounds, ogBounds:ogBounds} +]; +//disables/enables the "Load Frame Version" button +document.querySelector('#loadFrameVersion').disabled = false; +//defines process for loading this version, if applicable +document.querySelector('#loadFrameVersion').onclick = loadMarginVersion; +//loads available frames +loadFramePack(); \ No newline at end of file