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

Closed
1 of 5 tasks
AbnormalPoof opened this issue May 11, 2024 · 3 comments
Closed
1 of 5 tasks
Labels
status: resolved internally Completed development and will be released some time in the future. topic: mods Related to the creation or use of mods. type: minor bug Involves a minor bug or issue.

Comments

@AbnormalPoof
Copy link
Collaborator

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 Awaiting review. 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
Collaborator 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
@AbnormalPoof
Copy link
Collaborator Author

AbnormalPoof commented Jan 18, 2025

This might be fixed in v0.6.0 according to this comment by Eric.

EDIT: Marking this as resolved internally, hxvlc has OpenFL assets support which fixes Polymod inadvertently.

@AbnormalPoof AbnormalPoof added type: minor bug Involves a minor bug or issue. topic: mods Related to the creation or use of mods. labels Jan 22, 2025
@AbnormalPoof AbnormalPoof marked this as a duplicate of #2449 Jan 23, 2025
@AbnormalPoof AbnormalPoof added status: resolved internally Completed development and will be released some time in the future. and removed status: pending triage Awaiting review. labels Jan 23, 2025
@Hundrec Hundrec marked this as a duplicate of #3456 Jan 24, 2025
@Hundrec Hundrec added this to the 0.6.0 (Pit Stop 2) milestone Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: resolved internally Completed development and will be released some time in the future. topic: mods Related to the creation or use of mods. type: minor bug Involves a minor bug or issue.
Projects
None yet
Development

No branches or pull requests

4 participants