Migrating from db4o to XStream

Introduction

As of version 0.2.2, db4o is no longer being used for the data store and instead, XStream is being used because its fast and writes to human readable xml files.  This document demonstrats how to convert the db4o configuration files into xstream xml files.

Converting to XStream

  • First open a terminal and cd to the installation directory.

    cd ~/Software/kbm/0.2.2
  • Next create the profiles directory

    mkdir profiles
  • Run the converter application

    ~/Software/kbm/0.2.2$ ./convert_db.bash ../0.2.1/profiles/Razer_Nostromo.prof profiles/Razer_Nostromo.xml
    [db4o 8.0.236.16058   2015-02-06 10:59:42] 
     '../0.2.1/profiles/Razer_Nostromo.prof' closed by ShutdownHook.

Repeat the above for any of your existing profiles.

At this point, you just need to start Keyboarding master and your profiles should now be usable.