tupac

  • Ogre Mage
  • ********
  • *
  • Posts: 2350
    • View Profile
Re: Tupac & easycompanys WarCraft 2 Map Editor
« Reply #45 on: March 22, 2017, 06:16:57 PM »
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.