Skip to content

Add save audio option to context menus#602

Merged
4sval merged 2 commits into4sval:devfrom
GMMan:add-audio-export
Nov 2, 2025
Merged

Add save audio option to context menus#602
4sval merged 2 commits into4sval:devfrom
GMMan:add-audio-export

Conversation

@GMMan
Copy link
Contributor

@GMMan GMMan commented Oct 17, 2025

I like video game music and want to extract them in bulk instead of having to open each separate file. This patch allows extracting them in bulk like with textures and models. Note it doesn't automatically convert the audio like it would if you opened the audio in the audio player.

@AeroliteSR
Copy link

Thank you so much for this

@zwukong
Copy link

zwukong commented Oct 18, 2025

Great work, thanks. since you can add this function, I think that transform function code can be added too 😄

@GMMan
Copy link
Contributor Author

GMMan commented Oct 18, 2025

Great work, thanks. since you can add this function, I think that transform function code can be added too 😄

I thought about it, but if it's desired, it'll probably need to be configurable, since PCM WAVs are pretty big.

@4sval
Copy link
Owner

4sval commented Oct 21, 2025

Thanks for this!

I also removed the “auto open sounds” option, it used to automatically open sounds in the audio player when a package contained audio assets, but in practice nobody really used it. When it was disabled, it would instead save the audio data externally, which is exactly what this PR does.

As for conversion, it has intentionally never been part of bulk operations since it can get pretty intense on I/O and isn’t really FModel’s scope, especially when conversion itself is done by external softwares.

Lmk what you think of this

@GMMan
Copy link
Contributor Author

GMMan commented Oct 21, 2025

At least in my use case, I'm using the vgmstream component with foobar2000, so I'm perfectly fine with compressed audio. If I need to convert, I just do it from foobar2000, or call the converter in a script as necessary. So I'm probably not going to add bulk conversion right now.

@zwukong
Copy link

zwukong commented Oct 21, 2025

Wem is enough i think,very small and can be played by foobar2000

@Masusder
Copy link
Collaborator

At least in my use case, I'm using the vgmstream component with foobar2000, so I'm perfectly fine with compressed audio. If I need to convert, I just do it from foobar2000, or call the converter in a script as necessary. So I'm probably not going to add bulk conversion right now.

I actually wanted to add this feature as plenty of people wanted to bulk audio export.

I would suggest to add option to settings whether someone wants to have audio converted to standard format or not (false by default) and potentialy also choose desired format (wav/ogg/mp3). Having it as a setting should be better rather than not allowing it at all

@Gromlette
Copy link

I like video game music and want to extract them in bulk instead of having to open each separate file. This patch allows extracting them in bulk like with textures and models. Note it doesn't automatically convert the audio like it would if you opened the audio in the audio player.

I'm confused, is this something that's out yet? Just last week or the week before I was able to export sound files or at least listen to them, now I can't do either. I'm using the latest version

@4sval 4sval merged commit 69d83d5 into 4sval:dev Nov 2, 2025
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

Successfully merging this pull request may close these issues.

6 participants