The application allows for the editing of binary BZNs in the most basic form, that being HEX and ASCII. You may view the fields as it best attempts to understand them, but as BZNs are just a list of typed values in series you have to guess the meaning and context of what you are editing. This application should be used as a stop gap in modifying maps based on the old binary BZN format to load into the latest patch without crashing for re-saving as ASCII BZNs. Don't try to change objects in a map severely as changing things such as the classlabel of objects can be highly destructive to the mission stability.
Side note: This program works on save files as well.
OLD POST:
This allows you to see the value list stored in Binary BZN files. It is not yet to the point of being able to edit the data, nor do I yet know if I have the byte order correct on the reading of data (and thus have not yet coded the writing of BZN files) but it is a good start and the source is posted. The purpose of this is to, down the road when it is fully completed (and please feel free to help) allow for binary BZNs to be modified and repaired so that they may be loaded in 1.3 and re-saved in ASCII format. Currently, if an object is missing or some other change, the BZN can cause a pretty hard and ugly crash. Being able to point these broken object entries at new objects would be a great help for converting maps up to a recent version.
Bz source allows the bzn to be saved in ascii from debug, this allowed it to easily be available for others to use. Does Bz2 source have something similar?
Sometimes i would like a bzn converter in Bz to change map sizes without having to resetup all the objects on the original map. (guess most ppl won't find that useful though...)
Last edited by Apollo on Sun Jul 07, 2013 10:47 am, edited 1 time in total.
Activision anet servers for all legacy anet games: Anet Servers
BattleZone Club (Supporting BattleZone 1.4, The Red Odyssey, BattleZone Enhanced, BattleZone 1.5 and Bionite) BattleZone 1 Community Since 2002
Apollo wrote:Bz source allows the bzn to be sized in ascii from debug, this allowed it to easily be available for others to use. Does Bz2 source have something similar?
Sometimes i would like a bzn converter in Bz to change map sizes without having to resetup all the objects on the original map. (guess most ppl won't find that useful though...)
We don't have the BZ2 source (or the BZ1 for that matter, that is just you). That should make this little project slightly more impressive I hope since its a bit of reverse engineering and a little bit of info from Ken to get going in the right direction.
I still can't be sure I have the byte order right since the floats all look like ass.
Posted a new screenshot, updated code, linked to 7zed EXE. This program is featured enough to fit its intended purpose. Read the first post for details.