View Single Post
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,978

Violet CLM has disabled reputation

Jul 3, 2011, 08:44 PM
Violet CLM is offline
Reply With Quote
Still no saving, but here's an early render of a version I neglected to mention in the last post: .lvl and .til files from Animaniacs: A Gigantic Adventure! Events aren't being read properly because AGA uses an earlier version of the .j2l format which has a much more complicated event structure, but graphically it looks good. TSF, 1.10o, and Battery Check are all working fine too.

ETA: oh yes, and this pretty much puts the kibosh on all edited JCS screenshot theories.
ETA2: A line of code for your amusement:
Code:
for (byte k = 0; k < 4; k++) alphaAtlas[i % 10 * 128 + i % 1030 / 10 * 40960 + j % 128 + j / 128 * 1280 + k] /*= alphatile[j + k]*/ = (k == 3) ? (j2l.J2T.TransparencyMaskJJ2_Style[Array.BinarySearch(j2l.J2T.TransparencyMaskOffset, 0, (int)j2l.J2T.data3Counter, j2l.J2T.TransparencyMaskAddress[i])][j / 4] == 1) ? ((transp) ? (byte)192 : (byte)255) : (byte)0 : pixel[k];
ETA 3: Code got longer:
Code:
for (byte k = 0; k < 4; k++) alphaAtlas[i % 10 * 128 + i % 1030 / 10 * 40960 + j % 128 + j / 128 * 1280 + k] /*= alphatile[j + k]*/ = (k == 3) ? (((source == TransparencySource.JCS_Style) ? J2T.TransparencyMaskJCS_Style : J2T.TransparencyMaskJJ2_Style)[Array.BinarySearch(J2T.TransparencyMaskOffset, 0, (int)J2T.data3Counter, J2T.TransparencyMaskAddress[i])][j / 4] == 1) ? ((transp) ? (byte)192 : (byte)255) : (byte)0 : (((source == TransparencySource.JCS_Style) ? J2T.TransparencyMaskJCS_Style : J2T.TransparencyMaskJJ2_Style)[Array.BinarySearch(J2T.TransparencyMaskOffset, 0, (int)J2T.data3Counter, J2T.TransparencyMaskAddress[i])][j / 4] == 1) ? pixel[k] : (i == 0 && k == 0) ? (byte)72 : PinkTransparentColors[k] ;
__________________

Last edited by Violet CLM; Jul 21, 2011 at 09:34 PM.