Converting PNG/JPG to PCX for Fallout 2

ghostman

Heavy metal dick
Hi. To put this as simple as possible I am adding a item crafting recipies to MrFixit 1.1(to version in Phobos2077's EcCo mod) I've added a functional pipe rifle recipe with customized ingredients/tools/skills. Only problem I am having is the recipe preview image on the MR FIXIT device. What I tried to do was download base image of pipe rifle off of fallout wiki, tinted the white space same color as in game MR FIXIT console background, converted my .png to .pcx and added to Fallout 2/data/pcx/items for loading.

When Mr Fixit is opened half of my recipe image is displayed with seemingly inverted colours and some sort of graphical glitch underneath. When converted back from PCX to png/etc. it looks fine. For whatever reason fo2 won't let me screen shot it, but I will include my pipe rifle image pre-PCX conversion:

piperifle.png

If anyone can tell me what I am doing wrong before converting please let me know! Would like to expand available recipes for this mod & have them look good.
 
So Phobos2077 gave me a very solid explanation, if anyone else just happens to be interested;

Look at the line after the PCX file name:
Code:
{1400}{}{[ITEM]}
{1401}{}{40}
{1402}{}{pcx/items/stimx.pcx}
{1403}{}{89060}  // THIS ONE

You need to write number = image_width * 1000 + image_height.
About the colors - did you save PCX file in 256 color mode? If I remember correctly, you don't need to use an actual Fallout pallette for PCX files, just convert to 256 colors with pallette integrated in the file (I use IrfanView to do that).

This works perfectly. I will probably be adding a few more weapons, maybe ammo to be crafted alongside my new pipe rifle recipe.
 
Last edited:
You likely didn't saved the picture with the correct colors. Before saving the file as *.pcx, reduce the colors to 256. The game can't handle anything else.

/Edit: like what you already quoted above.
 
Back
Top