Giter VIP home page Giter VIP logo

melee-stream-tool's People

Contributors

readek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

melee-stream-tool's Issues

Suggestions / Questions on contributing to PRs

Hello!

A friend of mine was asking for advice on how to add certain things to this project - and then I ended up digging into the source code and modifying it myself.

My main goal was to add character icons underneath the score counters for the game scoreboard.

Screenshot 2024-03-03 at 8 10 36 PM

I got this working and then I dug into things some more!

I was able to get an application running on MacOS (my personal platform). I upgraded the packages within package.json as well.

I have further ideas + suggestions, such as:

  • Utilizing the forge.packagerConfig.extraResource to package all of the additional files relied upon
    • This would remove the need of having to place the executables in Stream Tool
  • Separating out the images, CSS, etc. from the javascript code
  • Generating an output HTML file
    • This goes hand in hand with the extraResource modification above - basically separating all of the electron application code from the outputs of Game Scoreboard.html and VS Screen.html
    • This also resolves possible pathing issues between operating systems - mainly MacOS. I found that utilizing relative paths for the generations .app couldn't reach "outside" of the application to files within Stream Tool - it only worked if I packages the files within forge.packagerConfig.extraResource

All this being said, what would be the best way for me to present changes?

I could perform incremental changes, such as:

  • PR for my initial change of character icons
  • PR for updating packages in package.json
  • PR for separating out code and resources
  • PR for generating the output HTML files
  • etc.

I could also fork the repo as well! I recognize that this repository hasn't been active in a few years. I also recognize that this project (and all other stream tools) have been passion projects of yours!

If I do end up forking, I'll be sure to direct everyone to the original repo and to encourage them to support you via your ko-fi. Additionally, if my fork contains the changes I outlined above (if I ever get around to it as I am also busy), I'd love to talk about them with you / help integrate them into your original project.

Suggestion: Do not mirror the P2 portrait

Since it looks a little silly with Luigi's backwards L on his hat, and in general I just am not a fan of the practice of mirroring images personally.
Screenshot 2020-12-05 13-00-58
Is there a technical reason the P2 portrait is mirrored? I think it would look just fine if it wasn't. :)

Suggestion: Adding More simple Text

I really love the simple text feature as it allows myself to sue custom fonts to make dynamic Stream overlays. I think good additions would be a Round type (Best of 3, or Best of 5) A player 1 and 2 Score (Just a number). Player 1 and 2 WInners/Loosers (A text file that is empty if not selected) Player 1 and 2 Tag. A player 1 and 2 character name (simply says who they are playing). Additionally if there was a way to make it possible to save a image source of obs that changes based on player 1 and 2 character to teh stock icon that would be awesome. Similar to the big house 9 overlay.

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

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".

Player names don't appear on the scoreboard after updating OBS to version 28

Player names won't appear on the scoreboard after installing OBS 28.0.1. I've tried re-adding the scoreboard html to the scene, I've made sure to check the refresh when inactive and custom framerate options. I've also refreshed the cache. The caster names and round names show up fine. I also tried changing the character border color and no dice there either. :(
It can sometimes also take a moment to fully finish loading while the score ticks bounce around, but that also happened in previous versions.

Game Scoreboard.html doesn't want to update

When I attempt to update the stream, it will only update the VS Screen HTML file, but the Game Scoreboard HTML file will freeze in OBS.

VS Screen

Game Scoreboard

Tested:

- Deleting and re-adding Game Scoreboard.html from OBS Studio
- Quitting Melee Stream Tool and restarting it
- Both deleting Game Scoreboard.html and quitting MST, then adding back GS and opening MST (it works at first, but when I switch to VS Screen and then back, it doesn't work)

I use Pop OS 20.04

Unable to build Windows version from source

Hi! in this repo, in the "Stream Tool" directory, there's a .exe file for the Stream Tool. How was this built?
The provided Windows build method (electron-forge make) does not generate a single .exe file but a whole folder of things, mostly Electron specific stuff, and building this and moving it into the "Stream Tool" folder still does not work as the file paths in the code are all hard coded to be relative paths from the "Interface Source Code" folder to the "Stream Tool" folder.
In my fork I have made the paths dynamic based on an environment variable and this works fine for tile Linux AppImage, but I'm still unable to recreate or make a replacement for the single .exe in the "Stream Tool" folder.
Could you please provide build steps to recreate or replace the .exe file? Thanks!

Suggestion: Have a Button to switch the sides of the Players

When running an event with a Camera, often times the players sit in a different order than expected, having a single button switch the sides of the players would be very helpful. As an example, going from this:
image
to this:
image
currently requires you to retype everything and reset characters and score, and as this is something that I as a TO think is quite frequent having a single button swap them would be great.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.