Kingcom / armips

An assembler for various ARM and MIPS platforms. Builds available at http://buildbot.orphis.net/armips/
MIT License
359 stars 77 forks source link

[feature request] get the hash for a binary file and check out the value #204

Open Infrid opened 3 years ago

Infrid commented 3 years ago

hello, thank you for this amazing tool, I am using it for my fan translation and so far has been great to edit values and even inject some code!

There is a feature I'd like to request: a directive to check the hash for a file.

I am working on a PSX project, sometimes I need to edit data in overlays, it would be great to check the hash of any binary file before writing anything to it. A way to check if the file is the correct one like sha1file(path), I use armips in a more complex building system and it would be great to stop the process if some file is not meeting the requirements.

What do you think? Is it unnecessary? feature creep?

thank you!