yashsingh1/xdaforums huggingface dataset:
[Xperia Play Android Development] Adam3Sixty:
Hiya guys, i need a little help.

I have downloaded and extraced everything, but when i open the gui, and tick the check boxes, i cant click the EXTRACT tab to go to the next step.

I've looked at the guide on the GitHub page and think i have everything i need.

Can anyone give me a step by step guide to get it working please??
[Xperia Play Android Development] Dousan:
You have to highlight yifanlu in the txt below the those tabs ;)

Regards Dousan...
[Xperia Play Android Development] Adam3Sixty:
OMG!!!!!

How easy was that!!

Not to sound stupid, but did it say about doing that anywhere??
[Xperia Play Android Development] Logseman:
In the very text you have in front of you when you open the program... Yifanlu did that exactly to catch people who wouldn't read it. Cheeky folk :D
[Xperia Play Android Development] Adam3Sixty:
Cheeky git!!!!! lmao.

I have however run into another problem, when i go to extract the files from my com.sony.playstation.ncea00344_1.apk and NCEA00344_1_1.zpak file i get an error saying "Cannot extract APK! Java says unexpected EOF"

These are obviously the files i got from my own phone :(

And there i was thinking i was making progress!!
[Xperia Play Android Development] Cat_On_Droid:
Maybe you mixed up the folders?

Make a folder called RIPPDD DATA, thats where the extraxted data from ctash will be.

Then make custom psx folder, thats where the new converted apk and the 'zpak' will be.
[Xperia Play Android Development] pouxonu:
help

trying to change the boot lean but my crappy computer says the file has an error on it. trying to change it from rendered to true and it won't let me get it open anywhere does anyone have a copy that I can borrow to try something out

nevermind got it
[Xperia Play Android Development] kupo5131:
I've checked the compatibility wiki and there's no WWF/E games been listed. Has anyone tested any of the games? I would have done tomorrow but it's a family day out. I'll test on Monday if noone else can before then.
[Xperia Play Android Development] kupo5131:
I can only get the analogue sticks to work when I assign them to another function. So if I set the left analogue to control say X, Triangle, Square and Circle it will work flawlessly, but if I set the analogue sticks to be the left and right analogue sticks they never work. Cannot get them to work in any game even if the game supports them.

Is anyone else having this issue? Has anyone had this issue then fixed it?
[Xperia Play Android Development] spatuluk:
sweeeet! I just converted Tempest X, and aside from a weird issue with the title screen partially appearing during some of the graphic effects, it's working well so far. (I'll switch it to software rendering if it ever decides to create a ucc directory)

The disc had some copy protection, and the iso was missing a few sectors, so I'm expecting it to crash at just the wrong moment. :P
[Xperia Play Android Development] jdz7t8:
How good is this?

Can anyone say how well final fantasy 7 and chrono cross work with psxperia? Does it lag like fpse?
[Xperia Play Android Development] Cat_On_Droid:
AFAIK FF7 plays really well.
[Xperia Play Android Development] jdz7t8:
Chrono Trigger does not work with the US Crash apk. anyone knows where I could get the Uk Crash APK?
[Xperia Play Android Development] jdz7t8:
I have a question. When checking the compatibility lists of games i noticed that some games are compatible with the uk crash bandicoot while others are compatible with the us crash bandicoot. So what do you do if you only have the us phone or the other way around? Also if your playing a game with more than one disc, how do you load the second disc?
[Xperia Play Android Development] crono141:
Why are you playing the ps1 version of Chrono Trigger? It's unplayably slow.
[Xperia Play Android Development] jdz7t8:
I meant chrono cross
[Xperia Play Android Development] AndroHero:
ff7 runs at a solid 60fps with FPse
[Xperia Play Android Development] jdz7t8:
That's a joke. I uninstalled FPSE because i was so frustrated with it when trying to play FF&. The music would always slow down, it was so annoying. I dunno maybe the latest version has fized it, will re-download it from android market and test it, I highly doubt it works at 60 fps though.
[Xperia Play Android Development] jdz7t8:
Confirming that ff7 does NOT run at 60 fps with the latest FPSE. The sound still lags and there is still visual slowdown.
[Xperia Play Android Development] AndroHero:
I just tried it now. with the FPS on screen. It never dropped below 59FPS and went as high as 63FPS. I'll do a video if you wan't to prove it! ;)
[Xperia Play Android Development] jdz7t8:
What settings are you using for fpse? Mine lags and is very annoying

Sent from my R800i
[Xperia Play Android Development] AndroHero:
System:

