Originally Posted by [b
Quote[/b] ]
There is only one difference between BUF and BIF. BUF has some extra data on the end of the file. At so far, I found it's a four bytes data (an integer in programming), maybe it's a number of the image used in the game or something like that.
Therefore, you need to write down the number (four bytes data or more) in the BUF first. After you edit or make a new one BIF, you need to write back the number to change it to BUF. Maybe every buf file has a specific number for its own usage.
The old 'readbif21' will encounter some paroblems when it read the unnecessary data in buf files. I just make a small change to make the old one feel fine to read the buf files and I add a simple function to view or write back the number. Maybe you can use it to make your own BUF files. But I can't make sure what I have found (or guessed) was correct. You need to do some testings on your own. Any bug report about the program is welcome.