PDA

View Full Version : BUF file editor BETA testers wanted



barocca
11-23-2002, 03:03
OK Guys,
grab your liquid supplement (mine's coffee with a dash of bourbon),
grab your solid supplement, (mine's choclate - naturally),
we have some beta version bug testing to do

RSW, that genius of the TotalWar community has built a BUF file edior,
but RSW has a real life and while he tested it against a dozen or so BUF files, he needs us to test it against all of them,

each BUF file appears to be unique in Format http://www.totalwar.org/forum/non-cgi/emoticons/eek.gif
some sort of check code at the end of each file,

rather than have to write an editor for each and every file this editor requires a little bit of input from the user,
the BUF editor will display a four digit code for each BUF file you open, this number needs to be recorded, and then entered back into the program before you save the file.

MAYBE we can make our own BUF files, but that is unclear at this stage,
THAT is what we need to Test Also.

From RSW

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.


Can we make Original BUF files?
heres the file,
ReadBUF_Beta Version (http://www.totalwar.org/barocca/readBUF_beta.zip)
now get to work...
...damn no smiley whipping the slaves...
MITHRANDIR, get your image editing skills down here http://www.totalwar.org/forum/non-cgi/emoticons/biggrin.gif
http://www.totalwar.org/forum/non-cgi/emoticons/joker.gif http://www.totalwar.org/forum/non-cgi/emoticons/joker.gif http://www.totalwar.org/forum/non-cgi/emoticons/joker.gif

this thread has been duplicated in EH and the Dungeon
deliberately