Sanitarium doesn't work

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

Moderator: ScummVM Team

Post Reply
User avatar
szczuru
Posts: 17
Joined: Sat Aug 05, 2017 3:17 pm
Location: Poland

Sanitarium doesn't work

Post by szczuru »

Sanitarium doesn't work on Vita. After launching just endless black screen. I can bring scummvm's pause menu and go back to launcher. Tested on 2.6.1 and 2.7.0. The same files works ok on pc.

Tested on GOG's version with and without polish translation.
Held_der_Arbeit
Posts: 3
Joined: Wed Aug 04, 2021 7:44 pm

Re: Sanitarium doesn't work

Post by Held_der_Arbeit »

The Vita Dev @rsn8887 is aware of that but if this problem persist also in 2.70 I think he could not solve it yet.
rsn8887
Posts: 75
Joined: Sat Jan 23, 2016 1:56 am

Re: Sanitarium doesn't work

Post by rsn8887 »

Yes, I still don’t know why this happens only on Vita. It works fine on other systems like Switch. Only the Vita has this problem, even though it uses the same graphics backend.
rsn8887
Posts: 75
Joined: Sat Jan 23, 2016 1:56 am

Re: Sanitarium doesn't work

Post by rsn8887 »

I did some debugging and found out that the videodecoder class returns current frame -1, indicating that no video track was found in the intro movie file. However, the file opening and loading succeeds. I need to do more debugging on Vita.
User avatar
szczuru
Posts: 17
Joined: Sat Aug 05, 2017 3:17 pm
Location: Poland

Re: Sanitarium doesn't work

Post by szczuru »

Oh, thanks! Looking forward for some more info.
vitauserhello
Posts: 1
Joined: Thu Apr 04, 2024 6:42 pm

Re: Sanitarium doesn't work

Post by vitauserhello »

rsn8887 wrote: Sat Mar 02, 2024 6:43 pm I did some debugging and found out that the videodecoder class returns current frame -1, indicating that no video track was found in the intro movie file. However, the file opening and loading succeeds. I need to do more debugging on Vita.
Hi, any update about Sanitarium on Vita?
rsn8887
Posts: 75
Joined: Sat Jan 23, 2016 1:56 am

Re: Sanitarium doesn't work

Post by rsn8887 »

vitauserhello wrote: Sun Jul 28, 2024 10:22 am
rsn8887 wrote: Sat Mar 02, 2024 6:43 pm I did some debugging and found out that the videodecoder class returns current frame -1, indicating that no video track was found in the intro movie file. However, the file opening and loading succeeds. I need to do more debugging on Vita.
Hi, any update about Sanitarium on Vita?
I found a very strange thing which must be undefined behavior:
https://bugs.scummvm.org/ticket/15115#comment:2

So somewhere, there is some memory corruption or something like that to cause this, but I have no clue where.

The good news is that this can be investigated on the emulator Vita2k, so no need for real hardware. But I don't know where to continue debugging this now.
Post Reply