andyp123/blender_io_mesh_bsp

Entity lump not loading correctly for bsp2 files

Closed this issue · 1 comments

For some reason, the entity lump for bsp2 files seems to have a weird character ending or something, as I get tons of errors when trying to decode it. It might just be a slightly different size than bsp 29, but I couldn't figure it out, so I just prevented it crashing, but it would be nice to fix properly.

This was fixed by changing the entity lump decode from ascii to cp437, which is an extended ascii used for colored decoration used in map titles etc.