Log in

View Full Version : Too GAH! With It!



naut
12-15-2006, 08:49
I've been trying (hopelessly it would seem) to transform this,

https://img446.imageshack.us/img446/9808/newaxesmithpc5.png

into a .bif file. However, whenever I try using different approaches all I get is failure.

With Readbif and a BMP:

https://img446.imageshack.us/img446/8278/fail1ya8.png

With PURPGRAB and a TGA:

https://img257.imageshack.us/img257/6934/fail2dl2.png

With PURPGRAB and a LBM:

https://img257.imageshack.us/img257/6934/fail2dl2.png

caravel
12-15-2006, 09:50
It looks like a palette problem. What paint package are you using? I know that PSP doesn't save LBMs properly. I'm not sure what other program you could use either though. This is why I avoid messing with the graphics in MTW. :shrug:

naut
12-15-2006, 11:57
Yeah, it would seem so. I'm using UP.

Using Photoshop:

https://img227.imageshack.us/img227/1831/newaxesmith2dc8.png

Close.

R'as al Ghul
12-15-2006, 12:11
I just downloaded your example, then converted it to .bmp with IrfanView, then created a new bif with readbif and imported the one frame from the bmp.
Works perfectly for me.
One thing to watch out for is that you need a 256 colours bmp for it to work properly. You do not need purpgrab for this. The buildings are actually easy to make, it gets more difficult when you start editing the campaign pieces.

R'as

naut
12-15-2006, 12:14
IrfanView, of course!

:2thumbsup:

Thanks R'as al Ghul

R'as al Ghul
12-15-2006, 12:19
Irfanview is just one possibility. Adobe Photoshop is a bit huge for this simple task but works also nicely. I don't remember the exact menu command but you do have to reduce the colours to 256 first and then save it as 8-bit bmp, iirc.

R'as

naut
12-15-2006, 12:21
Will do.

:bow:

naut
12-15-2006, 12:39
Didn't work. It's 256 at 8-bits. But all I get is that stupid bluish icon.

R'as al Ghul
12-15-2006, 13:01
I just downloaded your example, then converted it to .bmp with IrfanView, then created a new bif with readbif and imported the one frame from the bmp.

Please try to reproduce this, using irfanview.
How many images do you have to convert?
If it's just the one or a few I'd offer to do it for you but it's so easy that I want you to be able to do it yourself.
Come on, you can do it. :beam:

R'as

naut
12-15-2006, 13:08
Not working, maybe its my copy of Readbif. I'll download that again.

R'as al Ghul
12-15-2006, 13:13
Do NOT load the original building bif and then import the .bmp.
That doesn't work, messes up the palette. Create a new bif with the desired dimensions and then import the frame.
Look for readbif_23c.

naut
12-15-2006, 13:17
This is not right:

https://img284.imageshack.us/img284/6123/noep6.png

EDIT: I have readbif_22 maybe thats why.

naut
12-15-2006, 13:21
I was actually using v21. It works now with v22.

Thanks a lot R'as al Ghul.

R'as al Ghul
12-15-2006, 13:29
:medievalcheers:

naut
12-15-2006, 13:31
Your right it is easy, once you get the hang of it.

:thumbsup:

caravel
12-17-2006, 21:26
I'm doing ok with my buildings, but I have some small black specks. It's as though the transparency isn't correct in places. I've checked them over with readbif 23c once the bif is made but the transparancy seems to be correct in those areas where the black specks appear. I've resolved it on one icon by colouring the specks with a foreground colour. I'm using PSP v5.0 to edit the files and saving them as .png then saving them as bmps using irfanview. If I save as .bmp in PSP the pallettes get mucked up. This seems a bit long winded. I don't have any other paint program so i'm not sure what else to do. :shrug:

naut
12-18-2006, 01:29
Yeah, I get those damned specks to. I resolved it with PSP by getting the Icon on one layer and a screen shot on the other. Change th opacity and do exactly what you've done, put a foreground colour over the black specks. It's probably something to do with Readbif when it converts files.

I actually just use MSPaint, as it is simple and the process being simple all it needs is MSPaint. I also have UP (its in the Shareware and Freeware Thread), because it can save files as TGAs and LBMs.

BTW, where did you get 23c from I couldn't find it.

caravel
12-18-2006, 09:37
http://www.mizus.com/files/files/Tools/TWLogBrowser_final.zip

I find that with readbif 23c the bif file gets saved as the name i enter instead of being saved over the bmp file.

naut
12-18-2006, 10:04
Cheers.