Subj : Re: ANSI, BIN, SAUCE, and EOF
To   : Deuce
From : Kirkman
Date : Fri May 01 2015 11:19 am

 Re: Re: ANSI, BIN, SAUCE, and EOF
 By: Deuce to Kirkman on Fri May 01 2015 12:09 am

>> * BINs with SAUCE displayed okay if I specified a width/height in
>> load(). If  I omitted the w/h, I would get an error.

De> What error?

"uncaught exception: unknown graphic dimensions"

De> Are you positive the SAUCE data is correct? Feel free to email test
De> scripts and ANS/BIN files to [email protected] so I can take a look at them.

I'm no expert, so I can't swear that it's correct.  I'm using PabloDraw 3.2.1
on the Mac. I know its BIN handling has some bugs, but the files I created
render perfectly in the Escapes app, and also on the AnsiLove.js test page.

I'll email to you my test code plus a sample .bin and .ans file.

I put some debugging statements into frame.js to see what the code was
calculating for file_type, data_type, etc. Then I compared those values to what
Escapes said for the same file. Here are the results. Frame.js appears to be
wrong:

test.bin (frames.js) | datatype: 40 | filetype: 0  | tinfo1: 0 | tinfo2: 0
test.bin (escapes)   | datatype: 5  | filetype: 40 | tinfo1: 0 | tinfo2: 0

test.ans (frames.js) | datatype: 1 | filetype: 80 | tinfo1: 6144 | tinfo2: 0
test.ans (escapes)   | datatype: 1 | filetype: 1  | tinfo1: 80   | tinfo2: 24

--Josh

////--------------------------------------------------
BiC -=- http://breakintochat.com -=- bbs wiki and blog

---
� Synchronet