The following warnings occurred:
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.2.27 (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
Atrac3+ decoding with HiMDRenderer suggestion - 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: svn trunk discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=56)
+---- Thread: Atrac3+ decoding with HiMDRenderer suggestion (/showthread.php?tid=2986)

Pages: 1 2 3


RE: Atrac3+ decoding with HiMDRenderer suggestion - Itaru - 12-09-2010

(12-08-2010, 08:26 PM)gid15 Wrote: Is it solved in r1889?

Thank you for reporting!

Yup, both problems have been fixed in r1890. Crisis Core FFVII is running perfectly now with complete sound and music. Awesome work and many thanks!


RE: Atrac3+ decoding with HiMDRenderer suggestion - Itaru - 12-09-2010

Oh well, I spoke too soon in my previous post. I'm still getting the NullPointerException in Crisis Core FFVII at line 681 in class jpcsp.HLE.modules150.sceAtrac3plus in method sceAtracSetDataAndGetID() whenever Zack does a limit break. It happens in r1890 and r1891. It also happens in r1892 after messing with the source code a bit to get it to compile and not hang in FFVII.

However, I think I can safely say that the IllegalArgumentException in OMAFormat has been completely fixed though. Smile


RE: Atrac3+ decoding with HiMDRenderer suggestion - gid15 - 12-19-2010

(12-07-2010, 09:02 AM)Itaru Wrote: Here's a workaround to get rid of the noise during decoding of Atrac3+ using HiMDRenderer in Jpcsp: just use nircmd ( http://www.nirsoft.net/utils/nircmd.html ) to mute the sound during the decoding. Extract nircmd into the lib\windows-x86 folder and edit the DecodeAudio.bat file.

The DecodeAudio.bat should look like this:

lib\windows-x86\nircmdc mutesysvolume 1
lib\windows-x86\HIMDRENDER -e -i %1 -o %2
lib\windows-x86\nircmdc mutesysvolume 0
The suggestion has been implemented in r1920. Thank you for the idea!


RE: Atrac3+ decoding with HiMDRenderer suggestion - Kai3213 - 12-19-2010

(12-19-2010, 03:58 PM)gid15 Wrote:
(12-07-2010, 09:02 AM)Itaru Wrote: Here's a workaround to get rid of the noise during decoding of Atrac3+ using HiMDRenderer in Jpcsp: just use nircmd ( http://www.nirsoft.net/utils/nircmd.html ) to mute the sound during the decoding. Extract nircmd into the lib\windows-x86 folder and edit the DecodeAudio.bat file.

The DecodeAudio.bat should look like this:

lib\windows-x86\nircmdc mutesysvolume 1
lib\windows-x86\HIMDRENDER -e -i %1 -o %2
lib\windows-x86\nircmdc mutesysvolume 0
The suggestion has been implemented in r1920. Thank you for the idea!

The decoding sound is still there...at least in some games might I add.


RE: Atrac3+ decoding with HiMDRenderer suggestion - Itaru - 12-19-2010

(12-19-2010, 03:58 PM)gid15 Wrote: The suggestion has been implemented in r1920. Thank you for the idea!
You're very welcome and thanks for adding it to the svn.

(12-19-2010, 06:14 PM)Kai3213 Wrote: The decoding sound is still there...at least in some games might I add.
Check whether the nircmdc command actually mutes the sound on your computer. Just play any music file then run the "nircmdc mutesysvolume 1" from the command prompt to check.


RE: Atrac3+ decoding with HiMDRenderer suggestion - hyakki - 12-19-2010

the build bot builds, didn't include the nircmd files., so that's probably why it didn't mute


RE: Atrac3+ decoding with HiMDRenderer suggestion - Darth1701 - 12-19-2010

(12-19-2010, 09:19 PM)hyakki Wrote: the build bot builds, didn't include the nircmd files., so that's probably why it didn't mute

I just assume it has something to do with false virus warnings. The Nirsoft utilities are often categorized as "potential unwanted program". But only Orphis can clear this up entirely.


RE: Atrac3+ decoding with HiMDRenderer suggestion - hyakki - 12-27-2010

just noticed himdrender includes the source (why didn't I notice this before).

here is a modified version of himdrender i made, compiled /w vs2008 see below for changes.
I fixed the WER (windows error reporting) error some audio would get (the annoying "Himdrender has stopped working..." error) this way if himd gets a bad file, instead of crashing it won't do anything.
Code:
igraph->Connect(omgsrc_ipinout,omgtrns_ipinin)
->
igraph->ConnectDirect(omgsrc_ipinout, omgtrns_ipinin, NULL)

other changes made
1. Replaced the connect function (it would cause an 'wer' error popup when trying to decode bad/non decode-able files)
2. Removed some un-necessary dialogs (file browser popup, press a key to exit pause)
3. Added in its own mute function so it will mute (mutes himdrender.exe only) when decoding starts, and un-mute when done, this way jpcsp can always have un-muted audio, and no noise on decode., no longer needs nircmd

I tested with windows 7 and everything is working for me, I couldn't test the mute function on older systems (xp, 2000) so it still needs some tests from other people but it should work.
don't forget to remove the nircmd lines in the bat file. if you try this.

let me know what you think.


RE: Atrac3+ decoding with HiMDRenderer suggestion - Darth1701 - 12-27-2010

(12-27-2010, 01:30 PM)hyakki Wrote: just noticed himdrender includes the source (why didn't I notice this before).

here is a modified version of himdrender i made, compiled /w vs2008 see below for changes.
I fixed the WER (windows error reporting) error some audio would get (the annoying "Himdrender has stopped working..." error) this way if himd gets a bad file, instead of crashing it won't do anything.
Code:
igraph->Connect(omgsrc_ipinout,omgtrns_ipinin)
->
igraph->ConnectDirect(omgsrc_ipinout, omgtrns_ipinin, NULL)

other changes made
1. Replaced the connect function (it would cause an 'wer' error popup when trying to decode bad/non decode-able files)
2. Removed some un-necessary dialogs (file browser popup, press a key to exit pause)
3. Added in its own mute function so it will mute (mutes himdrender.exe only) when decoding starts, and un-mute when done, this way jpcsp can always have un-muted audio, and no noise on decode., no longer needs nircmd

I tested with windows 7 and everything is working for me, I couldn't test the mute function on older systems (xp, 2000) so it still needs some tests from other people but it should work.
don't forget to remove the nircmd lines in the bat file. if you try this.

let me know what you think.

Great work, hyakki!

I just tested it with XP and it works very good, no noises during converting (without nircmd) and the annoying crashes are gone. Of course the crashes are not the fault of HiMDRenderer but they were annoying nonetheless.

Big Grin


RE: Atrac3+ decoding with HiMDRenderer suggestion - Itaru - 12-27-2010

Yup, it's working great on my XP 64-bit. Awesome work, hyakki. Hopefully your version of HiMDRenderer will be implemented in the latest svn soon.