Country - USA

Mdec Accelerstion - Yes

Gte Accelerstion - Yes

Fast Booting - Yes

HLE Mode - No

Boost Mode - No

Audo:

No Sound - No

Spu Sync - Yes

Video:

Framelimiter - Yes

Frameskip - No Frameskip

Screen Filtering - No

Sharp Overlay Drawing - No

Invert Colours - No

Enhanced 3D Rendering - Yes
[Xperia Play Android Development] jdz7t8:
Nope still runs like crap, does it matter that I'm using e EURO version of FF7?
[Xperia Play Android Development] AndroHero:
Thats what i'm using too. Do you have an unlocked bootloader? try overclocking :p
[Xperia Play Android Development] jdz7t8:
don't have an unlocked bootloader.
[Xperia Play Android Development] Cat_On_Droid:
Fpse and ff are known to be sluggish.

Are you using psxperia? Cos ff7 works very well with psxperia
[Xperia Play Android Development] jdz7t8:
I will deff give it a go. The only reason I hadn't tried it with PSXperia is because in the compatibility list it said it was "playable" not "perfect" so I thought it would have been a similar experience to FPSE. The only problem with PSXperia is I don't think it supports disc change so I would be stuck on disc one -.-

***Updated***

Final Fantasy 7 [Euro] does not work with or without software rendering on PSXperia [US version crash bandicoot APK]. I tried it and when it got to the "sony and squaresoft presents" screen, it wasn't displaying on the screen properly and i couldn't see the actual words, then when it got to the "new game or continue" screen the little selection arrow was not being displayed. I just quit it after that.

On another, more positive note, Gran Turismo 2 works pretty well so far, though I find that game to be way too hard, damn!
[Xperia Play Android Development] crono141:
Well there's your problem. :-)
[Xperia Play Android Development] Cat_On_Droid:
Ntsc ff7 should work better..
[Xperia Play Android Development] jdz7t8:
thanks for the advice, I will also give it a go. Are you suggesting that version for psxperia or fpse?
[Xperia Play Android Development] Cat_On_Droid:
Psxperia

I'll try to convert it to psxperia. It's a shame that my favourite ff9 has fmv sound issues, but plays super fast. FPSE is the opposite, it does support PPF patches unlike psxperia
[Xperia Play Android Development] jdz7t8:
Should I turn on software rendering? Also how do you change discs with psxperia? Like after I complete disc one, then what do I do?

***Update***

I tried Final Fantasy VII NTSC - USA and it still did not work, the words were scattered all over the screen and the arrow to select new game or continue wasn't being displayed.

***Update***

I was reading the compatibility list and i noticed it said: "Final Fantasy VIII (NTSC-U)	SLUS-00892" what does "SLUS-00892 mean"?
[Xperia Play Android Development] Cat_On_Droid:
SW rendering is a must.

Afaik to go to the next disk you need to put the save file folder from disk 1 to disk 2.

You can delete the risk afterwards, i'm not sure if it's required since I never finished a ff game.

Tell me back if disk swapping worked
[Xperia Play Android Development] jdz7t8:
Where is the save file folder located by the way?
[Xperia Play Android Development] Cat_On_Droid:
SD /Android / data /com. Sonystation. NxcaXXXXX_1

I'm doing some experiments on switch disks, nxca_2 seem to work..
[Xperia Play Android Development] jdz7t8:
niiiice! thanks man.
[Xperia Play Android Development] Cat_On_Droid:
by nxca_2, i meant that the apk can be made.

I'm still experimenting

If I have time tomorrow I can test out ff7 disk 1 nxca_1 and ff7 disk 2 nxca_2

Most likely won't work by standalone, i might have to edit some metadata. Xml or the emulator. Will look into this.

Somehow I have to merge then together without the apk. As of now you can just do what I told you first.
[Xperia Play Android Development] yifanlu:
The "disk number" settings may be one or a combination of values in the following factors:

-options.txt created in the data folder. I do not know the format or values, but I know it sets a lot emulator options.

-image.ps has a large header with many 00. Changing some bytes might do something.

-image_ps_toc.bin stores the table of contents for the image and also has a large header with 00. I would put my money on this one.

-params.bin found in the APK in a ZPAK. seems to be the same for every game I could find. Emulator options?
[Xperia Play Android Development] Cat_On_Droid:
EMULATOR options was that image_ps, i forgot what it was called -. _ sorry

