You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When manually searching the WED files, two of them can be found in which the attribute “Unused Bytes?” is present.
These are:
AR1000.WED
OH2010.WED
I think they don't cause any problems since I tested AR1000.WED rudimentarily with no errors in the game (but I could be wrong). Interestingly, both “Unused Bytes?” are different sizes (see screenshots).
A superficial explanation I have is that it's a door(s), so theoretically it can be any size?
Another question is why “only” these two WED files have this attribute (What causes “Unused Bytes?” and can it be prevented)?
NOTE: The game for the mentioned files is BGEE: SoD
The text was updated successfully, but these errors were encountered:
Near Infinity hides some of the structure of WED files when looking at the overview. Vanilla WED files are laid out as follows:
Header
Overlays Array
Secondary Header
Tiled Objects Array
Tilemap Array (Overlay 0)
Tilemap Array (Overlay 1)
...
Tilemap Indices (Overlay 0) Lookup Array – Indexed into by Tiled Object Entries
TIS Tile Indices Lookup Array (Overlay 0) – Indexed into by Tilemap Entries (Overlay 0)
TIS Tile Indices Lookup Array (Overlay 1) – Indexed into by Tilemap Entries (Overlay 1)
...
Wall Groups Array
Polygons Array
Polygon Indices Lookup Array – Indexed into by Wall Group Entries
Vertices Array
The Unused bytes? sections you are seeing are pointed to by empty Overlay entries via their TIS Tile Indices Lookup Array offset fields. This suggests that at least one of the currently-unused overlays used to be populated, and that the unused data was at one point the overlay's TIS tile indices. It appears that instead of rebuilding the file to remove the unused data, the overlays were simply blanked.
The unused data is harmless and serves no purpose in the final file.
Thank you very much for the detailed explanation. A rebuild would at least help maintain a clean and consistent state of the files. I'll leave this issue open so the maintainers and developers of this repo can decide whether they want to rebuild the file to remove the Unused Bytes? attribute.
This is from NearInfinityBrowser/NearInfinity#183 (comment)
When manually searching the WED files, two of them can be found in which the attribute “Unused Bytes?” is present.
These are:
AR1000.WED
OH2010.WED
I think they don't cause any problems since I tested AR1000.WED rudimentarily with no errors in the game (but I could be wrong). Interestingly, both “Unused Bytes?” are different sizes (see screenshots).
A superficial explanation I have is that it's a door(s), so theoretically it can be any size?
Another question is why “only” these two WED files have this attribute (What causes “Unused Bytes?” and can it be prevented)?
NOTE: The game for the mentioned files is BGEE: SoD
The text was updated successfully, but these errors were encountered: