The following warnings occurred:
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.2.26 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/printthread.php(287) : eval()'d code 2 errorHandler->error_callback
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



EmuNewz Network
Boku wa Tomodachi ga Sukunai [ULJS00459] - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: Commercial Game Discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=54)
+----- Forum: JPCSP - Playable Games (https://www.emunewz.net/forum/forumdisplay.php?fid=65)
+----- Thread: Boku wa Tomodachi ga Sukunai [ULJS00459] (/showthread.php?tid=29956)

Pages: 1 2 3


RE: Boku wa Tomodachi ga Sukunai [ULJS00459] - gid15 - 05-02-2013

(05-02-2013, 10:30 AM)kyousuke Wrote:
(05-02-2013, 09:30 AM)gid15 Wrote: Disable the profiler while checking the performance, the profile itself is introducing overhead.

Have you tried to disable the MediaEngine? This would disable all Atrac3 decoding. So that you can see the difference without decoding at all (even faster than decoding external WAV files).

THAT did the trick!
Which one? Setting the Maximum method size to 50 (with disabled profiler) or disabling the Media Engine?


RE: Boku wa Tomodachi ga Sukunai [ULJS00459] - kyousuke - 05-02-2013

(05-02-2013, 10:36 AM)gid15 Wrote:
(05-02-2013, 10:30 AM)kyousuke Wrote:
(05-02-2013, 09:30 AM)gid15 Wrote: Disable the profiler while checking the performance, the profile itself is introducing overhead.

Have you tried to disable the MediaEngine? This would disable all Atrac3 decoding. So that you can see the difference without decoding at all (even faster than decoding external WAV files).

THAT did the trick!
Which one? Setting the Maximum method size to 50 (with disabled profiler) or disabling the Media Engine?

It was profiler's fault mostly, probably because before I never tried with method size at 50, but with both profiler and media engine disabled the fps is even better. With media engine enabled now the fps is around 25-35. Do you want to see a debug log of that crash in the previous screenshot?

Resuming
Media Engine = On
Clock = 300%
Profiler = Off
Method Size = 50

AVG FPS = 30-32 (more than 40 with Media Engine disabled).

By the way, how does the emu play the HCA files from withing the AWB archives without extracting or decrypting them? sorry for the noobish question but I was kinda curious about that.


RE: Boku wa Tomodachi ga Sukunai [ULJS00459] - gid15 - 05-02-2013

Does the audio play when disabling the MediaEngine?


RE: Boku wa Tomodachi ga Sukunai [ULJS00459] - kyousuke - 05-02-2013

(05-02-2013, 11:18 AM)gid15 Wrote: Does the audio play when disabling the MediaEngine?

Yes it works, only the intro video is not playing. Also, I tried removing the exe files from \JPCSP\lib\windows-amd64 to see what happens and audio is still working.
Is it supposed to work without those files?


RE: Boku wa Tomodachi ga Sukunai [ULJS00459] - gid15 - 05-03-2013

(05-02-2013, 09:43 PM)kyousuke Wrote:
(05-02-2013, 11:18 AM)gid15 Wrote: Does the audio play when disabling the MediaEngine?

Yes it works, only the intro video is not playing. Also, I tried removing the exe files from \JPCSP\lib\windows-amd64 to see what happens and audio is still working.
Is it supposed to work without those files?
This confirms that this game is not using sceAtrac & the MediaEngine to generate sounds. This is why you won't find any extracted file under tmp.

The game is probably using sceSasCore to generate sounds (sceSasSetVoice or sceSasSetVoicePCM). These functions are not streamed and cannot be decoded in advance like sceAtrac. The application is taking care of reading the AWB archives and decoding the audio by itself.

Should the game be moved to Playable or Half-Playable?


RE: Boku wa Tomodachi ga Sukunai [ULJS00459] - kyousuke - 05-03-2013

(05-03-2013, 09:28 AM)gid15 Wrote: This confirms that this game is not using sceAtrac & the MediaEngine to generate sounds. This is why you won't find any extracted file under tmp.

The game is probably using sceSasCore to generate sounds (sceSasSetVoice or sceSasSetVoicePCM). These functions are not streamed and cannot be decoded in advance like sceAtrac. The application is taking care of reading the AWB archives and decoding the audio by itself.

Should the game be moved to Playable or Half-Playable?

It's definitely playable, ignoring the invalid addresses it almost never crashes but I think it's the same for many other playable games.
About the audio, I had that suspect (HCA files), but since it's running flawlessly at 30-35 fps it probably won't be necessary to extract those files in /tmp.

By the way, so that everyone knows, to play this game at 30/40+ FPS, these are the best settings:

Options >
- Clock Speed= 300%

Options >
- Configuration >
- - Compiler >
- - - Disable Output profiler and set Method Size to 50

Options >
- Configuration >
- - Media >
- - - Disable Media Engine (it removes the intro video but, everything else works and it's faster!)


RE: Boku wa Tomodachi ga Sukunai [ULJS00459] - sum2012 - 04-15-2014

r3491
Now jpcsp start as real PSP for saving.
   
No more invalid address now