Results 1 to 12 of 12

Thread: Annoying error on BIF reader

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Senior Member Senior Member naut's Avatar
    Join Date
    Dec 2005
    Posts
    9,103

    Default Re: Annoying error on BIF reader

    Easiest way is to convert a current .bif file into a .bmp using BifReader. Then copy and paste your new image into the converted .bmp file. It may mess up some of the colours, which you will then need to change, but at least the palette will be correct when you convert it back to a .bif.
    #Hillary4prism

    BD:TW

    Some piously affirm: "The truth is such and such. I know! I see!"
    And hold that everything depends upon having the “right” religion.
    But when one really knows, one has no need of religion. - Mahavyuha Sutra

    Freedom necessarily involves risk. - Alan Watts

  2. #2
    Beauty hunter Senior Member Raz's Avatar
    Join Date
    Aug 2006
    Location
    Australia.
    Posts
    1,089

    Default Re: Annoying error on BIF reader

    Quote Originally Posted by CenturyGamer
    What is a 256 colour image?
    Without getting too technical:
    A 256-colour .BMP image is an image with a maximum of 256 different colours. These colours are stored in a palette inside the image. It can also be called an indexed colour palette.

    You'd have saved your BMP image as (most likely) a 24-bit BMP, which has a possible 16 million different colours.

    A .BIF file can't handle this number of colours and so uses an indexed colour palette, thus you need to save your BMP images accordingly - otherwise BANG! "integer overflow". =)


    Quote Originally Posted by CenturyGamer
    How do i make one?!
    Unfortunately, I'm not too skilled with paint shop pro. Haven't used it in quite some time and that was PSP5. =/
    There's usually an Image drop-down menu at the top of the program, along with File, Edit, etc. Try clicking there and finding a Mode sub-menu, or a Colours sub-menu or a Palette button, or something along those lines.
    Failing that, you might be able to save it as a palette image when you click Save-As. The box will have the file's name and everything and underneath that you might find a 256-colour .BMP save option.

    Using GIMP is quite simple for this:



    Quote Originally Posted by CenturyGamer
    THis is too confusing i give up
    Don't! Well, you can if you want, but give it another crack. It's quite satisfying to see your own little soldiers dash across the battlefield using your very own shields, weapons, horses... etc. You can sit back and relax... then say "Ah, I made those shields." =P
    Of course, you'd lose the battle cause you're sitting back and relaxing, but that's beside the point.
    Quote Originally Posted by drone
    I imagine an open-source project to recreate [Medieval: Total War] would be faced with an army of high-valour lawyers.

    Live your life out on Earth; I'm going to join the Sun.

  3. #3

    Default Re: Annoying error on BIF reader

    Quote Originally Posted by Raz View Post
    Without getting too technical:
    A 256-colour .BMP image is an image with a maximum of 256 different colours. These colours are stored in a palette inside the image. It can also be called an indexed colour palette.

    You'd have saved your BMP image as (most likely) a 24-bit BMP, which has a possible 16 million different colours.

    A .BIF file can't handle this number of colours and so uses an indexed colour palette, thus you need to save your BMP images accordingly - otherwise BANG! "integer overflow". =)



    Unfortunately, I'm not too skilled with paint shop pro. Haven't used it in quite some time and that was PSP5. =/
    There's usually an Image drop-down menu at the top of the program, along with File, Edit, etc. Try clicking there and finding a Mode sub-menu, or a Colours sub-menu or a Palette button, or something along those lines.
    Failing that, you might be able to save it as a palette image when you click Save-As. The box will have the file's name and everything and underneath that you might find a 256-colour .BMP save option.

    Using GIMP is quite simple for this:




    Don't! Well, you can if you want, but give it another crack. It's quite satisfying to see your own little soldiers dash across the battlefield using your very own shields, weapons, horses... etc. You can sit back and relax... then say "Ah, I made those shields." =P
    Of course, you'd lose the battle cause you're sitting back and relaxing, but that's beside the point.
    Thanks! I'll give it a shot if i can recover all these images i made :D
    Its time to play Medieval or chew bubble gum.. And i'm all outta gum..

  4. #4

    Default Re: Annoying error on BIF reader

    Excellent! Since i cant see an edit button, i might as well double post, thanks a bunch! Worked fine!
    Its time to play Medieval or chew bubble gum.. And i'm all outta gum..

  5. #5
    Member Member Stazi's Avatar
    Join Date
    Jun 2008
    Location
    Poland
    Posts
    455

    Default Re: Annoying error on BIF reader

    Do you know any image browser (or plugin for any popular browser) that can read bifs, bufs and lbms. Readbif can open them but opening one by one to find the appropriate is annoying. ACDSee can open most LBMs but what about two others?
    "Do not fight for glory. Do not fight for love of your lord. Do not fight for hatred, honor or faith. Fight only for victory and you will succeed." - Uji sensei.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO