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

[BUGFIX] Fixed Polymod and Mods Support in FlxPartialSound #2724

Conversation

KarimAkra
Copy link
Contributor

This should be merged with the changes in this pr on FlxPartialSound

@ninjamuffin99
Copy link
Member

I've tested this and seems to function with base game songs normally and good! I'll give shout to @EliteMasterEric who has more brain on polymod stuff! I have a branch in our funkin-secret repo eric if u wanna take a peak at it !

Copy link
Collaborator

@AbnormalPoof AbnormalPoof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with a mod and it seems to work !

a.mp4

@EliteMasterEric EliteMasterEric added status: pending triage Awaiting review. type: minor bug Involves a minor bug or issue. topic: mods Related to the creation or use of mods. status: reviewing internally Under consideration and testing. and removed status: pending triage Awaiting review. labels Jun 17, 2024
@EliteMasterEric
Copy link
Member

This wasn't working for me, and I struggled to debug it until I realized I was on a ZIP mod and apparently Polymod wasn't implementing the override for loadBytes correctly.

@EliteMasterEric EliteMasterEric added status: pending pull request Dependent on a pull request that is currently awaiting review. and removed status: reviewing internally Under consideration and testing. labels Jun 17, 2024
@tposejank
Copy link
Contributor

tposejank commented Jun 17, 2024 via email

@KarimAkra
Copy link
Contributor Author

This wasn't working for me, and I struggled to debug it until I realized I was on a ZIP mod and apparently Polymod wasn't implementing the override for loadBytes correctly.

figured out the issue

Assets.loadBytes dosen't use the assets library tree but FileSystem for some reason..?

i'll get it fixed soon using Assets.getBytes and ThreadPool

@KarimAkra
Copy link
Contributor Author

This wasn't working for me, and I struggled to debug it until I realized I was on a ZIP mod and apparently Polymod wasn't implementing the override for loadBytes correctly.

I've just pushed a new commit to the pr on the FlxPartialSound repo that fixes this

Here's a little video of it working on base, folder mods and zip mods songs

2024-06-17.15-21-02.mp4

@EliteMasterEric EliteMasterEric self-assigned this Jun 18, 2024
@EliteMasterEric EliteMasterEric added status: accepted PR was approved for contribution. If it's not already merged, it may be merged on a private branch. and removed status: pending pull request Dependent on a pull request that is currently awaiting review. labels Jun 18, 2024
@EliteMasterEric EliteMasterEric added the size: small A small pull request with 10 or fewer changes. label Jul 11, 2024
@EliteMasterEric EliteMasterEric deleted the branch FunkinCrew:develop July 12, 2024 01:00
@EliteMasterEric EliteMasterEric added this to the 0.5.0 milestone Jul 12, 2024
@EliteMasterEric EliteMasterEric merged commit 9fddb72 into FunkinCrew:develop Sep 16, 2024
@KarimAkra KarimAkra deleted the FlxPartialSound-openfl/polymod-support branch September 17, 2024 04:51
@Hundrec Hundrec added the pr: haxe PR modifies game code. label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: haxe PR modifies game code. size: small A small pull request with 10 or fewer changes. status: accepted PR was approved for contribution. If it's not already merged, it may be merged on a private branch. topic: mods Related to the creation or use of mods. type: minor bug Involves a minor bug or issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants