Add nonlegendary Phyrexian frame

This commit is contained in:
Josh Birnholz
2023-02-04 14:29:53 -05:00
committed by Josh birnholz
parent 3a334332df
commit ac5855a5d8
45 changed files with 17 additions and 15 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="1500" height="2100" viewBox="0 0 1500 2100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<path id="Border" d="M0,0L1500,0L1500,2100L0,2100L0,0ZM750,44.029C546.167,65.904 470.1,76.034 366.114,86.172C347.083,88.028 317.293,93.889 308.043,87.852C294.444,78.976 293.712,65.638 319.118,53.451C277.953,54.922 238.414,62.727 211.453,74.322C144.361,103.177 114.408,89.915 132,50C91.883,59.908 62.789,85.456 44.59,126.462C70.871,154.604 70.557,189.815 51.138,230.105C79.826,231.082 81.348,266.852 56,270.254C56.905,274.12 58.319,277.427 60,280.439L60,1765C60.581,1788.38 72.058,1825.64 96.093,1849.36C97.36,1850.62 102,1866 102,1866C97.358,1878.29 89.418,1891.71 79,1906C114.939,1951.64 225.683,1958.23 319,1945L358,1943L442.12,1943.4L452.624,1950.45C483.839,1940.28 570.546,1944.06 637.256,1944.4C638.351,1944.47 750,1944.5 750,1944.5C750,1944.5 861.649,1944.47 862.744,1944.4C929.454,1944.06 1016.16,1940.28 1047.38,1950.45L1057.88,1943.4L1142,1943L1181,1945C1274.32,1958.23 1385.06,1951.64 1421,1906C1410.58,1891.71 1402.64,1878.29 1398,1866C1398,1866 1402.64,1850.62 1403.91,1849.36C1427.94,1825.64 1439.42,1788.38 1440,1765L1440,280.439C1441.68,277.427 1443.1,274.12 1444,270.254C1418.65,266.852 1420.17,231.082 1448.86,230.105C1429.44,189.815 1429.13,154.604 1455.41,126.462C1437.21,85.456 1408.12,59.908 1368,50C1385.59,89.915 1355.64,103.177 1288.55,74.322C1261.59,62.727 1222.05,54.922 1180.88,53.451C1206.29,65.638 1205.56,78.976 1191.96,87.852C1182.71,93.889 1152.92,88.028 1133.89,86.172C1029.9,76.034 953.833,65.904 750,44.029Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="1500" height="2100" viewBox="0 0 1500 2100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<path id="pinline-mask" serif:id="pinline mask" d="M1403.9,1264.13C1401.27,1275.76 1396.27,1287.38 1388,1299L112,1299C103.758,1287.42 98.771,1275.84 96.132,1264.27L96.102,1264.13C94.027,1283.92 84.867,1301.61 68.971,1305.24C66.735,1305.75 65.802,1308.25 67,1309C79.317,1316.75 103.239,1361.88 97,1363L97,1575C97.264,1591.55 102.169,1604.62 108,1617C100.834,1631.21 95.918,1646.05 95,1662L95.975,1849.25C95.975,1849.25 95.961,1849.23 96.093,1849.36C97.36,1850.62 102,1866 102,1866C97.358,1878.29 89.418,1891.71 79,1906C114.939,1951.64 225.683,1958.23 319,1945L358,1943L442.12,1943.4L452.624,1950.45C483.839,1940.28 570.546,1944.06 637.256,1944.4C638.351,1944.47 750,1944.5 750,1944.5C750,1944.5 861.649,1944.47 862.744,1944.4C929.454,1944.06 1016.16,1940.28 1047.38,1950.45L1057.88,1943.4L1142,1943L1181,1945C1274.32,1958.23 1385.06,1951.64 1421,1906C1410.58,1891.71 1402.64,1878.29 1398,1866C1398,1866 1402.64,1850.62 1403.91,1849.36C1404.04,1849.23 1404.03,1849.25 1404.03,1849.25L1405,1662C1404.08,1646.05 1399.17,1631.21 1392,1617C1397.83,1604.62 1402.74,1591.55 1403,1575L1403,1363C1396.76,1361.88 1420.68,1316.75 1433,1309C1434.2,1308.25 1433.27,1305.75 1431.03,1305.24C1415.13,1301.61 1405.97,1283.92 1403.9,1264.13ZM748.219,1325.25L751.781,1325.25C1259.33,1325.04 1374.15,1325.24 1374.56,1326.29C1374.83,1327 1374.93,1350.96 1374.78,1379.54L1374.5,1431.5L1370.1,1441.5C1353.98,1478.1 1348.4,1505.73 1352.04,1531C1354.34,1546.96 1362.25,1565.94 1368.02,1569.35L1371,1571.11L1371,1662.39L1368.57,1664.94C1364.66,1669.05 1359.27,1678.69 1357.47,1684.83C1356.55,1687.95 1355.44,1691.63 1355,1693C1348.4,1713.74 1352.03,1749.67 1363.65,1778.79L1366.17,1785.07L1365.76,1822.79C1365.12,1882.34 1358.17,1902.97 1322.84,1916.51C1284.82,1931.08 1316.1,1926.07 750,1925.5C183.898,1926.07 215.18,1931.08 177.158,1916.51C141.833,1902.97 134.884,1882.34 134.243,1822.79L133.834,1785.07L136.346,1778.79C147.971,1749.67 151.598,1713.74 145.001,1693C144.563,1691.63 143.452,1687.95 142.534,1684.83C140.726,1678.69 135.341,1669.05 131.434,1664.94L129,1662.39L129,1571.11L131.985,1569.35C137.753,1565.94 145.661,1546.96 147.96,1531C151.598,1505.73 146.025,1478.1 129.904,1441.5L125.501,1431.5L125.224,1379.54C125.07,1350.96 125.171,1327 125.441,1326.29C125.846,1325.24 240.671,1325.04 748.219,1325.25ZM1440,280.439C1441.68,277.427 1443.1,274.12 1444,270.254C1418.65,266.852 1420.17,231.082 1448.86,230.105C1429.44,189.815 1429.13,154.604 1455.41,126.462C1437.21,85.456 1408.12,59.908 1368,50C1385.59,89.915 1355.64,103.177 1288.55,74.322C1261.59,62.727 1222.05,54.922 1180.88,53.451C1206.29,65.638 1205.56,78.976 1191.96,87.852C1182.71,93.889 1152.92,88.028 1133.89,86.172C1029.9,76.034 953.833,65.904 750,44.029C546.167,65.904 470.1,76.034 366.114,86.172C347.083,88.028 317.293,93.889 308.043,87.852C294.444,78.976 293.712,65.638 319.118,53.451C277.953,54.922 238.414,62.727 211.453,74.322C144.361,103.177 114.408,89.915 132,50C91.883,59.908 62.789,85.456 44.59,126.462C70.871,154.604 70.557,189.815 51.138,230.105C79.826,231.082 81.348,266.852 56,270.254C56.905,274.12 58.319,277.427 60,280.439L60,280.845C90.068,344.826 106.031,452.605 115,561.392L115,648C98.336,1066.68 97.779,1105.75 70.118,1150.63C69.429,1151.75 70.373,1153.43 71.505,1153.23C98.289,1148.55 104.903,1175.34 78,1191C75.05,1192.72 70.321,1199.14 70.323,1201.71C70.325,1204.53 72.898,1204.7 75,1206C84.426,1211.81 90.713,1222.47 93.954,1234.74L93.975,1234.43C95.133,1217.95 100.272,1201.48 112,1185L1388,1185L1388.32,1185.44C1399.89,1201.88 1404.94,1218.31 1406.05,1234.74C1409.29,1222.47 1415.57,1211.81 1425,1206C1427.1,1204.7 1429.67,1204.53 1429.68,1201.71C1429.68,1199.14 1424.95,1192.72 1422,1191C1395.1,1175.34 1401.71,1148.55 1428.5,1153.23C1429.63,1153.43 1430.57,1151.75 1429.88,1150.63C1402.22,1105.75 1401.66,1066.68 1385,648L1385,561.392C1393.97,452.605 1409.93,344.826 1440,280.845L1440,280.439ZM1383.15,234L117,234L117,1169L1383.15,1169L1383.15,234ZM112,218C98.476,199 93.714,180 93.714,161C93.714,142 98.476,123 112,104L1388,104C1401.52,123 1406.29,142 1406.29,161C1406.29,180 1401.52,199 1388,218L112,218Z" style="fill:rgb(0,135,180);"/>
</svg>

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -43,7 +43,7 @@ const frameNames = new Map ([
['Sketch Cards (MH2)', 'MH2'],
['Mystical Archive (STA)', 'MysticalArchive'],
['Japanese Mystical Archive (STA)', 'MysticalArchiveJP'],
['Praetors (KHM)', 'Praetors'],
['Phyrexian', 'Praetors'],
['Kaldheim (KHM)', 'Kaldheim-2'],
['Nonlegendary Kaldheim (KHM)', 'KaldheimNonleg'],
['Commander Legends (CMR)', 'CommanderLegends'],

View File

@@ -17,7 +17,6 @@ loadFramePacks([
{name:'Mystical Archive (STA)', value:'MysticalArchive'},
{name:'Japanese Mystical Archive (STA)', value:'MysticalArchiveJP'},
{name:'Horizontal Japanese Mystical Archive (STA)', value:'MysticalArchiveJPHorizontal'},
{name:'Praetors (KHM)', value:'Praetors'},
{name:'Kaldheim (KHM)', value:'Kaldheim-2'},
{name:'Nonlegendary Kaldheim (KHM)', value:'KaldheimNonleg'},
{name:'Commander Legends (CMR)', value:'CommanderLegends'},
@@ -36,6 +35,7 @@ loadFramePacks([
{name:'Full Text', value:'FullText'},
{name:'Etched (Commander Precons)', value:'Etched'},
{name:'Masterpieces/Other', value:'disabled'},
{name:'Phyrexian', value:'Praetors'},
{name:'ZNR Expeditions (2020)', value:'ExpeditionZNR-1'},
{name:'Signature Spellbook (Jace/Gideon)', value:'SignatureSpellbook'},
{name:'Ixalan Maps', value:'Ixalan'},

View File

@@ -1,7 +1,8 @@
//Create objects for common properties across available frames
var masks = [{src:'/img/frames/m15/praetors/pinline.svg', name:'Pinline'}, {src:'/img/frames/m15/regular/m15MaskTitle.png', name:'Title'}, {src:'/img/frames/m15/regular/m15MaskType.png', name:'Type'}, {src:'/img/frames/m15/praetors/frame.svg', name:'Frame'}, {src:'/img/frames/m15/praetors/text.svg', name:'Rules Text'}, {src:'/img/frames/m15/praetors/border.svg', name:'Border'}];
var masks = [{src:'/img/frames/m15/praetors/pinline.png', name:'Pinline'}, {src:'/img/frames/m15/regular/m15MaskTitle.png', name:'Title'}, {src:'/img/frames/m15/regular/m15MaskType.png', name:'Type'}, {src:'/img/frames/m15/praetors/frame.svg', name:'Frame'}, {src:'/img/frames/m15/praetors/text.svg', name:'Rules Text'}, {src:'/img/frames/m15/praetors/border.png', name:'Border'}];
var bounds = {x:0.746, y:0.8858, width:0.212, height:0.0772};
var bounds2 = {x:0.418, y:0.9, width:0.164, height:0.0491};
var bounds3 = {x:0, y:0, width:1, height:100/2100};
//defines available frames
availableFrames = [
{name:'White Frame', src:'/img/frames/m15/praetors/w.png', masks:masks},
@@ -11,6 +12,7 @@ availableFrames = [
{name:'Green Frame', src:'/img/frames/m15/praetors/g.png', masks:masks},
{name:'Multicolored Frame', src:'/img/frames/m15/praetors/m.png', masks:masks},
{name:'Artifact Frame', src:'/img/frames/m15/praetors/a.png', masks:masks},
{name:'Land Frame', src:'/img/frames/m15/praetors/l.png', masks:masks},
{name:'White Power/Toughness', src:'/img/frames/m15/praetors/wpt.png', bounds:bounds},
{name:'Blue Power/Toughness', src:'/img/frames/m15/praetors/upt.png', bounds:bounds},
{name:'Black Power/Toughness', src:'/img/frames/m15/praetors/bpt.png', bounds:bounds},
@@ -18,13 +20,23 @@ availableFrames = [
{name:'Green Power/Toughness', src:'/img/frames/m15/praetors/gpt.png', bounds:bounds},
{name:'Multicolored Power/Toughness', src:'/img/frames/m15/praetors/mpt.png', bounds:bounds},
{name:'Artifact Power/Toughness', src:'/img/frames/m15/praetors/apt.png', bounds:bounds},
{name:'Land Power/Toughness', src:'/img/frames/m15/praetors/lpt.png', bounds:bounds},
{name:'White Legendary Crown', src:'/img/frames/m15/praetors/wCrown.png', bounds:bounds3},
{name:'Blue Legendary Crown', src:'/img/frames/m15/praetors/uCrown.png', bounds:bounds3},
{name:'Black Legendary Crown', src:'/img/frames/m15/praetors/bCrown.png', bounds:bounds3},
{name:'Red Legendary Crown', src:'/img/frames/m15/praetors/rCrown.png', bounds:bounds3},
{name:'Green Legendary Crown', src:'/img/frames/m15/praetors/gCrown.png', bounds:bounds3},
{name:'Multicolored Legendary Crown', src:'/img/frames/m15/praetors/mCrown.png', bounds:bounds3},
{name:'Artifact Legendary Crown', src:'/img/frames/m15/praetors/aCrown.png', bounds:bounds3},
{name:'Land Legendary Crown', src:'/img/frames/m15/praetors/lCrown.png', bounds:bounds3},
{name:'White Holo Stamp', src:'/img/frames/m15/praetors/holo/w.png', bounds:bounds2},
{name:'Blue Holo Stamp', src:'/img/frames/m15/praetors/holo/u.png', bounds:bounds2},
{name:'Black Holo Stamp', src:'/img/frames/m15/praetors/holo/b.png', bounds:bounds2},
{name:'Red Holo Stamp', src:'/img/frames/m15/praetors/holo/r.png', bounds:bounds2},
{name:'Green Holo Stamp', src:'/img/frames/m15/praetors/holo/g.png', bounds:bounds2},
{name:'Multicolored Holo Stamp', src:'/img/frames/m15/praetors/holo/m.png', bounds:bounds2},
{name:'Artifact Holo Stamp', src:'/img/frames/m15/praetors/holo/a.png', bounds:bounds2}
{name:'Artifact Holo Stamp', src:'/img/frames/m15/praetors/holo/a.png', bounds:bounds2},
{name:'Land Holo Stamp', src:'/img/frames/m15/praetors/holo/l.png', bounds:bounds2}
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = false;
@@ -51,7 +63,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
rules: {name:'Rules Text', text:'', x:0.1047, y:0.6303, width:0.7907, height:0.2875, size:0.0362},
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'}
});
notify('<a href="/phyrexian" target="_blank">Check out our Phyrexian Text Generator to make some authentic Praetor showcase cards!</a>', 20)
// notify('<a href="/phyrexian" target="_blank">Check out our Phyrexian Text Generator to make some authentic Praetor showcase cards!</a>', 20)
}
//loads available frames
loadFramePack();