ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
648 stars 75 forks source link

[HL2DM (Possibly engine wide)] lump files are not loaded #2224

Open henk717 opened 7 years ago

henk717 commented 7 years ago

[Description] In the current and upcoming build of HL2DM .lmp files are ignored by the engine. This means patches can no longer be loaded without changing the .bsp files like previously possible on older builds (If i recall correctly 3 builds ago). This prohibits the following wiki article from functioning https://developer.valvesoftware.com/wiki/Patching_levels_with_lump_files

[Replication steps] Export the map entities to an .lmp file, modify either the .lmp or the .bsp to have differences. Place the mapname_l_0.lmp file in the maps folder. Run the map and see if the entity's match the .lmp version instead of the entity's inside the map.

[Expected behavior] The entity's of the map are ignored and the entity's from the _l_0.lmp are loaded as described in https://developer.valvesoftware.com/wiki/Patching_levels_with_lump_files and observed in previous versions.

[Observed behavior] The engine loads the entity's from the original map, not loading any information from the .lmp files.

Nephyrin commented 7 years ago

Lump file loading was disabled in one of the last few engine updates, as part of hardening the map loading/download paths. It was not maintained and had dubious interactions with sv_pure and asset downloading.

We can keep this issue as a feature request to re-add this or similar functionality more robustly, but no promises.