display-name: "Test/Bang"
meta: {"Working": ["Packed file extraction", "Tiles"], "Not yet working": "Sprites, audio, and levels" }

if (file.name like "*.*")
{
	file[64]: i
	{
		name: "test" + i
		offset: 0
		size: file.size
		compressed "tteesstt"
		decompressed-size: file.size
interpret-as "test-image"
	}
  	

	/*loop(64)
	{
	at 0:
	*/
}

file-format "test-image"
{
	image
	{
		width: 32
		height: 32
		data-size: file.size
		format: "I8"
	}
}

function tteesstt
{
	//test: 0
	loop while(file.remaining-bytes > 0)
	//loop (file.size)
	{
		read unsigned8 test

		if ((test & 0x7F) == 0)
		{
			write unsigned8 test
		}
		else
		{
			write unsigned8 test
		}
	}
}