TonyD Posted August 16, 2002 Share Posted August 16, 2002 yep i did, thanks for the tiles :DIf u look at those tiles you posted in say paintshop pro, the palette is not correct, its kinda way to blueish, if u do a simple conversion of palettes it does not fix problem, they still look kinda funny. I also noticed that tiles that should go together, are totally different colours - I wish I knew why this happens, have a look at say 254 and 255, these should fit together. It seems that the tiles that have the flags on them, which are mapped to the different house colours, look toally different with all colours then the tiles without flags on them. Quote Link to comment Share on other sites More sharing options...
XTF Posted August 16, 2002 Author Share Posted August 16, 2002 That could be related to animation. Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted August 16, 2002 Share Posted August 16, 2002 [attachment archived by Gobalopper] Quote Link to comment Share on other sites More sharing options...
TonyD Posted August 16, 2002 Share Posted August 16, 2002 :D Excellent, If only I had gote this before I had manually grabbed the dune and thick spice icons :(, oh well, excellent work, now I will be able to make a proper extraction util, it will extract everything!Hey stefan,I noticed your seed files don't seem to contain the bumpy dune sand icons in them, I mean like the 159 type. I tried the palette conversion you suggested on my compiled-version-outputted-tiles and got weird results, but with the icons olaf posted worked beautifully, must must have been doing something silly. I just reallized why, I was using the wrong icon.icn file version again! agghhhghhgh! oh well works now. Quote Link to comment Share on other sites More sharing options...
TonyD Posted August 17, 2002 Share Posted August 17, 2002 Here we go, fixes wrong palette issue, and its a little more optimal#include <dos.h>#include <io.h>#include <stdio.h>#define FNAME "icon.icn"char palname[]="ibm.pal";#define ICONNUM 0x18f#define ICONOFFS 0x28#define TABLEOFFS 0xc7b0#define TABLESIZE 0xa90#define INDEXOFFS 0xd248int in;unsigned char table[TABLESIZE];unsigned char index[iCONNUM];unsigned char inbuf[0x80];unsigned char outbuf[0x100];#pragma pack(push, 1)struct{ unsigned __int16 ftype; // 'BM' - BMP unsigned __int32 fsize; // Size of file unsigned __int32 rez; // Reserved unsigned __int32 bitoffs; // Offset of bit image unsigned __int32 ssize; // Size to rest of structure, includes this field unsigned __int32 width; // Width of image unsigned __int32 height; // Height of image unsigned __int16 planes; // Count of bit planes = 1 unsigned __int16 bits; // Bit per pixel unsigned __int32 compr; // Type of compression unsigned __int32 imgsize; // Size of image unsigned __int32 sux1; unsigned __int32 sux2; unsigned __int32 clrused; // Count of used colors unsigned __int32 clrimp; // Count of impotant colors} bmphead;unsigned char pal[768];unsigned char destpal[1024];int writebmp(char *name){ Quote Link to comment Share on other sites More sharing options...
XTF Posted August 17, 2002 Author Share Posted August 17, 2002 I made the mistake with the palet. One strange thing is:if (table[k + i] >= 0x90 && table[k + i] <= 0xa0) Should 0xa0 be included or not? I think only 16 colors are house specific, not 17. Quote Link to comment Share on other sites More sharing options...
TonyD Posted August 18, 2002 Share Posted August 18, 2002 i would have thought there were 6 house pacific coulors and thus 0xa0 should be 0x96 instead of 0xa0, but this is only necessary if u want to map the graphics to other houses then harkonnen before its loaded into game.I've got an excellent data extraction conversion util happening, extracts almost all needed data, and appends images together in correct format, not long till i can release fully legal, then perhaps ill go open source on sourceforge. Quote Link to comment Share on other sites More sharing options...
XTF Posted August 18, 2002 Author Share Posted August 18, 2002 What house color is used for the original graphics? And to which house color is it being mapped?And you need to know this if you want to remap in-game too. Quote Link to comment Share on other sites More sharing options...
TonyD Posted August 19, 2002 Share Posted August 19, 2002 What house color is used for the original graphics? And to which house color is it being mapped?And you need to know this if you want to remap in-game too.Harkonnen, Yeah you do need to know it in game, In my game its mapped to any of the six houses. Quote Link to comment Share on other sites More sharing options...
vidiware Posted August 19, 2002 Share Posted August 19, 2002 Well guys do u think i can help with graohics editing.. i really want soome credit in game making... just send me a mail what do and it will be done as fas as possible!well should you release it as source or not? Quote Link to comment Share on other sites More sharing options...
Cyborg Posted August 19, 2002 Share Posted August 19, 2002 Do u think of the credit? do the job first and then get credit of the work you've done ;) Quote Link to comment Share on other sites More sharing options...
TonyD Posted August 19, 2002 Share Posted August 19, 2002 I've implemented shimmering effect now for worms and the sonic tank, looks pretty good I reckon.Vidiware - If your asking for stuff to do from me, there isn't much to do, all I've got to do for this is patch graphics all together. I will hopefully make it all fully automated. Quote Link to comment Share on other sites More sharing options...
stefanhendriks Posted August 24, 2002 Share Posted August 24, 2002 [attachment archived by Gobalopper] Quote Link to comment Share on other sites More sharing options...
vidiware Posted August 25, 2002 Share Posted August 25, 2002 REally nice...But how do u read such a thing in VB??? Quote Link to comment Share on other sites More sharing options...
Cyborg Posted August 25, 2002 Share Posted August 25, 2002 That would be nice, and does anyone know how to make transparent backgrounds on pictures? say I make a person on a picture, but dont want the black background surrounding him... how do I do that? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.