pcsx2 icon indicating copy to clipboard operation
pcsx2 copied to clipboard

[Feature Request]: Dump audio, models

Open mk360 opened this issue 1 year ago • 3 comments

Description

Since we're already able to dump textures & mipmaps, I was wondering if we could also dump audio clips and files in the same vein (writing them to disk when they're first loaded by the game). I can give audio dumping a shot, if someone can point me to the right direction. Would be even nicer if we could "hot-replace" audio clips the same way we can replace textures.

Reason

Texture dumping is a good first step to create skin mods or green screen backgrounds for video clip edits, but it would be nice if we could extract more assets from the games.

Examples

The audio / model dump would work similarly to the current texture dump implementation: while the toggle is enabled, whenever the emulator reads an audio file from the iso, it can write it to disk in mp3 format.

mk360 avatar Dec 19 '24 00:12 mk360

I don't know about the audio side of things, but as for 3D models it would be extremely, extremely difficult. You'd need to write custom tools for each game.

chaoticgd avatar Dec 19 '24 12:12 chaoticgd

yeah models area no go , techically you can record audio with the with the built in recording but idk if this is what you want Image

Mrlinkwii avatar Dec 19 '24 12:12 Mrlinkwii

@Mrlinkwii not exactly, no. It'd work, as I mentioned in my initial post, just like textures: when the emulator loads any texture of any sort, it gets dumped to the disk. Ideally audio dumping would work the same way.

mk360 avatar Dec 20 '24 02:12 mk360

There's a fork that actually implements a sort of prototype for 3D Screenshot: feature/3d-screenshot/ This would allow you to easily get models, but models will always be stretched along the depth axis, which you can work around by scaling around the model.

However, there seems to exist a tool that fixes the stretched models: PCSX2ModelConverter

Luckily the source code has been included along with the tool, so maybe it's possible to implement 3D Screenshots along with whatever PCSX2ModelConverter does to fix the models?

Felipe379 avatar Mar 27 '25 19:03 Felipe379

For model dumping, it's better left as a fork. As stated by chaoticgd, a general model dumping solution isn't going to be feasible, definitely not for us anyways, where we woulds see issue reports left and right about how it doesn't work for $GAME.

I am also not too familiar with the audio side of things. I think someone with enough time could make something work.

F0bes avatar Mar 27 '25 20:03 F0bes