Results 1 to 7 of 7

Thread: GIMP plugin for BIF/BUF/LBM formats

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Needs more flowers Moderator drone's Avatar
    Join Date
    Dec 2004
    Location
    Moral High Grounds
    Posts
    9,287

    Default Re: GIMP plugin for BIF/BUF/LBM formats

    Is the "faction color" color on the model animations a particular index, or is that just a particular color that can be anywhere in the colormap?

    Progress report: I don't write code for Windows, so the degree of difficulty on this task was hazy. After a little googling, I have a build setup in place, and can compile executable code (MingW ftw!). I coded up a basic plugin, installing it into GIMP is easy, just put the plugin's .exe in the plugin directory, and it gets loaded when GIMP starts up. I've written the code to read BIF files and decode/encode the frame data, I just need to go through the GIMP API manual for the right calls to hook in loading/saving images. The existing .ilbm plugin code has most of this, I'll use it as a reference. Once I get BIFs to load and save, I'll start looking into the weird stuff. GIMP lets you do a lot of things through the plugins, so I should be able to write code for colormap manipulation when I figure out the special cases. An old post by macsen mentioned problems editing either shield or flag LBMs in PSPro, Ultimate Paint apparently doesn't corrupt so I will need to sort that out as well.

    I'll go ahead and apologize ahead of time, this might take a while. The code isn't that difficult, but RL is a drag.
    The .Org's MTW Reference Guide Wiki - now taking comments, corrections, suggestions, and submissions

    If I werent playing games Id be killing small animals at a higher rate than I am now - SFTS
    Si je n'étais pas jouer à des jeux que je serais mort de petits animaux à un taux plus élevé que je suis maintenant - Louis VI The Fat

    "Why do you hate the extremely limited Spartan version of freedom?" - Lemur

  2. #2

    Default Re: GIMP plugin for BIF/BUF/LBM formats

    Quote Originally Posted by drone View Post
    Is the "faction color" color on the model animations a particular index, or is that just a particular color that can be anywhere in the colormap?
    It is both... Both colour and index matters. Anyways, I'm no programmer so most of what you are saying sounds like Marsian to me (and I never used Gimp either), sorry for that. All the same, I hope you will find time to work on this eventually - I guess I'm stuck waiting for you as I don't have the skills to do this on my own. Otherwise I would. I do hope you manage to make this stuff fly eventually.

    - A

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

    Default Re: GIMP plugin for BIF/BUF/LBM formats

    I've finally figured it out!! As usually, when you know how to do it looks quite easy (tedious but easy). It's 97% of work in Photoshop, 1% Pro Motion (LBM for seqgrab), 1% seqgrab (BIF) and 1% Buffy the Bif Slayer (BUF). But.. it's 2 am so if you want more details let me know tomorrow.
    "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