And there we go: WTF4 renders.
This commit is contained in:
parent
a4eb5be5c9
commit
4d42275d4c
3 changed files with 1446 additions and 277 deletions
366
list.sahli
366
list.sahli
|
|
@ -1,322 +1,202 @@
|
||||||
{
|
{
|
||||||
"location": "testshow",
|
"location": "testshow",
|
||||||
"slides": {
|
"slides": {
|
||||||
"background": "screen.png",
|
"background": "",
|
||||||
"template": "template.html",
|
"template": "",
|
||||||
"css": "template.css"
|
"css": ""
|
||||||
},
|
},
|
||||||
"filedata": [
|
"filedata": [
|
||||||
{
|
{
|
||||||
"file": "spaceflight.asc",
|
"file": "spaceflight.asc",
|
||||||
"name": "Spaceflight",
|
"name": "Spaceflight",
|
||||||
"filetype": "plain",
|
|
||||||
"amiga": true,
|
"amiga": true,
|
||||||
|
"filetype": "plain",
|
||||||
"width": "80",
|
"width": "80",
|
||||||
"author": "Urs",
|
"author": "Urs",
|
||||||
"font": "Propaz",
|
"font": "Propaz",
|
||||||
"color": [
|
"color": [
|
||||||
255,
|
255,
|
||||||
255,
|
128,
|
||||||
0,
|
0,
|
||||||
255
|
255
|
||||||
],
|
],
|
||||||
|
"bg": [
|
||||||
|
59,
|
||||||
|
59,
|
||||||
|
59,
|
||||||
|
255
|
||||||
|
],
|
||||||
|
"line1": "Orange on Dark Grey",
|
||||||
|
"line2": "Test for plain files",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "Blocktronics-WTF4_Megajoint.ans",
|
||||||
|
"name": "WTF4",
|
||||||
|
"amiga": false,
|
||||||
|
"filetype": "ansi",
|
||||||
|
"width": "80",
|
||||||
|
"author": "Blocktronics",
|
||||||
|
"font": "Propaz",
|
||||||
|
"color": [
|
||||||
|
0,
|
||||||
|
46,
|
||||||
|
247,
|
||||||
|
255
|
||||||
|
],
|
||||||
|
"bg": [
|
||||||
|
160,
|
||||||
|
160,
|
||||||
|
224,
|
||||||
|
255
|
||||||
|
],
|
||||||
|
"line1": "",
|
||||||
|
"line2": "",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"file": "h7-supergroupies.ans",
|
||||||
|
"name": "SuperGroupies",
|
||||||
|
"amiga": false,
|
||||||
|
"filetype": "ansi",
|
||||||
|
"width": "80",
|
||||||
|
"author": "H7",
|
||||||
|
"font": "Propaz",
|
||||||
|
"color": [
|
||||||
|
154,
|
||||||
|
254,
|
||||||
|
46,
|
||||||
|
255
|
||||||
|
],
|
||||||
"bg": [
|
"bg": [
|
||||||
11,
|
11,
|
||||||
11,
|
11,
|
||||||
59,
|
59,
|
||||||
255
|
255
|
||||||
],
|
],
|
||||||
"line1": "Revision 2013",
|
"line1": "H7",
|
||||||
"line2": "Mercury",
|
"line2": "Ansi",
|
||||||
"text": "No tools, just a text editor"
|
"text": "Test file #1"
|
||||||
},
|
|
||||||
{
|
|
||||||
"file": "az0!-revi510n.txt",
|
|
||||||
"name": "Revi510n",
|
|
||||||
"filetype": "plain",
|
|
||||||
"amiga": true,
|
|
||||||
"width": "80",
|
|
||||||
"color": [
|
|
||||||
200,
|
|
||||||
200,
|
|
||||||
200,
|
|
||||||
255
|
|
||||||
],
|
|
||||||
"bg": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"author": "Azzaro",
|
|
||||||
"font": "Propaz",
|
|
||||||
"line1": "Revision 2013",
|
|
||||||
"line2": "Madwizards+Floppy",
|
|
||||||
"text": "Wow I'm back to ascii scene after 12 years break. Have fun people! Amiiiiiiga :)"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"file": "ted_-_spaceship_enterprise.ans",
|
|
||||||
"name": "SPACEshiP ENterprISe",
|
|
||||||
"filetype": "ansi",
|
|
||||||
"amiga": false,
|
|
||||||
"width": "80",
|
|
||||||
"color": [
|
|
||||||
0,
|
|
||||||
30,
|
|
||||||
30,
|
|
||||||
255
|
|
||||||
],
|
|
||||||
"bg": [
|
|
||||||
240,
|
|
||||||
240,
|
|
||||||
250,
|
|
||||||
255
|
|
||||||
],
|
|
||||||
"author": "Ted",
|
|
||||||
"font": "ansifont",
|
|
||||||
"line1": "Revision 2013",
|
|
||||||
"line2": "Pöo-crüe^3ln",
|
|
||||||
"text": "Special greets to m0d - you're AWESOME! -\nThis displays more nicely in 80x50 mode\nTruck said it was OK to do that mode outside the rules\nProper resolution in Partymeister"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"file": "h7-supergroupies.ans",
|
|
||||||
"name": "Super Groupies",
|
|
||||||
"filetype": "ansi",
|
|
||||||
"amiga": false,
|
|
||||||
"width": "80",
|
|
||||||
"color": [
|
|
||||||
0,
|
|
||||||
30,
|
|
||||||
30,
|
|
||||||
255
|
|
||||||
],
|
|
||||||
"bg": [
|
|
||||||
240,
|
|
||||||
240,
|
|
||||||
250,
|
|
||||||
255
|
|
||||||
],
|
|
||||||
"author": "H7",
|
|
||||||
"font": "ansifont",
|
|
||||||
"line1": "Revision 2013",
|
|
||||||
"line2": "Blocktronics & Accession",
|
|
||||||
"text": "Pablodraw osX"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"file": "51_DRGN.XB",
|
"file": "51_DRGN.XB",
|
||||||
"name": "51 Dragon",
|
"name": "Dragon",
|
||||||
"filetype": "xbin",
|
|
||||||
"amiga": false,
|
"amiga": false,
|
||||||
|
"filetype": "xbin",
|
||||||
"width": "80",
|
"width": "80",
|
||||||
|
"author": "Someone",
|
||||||
|
"font": "Propaz",
|
||||||
"color": [
|
"color": [
|
||||||
|
255,
|
||||||
|
128,
|
||||||
0,
|
0,
|
||||||
30,
|
|
||||||
30,
|
|
||||||
255
|
255
|
||||||
],
|
],
|
||||||
"bg": [
|
"bg": [
|
||||||
240,
|
46,
|
||||||
240,
|
254,
|
||||||
250,
|
247,
|
||||||
255
|
255
|
||||||
],
|
],
|
||||||
"author": "CIA",
|
"line1": "Test #2",
|
||||||
"font": "ansifont",
|
"line2": "Test #2",
|
||||||
"line1": "CIA Pack 62",
|
"text": ""
|
||||||
"line2": "",
|
|
||||||
"text": "16colors archive"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"file": "ARTX-LGO.ADF",
|
"file": "ARTX-LGO.ADF",
|
||||||
"name": "example ADF",
|
"name": "ADF test",
|
||||||
|
"amiga": false,
|
||||||
"filetype": "adf",
|
"filetype": "adf",
|
||||||
"amiga": false,
|
"width": "80",
|
||||||
"width": "120",
|
"author": "",
|
||||||
|
"font": "Propaz",
|
||||||
"color": [
|
"color": [
|
||||||
0,
|
255,
|
||||||
30,
|
255,
|
||||||
30,
|
255,
|
||||||
255
|
255
|
||||||
],
|
],
|
||||||
"bg": [
|
"bg": [
|
||||||
240,
|
|
||||||
240,
|
|
||||||
250,
|
|
||||||
255
|
|
||||||
],
|
|
||||||
"author": "Apathy",
|
|
||||||
"font": "ansifont",
|
|
||||||
"line1": "ADF example",
|
|
||||||
"line2": "...",
|
|
||||||
"text": "not Amiga disk file"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"file": "US-SADIS.BIN",
|
|
||||||
"name": "bin example",
|
|
||||||
"filetype": "bin",
|
|
||||||
"amiga": false,
|
|
||||||
"width": "120",
|
|
||||||
"color": [
|
|
||||||
0,
|
0,
|
||||||
30,
|
|
||||||
30,
|
|
||||||
255
|
|
||||||
],
|
|
||||||
"bg": [
|
|
||||||
240,
|
|
||||||
240,
|
|
||||||
250,
|
|
||||||
255
|
|
||||||
],
|
|
||||||
"author": "CIA",
|
|
||||||
"font": "ansifont",
|
|
||||||
"line1": "BIN example",
|
|
||||||
"line2": "...",
|
|
||||||
"text": "whee"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"file": "zv_iniq.tnd",
|
|
||||||
"name": "tundra example",
|
|
||||||
"filetype": "tundra",
|
|
||||||
"amiga": false,
|
|
||||||
"width": "120",
|
|
||||||
"color": [
|
|
||||||
0,
|
0,
|
||||||
30,
|
0,
|
||||||
30,
|
|
||||||
255
|
255
|
||||||
],
|
],
|
||||||
"bg": [
|
"line1": "",
|
||||||
240,
|
"line2": "",
|
||||||
240,
|
"text": ""
|
||||||
250,
|
|
||||||
255
|
|
||||||
],
|
|
||||||
"author": "Sense",
|
|
||||||
"font": "ansifont",
|
|
||||||
"line1": "Tundra example",
|
|
||||||
"line2": "...",
|
|
||||||
"text": "more examples"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"file": "MD-XMAS.IDF",
|
"file": "MD-XMAS.IDF",
|
||||||
"name": "IDF example",
|
"name": "IDF test",
|
||||||
|
"amiga": false,
|
||||||
"filetype": "idf",
|
"filetype": "idf",
|
||||||
"amiga": false,
|
|
||||||
"width": "120",
|
|
||||||
"color": [
|
|
||||||
0,
|
|
||||||
30,
|
|
||||||
30,
|
|
||||||
255
|
|
||||||
],
|
|
||||||
"bg": [
|
|
||||||
240,
|
|
||||||
240,
|
|
||||||
250,
|
|
||||||
255
|
|
||||||
],
|
|
||||||
"author": "MD",
|
|
||||||
"font": "ansifont",
|
|
||||||
"line1": "Xmas (ivf example)",
|
|
||||||
"line2": "...",
|
|
||||||
"text": "more examples"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"file": "example.avatar",
|
|
||||||
"name": "AVATAR example",
|
|
||||||
"filetype": "avatar",
|
|
||||||
"amiga": false,
|
|
||||||
"width": "80",
|
"width": "80",
|
||||||
|
"author": "",
|
||||||
|
"font": "Propaz",
|
||||||
"color": [
|
"color": [
|
||||||
0,
|
255,
|
||||||
30,
|
255,
|
||||||
30,
|
255,
|
||||||
255
|
255
|
||||||
],
|
],
|
||||||
"bg": [
|
"bg": [
|
||||||
240,
|
0,
|
||||||
240,
|
0,
|
||||||
250,
|
0,
|
||||||
255
|
255
|
||||||
],
|
],
|
||||||
"author": "avatarperson",
|
"line1": "",
|
||||||
"font": "ansifont",
|
"line2": "",
|
||||||
"line1": "an avatar file",
|
"text": ""
|
||||||
"line2": "...",
|
|
||||||
"text": "more examples"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"file": "pcboard.pcboard",
|
"file": "US-SADIS.BIN",
|
||||||
"name": "PCBoard example",
|
"name": "BIN test",
|
||||||
"filetype": "pcboard",
|
|
||||||
"amiga": false,
|
"amiga": false,
|
||||||
"width": "120",
|
"filetype": "bin",
|
||||||
|
"width": "160",
|
||||||
|
"author": "",
|
||||||
|
"font": "Propaz",
|
||||||
"color": [
|
"color": [
|
||||||
0,
|
255,
|
||||||
30,
|
255,
|
||||||
30,
|
255,
|
||||||
255
|
255
|
||||||
],
|
],
|
||||||
"bg": [
|
"bg": [
|
||||||
240,
|
0,
|
||||||
240,
|
0,
|
||||||
250,
|
0,
|
||||||
255
|
255
|
||||||
],
|
],
|
||||||
"author": "pcboard person",
|
"line1": "",
|
||||||
"font": "ansifont",
|
"line2": "",
|
||||||
"line1": "PCBOARD example",
|
"text": ""
|
||||||
"line2": "...",
|
|
||||||
"text": "more examples"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"file": "example.ICE",
|
"file": "zv_iniq.tnd",
|
||||||
"name": "ICE example",
|
"name": "Tundra test",
|
||||||
"filetype": "ice",
|
|
||||||
"amiga": false,
|
"amiga": false,
|
||||||
"width": "120",
|
"filetype": "tundra",
|
||||||
|
"width": "80",
|
||||||
|
"author": "",
|
||||||
|
"font": "Propaz",
|
||||||
"color": [
|
"color": [
|
||||||
0,
|
255,
|
||||||
30,
|
255,
|
||||||
30,
|
255,
|
||||||
255
|
255
|
||||||
],
|
],
|
||||||
"bg": [
|
"bg": [
|
||||||
240,
|
|
||||||
240,
|
|
||||||
250,
|
|
||||||
255
|
|
||||||
],
|
|
||||||
"author": "ice",
|
|
||||||
"font": "ansifont",
|
|
||||||
"line1": "ICE example",
|
|
||||||
"line2": "...",
|
|
||||||
"text": "more examples"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"file": "51_EMP.XB",
|
|
||||||
"name": "WIDE xbin",
|
|
||||||
"filetype": "xbin",
|
|
||||||
"amiga": false,
|
|
||||||
"width": "120",
|
|
||||||
"color": [
|
|
||||||
0,
|
0,
|
||||||
30,
|
0,
|
||||||
30,
|
0,
|
||||||
255
|
255
|
||||||
],
|
],
|
||||||
"bg": [
|
"line1": "",
|
||||||
240,
|
"line2": "",
|
||||||
240,
|
"text": ""
|
||||||
250,
|
|
||||||
255
|
|
||||||
],
|
|
||||||
"author": "Apathy",
|
|
||||||
"font": "ansifont",
|
|
||||||
"line1": "wide XBIN",
|
|
||||||
"line2": "...",
|
|
||||||
"text": "wide XBIN example"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
61
sahli.js
61
sahli.js
|
|
@ -45,28 +45,31 @@ var Sahli = function () {
|
||||||
this.loadplain(picdata, inserthere);
|
this.loadplain(picdata, inserthere);
|
||||||
break;
|
break;
|
||||||
case 'ansi':
|
case 'ansi':
|
||||||
|
this.loadhugeansi(picdata, inserthere);
|
||||||
|
break;
|
||||||
|
case 'bin':
|
||||||
this.loadansi(picdata, inserthere);
|
this.loadansi(picdata, inserthere);
|
||||||
break;
|
break;
|
||||||
case 'xbin':
|
case 'xbin':
|
||||||
this.loadxbin(picdata, inserthere);
|
this.loadansi(picdata, inserthere);
|
||||||
break;
|
break;
|
||||||
case 'ice':
|
case 'ice':
|
||||||
this.loadice(picdata, inserthere);
|
this.loadansi(picdata, inserthere);
|
||||||
break;
|
break;
|
||||||
case 'avatar':
|
case 'avatar':
|
||||||
this.loadavatar(picdata, inserthere);
|
this.loadavatar(picdata, inserthere);
|
||||||
break;
|
break;
|
||||||
case 'pcboard':
|
case 'pcboard':
|
||||||
this.loadpcboard(picdata, inserthere);
|
this.loadansi(picdata, inserthere);
|
||||||
break;
|
break;
|
||||||
case 'idf':
|
case 'idf':
|
||||||
this.loadidf(picdata, inserthere);
|
this.loadansi(picdata, inserthere);
|
||||||
break;
|
break;
|
||||||
case 'adf':
|
case 'adf':
|
||||||
this.loadadf(picdata, inserthere);
|
this.loadansi(picdata, inserthere);
|
||||||
break;
|
break;
|
||||||
case 'tundra':
|
case 'tundra':
|
||||||
this.loadtundra(picdata, inserthere);
|
this.loadansi(picdata, inserthere);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
this.loadplain(picdata, inserthere);
|
this.loadplain(picdata, inserthere);
|
||||||
|
|
@ -121,42 +124,32 @@ var Sahli = function () {
|
||||||
this.origwidth = canv.width;
|
this.origwidth = canv.width;
|
||||||
this.origheight = canv.height;
|
this.origheight = canv.height;
|
||||||
this.SAUCE = SAUCE;
|
this.SAUCE = SAUCE;
|
||||||
}, {"font": "80x25", "bits": "9", "columns": 80, "thumbnail": 0});
|
}, {"font": "80x25", "bits": "8", "columns": 80, "thumbnail": 0});
|
||||||
};
|
};
|
||||||
|
|
||||||
this.loadxbin = function (picdata, inserthere) {
|
this.loadhugeansi = function (picdata, inserthere) {
|
||||||
alert('xbin', picdata, inserthere);
|
var fname = this.location + '/' + picdata.file;
|
||||||
};
|
var pdiv = $('<div>');
|
||||||
|
var calcheight = 0;
|
||||||
this.loadbin = function (picdata, inserthere) {
|
var canvwidth = 0;
|
||||||
alert('bin', picdata, inserthere);
|
AnsiLove.splitRender(fname, function (chunks, SAUCE) {
|
||||||
};
|
chunks.forEach(function (canv) {
|
||||||
|
canv.style.verticalAlign = "bottom";
|
||||||
this.loadice = function (picdata, inserthere) {
|
pdiv.append(canv);
|
||||||
alert('ice', picdata, inserthere);
|
calcheight = calcheight + canv.height;
|
||||||
};
|
canvwidth = canv.width;
|
||||||
|
});
|
||||||
this.loadidf = function (picdata, inserthere) {
|
inserthere.after(pdiv);
|
||||||
alert('idf', picdata, inserthere);
|
this.SAUCE = SAUCE;
|
||||||
};
|
this.origwidth = canvwidth;
|
||||||
|
this.origheight = calcheight;
|
||||||
this.loadadf = function (picdata, inserthere) {
|
}, 30, {"bits": "8"});
|
||||||
alert('adf', picdata, inserthere);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
this.loadavatar = function (picdata, inserthere) {
|
this.loadavatar = function (picdata, inserthere) {
|
||||||
alert('avatar', picdata, inserthere);
|
alert('avatar', picdata, inserthere);
|
||||||
};
|
};
|
||||||
|
|
||||||
this.loadtundra = function (picdata, inserthere) {
|
|
||||||
alert('tundra', picdata, inserthere);
|
|
||||||
};
|
|
||||||
|
|
||||||
this.loadpcboard = function (picdata, inserthere) {
|
|
||||||
alert('pcboard', picdata, inserthere);
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
this.fillinfo = function (picdata) {
|
this.fillinfo = function (picdata) {
|
||||||
var infob = $('div.infobox');
|
var infob = $('div.infobox');
|
||||||
infob.find('h1').text(picdata.name);
|
infob.find('h1').text(picdata.name);
|
||||||
|
|
|
||||||
1296
testshow/Blocktronics-WTF4_Megajoint.ans
Normal file
1296
testshow/Blocktronics-WTF4_Megajoint.ans
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue