Jump to content


Batch Conversion of the Blazing Blades BoA graphics

Batch Conversion Blazing Blades BoA graphics

  • Please log in to reply
10 replies to this topic
Ishad Nha Ishad Nha

Hand of Avadon

  • Member
    • Member ID: 4,773
  • 2,366 posts

Posted 07 August 2013 - 02:32 AM #1 Batch Conversion of the Blazing Blades BoA graphics

Blazing Blades BoA graphics are well regarded and are used a fair bit. They are also just the thing for porting BoE scenarios to the BoA world. Currently they are .png format, which is no use in BoA scenarios, hence I have done a batch conversion of all the BB graphics.
Here is the batch conversion of the Blazing Blades BoA graphics. They were in png format, I converted them to 8bit bmp format, then I changed them to 24 Bit format:
http://www.freewebs....Conversions.zip

(8 bit graphics are about a third of the size of 24 bit versions, original BB pngs seemed to have 8 bit color depth.)

Jewels backed up the site at:
http://www.truesite4...azingblade.html

Here I used IrfanView, by Skiljan Irfan, it is just the thing for someone who is not an expert on file formats.
It can be found at:
http://frua.rosedrag...sc/iview295.zip
Online Readme:
http://frua.rosedrag...sc/iview295.txt

Batch Conversion, this function is found in the File menu, its hotkey is B.
In the lower right of the Batch Conversion dialog box, choose Advanced Options. This brings up the "Set for all images:" dialog box. In the "Change color depth:" part find
"256 Colors (8 BPP)" and click on its radio button.
Conversion can turn 24 bit Bitmaps into 8 bit varieties.
(Resize function can apparently create Editor icons at will.)

In the short term I will get all floor/terrain/item graphics collated into rows of ten when that is not currently the case.
Long term goal is that the .bmp graphics will be given G### names. Then they can be permamently added to the relevant Graphics folders in the Data directory. Scenario designers will be able to use them in datascripts just like official BoA graphics.
Pre-existing scenarios will need new data scripts if they use graphics from the Blazing Blades collection, but they already come with their own graphics anyway.
Then we can bring in a few other graphics, from the first Avernum Trilogy and the two versions of Nethergate.

Edit:
Items, Terrain - Walls and Terrain - Buildings are done.
Creatures and Splash Screen graphics only need to be renumbered.
Graphics from the first Avernum Trilogy and the two versions of Nethergate have been done.
Doing Terrain - Furniture now.
Still need to do Terrain - Climb and Floors.
.

Edited by Ishad Nha, 13 August 2013 - 06:51 AM.


Ishad Nha Ishad Nha

Hand of Avadon

  • Member
    • Member ID: 4,773
  • 2,366 posts

Posted 10 August 2013 - 04:05 AM #2 Batch Conversion of the Blazing Blades BoA graphics

I have uploaded a new version that is found at the link in the post above. Floors and Terrain - Climb are still not done.
Edit:
Floors done, now I am starting on Terrain - Climb.

Edit:
Terrain - Climb is done. I will need to see what happens with the graphics having the G5##.bmp names, do they need to be renumbered? Will they conflict with the graphics found in scenarios?

Edit:
It has to be 24-bit or there are horrible masking problems.
  New 24 Bit version has been uploaded.

Ishad Nha Ishad Nha

Hand of Avadon

  • Member
    • Member ID: 4,773
  • 2,366 posts

Posted 13 August 2013 - 06:53 AM #3 Batch Conversion of the Blazing Blades BoA graphics

It seems that you can use these graphics from the Terrain Graphics folder, just as though they were official Spiderweb graphics.
Just as well, they total around 24 MB.

Now I have done the Geneforge graphics by Geneforged. There is a serious lack of Editor icons.

Ishad Nha Ishad Nha

Hand of Avadon

  • Member
    • Member ID: 4,773
  • 2,366 posts

Posted 18 August 2013 - 04:41 AM #4 Batch Conversion of the Blazing Blades BoA graphics

I have just uploaded a new version, using the link found in the first post of this topic.
Edit:
There are serious masking issues with the Geneforge graphics...

nikki. nikki.

Humany-Wumany

  • Global Moderator
    • Member ID: 2,313
  • 7,449 posts

Posted 19 August 2013 - 06:10 PM #5 Batch Conversion of the Blazing Blades BoA graphics

View PostIshad Nha, on 13 August 2013 - 06:53 AM, said:

There is a serious lack of Editor icons.

well, since everybody is using the 3d editor (and if they arent they should be), editor icons arent really that big a deal

Ishad Nha Ishad Nha

Hand of Avadon

  • Member
    • Member ID: 4,773
  • 2,366 posts

Posted 19 August 2013 - 07:18 PM #6 Batch Conversion of the Blazing Blades BoA graphics

Though the birds-eye view is useful, when you want the big picture.

