SnowyMouse / invader

Free toolkit for Halo: Combat Evolved for creating maps and assets
https://invader.opencarnage.net
Other
57 stars 10 forks source link

[invader-bludgeon] add feature to bludgeon bitmap tags missing bitmap sequence entries. #220

Open Aerocatia opened 2 years ago

Aerocatia commented 2 years ago

It turns out these are more common than I thought thanks to old MEK versions producing these and manually fixing it is giving people grief. This should be simple to do, just add a one-bitmap sequence entry for every bitmap in the bitmap data array. Sprites will not be able to be bludgeoned like this, but that is OK since it was completely hosed anyway if it was a sprite.

Jenetrix commented 8 months ago

Has this been added yet? I keep running into this snag myself.


...in levels\b30\bitmaps\detail brushed metal.bitmap
Failed to compile tag levels\b30\bitmaps\detail brushed metal.bitmap
Failed to compile tag scenery\teleporter_base\shaders\teleporter_base.shader_environment
Aerocatia commented 8 months ago

Yeah, it's been in for a while. Is it not working on your tags?

Jenetrix commented 8 months ago

Does not seem to be working, its tags extracted from a custom edition map, and attempting to build targeting mcc. Several of the tags on this map are also failing to extract, being skipped over by the extractor, that it then cannot find when rebuilding.

Aerocatia commented 8 months ago

Hmm, what map is it? There are a few things that can cause this, like maps being edited directly with eschaton.

Jenetrix commented 8 months ago

So i narrowed it down a bit and it may actually end up being out of scope for this specific issue. The map is coldsnap.map (custom edition), and when attempting to unpack it, several modified “default” tags are being ignored and skipped. When attempting to repack the map for MCC, after converting the tags and bludgeoning them, it is failing due to the missing tags. several modified default tags that do extract are having the aforementioned bitmap indexing issue even after bludgeoning.