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",
|
||||
"slides": {
|
||||
"background": "screen.png",
|
||||
"template": "template.html",
|
||||
"css": "template.css"
|
||||
"background": "",
|
||||
"template": "",
|
||||
"css": ""
|
||||
},
|
||||
"filedata": [
|
||||
{
|
||||
"file": "spaceflight.asc",
|
||||
"name": "Spaceflight",
|
||||
"filetype": "plain",
|
||||
"amiga": true,
|
||||
"filetype": "plain",
|
||||
"width": "80",
|
||||
"author": "Urs",
|
||||
"font": "Propaz",
|
||||
"color": [
|
||||
255,
|
||||
255,
|
||||
128,
|
||||
0,
|
||||
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": [
|
||||
11,
|
||||
11,
|
||||
59,
|
||||
255
|
||||
],
|
||||
"line1": "Revision 2013",
|
||||
"line2": "Mercury",
|
||||
"text": "No tools, just a text editor"
|
||||
},
|
||||
{
|
||||
"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"
|
||||
"line1": "H7",
|
||||
"line2": "Ansi",
|
||||
"text": "Test file #1"
|
||||
},
|
||||
{
|
||||
"file": "51_DRGN.XB",
|
||||
"name": "51 Dragon",
|
||||
"filetype": "xbin",
|
||||
"name": "Dragon",
|
||||
"amiga": false,
|
||||
"filetype": "xbin",
|
||||
"width": "80",
|
||||
"author": "Someone",
|
||||
"font": "Propaz",
|
||||
"color": [
|
||||
255,
|
||||
128,
|
||||
0,
|
||||
30,
|
||||
30,
|
||||
255
|
||||
],
|
||||
"bg": [
|
||||
240,
|
||||
240,
|
||||
250,
|
||||
46,
|
||||
254,
|
||||
247,
|
||||
255
|
||||
],
|
||||
"author": "CIA",
|
||||
"font": "ansifont",
|
||||
"line1": "CIA Pack 62",
|
||||
"line2": "",
|
||||
"text": "16colors archive"
|
||||
"line1": "Test #2",
|
||||
"line2": "Test #2",
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"file": "ARTX-LGO.ADF",
|
||||
"name": "example ADF",
|
||||
"name": "ADF test",
|
||||
"amiga": false,
|
||||
"filetype": "adf",
|
||||
"amiga": false,
|
||||
"width": "120",
|
||||
"width": "80",
|
||||
"author": "",
|
||||
"font": "Propaz",
|
||||
"color": [
|
||||
0,
|
||||
30,
|
||||
30,
|
||||
255,
|
||||
255,
|
||||
255,
|
||||
255
|
||||
],
|
||||
"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,
|
||||
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,
|
||||
30,
|
||||
30,
|
||||
0,
|
||||
255
|
||||
],
|
||||
"bg": [
|
||||
240,
|
||||
240,
|
||||
250,
|
||||
255
|
||||
],
|
||||
"author": "Sense",
|
||||
"font": "ansifont",
|
||||
"line1": "Tundra example",
|
||||
"line2": "...",
|
||||
"text": "more examples"
|
||||
"line1": "",
|
||||
"line2": "",
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"file": "MD-XMAS.IDF",
|
||||
"name": "IDF example",
|
||||
"name": "IDF test",
|
||||
"amiga": false,
|
||||
"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",
|
||||
"author": "",
|
||||
"font": "Propaz",
|
||||
"color": [
|
||||
0,
|
||||
30,
|
||||
30,
|
||||
255,
|
||||
255,
|
||||
255,
|
||||
255
|
||||
],
|
||||
"bg": [
|
||||
240,
|
||||
240,
|
||||
250,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
255
|
||||
],
|
||||
"author": "avatarperson",
|
||||
"font": "ansifont",
|
||||
"line1": "an avatar file",
|
||||
"line2": "...",
|
||||
"text": "more examples"
|
||||
"line1": "",
|
||||
"line2": "",
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"file": "pcboard.pcboard",
|
||||
"name": "PCBoard example",
|
||||
"filetype": "pcboard",
|
||||
"file": "US-SADIS.BIN",
|
||||
"name": "BIN test",
|
||||
"amiga": false,
|
||||
"width": "120",
|
||||
"filetype": "bin",
|
||||
"width": "160",
|
||||
"author": "",
|
||||
"font": "Propaz",
|
||||
"color": [
|
||||
0,
|
||||
30,
|
||||
30,
|
||||
255,
|
||||
255,
|
||||
255,
|
||||
255
|
||||
],
|
||||
"bg": [
|
||||
240,
|
||||
240,
|
||||
250,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
255
|
||||
],
|
||||
"author": "pcboard person",
|
||||
"font": "ansifont",
|
||||
"line1": "PCBOARD example",
|
||||
"line2": "...",
|
||||
"text": "more examples"
|
||||
"line1": "",
|
||||
"line2": "",
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"file": "example.ICE",
|
||||
"name": "ICE example",
|
||||
"filetype": "ice",
|
||||
"file": "zv_iniq.tnd",
|
||||
"name": "Tundra test",
|
||||
"amiga": false,
|
||||
"width": "120",
|
||||
"filetype": "tundra",
|
||||
"width": "80",
|
||||
"author": "",
|
||||
"font": "Propaz",
|
||||
"color": [
|
||||
0,
|
||||
30,
|
||||
30,
|
||||
255,
|
||||
255,
|
||||
255,
|
||||
255
|
||||
],
|
||||
"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,
|
||||
30,
|
||||
30,
|
||||
0,
|
||||
0,
|
||||
255
|
||||
],
|
||||
"bg": [
|
||||
240,
|
||||
240,
|
||||
250,
|
||||
255
|
||||
],
|
||||
"author": "Apathy",
|
||||
"font": "ansifont",
|
||||
"line1": "wide XBIN",
|
||||
"line2": "...",
|
||||
"text": "wide XBIN example"
|
||||
"line1": "",
|
||||
"line2": "",
|
||||
"text": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
61
sahli.js
61
sahli.js
|
|
@ -45,28 +45,31 @@ var Sahli = function () {
|
|||
this.loadplain(picdata, inserthere);
|
||||
break;
|
||||
case 'ansi':
|
||||
this.loadhugeansi(picdata, inserthere);
|
||||
break;
|
||||
case 'bin':
|
||||
this.loadansi(picdata, inserthere);
|
||||
break;
|
||||
case 'xbin':
|
||||
this.loadxbin(picdata, inserthere);
|
||||
this.loadansi(picdata, inserthere);
|
||||
break;
|
||||
case 'ice':
|
||||
this.loadice(picdata, inserthere);
|
||||
this.loadansi(picdata, inserthere);
|
||||
break;
|
||||
case 'avatar':
|
||||
this.loadavatar(picdata, inserthere);
|
||||
break;
|
||||
case 'pcboard':
|
||||
this.loadpcboard(picdata, inserthere);
|
||||
this.loadansi(picdata, inserthere);
|
||||
break;
|
||||
case 'idf':
|
||||
this.loadidf(picdata, inserthere);
|
||||
this.loadansi(picdata, inserthere);
|
||||
break;
|
||||
case 'adf':
|
||||
this.loadadf(picdata, inserthere);
|
||||
this.loadansi(picdata, inserthere);
|
||||
break;
|
||||
case 'tundra':
|
||||
this.loadtundra(picdata, inserthere);
|
||||
this.loadansi(picdata, inserthere);
|
||||
break;
|
||||
default:
|
||||
this.loadplain(picdata, inserthere);
|
||||
|
|
@ -121,42 +124,32 @@ var Sahli = function () {
|
|||
this.origwidth = canv.width;
|
||||
this.origheight = canv.height;
|
||||
this.SAUCE = SAUCE;
|
||||
}, {"font": "80x25", "bits": "9", "columns": 80, "thumbnail": 0});
|
||||
}, {"font": "80x25", "bits": "8", "columns": 80, "thumbnail": 0});
|
||||
};
|
||||
|
||||
this.loadxbin = function (picdata, inserthere) {
|
||||
alert('xbin', picdata, inserthere);
|
||||
};
|
||||
|
||||
this.loadbin = function (picdata, inserthere) {
|
||||
alert('bin', picdata, inserthere);
|
||||
};
|
||||
|
||||
this.loadice = function (picdata, inserthere) {
|
||||
alert('ice', picdata, inserthere);
|
||||
};
|
||||
|
||||
this.loadidf = function (picdata, inserthere) {
|
||||
alert('idf', picdata, inserthere);
|
||||
};
|
||||
|
||||
this.loadadf = function (picdata, inserthere) {
|
||||
alert('adf', picdata, inserthere);
|
||||
this.loadhugeansi = function (picdata, inserthere) {
|
||||
var fname = this.location + '/' + picdata.file;
|
||||
var pdiv = $('<div>');
|
||||
var calcheight = 0;
|
||||
var canvwidth = 0;
|
||||
AnsiLove.splitRender(fname, function (chunks, SAUCE) {
|
||||
chunks.forEach(function (canv) {
|
||||
canv.style.verticalAlign = "bottom";
|
||||
pdiv.append(canv);
|
||||
calcheight = calcheight + canv.height;
|
||||
canvwidth = canv.width;
|
||||
});
|
||||
inserthere.after(pdiv);
|
||||
this.SAUCE = SAUCE;
|
||||
this.origwidth = canvwidth;
|
||||
this.origheight = calcheight;
|
||||
}, 30, {"bits": "8"});
|
||||
};
|
||||
|
||||
this.loadavatar = function (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) {
|
||||
var infob = $('div.infobox');
|
||||
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