BF4:
emblem.emblem.load({
"objects": [
{
"opacity": 1,
"angle": 0,
"flipX": false,
"flipY": false,
"top": 160,
"height": 318.8649228101,
"width": 264.88507718989996,
"asset": "Shield4",
"selectable": false,
"left": 160,
"fill": "#FF0000"
},
{
"opacity": 1,
"angle": 0,
"flipX": false,
"flipY": false,
"top": 160,
"height": 312.7197744048,
"width": 253.75,
"asset": "Shield4",
"selectable": false,
"left": 160,
"fill": "#000000"
},
{
"opacity": 1,
"angle": 214.622610851,
"flipX": true,
"flipY": false,
"top": 196.5545185849,
"height": 43.467907034,
"width": 26.7906523982,
"asset": "Wing4",
"selectable": true,
"left": 137.450050691,
"fill": "#FF0000"
},
{
"opacity": 1,
"angle": 236.4473039351,
"flipX": false,
"flipY": false,
"top": 241.0276885395,
"height": 106.67189965070001,
"width": 65.7452815006,
"asset": "Wing4",
"selectable": true,
"left": 144.7658197683,
"fill": "#CC0000"
},
{
"opacity": 1,
"angle": 236.4473039351,
"flipX": false,
"flipY": false,
"top": 238.8512011577,
"height": 78.09949469349999,
"width": 48.13520037130001,
"asset": "Wing4",
"selectable": true,
"left": 143.957655423,
"fill": "#FFF200"
},
{
"opacity": 1,
"angle": 8.0584597583,
"flipX": false,
"flipY": false,
"top": 187.1999818564,
"height": 35.5885981976,
"width": 27.6648486834,
"asset": "Circle",
"selectable": true,
"left": 154.0035200421,
"fill": "#FF0000"
},
{
"opacity": 1,
"angle": 24.9157192013,
"flipX": false,
"flipY": false,
"top": 181.7422371145,
"height": 57.24555267529999,
"width": 41.75977873520001,
"asset": "Circle",
"selectable": true,
"left": 166.9487770471,
"fill": "#FFFF00"
},
{
"opacity": 1,
"angle": 43.4443941121,
"flipX": false,
"flipY": false,
"top": 132.8489037736,
"height": 56.1814172763,
"width": 105.24328578319998,
"asset": "ArrowBent",
"selectable": true,
"left": 151.8981153104,
"fill": "#FF3300"
},
{
"opacity": 0.91,
"angle": 18.9920582178,
"flipX": false,
"flipY": false,
"top": 184.46320621039996,
"height": 52.13774927419999,
"width": 30.360373096900002,
"asset": "Circle",
"selectable": true,
"left": 175.8722378549,
"fill": "#FF0000"
},
{
"opacity": 1,
"angle": -67.5880905083,
"flipX": false,
"flipY": false,
"top": 122.974999331,
"height": 45.2952100037,
"width": 51.65832708810001,
"asset": "Wing4",
"selectable": true,
"left": 209.0298884597,
"fill": "#CC3300"
},
{
"opacity": 1,
"angle": 231.6281162421,
"flipX": false,
"flipY": false,
"top": 147.3549222674,
"height": 89.8850895509,
"width": 54.4480691023,
"asset": "Wing4",
"selectable": true,
"left": 228.3392175124,
"fill": "#CC6600"
},
{
"opacity": 1,
"angle": 219.3301515969,
"flipX": false,
"flipY": false,
"top": 173.9301099888,
"height": 112.56037440330002,
"width": 55.2698134824,
"asset": "Wing4",
"selectable": true,
"left": 240.8774059655,
"fill": "#FFFF00"
},
{
"opacity": 1,
"angle": 187.460705264,
"flipX": false,
"flipY": false,
"top": 130.4976567669,
"height": 110.0142678108,
"width": 53.3584645832,
"asset": "Wing4",
"selectable": true,
"left": 246.9797059696,
"fill": "#FF9900"
},
{
"asset": "Wreath",
"left": 181.2903172336441,
"top": 94.08621073885175,
"angle": 30,
"width": 31.340124463258594,
"height": 52.91453987644503,
"opacity": 1,
"fill": "#9E0B0F",
"flipX": true,
"flipY": false,
"selectable": true
},
{
"asset": "Wing3",
"left": 206.77617864433614,
"top": 96.76074622033208,
"angle": 47,
"width": 42.43352683104233,
"height": 96.03197064975139,
"opacity": 1,
"fill": "#F7941D",
"flipX": true,
"flipY": false,
"selectable": true
},
{
"opacity": 1,
"angle": 154.5270908936,
"flipX": false,
"flipY": false,
"top": 94.9112421409,
"height": 105.1594791714,
"width": 47.89717509660001,
"asset": "Wing4",
"selectable": true,
"left": 238.4560579347,
"fill": "#FF6633"
},
{
"opacity": 1,
"angle": 135.5194517012,
"flipX": false,
"flipY": false,
"top": 74.1050306443,
"height": 78.21015567649998,
"width": 48.2034042517,
"asset": "Wing4",
"selectable": true,
"left": 206.0971091346,
"fill": "#FF3333"
},
{
"opacity": 1,
"angle": 234.6328567313,
"flipX": true,
"flipY": false,
"top": 63.865963857699995,
"height": 77.7132980322,
"width": 47.89717509660001,
"asset": "Wing4",
"selectable": true,
"left": 164.8093763096,
"fill": "#ED1C24"
},
{
"opacity": 1,
"angle": 167.0013968588,
"flipX": true,
"flipY": false,
"top": 146.7452524568,
"height": 87.0341201171,
"width": 47.89717509660001,
"asset": "Wing4",
"selectable": true,
"left": 72.8676942455,
"fill": "#FFF200"
},
{
"opacity": 1,
"angle": 267.5268435779,
"flipX": false,
"flipY": false,
"top": 133.5318276545,
"height": 25.323594764899998,
"width": 40.5725113006,
"asset": "Wing4",
"selectable": true,
"left": 125.3783662534,
"fill": "#CC3300"
},
{
"opacity": 1,
"angle": 163.7113537686,
"flipX": true,
"flipY": false,
"top": 134.9526064348,
"height": 69.6719006203,
"width": 42.9410063378,
"asset": "Wing4",
"selectable": true,
"left": 80.9408095915,
"fill": "#CC3300"
},
{
"asset": "Wreath",
"left": 86.25,
"top": 100,
"angle": 328,
"width": 21.75205518296951,
"height": 36.72608233331176,
"opacity": 1,
"fill": "#9E0B0F",
"flipX": false,
"flipY": false,
"selectable": true
},
{
"opacity": 1,
"angle": 226.8428992162,
"flipX": false,
"flipY": false,
"top": 147.4212411466,
"height": 54.7355384606,
"width": 47.34772247330001,
"asset": "Wing4",
"selectable": true,
"left": 148.6548819393,
"fill": "#FF9900"
},
{
"opacity": 1,
"angle": 189.1325906498,
"flipX": false,
"flipY": false,
"top": 130.469850877,
"height": 46.385374243099996,
"width": 37.67243109879999,
"asset": "Wing4",
"selectable": true,
"left": 139.3282954799,
"fill": "#FFF200"
},
{
"opacity": 1,
"angle": 202.0647289147,
"flipX": true,
"flipY": false,
"top": 101.654227305,
"height": 85.0689219002,
"width": 37.6604502482,
"asset": "Wing4",
"selectable": true,
"left": 62.0322902887,
"fill": "#FF3333"
},
{
"opacity": 1,
"angle": 95.7385228564,
"flipX": false,
"flipY": false,
"top": 104.66300252490001,
"height": 87.683545509,
"width": 34.1519160956,
"asset": "Wing4",
"selectable": true,
"left": 139.883696697,
"fill": "#FF6600"
},
{
"opacity": 1,
"angle": 102.1586109496,
"flipX": false,
"flipY": false,
"top": 68.8981227284,
"height": 66.9469176748,
"width": 41.2615127558,
"asset": "Wing4",
"selectable": true,
"left": 99.45859213710001,
"fill": "#ED1C24"
},
{
"opacity": 1,
"angle": 41.8875737872,
"flipX": true,
"flipY": false,
"top": 123.2009265318,
"height": 39.845413946,
"width": 24.440385210099997,
"asset": "Wing4",
"selectable": true,
"left": 117.0040638114,
"fill": "#FF9900"
},
{
"opacity": 1,
"angle": -76.4850609908,
"flipX": false,
"flipY": false,
"top": 136.3508356424,
"height": 11.609552852700002,
"width": 25.0174606819,
"asset": "Eye2",
"selectable": true,
"left": 105.5590584847,
"fill": "#FFCC00"
},
{
"opacity": 1,
"angle": 269.9771482084,
"flipX": false,
"flipY": false,
"top": 135.1636077796,
"height": 9.326214924,
"width": 22.8908226341,
"asset": "Eye2",
"selectable": true,
"left": 103.7175023058,
"fill": "#000000"
},
{
"opacity": 1,
"angle": 42.6664955767,
"flipX": false,
"flipY": false,
"top": 137.247289593,
"height": 24.896737381799998,
"width": 9.819103029200003,
"asset": "StrokeBent",
"selectable": true,
"left": 101.4118853871,
"fill": "#FFCC00"
},
{
"opacity": 1,
"angle": 15.3704201429,
"flipX": false,
"flipY": false,
"top": 129.6057511091,
"height": 38.1435292249,
"width": 11.1001370086,
"asset": "StrokeBent",
"selectable": true,
"left": 96.65147440760002,
"fill": "#FFFF00"
},
{
"opacity": 1,
"angle": 193.0947597509,
"flipX": false,
"flipY": false,
"top": 134.549971645,
"height": 16.9738894966,
"width": 11.987419175,
"asset": "PlayerMarker",
"selectable": true,
"left": 96.0794627557,
"fill": "#FFFF00"
},
{
"opacity": 1,
"angle": -34.631517037,
"flipX": true,
"flipY": false,
"top": 124.3699063894,
"height": 7.135727241299999,
"width": 15.823694966300001,
"asset": "Wingpart",
"selectable": true,
"left": 106.1510003268,
"fill": "#000000"
},
{
"opacity": 1,
"angle": 0,
"flipX": false,
"flipY": false,
"top": 123.36261865200001,
"height": 4.5087488522,
"width": 4.3491221575,
"asset": "Circle",
"selectable": true,
"left": 105.40572323660001,
"fill": "#FFF200"
},
{
"opacity": 1,
"angle": 132.894497736,
"flipX": false,
"flipY": false,
"top": 116.6912108095,
"height": 12.734944607299997,
"width": 25.0907521266,
"asset": "Dogtag",
"selectable": true,
"left": 102.7858961539,
"fill": "#FF9900"
},
{
"opacity": 1,
"angle": -30.5678861669,
"flipX": true,
"flipY": false,
"top": 104.4912159374,
"height": 31.1538339695,
"width": 32.00632002479999,
"asset": "Wing4",
"selectable": true,
"left": 103.2057104925,
"fill": "#FF9900"
},
{
"opacity": 1,
"angle": 267.6477854137,
"flipX": false,
"flipY": false,
"top": 208.8656134492,
"height": 52.288508751500004,
"width": 23.654777791700003,
"asset": "Wing2",
"selectable": true,
"left": 129.0453533591,
"fill": "#660033"
},
{
"opacity": 1,
"angle": 253.5245743944,
"flipX": false,
"flipY": false,
"top": 208.8692009712,
"height": 67.0908229626,
"width": 30.351190862600003,
"asset": "Wing2",
"selectable": true,
"left": 144.6978475264,
"fill": "#990033"
},
{
"opacity": 1,
"angle": 161.8009103073,
"flipX": true,
"flipY": false,
"top": 199.3359485701,
"height": 43.951888655599994,
"width": 27.0889456512,
"asset": "Wing4",
"selectable": true,
"left": 165.85361412809996,
"fill": "#FF0000"
}
]
});
BF1 attempt (not sure if it works yet for non-premium):
var request=new XMLHttpRequest;request.open("POST","https://companion-api.battlefield.com/jsonrpc/web/api?Emblems.savePrivateEmblem",!0),request.onreadystatechange=function(){if(request.readyState==XMLHttpRequest.DONE){var e=JSON.parse(request.responseText);e.result?window.location.href=window.location.href.replace("/new","/edit/")+e.result.slot:alert("Error")}},request.setRequestHeader("Content-Type","application/json;charset=UTF-8"),request.setRequestHeader("X-GatewaySession",localStorage.gatewaySessionId),data={jsonrpc:"2.0",method:"Emblems.newPrivateEmblem",params:{data:'[{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160,"height":318.8649228101,"width":264.88507718989996,"asset":"Shield4","selectable":false,"left":160,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160,"height":312.7197744048,"width":253.75,"asset":"Shield4","selectable":false,"left":160,"fill":"#000000"},{"opacity":1,"angle":214.622610851,"flipX":true,"flipY":false,"top":196.5545185849,"height":43.467907034,"width":26.7906523982,"asset":"Wing4","selectable":true,"left":137.450050691,"fill":"#FF0000"},{"opacity":1,"angle":236.4473039351,"flipX":false,"flipY":false,"top":241.0276885395,"height":106.67189965070001,"width":65.7452815006,"asset":"Wing4","selectable":true,"left":144.7658197683,"fill":"#CC0000"},{"opacity":1,"angle":236.4473039351,"flipX":false,"flipY":false,"top":238.8512011577,"height":78.09949469349999,"width":48.13520037130001,"asset":"Wing4","selectable":true,"left":143.957655423,"fill":"#FFF200"},{"opacity":1,"angle":8.0584597583,"flipX":false,"flipY":false,"top":187.1999818564,"height":35.5885981976,"width":27.6648486834,"asset":"Circle","selectable":true,"left":154.0035200421,"fill":"#FF0000"},{"opacity":1,"angle":24.9157192013,"flipX":false,"flipY":false,"top":181.7422371145,"height":57.24555267529999,"width":41.75977873520001,"asset":"Circle","selectable":true,"left":166.9487770471,"fill":"#FFFF00"},{"opacity":1,"angle":43.4443941121,"flipX":false,"flipY":false,"top":132.8489037736,"height":56.1814172763,"width":105.24328578319998,"asset":"ArrowBent","selectable":true,"left":151.8981153104,"fill":"#FF3300"},{"opacity":0.91,"angle":18.9920582178,"flipX":false,"flipY":false,"top":184.46320621039996,"height":52.13774927419999,"width":30.360373096900002,"asset":"Circle","selectable":true,"left":175.8722378549,"fill":"#FF0000"},{"opacity":1,"angle":-67.5880905083,"flipX":false,"flipY":false,"top":122.974999331,"height":45.2952100037,"width":51.65832708810001,"asset":"Wing4","selectable":true,"left":209.0298884597,"fill":"#CC3300"},{"opacity":1,"angle":231.6281162421,"flipX":false,"flipY":false,"top":147.3549222674,"height":89.8850895509,"width":54.4480691023,"asset":"Wing4","selectable":true,"left":228.3392175124,"fill":"#CC6600"},{"opacity":1,"angle":219.3301515969,"flipX":false,"flipY":false,"top":173.9301099888,"height":112.56037440330002,"width":55.2698134824,"asset":"Wing4","selectable":true,"left":240.8774059655,"fill":"#FFFF00"},{"opacity":1,"angle":187.460705264,"flipX":false,"flipY":false,"top":130.4976567669,"height":110.0142678108,"width":53.3584645832,"asset":"Wing4","selectable":true,"left":246.9797059696,"fill":"#FF9900"},{"asset":"Wreath","left":181.2903172336441,"top":94.08621073885175,"angle":30,"width":31.340124463258594,"height":52.91453987644503,"opacity":1,"fill":"#9E0B0F","flipX":true,"flipY":false,"selectable":true},{"asset":"Wing3","left":206.77617864433614,"top":96.76074622033208,"angle":47,"width":42.43352683104233,"height":96.03197064975139,"opacity":1,"fill":"#F7941D","flipX":true,"flipY":false,"selectable":true},{"opacity":1,"angle":154.5270908936,"flipX":false,"flipY":false,"top":94.9112421409,"height":105.1594791714,"width":47.89717509660001,"asset":"Wing4","selectable":true,"left":238.4560579347,"fill":"#FF6633"},{"opacity":1,"angle":135.5194517012,"flipX":false,"flipY":false,"top":74.1050306443,"height":78.21015567649998,"width":48.2034042517,"asset":"Wing4","selectable":true,"left":206.0971091346,"fill":"#FF3333"},{"opacity":1,"angle":234.6328567313,"flipX":true,"flipY":false,"top":63.865963857699995,"height":77.7132980322,"width":47.89717509660001,"asset":"Wing4","selectable":true,"left":164.8093763096,"fill":"#ED1C24"},{"opacity":1,"angle":167.0013968588,"flipX":true,"flipY":false,"top":146.7452524568,"height":87.0341201171,"width":47.89717509660001,"asset":"Wing4","selectable":true,"left":72.8676942455,"fill":"#FFF200"},{"opacity":1,"angle":267.5268435779,"flipX":false,"flipY":false,"top":133.5318276545,"height":25.323594764899998,"width":40.5725113006,"asset":"Wing4","selectable":true,"left":125.3783662534,"fill":"#CC3300"},{"opacity":1,"angle":163.7113537686,"flipX":true,"flipY":false,"top":134.9526064348,"height":69.6719006203,"width":42.9410063378,"asset":"Wing4","selectable":true,"left":80.9408095915,"fill":"#CC3300"},{"asset":"Wreath","left":86.25,"top":100,"angle":328,"width":21.75205518296951,"height":36.72608233331176,"opacity":1,"fill":"#9E0B0F","flipX":false,"flipY":false,"selectable":true},{"opacity":1,"angle":226.8428992162,"flipX":false,"flipY":false,"top":147.4212411466,"height":54.7355384606,"width":47.34772247330001,"asset":"Wing4","selectable":true,"left":148.6548819393,"fill":"#FF9900"},{"opacity":1,"angle":189.1325906498,"flipX":false,"flipY":false,"top":130.469850877,"height":46.385374243099996,"width":37.67243109879999,"asset":"Wing4","selectable":true,"left":139.3282954799,"fill":"#FFF200"},{"opacity":1,"angle":202.0647289147,"flipX":true,"flipY":false,"top":101.654227305,"height":85.0689219002,"width":37.6604502482,"asset":"Wing4","selectable":true,"left":62.0322902887,"fill":"#FF3333"},{"opacity":1,"angle":95.7385228564,"flipX":false,"flipY":false,"top":104.66300252490001,"height":87.683545509,"width":34.1519160956,"asset":"Wing4","selectable":true,"left":139.883696697,"fill":"#FF6600"},{"opacity":1,"angle":102.1586109496,"flipX":false,"flipY":false,"top":68.8981227284,"height":66.9469176748,"width":41.2615127558,"asset":"Wing4","selectable":true,"left":99.45859213710001,"fill":"#ED1C24"},{"opacity":1,"angle":41.8875737872,"flipX":true,"flipY":false,"top":123.2009265318,"height":39.845413946,"width":24.440385210099997,"asset":"Wing4","selectable":true,"left":117.0040638114,"fill":"#FF9900"},{"opacity":1,"angle":-76.4850609908,"flipX":false,"flipY":false,"top":136.3508356424,"height":11.609552852700002,"width":25.0174606819,"asset":"Eye2","selectable":true,"left":105.5590584847,"fill":"#FFCC00"},{"opacity":1,"angle":269.9771482084,"flipX":false,"flipY":false,"top":135.1636077796,"height":9.326214924,"width":22.8908226341,"asset":"Eye2","selectable":true,"left":103.7175023058,"fill":"#000000"},{"opacity":1,"angle":42.6664955767,"flipX":false,"flipY":false,"top":137.247289593,"height":24.896737381799998,"width":9.819103029200003,"asset":"StrokeBent","selectable":true,"left":101.4118853871,"fill":"#FFCC00"},{"opacity":1,"angle":15.3704201429,"flipX":false,"flipY":false,"top":129.6057511091,"height":38.1435292249,"width":11.1001370086,"asset":"StrokeBent","selectable":true,"left":96.65147440760002,"fill":"#FFFF00"},{"opacity":1,"angle":193.0947597509,"flipX":false,"flipY":false,"top":134.549971645,"height":16.9738894966,"width":11.987419175,"asset":"PlayerMarker","selectable":true,"left":96.0794627557,"fill":"#FFFF00"},{"opacity":1,"angle":-34.631517037,"flipX":true,"flipY":false,"top":124.3699063894,"height":7.135727241299999,"width":15.823694966300001,"asset":"Wingpart","selectable":true,"left":106.1510003268,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":123.36261865200001,"height":4.5087488522,"width":4.3491221575,"asset":"Circle","selectable":true,"left":105.40572323660001,"fill":"#FFF200"},{"opacity":1,"angle":132.894497736,"flipX":false,"flipY":false,"top":116.6912108095,"height":12.734944607299997,"width":25.0907521266,"asset":"Dogtag","selectable":true,"left":102.7858961539,"fill":"#FF9900"},{"opacity":1,"angle":-30.5678861669,"flipX":true,"flipY":false,"top":104.4912159374,"height":31.1538339695,"width":32.00632002479999,"asset":"Wing4","selectable":true,"left":103.2057104925,"fill":"#FF9900"},{"opacity":1,"angle":267.6477854137,"flipX":false,"flipY":false,"top":208.8656134492,"height":52.288508751500004,"width":23.654777791700003,"asset":"Wing2","selectable":true,"left":129.0453533591,"fill":"#660033"},{"opacity":1,"angle":253.5245743944,"flipX":false,"flipY":false,"top":208.8692009712,"height":67.0908229626,"width":30.351190862600003,"asset":"Wing2","selectable":true,"left":144.6978475264,"fill":"#990033"},{"opacity":1,"angle":161.8009103073,"flipX":true,"flipY":false,"top":199.3359485701,"height":43.951888655599994,"width":27.0889456512,"asset":"Wing4","selectable":true,"left":165.85361412809996,"fill":"#FF0000"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));