K2X Converter

From Custom Mario Kart
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
K2X Converter
Author: Caron
Programming language: Python
Windows (x64)
File formats: KMP, Excel
Version: v0.1
Date of latest version: 2020-09-18
Download: Google Drive

Overview

K2X Converter is a script created by Caron. It converts between KMP and Excel (.xlsx) files.

How to

If you have already installed Python (3.7 or higher):

  • Install the modules to make it work. This step will not be necessary next time.
pip install -r requirements.txt
  • To convert KMP to XLSX:
python k2x.py --kmp=course.kmp --excel=course.xlsx
  • To convert XLSX to KMP:
python x2k.py --excel=course.xlsx --kmp=course2.kmp

If you have not installed Python:

  • To convert KMP to XLSX:
k2x.exe --kmp=course.kmp --excel=course.xlsx
  • To convert XLSX to KMP:
x2k.exe --excel=course.xlsx --kmp=course2.kmp

As a common additional option, add "-o" to overwrite a pre-existing file.

Note

x2k does not support Excel formulas. If you want convert to XLSX containing formulas to KMP, do the following for all target cells:

  • Select the cell(s) and press CTRL + C to copy.
  • In the same place, press CTRL + ALT + V to open the Paste Special.
  • Choose "Values" and then press "OK" (or V + ENTER).

Version History

Version Date of release Information
v0.1 2020-09-18 First release