This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
def make_embed(in_png_file, out_file_name): | |
with open(in_png_file, "rb") as file: | |
png_data = file.read() | |
with open(out_file_name, "w") as file: | |
file.write("const uint8_t g_WalnutIcon[] =\n{\n") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
import logging | |
import time | |
ovr_graph_url = 'https://graph.oculus.com/' | |
ovr_user_token = '' | |
ovr_app_version = '5832' | |
ovr_friend_ids = [] | |
ovr_friend_fields = 'current_room{id,max_users,owner,users,version},display_name,presence' |