This file contains hidden or 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
| const protobuf = require("protobufjs"); | |
| const fs = require("fs"); | |
| const fetch = require("node-fetch"); | |
| async function go(id) { | |
| console.log(`Downloading list of files for ${id}...`); | |
| let files; | |
| try { | |
| files = await (await fetch(`https://my.matterport.com/api/player/models/${id}/files?type=1&format=json`)).json(); | |
| } catch (err) { |
This file contains hidden or 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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdint.h> | |
| int main(int argc, char* argv[]) { | |
| FILE* file; | |
| fopen_s(&file, "save0.sv2", "rb"); | |
| if (!file) { | |
| printf("You must run this next to \"save0.sv2\"!\n"); |
This file contains hidden or 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
| diff --git a/sp/src/game/client/cdll_client_int.cpp b/sp/src/game/client/cdll_client_int.cpp | |
| index 10cce078..e0016269 100644 | |
| --- a/sp/src/game/client/cdll_client_int.cpp | |
| +++ b/sp/src/game/client/cdll_client_int.cpp | |
| @@ -203,6 +203,7 @@ ISceneFileCache *scenefilecache = NULL; | |
| IXboxSystem *xboxsystem = NULL; // Xbox 360 only | |
| IMatchmaking *matchmaking = NULL; | |
| IUploadGameStats *gamestatsuploader = NULL; | |
| +IGamepadUI* g_pGamepadUI = NULL; | |
| IClientReplayContext *g_pClientReplayContext = NULL; |