For example, I have a file called test.vmf in D:\Hammer\Maps. It's a very basic map: a hollow cube with light source and player_start. If you compile this map with LDR+HDR, it works just fine.
But if you try to compile it with -final, it breaks. After crashing, in D:\Hammer\Maps a log file is generated:
Then, in the D:\Hammer folder there's an another log:
[Reading texlights from 'lights.rad']
[1 texlights parsed from 'lights.rad']
Loading d:\hammer\mapstest.bsp
Error opening d:\hammer\mapstest.bsp
It seems that hammer++ tries to open test.bsp, that is located in D:\hammer\map\, but it forgets the last dash.
I experimented, and, if you take test.bsp file that is created in D:\hammer\map\, put it in D:\hammer and name it mapstest.bsp, then it works.
For example, I have a file called test.vmf in D:\Hammer\Maps. It's a very basic map: a hollow cube with light source and player_start. If you compile this map with LDR+HDR, it works just fine. But if you try to compile it with -final, it breaks. After crashing, in D:\Hammer\Maps a log file is generated:
Then, in the D:\Hammer folder there's an another log:
It seems that hammer++ tries to open test.bsp, that is located in D:\hammer\map\, but it forgets the last dash. I experimented, and, if you take test.bsp file that is created in D:\hammer\map\, put it in D:\hammer and name it mapstest.bsp, then it works.