I'm not using the API, as nice as it looks it looks like it would be way more work to use, for this application, than to write things myself. Anyways I solved the issue, turns out im a moron and it was in 2s compliment. I need to use a signed int. Thanks, Luke
... View more