LibBSP icon indicating copy to clipboard operation
LibBSP copied to clipboard

LZMA compressed entity lump in Team Fortress 2

Open xPaw opened this issue 4 years ago • 1 comments

I used your library to dump entity lumps from tf2 and csgo maps. And as it turns out lumps can be LZMA compressed in tf2 maps.

Is this something you're interested in adding support for?

As per: https://developer.valvesoftware.com/wiki/Source_BSP_File_Format#Versions Example map would be tf/maps/koth_undergrove_event.bsp

I've implemented the lzma decompression in my tool here: https://github.com/xPaw/EntityLumpDumper/commit/f15372cca44aadabe2f0773bf609eb1fa32e8001

xPaw avatar Nov 08 '20 11:11 xPaw

Ok, so finally getting back to this. Originally, my instinct was to not use the LZMA SDK because I don't much like the idea of adding dependencies on external libraries, partly because I'm not sure of the compatibility of source code licensing. But lately I've come around to the idea. I have a couple other priorities in this library that I'd like to hit first, but I think I'll do this. Thanks!

wfowler1 avatar Nov 05 '21 19:11 wfowler1