bsp-decompiler icon indicating copy to clipboard operation
bsp-decompiler copied to clipboard

"System.ArgumentOutOfRangeException: Index was out of range" when decompiling HL2 Beta maps

Open Equalizer5118 opened this issue 1 year ago • 0 comments

I am attempting to decompile maps from "The Thing", which was the first custom campaign for Half-Life 2 built off the leaked beta code, but after attempting to decompile the maps it keeps throwing this error:

Exception caught in Job 7: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at Decompiler.BSPExtensions.GetLeavesInTree(BSP bsp, Node node)
   at Decompiler.BSPExtensions.GetBrushesInModel(BSP bsp, Model model)
   at Decompiler.BSPDecompiler.ProcessEntity(Entity entity)
   at Decompiler.BSPDecompiler.Decompile()
   at Decompiler.Job.Run()

I don't know if I am doing something wrong or if this format is just not supported.

Equalizer5118 avatar Jan 01 '24 17:01 Equalizer5118