begin support for multiple fileformats (xbin, ice...)

This commit is contained in:
Iam Naughton Phier 2014-08-05 16:14:31 +03:00
parent 980c855d7a
commit a4b4f33c48
3 changed files with 128 additions and 44 deletions

View file

@ -56,8 +56,23 @@
<label for="file">Ascii or Ansi?</label> <label for="file">Ascii or Ansi?</label>
<button id='entryamiga' name="amiga" id='amiga' type='button' value='1'>Ascii</button> <button id='entryamiga' name="amiga" id='amiga' type='button' value='1'>Ascii</button>
</li> </li>
<li>
<label for='filetype'>File Type:</label>
<select>
<option value="plain">plain</option>
<option value="ansi">ansi</option>
<option value="xbin">xbin</option>
<option value="ice">ice</option>
<option value="adf">adf</option>
<option value="avatar">avatar</option>
<option value="bin">bin</option>
<option value="idf">idf</option>
<option value="pcboard">pcboard</option>
<option value="tundra">tundra</option>
</select>
</li>
<li> <li>
<label for="width">With of file:</label> <label for="width">Width of file:</label>
<input id='entrywidth' type="number" name="width" value="80" placeholder=""> <input id='entrywidth' type="number" name="width" value="80" placeholder="">
</li> </li>
<li> <li>

View file

