Posted by DirbaioWell, we can go and copy the code from MKDSe for generating the KCL. It's GPL after all...
Or are MKDS and SM64DS KCL's different?
No, mkds kcl files are a little bit different from sm64ds kcl files. Mostly the fractional part of values. Because sm64ds is smaller.