Posts: 103
Threads: 14
Joined: Nov 2012
Reputation:
0
03-13-2013, 07:51 AM
Hey guys I did some googling today, and I found an atrac3plus decoder and also a site with a sample code for decoding
Atrac3plus decoder: http://forums.sonyinsider.com/topic/2399...ia-player/
libaudiocodec to decode Atrac3plus: http://forums.dashhacks.com/psp-programm...3plus.html
Some code sample: http://cooleyes.fx-world.org/blog/?p=3
I hope this helps!
Posts: 2,075
Threads: 62
Joined: Jun 2012
Reputation:
154
Yeah, this is not new. You need SonicStage, which we don't want to depend on and can't on non-Windows platforms like Android. The code sample there is for running on the real PSP, it cannot run anywhere else as it uses the hardware AT3+ decoder that is built-in to the PSP.
Posts: 103
Threads: 14
Joined: Nov 2012
Reputation:
0
Nope, the first link is a decoder WITHOUT sonicstage, because it was taken from sony content transfer.
Posts: 2,075
Threads: 62
Joined: Jun 2012
Reputation:
154
Sony content transfer, sonicstage, it doesn't matter - it's still some closed source DLL which we can't legally distribute and will only work on Windows.
Posts: 20
Threads: 3
Joined: Nov 2012
Reputation:
0
It would be nice to add some sort of extension to windows PPSSPP if it's possible.
If it's like legal issues then I can understand why you wont bother
Posts: 953
Threads: 16
Joined: Feb 2013
Reputation:
15
03-13-2013, 05:13 PM
(This post was last modified: 03-13-2013, 05:29 PM by VIRGIN KLM.)
It's not a legal problem, what that thing does is merely re-batching OMA files and decode them to wav on SonicStage. The problem is that it would be a bad substitute (Though for some reason I'd love something like that to get implemented on PPSSPP, since I use it on JPCSP to replace the audio files with real PCM audio from the official OST discs of games which gives a TREMENDOUS boost in audio quality)
BTW, It just flashed in my head that you can do the same in Android without the need to transfer the files manualy from PC.
This Locoroco game, Lemmings, Cubix and other PSP games like minis that were emulated natively on Android via the use of PlayStation Certified/Playstation Mobile apps MUST contain some sort of ATRAC3+ decoder since the PSP games are basically the untouched iso file wrapped in a PSC title. Oh and I HIIIIIGLY doubt they are using LLE emulation on Android devices for the Sound Emulation.
Remember this is NOT a port, it's simply an officialy emulated game:
Posts: 63
Threads: 5
Joined: Jan 2013
Reputation:
10
(03-13-2013, 08:45 AM)Vincentmrl Wrote: Nope, the first link is a decoder WITHOUT sonicstage, because it was taken from sony content transfer.
What we can do is use this codec or any other Windows-only codec to decode the files to another format like PCM (actually it would be great to support something like Vorbis ou Opus since PCM occupy to much space) and make PPSSPP load them instead of Atrac3+. It is just a hack until we have a proper opensource Atrac3+ decoder (that may or may not happen since I don't know anyone that is working on it, and I do acompany some codec's hacker blogs), but I think it may work.
Posts: 953
Threads: 16
Joined: Feb 2013
Reputation:
15
(03-14-2013, 03:50 AM)m45t3r Wrote: (03-13-2013, 08:45 AM)Vincentmrl Wrote: Nope, the first link is a decoder WITHOUT sonicstage, because it was taken from sony content transfer.
What we can do is use this codec or any other Windows-only codec to decode the files to another format like PCM (actually it would be great to support something like Vorbis ou Opus since PCM occupy to much space) and make PPSSPP load them instead of Atrac3+. It is just a hack until we have a proper opensource Atrac3+ decoder (that may or may not happen since I don't know anyone that is working on it, and I do acompany some codec's hacker blogs), but I think it may work.
I said that over a month ago but as JPCSP's history proved it's a bad solution that will put PPSSPP in a bad loop of events.
Posts: 44
Threads: 16
Joined: Nov 2012
Reputation:
0
04-30-2013, 02:46 AM
(This post was last modified: 04-30-2013, 02:48 AM by ravid1323.)
it will help if this sonicstage will have open sources? or their third-party alternatives will have open source? or running sonicstage on wine will help... i know about Symphonic it's java open source for linux machine, and it's should be connected to sonicstage as third-party alternatives... i don't know
Posts: 2,880
Threads: 111
Joined: Dec 2012
Reputation:
45
04-30-2013, 03:38 AM
(This post was last modified: 04-30-2013, 03:45 AM by GuilhermeGS2.)
I found this, it help? http://forums.sonyinsider.com/topic/2067...en-source/
Oh, sorry. I see that it already was post by other user. Sorry.
Phones: Poco F3 8GB/256GB (Snapdragon 870 5G) and Redmi Note 6 Pro 4/64GB (Snapdragon 636)
PC: AMD Ryzen 5 3600 / 16GB RAM DDR4 3600MHz / NVIDIA GTX 1660 Ti 6GB / Windows 10 Pro
Posts: 953
Threads: 16
Joined: Feb 2013
Reputation:
15
04-30-2013, 10:16 AM
(This post was last modified: 04-30-2013, 10:18 AM by VIRGIN KLM.)
Another post linking to the same link?
That's ATRAC3 not ATRAC3+
Read people!!! XD
I'm gonna decompile Locoroco for Xperia Play and see what's inside.
Posts: 5,371
Threads: 14
Joined: Mar 2013
Reputation:
303
(04-30-2013, 10:16 AM)VIRGIN KLM Wrote: I'm gonna decompile Locoroco for Xperia Play and see what's inside.
Interesting
♦ Intel Core i7-6700HQ | 16 GB RAM | NVIDIA GeForce GTX 960M | Debian Testing
♦ Intel Core i7-2630QM | 4 GB RAM | NVIDIA GeForce GT 540M | Debian Testing
♦ PSP-3004 | 6.60 PRO-C2
Posts: 953
Threads: 16
Joined: Feb 2013
Reputation:
15
(04-30-2013, 10:19 AM)vnctdj Wrote: (04-30-2013, 10:16 AM)VIRGIN KLM Wrote: I'm gonna decompile Locoroco for Xperia Play and see what's inside.
Interesting 
Just did it.
lib/armeabi/libdefault.so - Is the PSP emulator, it's encrypted but you can obtain the unencrypted file from /dev/kmem on a rooted Android with a custom Kernel.
There's also a zpak file that has a file called "image.ps" which is the JAP ISO of Locoroco Midnight Carnival for PSP.
We could give a look to libdefault.so for anything useful
Posts: 90
Threads: 5
Joined: Nov 2012
Reputation:
2
(04-30-2013, 10:41 AM)VIRGIN KLM Wrote: (04-30-2013, 10:19 AM)vnctdj Wrote: (04-30-2013, 10:16 AM)VIRGIN KLM Wrote: I'm gonna decompile Locoroco for Xperia Play and see what's inside.
Interesting 
Just did it.
lib/armeabi/libdefault.so - Is the PSP emulator, it's encrypted but you can obtain the unencrypted file from /dev/kmem on a rooted Android with a custom Kernel.
There's also a zpak file that has a file called "image.ps" which is the JAP ISO of Locoroco Midnight Carnival for PSP.
We could give a look to libdefault.so for anything useful
even if i don't fully understand how can you/we read a compiled binary that contains machine code (.so) i'm really curious to know what happens if you replace that image.ps with another game image,renaming it like that (see PSXperia) did you already tried?
Posts: 2,880
Threads: 111
Joined: Dec 2012
Reputation:
45
(04-30-2013, 07:08 PM)JumperTwo Wrote: (04-30-2013, 10:41 AM)VIRGIN KLM Wrote: (04-30-2013, 10:19 AM)vnctdj Wrote: (04-30-2013, 10:16 AM)VIRGIN KLM Wrote: I'm gonna decompile Locoroco for Xperia Play and see what's inside.
Interesting 
Just did it.
lib/armeabi/libdefault.so - Is the PSP emulator, it's encrypted but you can obtain the unencrypted file from /dev/kmem on a rooted Android with a custom Kernel.
There's also a zpak file that has a file called "image.ps" which is the JAP ISO of Locoroco Midnight Carnival for PSP.
We could give a look to libdefault.so for anything useful
even if i don't fully understand how can you/we read a compiled binary that contains machine code (.so) i'm really curious to know what happens if you replace that image.ps with another game image,renaming it like that (see PSXperia) did you already tried?
I think can be possible.
Phones: Poco F3 8GB/256GB (Snapdragon 870 5G) and Redmi Note 6 Pro 4/64GB (Snapdragon 636)
PC: AMD Ryzen 5 3600 / 16GB RAM DDR4 3600MHz / NVIDIA GTX 1660 Ti 6GB / Windows 10 Pro
|