I'll check out options.Txt
[Xperia Play Android Development] jdz7t8:
Hmm. Well I tried FF7 SCUS-94163 Crash Bandicoot USA APK and I'm still having the same problems, got to the "sony and squaresoft presents" screen, it wasn't displaying on the screen properly and i couldn't see the actual words, then when it got to the "new game or continue" screen the little selection arrow was not being displayed.

What's weird is I saw someone post final fantasy 7 running on psxperia somewhere on this forum, I cant remember where otherwise I would link it, and it ran great. The video demonstrated the game running from the initial bootup screen to the first battle after cloud jumps off the train, and there was no problems, no graphical errors,, no sound slow down, nothing.

***Update***

My preferences file somehow got corrupted.Game does work with software rendering.
[Xperia Play Android Development] Cat_On_Droid:
Did you ran sw rendering?

If you said thanks and using a pc, no reason not to press the thanks button :) this goes to everyone :-P
[Xperia Play Android Development] jdz7t8:
I am so frustrated! I used software rendering. I actually made a video with my cam to show what happens when I load ff7 with psxperia but my cam shoots in avi and the 2 minute video is over 100 mb! So I'm trying to find something that will convert it into something smaller so I can put it on youtube but every program I've tried so far is just impossible!
[Xperia Play Android Development] Cat_On_Droid:
Find a CRASH UK apk.

Find someones system dump and get it.Then boot it up and download the data,you will obtain teh ZPAK !
[Xperia Play Android Development] jdz7t8:
on the compatibility list here https://github.com/yifanlu/PSXperia/wiki/Compatibility it says that ff7 should be used with the USA crash B APK
[Xperia Play Android Development] Cat_On_Droid:
Eh worth a try..

I'll try it.
[Xperia Play Android Development] jdz7t8:
your right, ff7 does work. My preferences file somehow got corrupted.
[Xperia Play Android Development] Cat_On_Droid:
FF7 worked with me using crash uk and sw rendering
[Xperia Play Android Development] jdz7t8:
how did you enable the sw? What i usually do is connect my play to my computer via the usb then edit the settings doc with wordpad.
[Xperia Play Android Development] Cat_On_Droid:
Root explorer or any text editor
[Xperia Play Android Development] Cat_On_Droid:
OK I just fully tried ff7 on UK crash

Your right, it doesn't work

US crash and ff7 should play well then
[Xperia Play Android Development] jdz7t8:
us one def works, though I have not gotten very deep into the game get though.
[Xperia Play Android Development] Casper_uk82:
right new here,

fantastic app here mate, works a treat.

done RES Evil 2 - Leon's disk and Street Fighter 3

both work, but RE2 has some minot glitches on the fmv. and when doors open, other than that all good

SF3 loads fine, everything works but as soon as the game goes "fight" the image of the person you are fighting keeps flashing up, other than that it plays fine, no music lag like FSPE and it's not slow.

what folder is that pref xml hidden in as i cannot find it
[Xperia Play Android Development] Cat_On_Droid:
Buy Root Explorer

Goto: SD/Android/Data/NXCAXXXXX_1 (find your uniquely numbered game) and open it,keep clicking until your at the CROSSROADS and see THREE differenet folders.IIRC they are

Content ;cant be edited with Explorer

Save ; imort saves from FPSE by converting to 0raw or something like that

UCC ;

METADATA.XML-> i havent got much succes changing anything,but oh well

preferences.XML -> EUREAKA!! YOU FOUND THE FOLDER !! :eek:

Open in text editor and put the stuff you want to "TRUE"
[Xperia Play Android Development] Casper_uk82:
good man cat

found it in files\ucc\cd53d363-0003-0300-0105-4bc614b64cc6

will give it a go with SF3 and report back

EDIT - SW rendering fixed it working fine now. how do i check what version it is
[Xperia Play Android Development] Cat_On_Droid:
what do you mean which version it is ? @_@ ?
[Xperia Play Android Development] Casper_uk82:
pal or ntcs only had the iso
[Xperia Play Android Development] Cat_On_Droid:
Check your DISK game,look on the disk.Or the BOX if you have it .

Eh the only legit way to check is to

restart the PSXEPRIA

