Page 1 of 1

BMF Viewer/Compiler/Decompiler (Source Included)

Posted: Fri Jul 05, 2013 5:00 am
by Nielk1
I am going through my old programs and trying to get stuff finished up.
Image
I have moved the code that deals with BMF files specifically to it's own DLL (.net) and added a function for writing out to a stream (its only constructor so far reads in from a stream). Once I have the code able to make a blank font from scratch (not much left to do at all for that) I can get an actual converter put together that allows you to edit the individual character images.

If anyone else here uses .net (most specifically C# though this DLL is compatible with any .net language) please say so. Let me know what you think would help you make your own editor or program around this and I'll be sure the module has the needed core functions. I am thinking I might put this project's source on github or a site like it so anyone can contribute. I have other tools I am working on getting into a usable state as well, but some (such as the MSH converter) won't be having their source code posted up.

EDIT: And here is the github page: https://github.com/Nielk1/bz2-bmf-format-tools

Re: BMF Viewer, getting to Editor

Posted: Fri Jul 05, 2013 8:28 am
by Nielk1
Added an export and import console application to the GIT repo, for those who don't want to try to figure out how to compile them, here is the current binaries (from 4th commit, 2012/07/05):
http://nielk1.com/Battlezone/BMF_Utilit ... t-tools.7z

The font decompiling app will create a folder with the same name as the BMF. The file is the only input parameter.
The font compiling app will take in a folder (of the format and contents of the decompiling app) and create a BMF. The path is the only input parameter.

EDIT:
Fix for decompiling fonts with characters of 0 width, new issue with new font files in source. Here are the fixed binaries (from 5th commit, 2013/11/11):
http://nielk1.com/Battlezone/BMF_Utilit ... t-tools.7z