Gravemind2401 / Reclaimer

A Halo game file explorer
GNU General Public License v3.0
75 stars 15 forks source link

Can't load Pelican interior from Halo 4 #23

Closed jbienz closed 2 years ago

jbienz commented 2 years ago

Can load other images, but not the interior diffuse or interior normal maps. Here's the error:

Loading image: objects\vehicles\human\storm_pelican\storm_pelican_interior\textures\pelican_interior_diff.bitmap
Error loading image: objects\vehicles\human\storm_pelican\storm_pelican_interior\textures\pelican_interior_diff.bitmap
System.InvalidOperationException: Data not found
   at Adjutant.Blam.Halo4.ResourceIdentifier.ReadData(PageType mode, Int32 maxLength)
   at Adjutant.Blam.Halo4.bitmap.ToDds(Int32 index)
   at Reclaimer.Controls.BitmapViewer.LoadImage(IBitmap image, String fileName)
   at Reclaimer.Plugins.BitmapViewerPlugin.DisplayBitmap(ITabContentHost targetWindow, IBitmap bitmap, String fileName)
jbienz commented 2 years ago

Turns out it couldn't read the textures from m70_liftoff, but it was able to read them from m40_invasion. I'm not sure why though.

Gravemind2401 commented 2 years ago

This error happens when the tag information is included in the map but the actual resource data is not. I believe this is typically because the tag is never actually used in that mission, and was just included as a dependency of some other tag. This is map-specific, and there will generally be a different map you can use instead like you mentioned.