after the Health warning,you will see SONY COMPUTER ENTERTAINMENT XXXXXXX
[Xperia Play Android Development] Casper_uk82:
it's the SCEE version of SF3
[Xperia Play Android Development] Cat_On_Droid:
:eek: :eek: :eek: !!!!
[Xperia Play Android Development] TheVicious:
Casper_uk82 You mean Street Fighter 3 or Street Fighter Zero/Alpha 3 ? SF3 wasn't on PSX !!!
[Xperia Play Android Development] Casper_uk82:
sorry yes it's Alpha 3
[Xperia Play Android Development] Frizzal:
ive been trying to get this to work with twisted metal 2 but more importantly legend of dragoon for days now..both games get to the warning screen but before the playstation screen it comes back with error the data is corrupted you must download content again..Im at a complete lost can any help me with what i may be doing wrong:confused:
[Xperia Play Android Development] yifanlu:
So I extracted the Crash Bandicoot APK from the r800a ROM that was posted on this forum. It is a newer version, 1.0.3. Which is newer then any of the market games. I haven't had time to look more into it so I don't know if they patched anything or improved anything, but just a heads up.

EDIT: After some very simple test, I've found out:

1) There is no more decompression/extracting of libdefault.so, I'm 99% sure sony has got rid of the whole encryption layer and are sticking to obfuscation. IDA is still analyzing, so I haven't gotten a good look yet. Just for fun, I'm going to predict that Sony has removed function names and/or prevent overwriting the load Image_TOC function somehow.

2) The manuals all have a few bytes changed. This is good news because it seems that the manuals are not encrypted (if so, changing a few bytes unencrypted would result in the whole file being different after encryption). It means that sony is either using some weird format or that it's something like a PNG being XORd with a common key (which should be easy to find).
[Xperia Play Android Development] Casper_uk82:
so do you think this will be an update to stop us doing this or stop us from using the games we have created using your tool?
[Xperia Play Android Development] yifanlu:
If they haven't remotely deleted all your generated apks, then they're not trying to stop you from using the games you have created.
[Xperia Play Android Development] dsswoosh:
I tried PsXperia for the first time today. I am un-rooted and have all the firmware and software all up to date.

My conversions work fine.

I am going to take a guess and say that you are copying the .apk and the data folder at the same time.

- I copy the .apk, then install it.

- Once it is installed, then i copy the data file over.

Every game has worked for me so far.
[Xperia Play Android Development] yifanlu:
So just an update. Sony has changed the format of the emulator. Before, libjava-activity.so decrypts and extracts libdefault.so which is the emulator. Now libjava-activity.so IS libdefault.so but with names obfuscated (hidden) and the image_ps_toc still encrypted. This means I can no longer use the previous (easy) method of patching the emulator to load a custom TOC. I have already located and deobfucated the method for loading the PsCrypt_GetImageToc method and it is basically the same as the previous version. I am debating whether to do more work though because it may not have had much improvement. If I do work on it, don't expect any release until after the tablets are released because I know they'll update the emulator again then.
[Xperia Play Android Development] dsswoosh:
I dont understand a word of this. But your convertor works great for me.

Awesome job.

I hope you get working what you have seen needs to be fixed :D
[Xperia Play Android Development] Cat_On_Droid:
Yowch #_# i think saving up for the tablet would be a better idea ;-) after tablet release and Pssuite will be open im sure the emulator won't change anymore ;-)

I used the XDA App to post this, what did you use?
[Xperia Play Android Development] Nhialor:
Anyone got PSXperia working on the newest (FXP26) CM7? Mine says that preinstalledservice keeps on crashing, but someone else said that it works...?
[Xperia Play Android Development] Dyelon:
Do you think there's a chance the emulator will be significantly improved?or just changed in general?
[Xperia Play Android Development] yifanlu:
I don't know. Either way, someone else will have to the work. I'm not working on this anymore.
[Xperia Play Android Development] Cat_On_Droid:
An update with better options and compatibility probably. The update should be included in 2.3.4 and for those who never used psxperia won't notice anything