nikki. nikki.

Humany-Wumany

  • Global Moderator
    • Member ID: 2,313
  • 7,449 posts

Posted 20 August 2013 - 04:06 PM #7 Batch Conversion of the Blazing Blades BoA graphics

Sure, but with the newest version of the editor, you can see a REALLY wide view even in 3D mode. I guess editor icons are important for the automap, but there's probably enough existing graphics that you can snaffle in order to fill gaps.

Ishad Nha Ishad Nha

Hand of Avadon

  • Member
    • Member ID: 4,773
  • 2,366 posts

Posted 20 August 2013 - 06:31 PM #8 Batch Conversion of the Blazing Blades BoA graphics

Automap is formed from the Editor icons, if you want a useful and appealling automap you must have good Editor icons.

In the Geneforge graphics, there is a problem with the "snowfall" of non-transparent pixels outside the area of the image proper. It is unsightly, no two ways about that.
I found that it comes from translating a JPG picture into a 24 Bit Bitmap. Translating from JPG to 8 Bit Bitmap removes the snowfall. You then have transparencies inside the image proper, but that only affects a handful of pixels. It is not always easy to see which pixel is actually transparent rather than just near-white.
Solution seems to be translate from JPG to PNG, then to 8 Bit Bitmap.

Edit:
Now at line 4 in the second graphic there is a massive problem with a sudden loss of quality in using 8 Bit color. So I will have to use 24 Bit and a mask to remove the snowfall. Mask will be a solid color that can be altered to RGB = 255,255,255.

Ishad Nha Ishad Nha

Hand of Avadon

  • Member
    • Member ID: 4,773
  • 2,366 posts

Posted 21 August 2013 - 06:08 PM #9 Batch Conversion of the Blazing Blades BoA graphics

Floor types are easy to do. I found that there was stray snowfall outside of the diamond-shaped image proper. Annoyingly, the snowfall was of various similar colors, so a straight color swap would not work. But then I created a mask that turns all snowfall pixels into a uniform color, here it is RGB = 255,0,255. Paste in the masks, open in GIMP, exchange the masking color with transparency (RGB = 255,255,255), then Export back to a BMP format.
24 Bit color has 256^3 = 16 million possible colors. Hence masking color is not likely to occur in the image proper. If it does occur it can be restored easily enough with the Paint pencil, there won't be too many affected pixels.
Also easy to do are the terrain types that are triangle shaped, they are all the same size so a mask was easy to create.

General terrain types occur in a wide variety of sizes, hence standard masks won't be possible. One approach is to remove the pixels one at a time. They are normally invisible but they will show up if you use Fill Color. Deleting everything in a part of the graphic removes all snowfall immediately in that part.

Edit:
I can always take the graphics straight from the Geneforge games, if they are the right size. The snowfall seems to come from the initial Geneforge BMP to JPG conversion.

This approach is actually working, hooray.

Ishad Nha Ishad Nha

Hand of Avadon

  • Member
    • Member ID: 4,773
  • 2,366 posts

Posted 25 August 2013 - 04:31 AM #10 Batch Conversion of the Blazing Blades BoA graphics

I have just uploaded a new version, using the link found in the first post of this topic.

There are serious masking issues with the Geneforge graphics...
A draft version has been uploaded, it has fixed a lot of the transparency issues found in Geneforged's graphics. It contains FTGoodEvil.bas, a scenario which displays all 256 floor types and all 512 terrain types.
Editor icons frequently have not been done.

Ishad Nha Ishad Nha

Hand of Avadon

  • Member
    • Member ID: 4,773
  • 2,366 posts

Posted 27 August 2013 - 09:45 PM #11 Batch Conversion of the Blazing Blades BoA graphics

I thought the scenario folder graphics would override the official BoA graphics in all cases. If not, then the scenario designers would use graphics numbers in the range from 500 to 599. Then in Frostbite I saw repeated use of graphics numbers from 200 through 401 inclusive...
Then the graphics in the scenario folder were overridden by the Conversions graphics I had placed in the Terrain Graphics folder.

Solutions:
(1) Manually alter all the scripts concerned. Crimson Editor has a Find in Files function that enables you to look for culprits like "set_char_dialogue_pic" and "draw_pic_dialog".
(2) Copy the entire Blades of Avernum directory to another part of the C:\ drive. The new BoA installation has only official Spiderweb graphics in its Terrain Graphics folder. Scenario is played from the new installation.
(3) Have two separate Terrain Graphics folders, at any given time, one is in use and the other is not. Folder not in use has its name altered, you can add "AA" or "BB" or whatever to the start of the name.

Edit:
A new version was uploaded today, it is still missing an awful lot of editor icons.

Edited by Ishad Nha, 10 October 2013 - 10:26 PM.






Also tagged with one or more of these keywords: Batch Conversion, Blazing Blades, BoA graphics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users