The .BWD [message #39700] |
Sat, 29 March 2008 19:07 |
|
JohnDoe
Messages: 3007 Registered: October 2007
|
Retired
|
|
|
.BWD Format (Obsolete, but I don't care, I love it).Map Data Header
[4] bytes - Number of map entries + 1
Map Data Entries
[4] bytes - LevelName string length
~string - LevelName
[4] bytes - LevelScriptName string length
~string - LevelScriptName
[1] byte - Boolean? Always true
[1] byte - LoadedOnPlayerProximity boolean
[1] byte - IsSea boolean
[4] bytes - Map X start
[4] bytes - Map X end
[4] bytes - Map Y start
[4] bytes - Map Y end
[1] byte - Boolean? Always true
[4] bytes - Map UID
[4] bytes - Null, end of entry
Region Data Header
[4] bytes - Number of region entries + 1
Region Data Entries
[4] bytes - NumberOfContainedMaps
[4] bytes - NumberOfSeenMaps
[4] bytes - ContainedMap
(Repeat for x number of entries, omit if 0)
[4] bytes - SeenMap
(Repeat for x number of entries, omit if 0)
[4] bytes - RegionName string length
~string - RegionName
[4] bytes - NewDisplayName string length
~string - NewDisplayName
[4] bytes - RegionDef string length
~string - RegionDef
[4] bytes - MiniMapGraphic string length
~string - MiniMapGraphic
[1] byte - AppearOnWorldMap boolean
[1] byte - Boolean? Always true
[1] byte - Boolean? Always true
[4] bytes - Float, MiniMapScale
[4] bytes - Signed, MiniMapOffsetX
[4] bytes - Signed, MiniMapOffsetY
[4] bytes - Signed, WorldMapOffsetX
[4] bytes - Signed, WorldMapOffsetY
[4] bytes - MiniMapRegionExitTextOffset entries
[4] bytes - MiniMapRegionExitText string length
~string - MiniMapRegionExitText
[4] bytes - MiniMapRegionExitTextOffsetX
[4] bytes - MiniMapRegionExitTextOffsetY
(Repeat for x number of entries, omit if 0) JohnDoe, learning things (with some help) that have been rendered obsolete by others since June '06.Call it selective seeing, but I didn't see this. | <Silver> you don't need the bwd
|
Edit: Included a structure library to be used for HW 4.23 (previous versions untested, later versions break offsets in structures). It was made out of complete boredom, and to learn more about hex structures (I hate floats so much). Anyway, have fun editing a completely obsolete and useless file.
Update: Replaced the structure twice, each had one download.
First upload had somewhat inefficient (and wrong) structure.
Second upload required editing certain values prior to use.
Third, and last upload, because I'm not spending anymore time on this useless file, has taken care of all that crap.
[Updated on: Mon, 07 April 2008 23:05] Report message to a moderator
|
|
|