How To Edit SMP/SMX for AoE2 DE?

Yes! You do that using openage library on linux.
HERE: Request: Advanced Idle pointer