how can I change my edited module into a vmod format?

Just change the extension to .vmod. If it’s a valid module file, changing it’s extension won’t make a difference. In fact, a .vmod is just a .zip file with a .vmod extension. You can name a file anything you want. If it’s a valid module, Vassal will still load it.