Easycompany I've been working on some sub routines for you. So it's super easy for you to add ur offsets and values!
Button1 (clicked)
Modexe (08,01)
End sub
So if you click a button it will go to offset 80 and change to 1! That's it boom! That example is to set .pud to custom map!
If you want to understand the nerdy side of the subroutine. It basically just uses iostreaming reads a file exe,pud... opens the set file, then goes to offset changes to 01 closes the file. Boom it's been hexed.