LucasForums

LucasForums (http://www.lucasforums.com/index.php)
-   SCUMM (http://www.lucasforums.com/forumdisplay.php?f=363)
-   -   EMI Tile (background) Viewer (http://www.lucasforums.com/showthread.php?t=126146)

bgbennyboy 04-02-2004 06:47 PM

EMI Tile (background) Viewer
 
Here is my new EMI tile viewer.

For those that dont know .til's contain the backgrounds in EMI. So its a background viewer/saver.

It supports both the pc and ps2 versions of EMI as well as the demo. You can view backgrounds, save backgrounds and batch-rip all backgrounds to either jpeg or bitmap.

I've released it mainly because I was bored last week and also because John_Doe's excellent EMI Resource Viewer doesnt support the PS2 .til's and doesnt do batch ripping of .til's. Many, many thanks to John_Doe for his .til specs :)


I can also finally add a little to the .til specs:

Bitmap header:
Code:

id        long        "BM  "
?        3*long
notiles        long        no of tiles
?        4*long        4 longs
format        long        if=16 then format=ps2 tiles, if=32 then format=pc tiles
?        22*long        22 longs

PS2 Tiles (16 Bit):
Code:

Tilesize=width*height*2
Colourdata        word        Colour data
Red=(((Colourdata shr 10) and 31) * 255)div 31;
Green=(((Colourdata shr 5) and 31) * 255) div 31;
Blue=((Colourdata and 31) * 255) div 31;

I've been trying to plug some of the other gaps in the specs by comparing Pc and PS2 tiles and by comparing tiles with and without the extra masking graphics. I havent had a lot of success so far though.


All times are GMT -4. The time now is 05:31 PM.

Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2011 - All rights reserved.