quine golf: more shorter: 5549 bytes

This commit is contained in:
Crispy 2024-08-12 16:06:51 +02:00
parent 32ffcbc921
commit 9e20abb767
3 changed files with 15 additions and 17 deletions

View file

@ -1,15 +1,13 @@
Shader"S"{SubShader{Pass{CGPROGRAM#pragma vertex v1 Shader"S"{SubShader{Pass{CGPROGRAM#pragma vertex a
#pragma fragment f1 #pragma fragment f
#include"UnityCG.cginc" #include"UnityCG.cginc"
#define w const uint #define w const uint
struct A{float4 v:POSITION;float2 u:TEXCOORD0;UNITY_VERTEX_INPUT_INSTANCE_ID}; struct A{float4 v:POSITION;float2 u:TEXCOORD0;UNITY_VERTEX_INPUT_INSTANCE_ID};struct V{float2 u:TEXCOORD0;float4 v:SV_POSITION;UNITY_VERTEX_OUTPUT_STEREO};
struct V{float2 u:TEXCOORD0;float4 v:SV_POSITION;UNITY_VERTEX_OUTPUT_STEREO}; V a(A v){V o;UNITY_SETUP_INSTANCE_ID(v);UNITY_INITIALIZE_OUTPUT(V,o);UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);o.v=UnityObjectToClipPos(v.v);o.u=v.u;return o;}
V v1(A v){V o;UNITY_SETUP_INSTANCE_ID(v);UNITY_INITIALIZE_OUTPUT(V, o);UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);o.v=UnityObjectToClipPos(v.v);o.u=v.u;return o;} float3 f(V U):SV_Target{
float3 f1(V U):SV_Target{ w t[]={0x13140b0e,0x0f151613,0x16171318,0x0c13140b,0x0e0f1517,0x190b1a1a,0x171b1c19,0x1d1e1c1d,0x1f202122,0x150b2324,0x0b00250f,0x15260f11,0x000b2721,0x22150b23,0x240b0010,0x150b2324,0x0f282600,0x10272129,0x280d2a18,0x0e0f162b,0x2829262c,0x1b1c2d0d,0x2329280d,0x1627210e,0x0f102928,0x0f002e00,0x0d2f281a,0x26001829,0x2826271a,0x2615180d,0x26001f17,0x102a2f0b,0x26050025,0x30191e13,0x3132311e,0x3334102a,0x2f0b2603,0x00183032,0x35361b1e,0x1e1d3701,0x342b3331,0x3238393a,0x351d3235,0x36393133,0x192b3239,0x31331332,0x1f331b35,0x3931373b,0x341a2615,0x180d2600,0x3a17102a,0x2f0b2603,0x00183032,0x35361b1e,0x1e1d3701,0x34102a2f,0x0b260500,0x2530133a,0x39191e13,0x3132311e,0x33342b33,0x31323839,0x3a351d32,0x3536391e,0x2b32192b,0x32391332,0x351d351e,0x3b34273a,0x000b3c1f,0x00253d17,0x3a002f34,0x2b333132,0x38391335,0x322b1939,0x31331332,0x1f331b35,0x3931373c,0x253d342b,0x33313238,0x39313331,0x32311f3e,0x313f3539,0x1e2b3219,0x2b323c3a,0x122f3d34,0x2b333132,0x38393133,0x3132311f,0x3e313f35,0x393a351d,0x32353639,0x1e2b3219,0x2b323913,0x32351d35,0x1e3c2f3d,0x342f2d25,0x402b2829,0x262c1e0c,0x410f0d26,0x322f1b2a,0x2922192f,0x1a3c252d,0x253d342f,0x2d184025,0x2d183415,0x0f261815,0x28002f34,0x3b27102a,0x2f0b2604,0x00103c3a,0x002b3d30,0x133a3932,0x0b15230f,0x2617272e,0x00264243,0x40173b34,0x272e003e,0x40050108,0x01342e00,0x0c400507,0x0334272e,0x00444243,0x40170112,0x050a0104,0x0a0a0207,0x09120205,0x01070505,0x09010112,0x03050405,0x07080805,0x05120305,0x04050805,0x07060712,0x0402020a,0x03080105,0x01120601,0x05070103,0x09050912,0x03010307,0x02040a06,0x03120602,0x02090409,0x03080312,0x03050506,0x03050303,0x05120302,0x02030401,0x0a020312,0x03020102,0x09040702,0x07120405,0x09050209,0x03051207,0x04030605,0x05011203,0x0808030a,0x03050901,0x12030202,0x03060708,0x07091205,0x03020806,0x0a010501,0x120a0705,0x01030305,0x12020405,0x12050802,0x01020607,0x05091204,0x05090502,0x09090912,0x020a0908,0x03011204,0x05070104,0x01010901,0x12020407,0x05020604,0x0701120a,0x08050208,0x07011203,0x05050605,0x09070501,0x12070404,0x01070401,0x12050908,0x07040905,0x07051205,0x08020305,0x07030803,0x12030505,0x06060801,0x09091205,0x09090207,0x03080603,0x12030202,0x01080504,0x04071206,0x0a0a0505,0x030a0807,0x12040709,0x05010a0a,0x03011204,0x04020307,0x08041202,0x030a0304,0x02080512,0x04090307,0x03051206,0x07080503,0x05120805,0x06020707,0x01091203,0x0808010a,0x070a0401,0x12030409,0x09090112,0x02040505,0x02090909,0x01120301,0x06070607,0x06020312,0x04020208,0x0402040a,0x03120607,0x08050307,0x12020309,0x12060809,0x09090112,0x07060a06,0x08080712,0x05020a05,0x05040312,0x05080501,0x0a020a07,0x09120201,0x05050602,0x070a0a03,0x12060a02,0x01070306,0x07011205,0x020a0505,0x04091206,0x0105060a,0x060a0407,0x12060902,0x0106030a,0x07011202,0x01070302,0x01060309,0x12060909,0x06090401,0x05011205,0x09011206,0x09090902,0x09060701,0x12080208,0x01010605,0x05120501,0x05090209,0x04010512,0x03010a0a,0x09060803,0x09120405,0x07040803,0x09011202,0x01050908,0x02010202,0x03120205,0x070a0505,0x01011203,0x07090801,0x07020305,0x12030104,0x050a0206,0x03011203,0x01060706,0x07030607,0x12060105,0x060a0605,0x09091202,0x01070308,0x01080312,0x05070608,0x02060312,0x050a0206,0x03011208,0x0206070a,0x05080312,0x08030a06,0x06020a01,0x12020407,0x04050a09,0x0305120a,0x06080106,0x0a031206,0x0506040a,0x03070803,0x123b3427,0x102a2f0b,0x26001112,0x2c402b2d,0x182d2c45,0x08063411,0x402b2d18,0x2d114508,0x06342718,0x29282600,0x0d122912,0x0e123812,0x36401134,0x38402c34,0x29403646,0x3c080547,0x383d4508,0x06342729,0x103c2948,0x400c4949,0x294a0c46,0x3e3d1727,0x0e403c29,0x470c3d4b,0x02023427,0x29103c0e,0x4a033d0d,0x403c0e4a,0x4a053d46,0x0234270f,0x2a1a0f00,0x29103c0e,0x40400201,0x3d0d4002,0x0934270f,0x2a1a0f00,0x0d403c26,0x423c2947,0x0c3d4c02,0x02434848,0x3c3c0847,0x3c3c0e47,0x033d4908,0x3d3d4505,0x3d490206,0x3d460234,0x273b0f2a,0x1a0f1727,0x29103c29,0x480c3d29,0x47403e34,0x270d4026,0x42294c05,0x4348483c,0x3c04473c,0x2949043d,0x3d45093d,0x49030606,0x343b2738,0x403c2c47,0x383d4507,0x3436403c,0x1147363d,0x45073427,0x150f2618,0x15280044,0x420d4348,0x483c3646,0x3845063d,0x4902453c,0x364a063d,0x34273b35,0x33371b1c,0x3b3b3b00,};
w t[]={0x13140b0e,0x0f151613,0x16171318,0x0c13140b,0x0e0f1517,0x190b1a1a,0x171b1c19,0x1d1e1c1d,0x1f202122,0x150b2324,0x0b00250f,0x15260f11,0x00250227,0x2122150b,0x23240b00,0x10150b23,0x240f2826,0x00100227,0x2129280d,0x2a180e0f,0x162b2829,0x262c1b1c,0x2d0d2329,0x280d1627,0x210e0f10,0x29280f00,0x2e000d2f,0x281a2600,0x18292826,0x271a2615,0x180d2600,0x1f17102a,0x2f0b2605,0x00253019,0x1e133132,0x311e3334,0x102a2f0b,0x26030018,0x30323536,0x1b1e1e1d,0x3701342b,0x33313238,0x393a351d,0x32353639,0x3133192b,0x32393133,0x13321f33,0x1b353931,0x373b3427,0x1a261518,0x0d26003a,0x17102a2f,0x0b260300,0x18303235,0x361b1e1e,0x1d370134,0x102a2f0b,0x26050025,0x30133a39,0x191e1331,0x32311e33,0x342b3331,0x3238393a,0x351d3235,0x36391e2b,0x32192b32,0x39133235,0x1d351e3b,0x34273a00,0x25023c1f,0x00253d17,0x3a002f34,0x2b333132,0x38391335,0x322b1939,0x31331332,0x1f331b35,0x3931373c,0x253d342b,0x33313238,0x39313331,0x32311f3e,0x313f3539,0x1e2b3219,0x2b323c3a,0x12002f3d,0x342b3331,0x32383931,0x33313231,0x1f3e313f,0x35393a35,0x1d323536,0x391e2b32,0x192b3239,0x1332351d,0x351e3c2f,0x3d342f2d,0x25402b28,0x29262c1e,0x0c410f0d,0x26322f1b,0x2a292219,0x2f1a3c25,0x2d253d34,0x2f2d1840,0x252d1834,0x150f2618,0x1528002f,0x343b2710,0x2a2f0b26,0x04001002,0x3c3a002b,0x3d30133a,0x39320b15,0x230f2617,0x272e0026,0x42434017,0x443b3427,0x2e003e40,0x05020104,0x34272e00,0x0c400507,0x0934272e,0x00454243,0x40170112,0x050a0104,0x0a0a0207,0x09120205,0x01070505,0x09010112,0x03050405,0x07080805,0x05120305,0x04050805,0x07060712,0x0402020a,0x03080105,0x01120601,0x05070103,0x09050912,0x03010307,0x02040a06,0x03120602,0x02090409,0x03080312,0x03050506,0x03050303,0x05120302,0x02030401,0x0a020312,0x03020102,0x09040702,0x07120405,0x09050209,0x03051207,0x04030605,0x05011203,0x0808030a,0x03050901,0x12030202,0x03060708,0x07091205,0x03020806,0x0a010501,0x120a0705,0x01030305,0x12020405,0x12050802,0x01020607,0x05091204,0x05090502,0x09090912,0x020a0908,0x03011204,0x05070104,0x01010901,0x12020407,0x05020604,0x0701120a,0x08050208,0x07011203,0x05050605,0x09070501,0x12070404,0x01070401,0x12050908,0x07040905,0x07051205,0x08020305,0x07030803,0x12030505,0x06060801,0x09091205,0x09090207,0x03080603,0x12030202,0x01080504,0x04071206,0x0a0a0505,0x030a0807,0x12040709,0x05010a0a,0x03011204,0x04020307,0x08041202,0x030a0304,0x02080512,0x04090307,0x03051206,0x07080503,0x05120805,0x06020707,0x01091203,0x0808010a,0x070a0401,0x12030409,0x09090112,0x02040505,0x02090909,0x01120301,0x06070607,0x06020312,0x04020208,0x0402040a,0x03120607,0x08050307,0x12020309,0x12060809,0x09090112,0x07060a06,0x08080712,0x05020a05,0x05040312,0x05080501,0x0a020a07,0x09120201,0x05050602,0x070a0a03,0x12060a02,0x01070306,0x07011205,0x020a0505,0x04091206,0x0105060a,0x060a0407,0x12060902,0x0106030a,0x07011202,0x01070302,0x01060309,0x12060909,0x06090401,0x05011205,0x09011206,0x09090902,0x09060701,0x12080208,0x01010605,0x05120501,0x05090209,0x04010512,0x03010a0a,0x09060803,0x09120405,0x07040803,0x09011202,0x01050908,0x02010202,0x03120205,0x070a0505,0x01011203,0x07090801,0x07020305,0x12030104,0x050a0206,0x03011203,0x01060706,0x07030607,0x12020107,0x03080108,0x03120601,0x05060a06,0x05090912,0x05070608,0x02060312,0x050a0206,0x03011208,0x0206070a,0x05080312,0x08030a06,0x06020a01,0x12020407,0x04050a09,0x0305120a,0x06080106,0x0a031206,0x0506040a,0x03070803,0x123b3427,0x102a2f0b,0x26001112,0x2c402b2d,0x182d2c44,0x08063411,0x402b2d18,0x2d114408,0x06342718,0x29282600,0x0d122912,0x0e123812,0x36401134,0x38402c34,0x29403646,0x3c080547,0x383d4408,0x06342729,0x103c2948,0x400c4949,0x294a0c46,0x3e3d1727,0x0e403c29,0x470c3d4b,0x02023427,0x29103c0e,0x4a033d0d,0x403c0e4a,0x4a053d46,0x0234270f,0x2a1a0f00,0x29103c0e,0x40400201,0x3d0d4002,0x0934270f,0x2a1a0f00,0x0d403c26,0x423c2947,0x0c3d4c02,0x02434848,0x3c3c0847,0x3c3c0e47,0x033d4908,0x3d3d4405,0x3d490206,0x3d460234,0x273b0f2a,0x1a0f1727,0x29103c29,0x480c3d29,0x47403e47,0x0234270d,0x40264229,0x4c054348,0x483c3c04,0x473c2949,0x043d3d44,0x093d4903,0x0606343b,0x2738403c,0x2c47383d,0x44073436,0x403c1147,0x363d4407,0x3427150f,0x26181528,0x0045420d,0x4348483c,0x36463844,0x063d4902,0x443c364a,0x063d3427,0x3b353337,0x1b1c3b3b,0x3b000000,}; w L=4070;w b=462;
w L=4103; w F[]={0,490399168,140644800,243467744,243474656,311927040,504602848,202613952,511838272,244524224,211230912,210183616,34841824,6325440,277292480,211256768,421759040,9640224,134,471015648,34841888,198720,346030080,136415360,9741760,244548640,6330630,487638464,471246272,244557088,488162752,211074336,599442976,368409920,3312673,12923174,382624,567424,74516608,277096930,238880,134418880,205656512,311731392,567426,128,578880,6595776,4194432,474091968,1044516992,591062560,4194438,504595936,581052960,106210528,588583040,480,588818560,71700544,404818304,209985728,34637280,1048710112,14694400,268706124,203491520,205656256,504595488,10627072,4657152,491520,71569472,72955190,136349824,9570592,545392672,};
w b=468;
w F[]={0,490399168,140644800,243467744,243474656,311927040,504602848,202613952,511838272,244524224,211230912,210183616,34841824,6325440,277292480,211256768,421759040,9640224,134,471015648,34841888,198720,346030080,136415360,9741760,244548640,6330630,487638464,471246272,244557088,488162752,211074336,599442976,368409920,3312673,12923174,382624,567424,74516608,277096930,238880,134418880,205656512,311731392,567426,128,578880,6595776,4194432,474091968,1044516992,591062560,4194438,504595936,581052960,106210528,588583040,480,588818560,71700544,404818304,209985728,34637280,1048710112,14694400,268706124,203491520,205656256,10627072,504595488,4657152,491520,71569472,72955190,136349824,9570592,545392672,};
float x,y=U.u.y*75;x=U.u.x*75; float x,y=U.u.y*75;x=U.u.x*75;
uint c,i,d,Y,X=x;Y=y;i=X+(74-Y)*75; uint c,i,d,Y,X=x;Y=y;i=X+(74-Y)*75;
if(i>=b&&i<b+L){ if(i>=b&&i<b+L){
@ -18,7 +16,7 @@ if(d<2)c=(d<<4)+1;
else if(d==10)c=18; else if(d==10)c=18;
else c=(t[(i-b)/11]>>((7-((d-2)&7))*4)&15)+1; else c=(t[(i-b)/11]>>((7-((d-2)&7))*4)&15)+1;
}else{ }else{
if(i>b)i-=L-1; if(i>b)i-=L;
c=t[i/4]>>((3-(i&3))*8)&255;} c=t[i/4]>>((3-(i&3))*8)&255;}
Y=(y-Y)*6;X=(x-X)*6; Y=(y-Y)*6;X=(x-X)*6;
return F[c]>>(X+Y*5)&1*(X<5); return F[c]>>(X+Y*5)&1*(X<5);

View file

@ -1,4 +1,3 @@
w t[]={0x13140b0e,0x0f151613,0x16171318,0x0c13140b,0x0e0f1517,0x190b1a1a,0x171b1c19,0x1d1e1c1d,0x1f202122,0x150b2324,0x0b00250f,0x15260f11,0x00250227,0x2122150b,0x23240b00,0x10150b23,0x240f2826,0x00100227,0x2129280d,0x2a180e0f,0x162b2829,0x262c1b1c,0x2d0d2329,0x280d1627,0x210e0f10,0x29280f00,0x2e000d2f,0x281a2600,0x18292826,0x271a2615,0x180d2600,0x1f17102a,0x2f0b2605,0x00253019,0x1e133132,0x311e3334,0x102a2f0b,0x26030018,0x30323536,0x1b1e1e1d,0x3701342b,0x33313238,0x393a351d,0x32353639,0x3133192b,0x32393133,0x13321f33,0x1b353931,0x373b3427,0x1a261518,0x0d26003a,0x17102a2f,0x0b260300,0x18303235,0x361b1e1e,0x1d370134,0x102a2f0b,0x26050025,0x30133a39,0x191e1331,0x32311e33,0x342b3331,0x3238393a,0x351d3235,0x36391e2b,0x32192b32,0x39133235,0x1d351e3b,0x34273a00,0x25023c1f,0x00253d17,0x3a002f34,0x2b333132,0x38391335,0x322b1939,0x31331332,0x1f331b35,0x3931373c,0x253d342b,0x33313238,0x39313331,0x32311f3e,0x313f3539,0x1e2b3219,0x2b323c3a,0x12002f3d,0x342b3331,0x32383931,0x33313231,0x1f3e313f,0x35393a35,0x1d323536,0x391e2b32,0x192b3239,0x1332351d,0x351e3c2f,0x3d342f2d,0x25402b28,0x29262c1e,0x0c410f0d,0x26322f1b,0x2a292219,0x2f1a3c25,0x2d253d34,0x2f2d1840,0x252d1834,0x150f2618,0x1528002f,0x343b2710,0x2a2f0b26,0x04001002,0x3c3a002b,0x3d30133a,0x39320b15,0x230f2617,0x272e0026,0x42434017,0x443b3427,0x2e003e40,0x05020104,0x34272e00,0x0c400507,0x0934272e,0x00454243,0x40170112,0x050a0104,0x0a0a0207,0x09120205,0x01070505,0x09010112,0x03050405,0x07080805,0x05120305,0x04050805,0x07060712,0x0402020a,0x03080105,0x01120601,0x05070103,0x09050912,0x03010307,0x02040a06,0x03120602,0x02090409,0x03080312,0x03050506,0x03050303,0x05120302,0x02030401,0x0a020312,0x03020102,0x09040702,0x07120405,0x09050209,0x03051207,0x04030605,0x05011203,0x0808030a,0x03050901,0x12030202,0x03060708,0x07091205,0x03020806,0x0a010501,0x120a0705,0x01030305,0x12020405,0x12050802,0x01020607,0x05091204,0x05090502,0x09090912,0x020a0908,0x03011204,0x05070104,0x01010901,0x12020407,0x05020604,0x0701120a,0x08050208,0x07011203,0x05050605,0x09070501,0x12070404,0x01070401,0x12050908,0x07040905,0x07051205,0x08020305,0x07030803,0x12030505,0x06060801,0x09091205,0x09090207,0x03080603,0x12030202,0x01080504,0x04071206,0x0a0a0505,0x030a0807,0x12040709,0x05010a0a,0x03011204,0x04020307,0x08041202,0x030a0304,0x02080512,0x04090307,0x03051206,0x07080503,0x05120805,0x06020707,0x01091203,0x0808010a,0x070a0401,0x12030409,0x09090112,0x02040505,0x02090909,0x01120301,0x06070607,0x06020312,0x04020208,0x0402040a,0x03120607,0x08050307,0x12020309,0x12060809,0x09090112,0x07060a06,0x08080712,0x05020a05,0x05040312,0x05080501,0x0a020a07,0x09120201,0x05050602,0x070a0a03,0x12060a02,0x01070306,0x07011205,0x020a0505,0x04091206,0x0105060a,0x060a0407,0x12060902,0x0106030a,0x07011202,0x01070302,0x01060309,0x12060909,0x06090401,0x05011205,0x09011206,0x09090902,0x09060701,0x12080208,0x01010605,0x05120501,0x05090209,0x04010512,0x03010a0a,0x09060803,0x09120405,0x07040803,0x09011202,0x01050908,0x02010202,0x03120205,0x070a0505,0x01011203,0x07090801,0x07020305,0x12030104,0x050a0206,0x03011203,0x01060706,0x07030607,0x12020107,0x03080108,0x03120601,0x05060a06,0x05090912,0x05070608,0x02060312,0x050a0206,0x03011208,0x0206070a,0x05080312,0x08030a06,0x06020a01,0x12020407,0x04050a09,0x0305120a,0x06080106,0x0a031206,0x0506040a,0x03070803,0x123b3427,0x102a2f0b,0x26001112,0x2c402b2d,0x182d2c44,0x08063411,0x402b2d18,0x2d114408,0x06342718,0x29282600,0x0d122912,0x0e123812,0x36401134,0x38402c34,0x29403646,0x3c080547,0x383d4408,0x06342729,0x103c2948,0x400c4949,0x294a0c46,0x3e3d1727,0x0e403c29,0x470c3d4b,0x02023427,0x29103c0e,0x4a033d0d,0x403c0e4a,0x4a053d46,0x0234270f,0x2a1a0f00,0x29103c0e,0x40400201,0x3d0d4002,0x0934270f,0x2a1a0f00,0x0d403c26,0x423c2947,0x0c3d4c02,0x02434848,0x3c3c0847,0x3c3c0e47,0x033d4908,0x3d3d4405,0x3d490206,0x3d460234,0x273b0f2a,0x1a0f1727,0x29103c29,0x480c3d29,0x47403e47,0x0234270d,0x40264229,0x4c054348,0x483c3c04,0x473c2949,0x043d3d44,0x093d4903,0x0606343b,0x2738403c,0x2c47383d,0x44073436,0x403c1147,0x363d4407,0x3427150f,0x26181528,0x0045420d,0x4348483c,0x36463844,0x063d4902,0x443c364a,0x063d3427,0x3b353337,0x1b1c3b3b,0x3b000000,}; w t[]={0x13140b0e,0x0f151613,0x16171318,0x0c13140b,0x0e0f1517,0x190b1a1a,0x171b1c19,0x1d1e1c1d,0x1f202122,0x150b2324,0x0b00250f,0x15260f11,0x000b2721,0x22150b23,0x240b0010,0x150b2324,0x0f282600,0x10272129,0x280d2a18,0x0e0f162b,0x2829262c,0x1b1c2d0d,0x2329280d,0x1627210e,0x0f102928,0x0f002e00,0x0d2f281a,0x26001829,0x2826271a,0x2615180d,0x26001f17,0x102a2f0b,0x26050025,0x30191e13,0x3132311e,0x3334102a,0x2f0b2603,0x00183032,0x35361b1e,0x1e1d3701,0x342b3331,0x3238393a,0x351d3235,0x36393133,0x192b3239,0x31331332,0x1f331b35,0x3931373b,0x341a2615,0x180d2600,0x3a17102a,0x2f0b2603,0x00183032,0x35361b1e,0x1e1d3701,0x34102a2f,0x0b260500,0x2530133a,0x39191e13,0x3132311e,0x33342b33,0x31323839,0x3a351d32,0x3536391e,0x2b32192b,0x32391332,0x351d351e,0x3b34273a,0x000b3c1f,0x00253d17,0x3a002f34,0x2b333132,0x38391335,0x322b1939,0x31331332,0x1f331b35,0x3931373c,0x253d342b,0x33313238,0x39313331,0x32311f3e,0x313f3539,0x1e2b3219,0x2b323c3a,0x122f3d34,0x2b333132,0x38393133,0x3132311f,0x3e313f35,0x393a351d,0x32353639,0x1e2b3219,0x2b323913,0x32351d35,0x1e3c2f3d,0x342f2d25,0x402b2829,0x262c1e0c,0x410f0d26,0x322f1b2a,0x2922192f,0x1a3c252d,0x253d342f,0x2d184025,0x2d183415,0x0f261815,0x28002f34,0x3b27102a,0x2f0b2604,0x00103c3a,0x002b3d30,0x133a3932,0x0b15230f,0x2617272e,0x00264243,0x40173b34,0x272e003e,0x40050108,0x01342e00,0x0c400507,0x0334272e,0x00444243,0x40170112,0x050a0104,0x0a0a0207,0x09120205,0x01070505,0x09010112,0x03050405,0x07080805,0x05120305,0x04050805,0x07060712,0x0402020a,0x03080105,0x01120601,0x05070103,0x09050912,0x03010307,0x02040a06,0x03120602,0x02090409,0x03080312,0x03050506,0x03050303,0x05120302,0x02030401,0x0a020312,0x03020102,0x09040702,0x07120405,0x09050209,0x03051207,0x04030605,0x05011203,0x0808030a,0x03050901,0x12030202,0x03060708,0x07091205,0x03020806,0x0a010501,0x120a0705,0x01030305,0x12020405,0x12050802,0x01020607,0x05091204,0x05090502,0x09090912,0x020a0908,0x03011204,0x05070104,0x01010901,0x12020407,0x05020604,0x0701120a,0x08050208,0x07011203,0x05050605,0x09070501,0x12070404,0x01070401,0x12050908,0x07040905,0x07051205,0x08020305,0x07030803,0x12030505,0x06060801,0x09091205,0x09090207,0x03080603,0x12030202,0x01080504,0x04071206,0x0a0a0505,0x030a0807,0x12040709,0x05010a0a,0x03011204,0x04020307,0x08041202,0x030a0304,0x02080512,0x04090307,0x03051206,0x07080503,0x05120805,0x06020707,0x01091203,0x0808010a,0x070a0401,0x12030409,0x09090112,0x02040505,0x02090909,0x01120301,0x06070607,0x06020312,0x04020208,0x0402040a,0x03120607,0x08050307,0x12020309,0x12060809,0x09090112,0x07060a06,0x08080712,0x05020a05,0x05040312,0x05080501,0x0a020a07,0x09120201,0x05050602,0x070a0a03,0x12060a02,0x01070306,0x07011205,0x020a0505,0x04091206,0x0105060a,0x060a0407,0x12060902,0x0106030a,0x07011202,0x01070302,0x01060309,0x12060909,0x06090401,0x05011205,0x09011206,0x09090902,0x09060701,0x12080208,0x01010605,0x05120501,0x05090209,0x04010512,0x03010a0a,0x09060803,0x09120405,0x07040803,0x09011202,0x01050908,0x02010202,0x03120205,0x070a0505,0x01011203,0x07090801,0x07020305,0x12030104,0x050a0206,0x03011203,0x01060706,0x07030607,0x12060105,0x060a0605,0x09091202,0x01070308,0x01080312,0x05070608,0x02060312,0x050a0206,0x03011208,0x0206070a,0x05080312,0x08030a06,0x06020a01,0x12020407,0x04050a09,0x0305120a,0x06080106,0x0a031206,0x0506040a,0x03070803,0x123b3427,0x102a2f0b,0x26001112,0x2c402b2d,0x182d2c45,0x08063411,0x402b2d18,0x2d114508,0x06342718,0x29282600,0x0d122912,0x0e123812,0x36401134,0x38402c34,0x29403646,0x3c080547,0x383d4508,0x06342729,0x103c2948,0x400c4949,0x294a0c46,0x3e3d1727,0x0e403c29,0x470c3d4b,0x02023427,0x29103c0e,0x4a033d0d,0x403c0e4a,0x4a053d46,0x0234270f,0x2a1a0f00,0x29103c0e,0x40400201,0x3d0d4002,0x0934270f,0x2a1a0f00,0x0d403c26,0x423c2947,0x0c3d4c02,0x02434848,0x3c3c0847,0x3c3c0e47,0x033d4908,0x3d3d4505,0x3d490206,0x3d460234,0x273b0f2a,0x1a0f1727,0x29103c29,0x480c3d29,0x47403e34,0x270d4026,0x42294c05,0x4348483c,0x3c04473c,0x2949043d,0x3d45093d,0x49030606,0x343b2738,0x403c2c47,0x383d4507,0x3436403c,0x1147363d,0x45073427,0x150f2618,0x15280044,0x420d4348,0x483c3646,0x3845063d,0x4902453c,0x364a063d,0x34273b35,0x33371b1c,0x3b3b3b00,};
w L=4103; w L=4070;w b=462;
w b=468; w F[]={0,490399168,140644800,243467744,243474656,311927040,504602848,202613952,511838272,244524224,211230912,210183616,34841824,6325440,277292480,211256768,421759040,9640224,134,471015648,34841888,198720,346030080,136415360,9741760,244548640,6330630,487638464,471246272,244557088,488162752,211074336,599442976,368409920,3312673,12923174,382624,567424,74516608,277096930,238880,134418880,205656512,311731392,567426,128,578880,6595776,4194432,474091968,1044516992,591062560,4194438,504595936,581052960,106210528,588583040,480,588818560,71700544,404818304,209985728,34637280,1048710112,14694400,268706124,203491520,205656256,504595488,10627072,4657152,491520,71569472,72955190,136349824,9570592,545392672,};
w F[]={0,490399168,140644800,243467744,243474656,311927040,504602848,202613952,511838272,244524224,211230912,210183616,34841824,6325440,277292480,211256768,421759040,9640224,134,471015648,34841888,198720,346030080,136415360,9741760,244548640,6330630,487638464,471246272,244557088,488162752,211074336,599442976,368409920,3312673,12923174,382624,567424,74516608,277096930,238880,134418880,205656512,311731392,567426,128,578880,6595776,4194432,474091968,1044516992,591062560,4194438,504595936,581052960,106210528,588583040,480,588818560,71700544,404818304,209985728,34637280,1048710112,14694400,268706124,203491520,205656256,10627072,504595488,4657152,491520,71569472,72955190,136349824,9570592,545392672,};

View file

@ -92,8 +92,9 @@ fn golfed() {
let mut blob_start = 0; let mut blob_start = 0;
let mut used_charset:Vec<_> = " 0123456789abcdefx,".chars().collect(); let mut used_charset:Vec<_> = " 0123456789abcdefx,".chars().collect();
for (index, char) in source_text.chars().enumerate() { for (index, char) in source_text.chars().enumerate() {
if char == '*' && blob_start==0 { if char == '?' && blob_start==0 {
blob_start = index; blob_start = index;
continue;
} }
temp <<= 8; temp <<= 8;
let char_index = used_charset let char_index = used_charset
@ -121,7 +122,7 @@ fn golfed() {
out_string += &format!("{t:#010x},"); out_string += &format!("{t:#010x},");
} }
out_string += "};\n"; out_string += "};\n";
out_string += &format!("w L={};\n", encoded_text.len()*11); out_string += &format!("w L={};", encoded_text.len()*11);
out_string += &format!("w b={blob_start};\n"); out_string += &format!("w b={blob_start};\n");
// font // font