Saturday, January 16, 2016

NetKeen Tile Migration Tool

A relatively new PCKF member asked for tile sheets of Ceilick's excellent unofficial The Universe Is Toast games. He wanted to put the graphics into NetKeen to make multiplayer maps in that style. Copying the right parts of the tile sheets would work, but tileinfo is trickier. Somebody suggested that tileinfo has to be set up manually, but I knew automating it wouldn't be too hard.

So I wrote the NetKeen Tile Migration Tool (NKTMT). It moves tiles and tileinfo from resources of an arbitrary chunk layout into existing NetKeen resources. The program requires an updated version FMod.dll (FleexCore2) for the NextGenGraphics class.

Download NetKeen Tile Migration Tool

nktmt.exe takes 22 command-line parameters, all required, in this order: source EGAGRAPH, source EGAHEAD, source EGADICT, source TLI, source unmasked tile start, source unmasked tile end, source masked tile start, source mask tile end, NK EGAGRAPH, NK EGAHEAD, NK EGADICT, NK GAMEMAPS, NK MAPHEAD, NK unmasked tile start, NK unmasked tile end, NK masked tile start, NK masked tile end, source infoplane icon count, NK infoplane icon count, NK unmasked 8x8 tile chunk, NK unmasked 8x8 count, NK masked 8x8 count.

For example, I used these parameters to put the Keen 8 (based on Keen 6) resources into NetKeen resources (named .CK4): egagraph.ck6 egahead.ck6 egadict.ck6 keen6.tli 438 2813 2814 5549 egagraph.ck4 egahead.ck4 egadict.ck4 gamemaps.ck4 maphead.ck4 777 2288 2289 5240 108 108 775 30 12

No comments:

Post a Comment