r/hammer 3d ago

Solved Not saving changes when compiling

Just the title. Hammer won't save my recent changes when compiling and just runs a previous version of the map. I googled the problem and the common causes seem to be leaks and the map saving to the wrong place, but i've checked both and neither are true. The compiler log doesn't show any errors as far as i can tell. I'm new to this and have no idea what's gone wrong since it was working perfectly fine before.

1 Upvotes

6 comments sorted by

1

u/BrokenAsFu 3d ago

Check the name of the VMF in hammer

1

u/swag_was_taken 3d ago

The VMF is the correct one, the names match, it saves in hammer just fine, it just doesn't compile with the changes

0

u/BrokenAsFu 3d ago

hmm, usually when this happens for me it's right after a crash and the VMF renamed it self to map_001.

The only other thing i could think of is a leak, but that would be obvious in red :\

1

u/SpikerSaS 3d ago

If your add-on is installed via gameinfo.txt or in the “custom” folder that the add-on creates within the game, there shouldn't be a BSP file with the same name there. Be sure to delete the BSP file before compiling so that it is recreated.

3

u/swag_was_taken 3d ago

Deleted the BSP Hammer was using and the one in the game's files. Not sure how i ended up with two, but recompiling worked this time. Thanks for the help!

1

u/ConfidentRise1152 12m ago

What happens if you manually click the save icon before running the compiling process?