Visit Ghost Manager
Simple drag and drop a time trial .rkg file onto the .exe file.
Alternativaly, you can right click and select "open with" and choose Generate-Mii for the double click.
It will generate the .miigx file along with 2 additional .json files
You only need the .miigx file.
You can view your .miigx file on mii-unsecure
Change the input type to Mii data/file/Studio Code
Choose your file and then query