an FL-Studio-file-path-extractor FTW
This small project provides a script to extract the paths of missing samples from FL Studio .flp
project files. The tool simplifies the process of resolving missing sample issues by listing paths, even for samples that are not easily visible in FL Studio.
- Extract Sample Paths: Automatically scans FL Studio project files for all sample paths.
- Identify Missing Samples: Highlights channels with missing sample paths.
- Save to File: Outputs the extracted paths to a text file for easy reference.
- Python 3.8+
pyflp
library for parsing FL Studio project files
-
create pyflstudio.py and copy the python code into it.
-
Install the required dependencies:
pip install pyflp
-
Run the script with the path to an
.flp
file as an argument (put the FLP file in the same direcotry as pyflstudio.py):python pyflstudio.py path/to/project.flp
-
The script will process the project file and output the paths of the samples to
sample_paths.txt
.
python pyflstudio.py my_project.flp
- Output file:
sample_paths.txt
- Contents:
C:\Samples\Kick.wav D:\Audio\Snare.wav
If the script encounters any issues while parsing the .flp
file or saving paths, detailed error messages will be displayed in the terminal.
- Corrupt or unsupported
.flp
file: Ensure the file is a valid FL Studio project. - Missing
pyflp
library: Install it usingpip install pyflp
. - Use this fix if needed!!!!!!!!!!!!!!!!!! demberto/PyFLP#183 (comment)
Feel free to submit issues or pull requests to improve the functionality.
This project is licensed under the MIT License.