Byebye Yifan :(

I used the XDA App to post this, what did you use?
[Xperia Play Android Development] :
Yifanlu, do you know if there is any chance the converter would work with a Sony Tablet S apk and zpak?
[Xperia Play Android Development] Nhialor:
Anyone got the analog sticks working properly? I've ticked analog mode and set up the controller in the settings but still nothing! Tried with Dino crisis, grand turismo 1 and 2!
[Xperia Play Android Development] ps3taker:
I tried to install one the games i had for my S-E-X-Play and it did not want to install on S-Tablet-S - maybe i just made some mistake or need to start from the beginning. makes me wonder if apk has something incompatible with honeycomb or needing Root or access to system folders. On the computer i could not see anything in android data folder, but using file expert on the S-Tablet-S i see two folders witH zpak files.
[Xperia Play Android Development] :
Could you do us a huge favor? Could you use astro file explorer to navigate to your system/app folder and copy the crash bandicoot apk to your internal memory and upload it to this thread? We would also need the data folder, it is under android/data/com.sony.psx.somthehinglikethat. That would be a great help!
[Xperia Play Android Development] Aekio:
You must set the controller type to type 4 to make the analog work. And you don't have to tick the analog mode in the program.

At least this is how I made my SEX Play analog works.
[Xperia Play Android Development] myprelude:
Try setting the controller to controller 2 then set it back to 1. That did the trick for me :-D
[Xperia Play Android Development] yifanlu:
Yes, I would LOVE to see that too. I didn't know the tablets were out. Someone PM me if they don't want to post publicly.
[Xperia Play Android Development] cloud1250000:
also yifanlu, I've read in the 2.3.4 thread that psxperia don't work anymore...
[Xperia Play Android Development] yifanlu:
Yea, I heard. Nothing really that I can do. I don't have much free time now.
[Xperia Play Android Development] Red_Kop:
Such a shame Sony blocked this in their latest update.

It would be bad if we didn't have FPSE to fall back on.

Sadly, for me personally, that means no more PRO EVO 2 on my Play.
[Xperia Play Android Development] shsh_ustc:
PSX support to which FW version?

I read from another thread that the recent FW has fix the bug and PSX no longer works.

So anyone can tell up to which FW version PSX still works?

New to xperia play and difficult to go through 50 pages posts..

Thanks,

Chao
[Xperia Play Android Development] yifanlu:
If its true (and I'm still not sure), it's the 2.3.4 update with the hd video recording and stuff.
[Xperia Play Android Development] Cat_On_Droid:
I had 2.3.4 and psxperia can be used. I think you need to re update the data file

Also am not sure but try downloading the old pocket again
[Xperia Play Android Development] Tech9000:
Help!

everytime when i try to extract the files from the crash bandicoot files from xperia play (the apk and the zpk file) it gives me this error:

"Unsuported Expection: This Version of Crash Bandicoot﻿ is known to not work, please use a different version. CRC32 996811713"

can somebody upload the apk and the zpk file?

I tried copy the﻿ files from the phone to the desktop but I get the same error
[Xperia Play Android Development] yifanlu:
So I finally took a look at the crash bandicoot files from the tablet and it's weird. They're either using the old emulator that came with the Play (not the new one found in 2.3.4 update), or the versioning system is different. Either way, it's using the same new security as the one from the 2.3.4 update, so when someone cracks that emulator, it would work the same for the tablet.
[Xperia Play Android Development] Tech9000:
I grabbed the apk from here http://xdaforums.com/showthread.php?t=1220725 and used my existing .zapk and i could extract and convert, will be any problem if a try to run the converted output this way ? I mean with the crash bandicoot stock not compatible with the PSXperia?

Thanks
[Xperia Play Android Development] Tech9000:
Posted in the official support forum and received the answer that is fine, tested and Ridge Racer 4 plays much better in terms of sound then FPse and also with software rendering http://xdaforums.com/showthread.php?t=1220541 loses most glitches.
[Xperia Play Android Development] yifanlu:
Ok, finally an update:

I've got the new emulator (1.0.3, found on the 2.3.4 update). It was pretty hard, not gonna to lie. There was 3 new protection.

1) All function names and etc in the emulator binary are gone, I had to reconstruct the them from the older version based on what the functions do and what they import. That was to prevent poking around.

2) No more binary 1 decrypting and loading binary 2 which calls bin 1 to give the image_ps_toc (decrypted). They're all in one binary file. Good news is that the actual emulator is no longer encrypted (but all the symbols are gone :( ). Bad news is that image_ps_toc is still encrypted and inside the binary. No more hooking the function when bin 2 asks bin 1 for the toc.

3) The emulator validates the header of the game it's loading. It refuses to load any game other then "crash bandicoot"

So the million dollar question: has compatibility improved? Short answer: nope. Long answer: maybe. I don't have that many games. So far I've only tested the first few minutes of Castlevania. The characters are still black and you can't see the health bar, but the dialogue text is no longer buggy. This means at least, the emulator IS updated, but not as much as I hoped.

I am not going to release the new version of the tool yet. Mainly because I had to do some tricks that may turn out to decrease compatibility (not sure). I also don't want my new method to be patched until we get a better emulator. Now, if there's any completely broken games that you want me to check, post a screenshot of how broken it looks and I'll post a screenshot of how it looks on the new emulator.

Oh, and I don't know about tablet compatibility yet, but if someone gives me a Sony tablet, I'll get it working ;)