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 in mods don't load when using Paths.videos() #2446

Open
1 of 5 tasks
AbnormalPoof opened this issue May 11, 2024 · 2 comments
Open
1 of 5 tasks
Labels
status: pending triage The bug or PR has not been reviewed yet.

Comments

@AbnormalPoof
Copy link
Contributor

AbnormalPoof 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?

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

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

Title pretty much explains it all. It appears as if the game is looking for the video in assets/ instead of the mod's root directory.
Specifying the path manually appears to work, it's only when using Paths.videos

Screenshot 2024-05-10 at 9 30 42 PM
Screenshot 2024-05-10 at 9 31 18 PM
Screenshot 2024-05-10 at 9 32 15 PM

@AbnormalPoof AbnormalPoof added the type: minor bug Involves a minor bug or issue. label May 11, 2024
@AbnormalPoof AbnormalPoof changed the title Bug Report: Unable to load video cutscenes when using Paths.videos? Bug Report: Unable to load Video Cutscenes when using Paths.videos in mods May 11, 2024
@AbnormalPoof AbnormalPoof changed the title Bug Report: Unable to load Video Cutscenes when using Paths.videos in mods Bug Report: Unable to load Video Cutscenes when using Paths.videos() in mods May 12, 2024
@EliteMasterEric EliteMasterEric added status: pending triage The bug or PR has not been reviewed yet. and removed type: minor bug Involves a minor bug or issue. labels Jun 17, 2024
@gamerbross
Copy link
Contributor

FunkinCrew/hxCodec#5 fixes this

@AbnormalPoof
Copy link
Contributor Author

AbnormalPoof commented Oct 1, 2024

Still occurs in v0.5.1. The getPath method still works #2249 (comment):

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

(FunkinCrew/hxCodec#5 is still open which fixes this!)

EDIT: openfl.utils.Assets is blacklisted now in HScript, however, funkin.Assets acts as a replacement and serves basically the same functionality.

@AbnormalPoof AbnormalPoof changed the title Bug Report: Unable to load Video Cutscenes when using Paths.videos() in mods Bug Report: Video Cutscenes in mods don't load when using Paths.videos() Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: pending triage The bug or PR has not been reviewed yet.
Projects
None yet
Development

No branches or pull requests

3 participants