code/modules/admin/verbs/map_export.dm 
| /proc/send_exported_map | A procedure for saving DMM text to a file and then sending it to the user. Arguments: |
|---|---|
| /proc/tgm_encode | Takes a constant, encodes it into a TGM valid string |
| /proc/write_map | Procedure for converting a coordinate-selected part of the map into text for the .dmi format |
| /proc/calculate_tgm_header_index | Generates a key matching our index |