@ -31,6 +31,7 @@
}, { }, {
"file": "az0!-revi510n.txt", "file": "az0!-revi510n.txt",
"name": "Revi510n", "name": "Revi510n",
"filetype":"plain",
"amiga": true, "amiga": true,
"width": "80", "width": "80",
"color": [ "color": [
@ -53,6 +54,7 @@
}, { }, {
"file": "ted_-_spaceship_enterprise.ans", "file": "ted_-_spaceship_enterprise.ans",
"name": "SPACEshiP ENterprISe", "name": "SPACEshiP ENterprISe",
"filetype":"ansi",
"amiga": false, "amiga": false,
"width": "80", "width": "80",
"color": [ "color": [
@ -75,6 +77,7 @@
}, { }, {
"file": "h7-supergroupies.ans", "file": "h7-supergroupies.ans",
"name": "Super Groupies", "name": "Super Groupies",
"filetype":"ansi",
"amiga": false, "amiga": false,
"width": "80", "width": "80",
"color": [ "color": [
@ -97,6 +100,7 @@
}, { }, {
"file": "51_DRGN.XB", "file": "51_DRGN.XB",
"name": "51 Dragon", "name": "51 Dragon",
"filetype":"xbin",
"amiga": false, "amiga": false,
"width": "80", "width": "80",
"color": [ "color": [
@ -119,6 +123,7 @@
}, { }, {
"file": "ARTX-LGO.ADF", "file": "ARTX-LGO.ADF",
"name": "example ADF", "name": "example ADF",
"filetype":"adf",
"amiga": false, "amiga": false,
"width": "120", "width": "120",
"color": [ "color": [
@ -141,6 +146,7 @@
}, { }, {
"file": "US-SADIS.BIN", "file": "US-SADIS.BIN",
"name": "bin example", "name": "bin example",
"filetype":"bin",
"amiga": false, "amiga": false,
"width": "120", "width": "120",
"color": [ "color": [
@ -163,6 +169,7 @@
}, { }, {
"file": "zv_iniq.tnd", "file": "zv_iniq.tnd",
"name": "tundra example", "name": "tundra example",
"filetype":"tundra`",
"amiga": false, "amiga": false,
"width": "120", "width": "120",
"color": [ "color": [
@ -184,7 +191,8 @@
"text": "more examples" "text": "more examples"
}, { }, {
"file": "MD-XMAS.IDF", "file": "MD-XMAS.IDF",
"name": "IVF example", "name": "IDF example",
"filetype":"idf",
"amiga": false, "amiga": false,
"width": "120", "width": "120",
"color": [ "color": [
@ -204,9 +212,80 @@
"line1": "Xmas (ivf example)", "line1": "Xmas (ivf example)",
"line2": "...", "line2": "...",
"text": "more examples" "text": "more examples"
}, {
"file": "example.avatar",
"name": "AVATAR example",
"filetype":"avatar",
"amiga": false,
"width": "80",
"color": [
0,
30,
30,
255
],
"bg": [
240,
240,
250,
255
],
"author": "avatarperson",
"font": "ansifont",
"line1": "an avatar file",
"line2": "...",
"text": "more examples"
}, {
"file": "pcboard.pcboard",
"name": "PCBoard example",
"filetype":"pcboard",
"amiga": false,
"width": "120",
"color": [
0,
30,
30,
255
],
"bg": [
240,
240,
250,
255
],
"author": "pcboard person",
"font": "ansifont",
"line1": "PCBOARD example",
"line2": "...",
"text": "more examples"
}, {
"file": "example.ICE",
"name": "ICE example",
"filetype":"ice",
"amiga": false,
"width": "120",
"color": [
0,
30,
30,
255
],
"bg": [
240,
240,
250,
255
],
"author": "ice",
"font": "ansifont",
"line1": "ICE example",
"line2": "...",
"text": "more examples"
}, { }, {
"file": "51_EMP.XB", "file": "51_EMP.XB",
"name": "WIDE xbin", "name": "WIDE xbin",
"filetype":"xbin",
"amiga": false, "amiga": false,
"width": "120", "width": "120",
"color": [ "color": [

View file

@ -1,52 +1,42 @@
x 2014-04-16 (C) separate to individual renderers @16colors
(C) load to array/picture, render from picture @16colors
(C) speed up rendering more? @16colors
(A) Add "type" of file(format) - plain, xbin, etc. (A) Add "type" of file(format) - plain, xbin, etc.
(A) remove the SAUCE lines at bottom, return ANSI object for render @SAUCE
(B) load SAUCE into 'info' lines (should be done at prep) @SAUCE
x 2014-04-05 (A) Study 16colors site - how does IT remove sauce info? It DOESN'T. FUCK.
x 2014-04-05 (A) Split coffeescript into files, use cake.
(A) remove their lines like SAUCE, return ANSI object for render @OTHER
(B) load other-info into 'info' (done at prep) @OTHER
(A) Error handler for file not found
(B) THUMBNAILS - for returning to partymeister
(A) Create Editor - Standalone @EDITOR (A) Create Editor - Standalone @EDITOR
x 2014-04-16 (A) - create interface @EDITOR (A) remove the SAUCE lines at bottom, return ANSI object for render @SAUCE
@EDITOR save (print) routine (A) XBIN @OTHER
x 2014-04-16 @EDITOR edit item saves data routine (A) load SAUCE into 'info' lines (should be done at prep) @SAUCE @EDITRO
@EDITOR update the line item when saving
@EDITOR text/bg colors change 'SAHLI' thing
@EDITOR fix filename 'holdover' from previous bit, 'escape/cancel' reset as well
@EDITOR fix filenames
@EDITOR dump to screen or file, not to console when saving
@EDITOR delete an entry
x 2014-04-17 @EDITOR BUGFIX - ansi/ascii toggle/saving
(A) - parse files for 'info' @EDITOR @SAUCE
x 2014-03-24 (B) Get with dfox on the partymeister package version
(B) implement package import from partymeister @PARTYMEISTER
(C) hook for progress @progress @PARTYMEISTER
(B) ADF @OTHER (B) ADF @OTHER
(B) Tundra @OTHER (B) Amiga ANSI @OTHER
(A) SAUCE @SAUCE
(B) XBIN @OTHER
(B) Avatar @OTHER (B) Avatar @OTHER
(B) BIN @OTHER (B) BIN @OTHER
(B) IDF @OTHER (B) IDF @OTHER
(B) PCBOARD @OTHER (B) PCBOARD @OTHER
(A) Amiga ANSI @OTHER (B) THUMBNAILS - for returning to partymeister
(B) Tundra @OTHER
(C) Fix Amiga mode rendering via sixteencolors lib @16colors
(C) Add fonts - mOsOul @Fonts @16colors
(C) Add fonts - microknight @16colors
(C) Add p0t - fonts-nOodle @16colors
(C) Add fonts - Amiga 500 @16colors
(C) Add fonts - Amiga 1200 (replace or compare w/16colors version) @16colors (C) Add fonts - Amiga 1200 (replace or compare w/16colors version) @16colors
(C) Add fonts - Amiga 500 @16colors
(C) Add fonts - microknight @16colors
(C) Add fonts - mOsOul @Fonts @16colors
(C) Add p0t - fonts-nOodle @16colors
(C) implement package import from partymeister @PARTYMEISTER
(C) Fix Amiga mode rendering via sixteencolors lib @16colors
(C) hook for progress @progress @PARTYMEISTER
(C) load to array/picture, render from picture @16colors
(C) speed up rendering more? @16colors
@EDITOR delete an entry
@EDITOR dump to screen or file, not to console when saving
@EDITOR fix filename 'holdover' from previous bit, 'escape/cancel' reset as well
@EDITOR fix filenames
@EDITOR save (print) routine
@EDITOR text/bg colors change 'SAHLI' thing
@EDITOR update the line item when saving
x (A) Error handler for file not found
x 2014-03-24 (B) Get with dfox on the partymeister package version
x 2014-04-05 (A) Split coffeescript into files, use cake.
x 2014-04-05 (A) Study 16colors site - how does IT remove sauce info? It DOESN'T. FUCK.
x 2014-04-16 (A) - create interface @EDITOR
x 2014-04-16 (C) separate to individual renderers @16colors
x 2014-04-16 @EDITOR edit item saves data routine
x 2014-04-17 @EDITOR BUGFIX - ansi/ascii toggle/saving