Jump to content

CKANConverter, a utility to convert .ckan files to Text or CSV (Spreadsheets) files.


Recommended Posts

Hello everyone, I hope I am posting this in the right category, if not please direct me in the right direction!

This is a command line utility aptly name CKANConverter. It converts .ckan files into a formatted Text file or a CSV file which can be imported into most, if not all, Spreadsheets viewers/creators (e.g. Microsoft Excel, Google Sheets, etc.).

Using the program isn't the easiest thing to do at the moment, however if the interest is high enough, I will work on a version with a GUI as well as a version that I can host on a website, both of which would greatly increase usability!

The source code can be found here!

If you find any issues or have a feature request please report them here!

Simply follow the instruction in the ReadMe file (also below) for your Operation System and you will soon have a pretty mod list that you can show off.

Windows

Unzip the .zip you downloaded to any directory then double click convert.bat

A command prompt will open and ask you for some info, once provided the program will convert your file then exit.

Linux/Mac

Unpackage the .zip file

Open a terminal (Ctrl+Alt+T on Linux) and navigate to the folder where you unpackaged the .zip

Type the following into the console

$ bash convert.sh

Other Info

Alternatively you can pass all of the requested info on the command line using the following syntax

$ java -jar CKANConverter.jar "inputPath" "outputPath" [-c|-t]

Ensure that the paths are in quotes, especially if there are spaces in the path names.

The last two parameters are optional, however if you do not specify -c (CSV) it will default to -t (Text)

Link to comment
Share on other sites

Well I got tired of having to redo my mod list for my stream so I did this, I've only put about two-four hours of work into it, but like I said will do more with it if people are interested.

In hindsight outside of streaming/YouTube I don't see much use for it, but I guess thats for everyone else to decide :P

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...