Skip to content

Instantly share code, notes, and snippets.

@gabonator
Created June 19, 2018 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabonator/cc47bd7ae8219ee0f9ddb263f85e78ad to your computer and use it in GitHub Desktop.
Save gabonator/cc47bd7ae8219ee0f9ddb263f85e78ad to your computer and use it in GitHub Desktop.
snowboy kitt ai remove license expiration
Someone on the forums was complaining about expired sample model jarvis.umdl:
https://groups.google.com/a/kitt.ai/forum/#!topic/snowboy-discussion/uWrtW6W0TiM
Look at the history of jarvis.umdl, there are two revisions - new one with unlimited expiration:
https://github.com/Kitt-AI/snowboy/commits/797a17e96fc085dbd70a6fefeb15b9bc43f52913/resources/models/jarvis.umdl
Download both revisions and see what is different:
https://raw.githubusercontent.com/Kitt-AI/snowboy/797a17e96fc085dbd70a6fefeb15b9bc43f52913/resources/models/jarvis.umdl
https://raw.githubusercontent.com/Kitt-AI/snowboy/e2c4e1fedfa81edd63000e3efbaacc0c6e67b116/resources/models/jarvis.umdl
$ cmp -l jarvis\ \(1\).umdl jarvis\ \(2\).umdl ↑
40 313 0
41 34 0
42 157 0
43 132 0
67 264 0
68 102 0
So it seems that resetting bytes at offsets 0x27-0x30, 0x42-0x34 to zero disables the expiration of your model
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment