<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multimedia.cx/index.php?action=history&amp;feed=atom&amp;title=FLK</id>
	<title>FLK - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multimedia.cx/index.php?action=history&amp;feed=atom&amp;title=FLK"/>
	<link rel="alternate" type="text/html" href="https://wiki.multimedia.cx/index.php?title=FLK&amp;action=history"/>
	<updated>2026-08-18T02:34:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://wiki.multimedia.cx/index.php?title=FLK&amp;diff=16110&amp;oldid=prev</id>
		<title>Kostya: fill information</title>
		<link rel="alternate" type="text/html" href="https://wiki.multimedia.cx/index.php?title=FLK&amp;diff=16110&amp;oldid=prev"/>
		<updated>2026-01-21T04:56:45Z</updated>

		<summary type="html">&lt;p&gt;fill information&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is an LZW-based format used in some Italian adult game called &amp;lt;em&amp;gt;Selen&amp;lt;/em&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Video consists of one or more blocks of frames with the same palette.&lt;br /&gt;
&lt;br /&gt;
Block header:&lt;br /&gt;
  4 bytes - number of frames&lt;br /&gt;
  4 bytes - video size&lt;br /&gt;
  4 bytes - width&lt;br /&gt;
  4 bytes - height&lt;br /&gt;
  4 bytes - frame table size (should be 64*nframes)&lt;br /&gt;
  12 bytes - unknown&lt;br /&gt;
  4 bytes - suggested unpacked data buffer size&lt;br /&gt;
  16 bytes - unknown&lt;br /&gt;
  N bytes - frame table&lt;br /&gt;
  512 bytes - RGB555 palette&lt;br /&gt;
&lt;br /&gt;
Frame table record:&lt;br /&gt;
  8 bytes - unknown&lt;br /&gt;
  4 bytes - offset to opcodes&lt;br /&gt;
  4 bytes - opcodes size&lt;br /&gt;
  8 bytes - unknown&lt;br /&gt;
  4 bytes - offset to pixel data&lt;br /&gt;
  4 bytes - pixel data size&lt;br /&gt;
  4 bytes - offset to audio data&lt;br /&gt;
  4 bytes - audio data size&lt;br /&gt;
  4 bytes - frame data end?&lt;br /&gt;
  4x2 bytes - bounding rectangle for changed area&lt;br /&gt;
  12 bytes - unknown &lt;br /&gt;
&lt;br /&gt;
Frame data consists of opcodes and LZW-compressed pixel data. If opcodes are not present, pixel data constitutes raw frame.&lt;br /&gt;
&lt;br /&gt;
Opcodes (in binary):&lt;br /&gt;
* &amp;lt;code&amp;gt;000nnnnn&amp;lt;/code&amp;gt; -- output 0..31 pixels&lt;br /&gt;
* &amp;lt;code&amp;gt;001nnnnn nnnnnnnn&amp;lt;/code&amp;gt; -- output 0..8191 pixels&lt;br /&gt;
* &amp;lt;code&amp;gt;010nnnnn&amp;lt;/code&amp;gt; -- run of 0..31 pixels&lt;br /&gt;
* &amp;lt;code&amp;gt;011nnnnn nnnnnnnn&amp;lt;/code&amp;gt; -- run of 0..8191 pixels&lt;br /&gt;
* &amp;lt;code&amp;gt;100nnnnn&amp;lt;/code&amp;gt; -- restore 0..31 pixels of the initial background&lt;br /&gt;
* &amp;lt;code&amp;gt;101nnnnn nnnnnnnn&amp;lt;/code&amp;gt; -- restore 0..8191 pixels of the initial background&lt;br /&gt;
* &amp;lt;code&amp;gt;11000000 00000000&amp;lt;/code&amp;gt; -- end of current line&lt;br /&gt;
* &amp;lt;code&amp;gt;11000000 11111111&amp;lt;/code&amp;gt; -- end of frame&lt;br /&gt;
* &amp;lt;code&amp;gt;11000000 nnnnnnnn&amp;lt;/code&amp;gt; -- skip 1..255 lines&lt;br /&gt;
* &amp;lt;code&amp;gt;110nnnnn&amp;lt;/code&amp;gt; -- skip 0..31 pixels&lt;br /&gt;
* &amp;lt;code&amp;gt;111nnnnn nnnnnnnn&amp;lt;/code&amp;gt; -- skip 0..8191 pixels&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Game Formats]]&lt;/div&gt;</summary>
		<author><name>Kostya</name></author>
	</entry>
</feed>