Some Vita port questions/issues (Soundfonts, key mapping, buffer size)

Subforum for discussion and help with ScummVM's Playstation Vita port

Moderator: ScummVM Team

Post Reply
kerb
Posts: 5
Joined: Sun Jan 26, 2025 3:10 pm

Some Vita port questions/issues (Soundfonts, key mapping, buffer size)

Post by kerb »

I've been experimenting with seeing how big of a soundfont I can squeeze in for various games on the ScummVM Vita port, and I've noticed that some soundfonts will load when you first open ScummVM, but if you use "Return to launcher", (sometimes it takes one or two tries of loading a game and using "Return to launcher", which happens a lot when you have a bunch of different soundfonts) then if you try again the soundfont won't load and the audio will be disabled and you end up in the debugger, so most of the time I have to quit ScummVM every time I want to try a different one.

I assumed it wasn't freeing up memory and I tried looking at the memory usage in PSVShellPlus but I didn't notice a change but I'm not sure that it's reporting correctly in this case.

My second issue is with trying to map switching between scalers and filtering to buttons on the Vita, at first I tried mapping them to the d-pad since I haven't noticed that being used and it would map but it wouldn't switch, I also hoped maybe a combination of a shoulder button and another button might work but I don't think that type of key combo mapping is supported on the Vita port? The only way I was able to get it to work was to the right thumbstick which isn't ideal.

Maybe I've missed something when it comes to mapping but it would be nice to be able to switch between graphical options on the fly.

My third issue is more a feature request, I know regular ScummVM doesn't expose the audio buffer settings in the GUI, but would that be something you'd be open to adding for the VIta?
I had issues with minor audio popping in Discworld 2, and I raised the audio buffer size to 4096 and that seems to have solved it (some more testing required), and in other cases where the audio struggles (like me trying to figure out what the soundfont limit is) or with games that are just slightly too heavy it would be useful to have that as a GUI option on low powered devices like the Vita to sacrifice some audio latency for smoother audio.

Also since the audio buffer size is calculated to keep the audio latency below 45ms, what is the default buffer size on the Vita port?

And finally (sorry about the long post, I've been playing a lot of games in ScummVM on the Vita recently, the rear touchpad is finally useful for something!), am I correct that lowering the GPU and XBAR clocks (I've sometimes been playing at CPU 500, GPU 41, XBAR 83) should have no effect on ScummVM Vita since I'm assuming it's all software rendering?

edit: okay I did notice a slight change in framerate in the ScummVM menu changing XBAR (48-50~ fps to 55~ fps) and maybe a placebo difference changing the GPU speeds, but I can't really remember seeing any noticeable change lowering/raising those in game.
Post Reply