Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: Video Cutscenes don't work with mods folder #2449

Closed
2 of 8 tasks
shyllis opened this issue May 11, 2024 · 3 comments
Closed
2 of 8 tasks

Bug Report: Video Cutscenes don't work with mods folder #2449

shyllis opened this issue May 11, 2024 · 3 comments
Labels
mods Issue is related to the use of mods. status: bug reproduced Involves a bug which can be reliably reproduced by reviewers.

Comments

@shyllis
Copy link

shyllis commented May 11, 2024

Please check for duplicates or similar issues, as well performing simple troubleshooting steps (such as clearing cookies, clearing AppData, trying another browser) before submitting an issue.

If you are playing the game in a browser, what site are you playing it from?

If you are playing the game in a browser, what browser are you using?

  • Google Chrome (or chomium based like Brave, vivaldi, MS Edge)
  • Firefox
  • Safari

What version of the game are you using? Look in the bottom left corner of the main menu. (ex: 0.2.7, 0.2.1, shit like that)

0.3.2

Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.

Trying to play a video with using mods folder asset will always result a black screen.

Please describe your issue. Provide extensive detail and images if possible.

We tried to put the mp4 video into all libraries and even tried to use getPath(), it just doesnt work if its in mods/mymod/ folder

If you're game is FROZEN and you're playing a web version, press F12 to open up browser dev window, and go to console, and copy-paste whatever red error you're getting

@shyllis shyllis added the type: minor bug Involves a minor bug or issue. label May 11, 2024
@shyllis
Copy link
Author

shyllis commented May 13, 2024

They do work, but for some reason I have to type whole directory like "mods/mymod/vids/videoName.mp4", because Paths. doesn't see that

@EliteMasterEric EliteMasterEric added type: major bug Involves a major bug, including crashes, softlocks, or issues blocking progression mods Issue is related to the use of mods. status: bug reproduced Involves a bug which can be reliably reproduced by reviewers. and removed type: minor bug Involves a minor bug or issue. type: major bug Involves a major bug, including crashes, softlocks, or issues blocking progression labels Jun 17, 2024
@AbnormalPoof
Copy link
Contributor

FunkinCrew/hxCodec#5 fixes this, along with #2639 I think?

As a temporary solution, OpenFL Assets has a getPath() function that returns the full path of an asset. Import openfl.utils.Assets and modify the Video Cutscene code as such:

Assets.getPath(Paths.videos('myVideo')); (Note that Paths.videos() expects the MP4 to be in mods/My Mod/videos/videos.)

@AbnormalPoof
Copy link
Contributor

Looking at this issue now, I’m pretty sure this is a duplicate of #2446.

@shyllis shyllis closed this as completed Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mods Issue is related to the use of mods. status: bug reproduced Involves a bug which can be reliably reproduced by reviewers.
Projects
None yet
Development

No branches or pull requests

3 participants