craftablescience / VPKEdit

A CLI/GUI tool to create, read, and write several pack file formats.
https://developer.valvesoftware.com/wiki/VPKEdit
MIT License
211 stars 17 forks source link

[GUI] Replace lump in S1 BSP with lump from LMP file #170

Open SirYodaJedi opened 2 weeks ago

SirYodaJedi commented 2 weeks ago

Describe Your Suggestion

You mentioned on Discord that the backend supports this, but there isn't a GUI (or CLI) method for doing this yet.

Looking at lumpfileheader_t, it seems S1 LMP files store what lump they replace, so the only error checking I can think would be necessary would be making sure lumpLength is correct (if the value found at that position isn't, it probably is an IdTech LMP instead).