QBJConverter: Neg 5 to SQBS File Converter

The scariest thing of all is Protobowl
Post Reply
achow101
Kimahri
Posts: 3
Joined: Sun Feb 21, 2016 10:32 pm

QBJConverter: Neg 5 to SQBS File Converter

Post by achow101 » Sun Feb 21, 2016 10:55 pm

I am pleased to announce QBJConverter, a program which converts the QBJ files exported by Neg 5 to SQBS data files. So far this program only works with NAQT Tournaments and SQBS default settings. Divisions need to be added in manually since Neg 5 does not export data on Divisions.

Any help with adapting this to include other tournament styles and with understanding some of the data (I figured out most of it) in the SQBS files is appreciated.

Currently the program is command-line only since I had to create this very quickly following the GVQBT III Tournament which I wrote this program for. I plan on adding a GUI in the future for easier use. Usage is as follows

Code: Select all

QBJConverter <filename>
<filename>: Path to the QBJ file created by Neg 5
The program is open source and licensed under the MIT License. You can browse the source code on Github at https://github.com/achow101/QBJConverter. It is written in C++ and it uses CMake for building.

Downloads are also hosted on Github at https://github.com/achow101/QBJConverter/releases.
Andrew C. Great Valley High School Quiz Bowl Team Member

jonah
Auron
Posts: 2260
Joined: Thu Jul 20, 2006 5:51 pm
Location: Chicago

Re: QBJConverter: Neg 5 to SQBS File Converter

Post by jonah » Sun Feb 21, 2016 11:09 pm

As of the last time I heard, the ".qbj" files exported by Neg5 aren't actually valid schema.qb.tech files. Does your program handle valid files correctly?
Jonah Greenthal
National Academic Quiz Tournaments

achow101
Kimahri
Posts: 3
Joined: Sun Feb 21, 2016 10:32 pm

Re: QBJConverter: Neg 5 to SQBS File Converter

Post by achow101 » Sun Feb 21, 2016 11:13 pm

jonah wrote:As of the last time I heard, the ".qbj" files exported by Neg5 aren't actually valid schema.qb.tech files. Does your program handle valid files correctly?
It does not. I can add that in, but so far it only handles Neg 5 files since I wrote it specifically for that out of necessity.

Edit: Actually, upon further review of that schema, it looks like Neg 5 does support it, just not to its full extent. I will make further changes to the software so that it does support that schema fully.
Last edited by achow101 on Sun Feb 21, 2016 11:21 pm, edited 1 time in total.
Andrew C. Great Valley High School Quiz Bowl Team Member

jonah
Auron
Posts: 2260
Joined: Thu Jul 20, 2006 5:51 pm
Location: Chicago

Re: QBJConverter: Neg 5 to SQBS File Converter

Post by jonah » Sun Feb 21, 2016 11:17 pm

achow101 wrote:
jonah wrote:As of the last time I heard, the ".qbj" files exported by Neg 5 aren't actually valid schema.qb.tech files. Does your program handle valid files correctly?
It does not. I can add that in, but so far it only handles Neg 5 files since I wrote it specifically for that out of necessity.
The plan is for Neg 5 to properly support that standard — it just hasn't done so yet — so if you want your program to have more than transient usefulness, that adaptation would be a good idea.
Jonah Greenthal
National Academic Quiz Tournaments

User avatar
crbirdx
Wakka
Posts: 214
Joined: Tue Nov 25, 2008 10:57 pm
Location: Delaware, Ohio
Contact:

Re: QBJConverter: Neg 5 to SQBS File Converter

Post by crbirdx » Fri Apr 22, 2016 9:32 am

Can I use the windows terminal to run this or do I need a Linux box (virtual machine etc.)?
Cortney Bird
OQBA co-director http://bit.ly/2xSif2d
QB Coach @ Olentangy Berlin HS 2018-Present
Statistician @ NE ITK league

Post Reply