Readek / Melee-Stream-Tool

A Melee overlay and control panel for tournament streams
MIT License
80 stars 25 forks source link

include notes on how to use developer tools with Game Scoreboard.html #12

Open jmlee337 opened 5 months ago

jmlee337 commented 5 months ago

users may run into trouble customizing Melee Stream Tool if they try to preview it in a normal browser, due to CORS:

Access to XMLHttpRequest at 'file:///C:/Users/jmlee337/Downloads/Melee.Stream.Tool.v1/Melee%20Stream%20Tool%20v1.1/Resources/Texts/ScoreboardInfo.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome, https, chrome-untrusted.

I suggest adding something like the following to the Customizing stuff section:

Game Scoreboard.html will not work in a normal browser. To customize Game Scoreboard.html with developer tools launch obs(64).exe with "--remote-debugging-port=9222" then open your local chrome and go to "localhost:9222".