cso2-launcher icon indicating copy to clipboard operation
cso2-launcher copied to clipboard

Cannot load older maps

Open missing233 opened this issue 6 years ago • 4 comments

CSO2 has updated its engine.

When I load an old map(UC_MUSEUM.bsp eg.) game crashed. Console: Host_Error: Mod_LoadCubemapSamples: funny lump size in maps/UC_MUSEUM.bsp Crash message dialog: MapEntity_ParseAllEntities: found LZMAG when expecting {

So how to fix these old maps?

missing233 avatar Feb 18 '19 19:02 missing233

They updated engine and didn't update the old maps (aim_dust, duel_diner) to be compatible with it. In TW client those maps were actually removed from files, but in KR version they are still there as a rudiment. We can't do anything without software that can recompile those maps. And there are not that many broken maps to fix, so I don't think anyone will create software like this.

organnerx avatar Feb 25 '19 21:02 organnerx

They updated engine and didn't update the old maps (aim_dust, duel_diner) to be compatible with it. In TW client those maps were actually removed from files, but in KR version they are still there as a rudiment. We can't do anything without software that can recompile those maps. And there are not that many broken maps to fix, so I don't think anyone will create software like this.

The dcubemapsample_t structure between old and new maps is different. The size of it in the old maps is 160, and in the new maps it's 164.

I think if you add 4 null bytes in the end of an old map's dcubemapsample_t the game will be able to load it

L-Leite avatar Feb 25 '19 21:02 L-Leite

@Ochii Additionally,how to add custom maps? Such as gm_flatgrass from Garry's Mod.

missing233 avatar Feb 26 '19 03:02 missing233

@Ochii Additionally,how to add custom maps? Such as gm_flatgrass from Garry's Mod.

You can't at the moment, the map headers are different

L-Leite avatar Feb 26 '19 10:02 L-Leite

For each dcubemapsample_t, add 4 bytes at the end of the lump

L-Leite avatar Feb 26 '19 23:02 L-Leite

Bump: Is anybody made old maps work? Seems like nobody can do it :(

organnerx avatar Apr 04 '19 22:04 organnerx