yes, your exporter is very good,

but what can i do if i want to export model with many textures?

if i had one texture, it was easy to add texture in MED, but
what can i do if i have 15 textures?

can it be done in python?
please help