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

FL Studio project file conversion broken in FL Studio 20.9 #97

Open
LeStahL opened this issue Jan 24, 2022 · 5 comments
Open

FL Studio project file conversion broken in FL Studio 20.9 #97

LeStahL opened this issue Jan 24, 2022 · 5 comments

Comments

@LeStahL
Copy link
Contributor

LeStahL commented Jan 24, 2022

ConvertTheFuck and ProjectManager are not able to load FL Studio project files created with FL Studio 20.9.
When trying to convert them, the error message Object reference not set to an instance of an object. is displayed.

Project files created by FL Studio 20.1 can be converted successfully.
Find project files with the same content that can be used to reproduce the problem here: project-files-to-reproduce.zip

@LeStahL
Copy link
Contributor Author

LeStahL commented Jan 24, 2022

I tracked the problem down to this line: https://github.com/logicomacorp/WaveSabre/blob/master/WaveSabreConvert/FLConverter.cs#L266 - generator.Plugin seems to be null.

@LeStahL
Copy link
Contributor Author

LeStahL commented Jan 24, 2022

With the null reference line avoided, the devices in the tracks are not deserialized correctly from the 20.9 format:

  • 20.1
    image
  • 20.9
    image

@LeStahL
Copy link
Contributor Author

LeStahL commented Jan 25, 2022

This might be a fix for the problem: Kwarf/FLParser@c9b0bc5

@Kwarf
Copy link

Kwarf commented Jan 19, 2023

FL 21 broke it further, causing an IndexOutOfRangeException. I found a fix at demberto/PyFLP@6ffd859 and pushed that as well to my fork at Kwarf/FLParser@a44cc3b.

@LeStahL
Copy link
Contributor Author

LeStahL commented Jan 19, 2023

Will include that and retest the converter. Thanks for letting me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants