ModPlug Central

OpenMPT => Help and Questions => Topic started by: violgamba on January 09, 2023, 07:30:24

Title: External samples - how to pack back into mod for portability
Post by: violgamba on January 09, 2023, 07:30:24
If I have a .MPTM file with external samples and I want to send it to someone else, or use it in libopenmpt, how can I make a copy of the file with the external samples internalized?

Sorry if the answer is obvious, but I've been searching for a while.
Title: Re: External samples - how to pack back into mod for portability
Post by: Saga Musix on January 09, 2023, 07:54:47
You have to uncheck the "keep sample data on disk (https://wiki.openmpt.org/Manual:_Samples#External_Samples)" checkbox for those samples. You can Shift-click the checkbox to make it apply to all samples at the same time.
Title: Re: External samples - how to pack back into mod for portability
Post by: violgamba on January 09, 2023, 08:31:42
Thanks!  I did notice that a while back, but the checkbox was disabled at the time for some reason.  It's working now, though.
Title: Re: External samples - how to pack back into mod for portability
Post by: Saga Musix on January 09, 2023, 09:09:09
If it's disabled, it means that this particular sample cannot be turned into an external (because no file path is provided for the sample), or because the currently edited format does not support external samples.
Title: Re: External samples - how to pack back into mod for portability
Post by: violgamba on January 09, 2023, 09:17:52
That makes sense. Thanks!