yashsingh1/xdaforums huggingface dataset:
[Xperia Play Android Development] kingvillain:
I must be going wrong somewhere, sorry for looking dumb. Anyway my image created succesfully apparently but the APK failed to generate:

[I] PSXperiaTool initialized, outputting to: C:\Users\KV\Desktop\psxperiatool-be
ta-2\.\output
[I] Starting build.
[I] Checking to make sure all files are there.
[D] Done checking data.
[I] Creating temporary directory.
[D] Created temporary directory at, .\.psxperia.174
[I] Copying icon if needed.
[D] Done copying icon from D:\hogsofwar.png
[I] Replacing strings.
[D] Replacing strings in XML data.
[D] Writing to temporary file: .\.psxperia.174\assets\AndroidManifest.xml.tmp
[D] Successfully cleaned up and done with string replacement.
[D] Writing to temporary file: .\.psxperia.174\assets\ZPAK\metadata.xml.tmp
[D] Successfully cleaned up and done with string replacement.
[D] Writing to temporary file: .\.psxperia.174\res\values\strings.xml.tmp
[D] Successfully cleaned up and done with string replacement.
[D] Writing to temporary file: .\.psxperia.174\ZPAK\metadata.xml.tmp
[D] Successfully cleaned up and done with string replacement.
[D] Done with string replacement.
[D] Done replacing strings.
[I] Generating PSImage.
[I] Beginning PSImage compression.
[I] Generating image TOC.
[D] Done generating PSImage
[I] Generating ZPAK.
[I] Generating zpak file from directory .\.psxperia.174\ZPAK with compression =
false
[D] Done with ZPAK creation.
[D] Done generating ZPAK at .\.psxperia.174\NCXA00000_1.zpak
[I] Generating default ZPAK.
[I] Generating zpak file from directory .\.psxperia.174\assets\ZPAK with compres
sion = true
[D] Done with ZPAK creation.
[D] Done generating default ZPAK at .\.psxperia.174\assets\NCXA00000_1.zpak
[I] Done processing, generating output.
[D] Moving files around.
[D] Running command: [aapt package -f -F C:\Users\KV\Desktop\psxperiatool-beta-2
\.\output\com.sony.playstation.NCXA00000_1.apk -S .\.psxperia.174\res -M .\.psxp
eria.174\assets\AndroidManifest.xml -I .\android-framework.jar .\.psxperia.174]
[E] Cannot build APK!
java.io.IOException: Cannot run program "aapt": CreateProcess error=2, The syste
m cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at com.yifanlu.PSXperiaTool.PSXperiaTool.runCmdWithOutput(PSXperiaTool.j
ava:274)
at com.yifanlu.PSXperiaTool.PSXperiaTool.generateOutput(PSXperiaTool.jav
a:245)
at com.yifanlu.PSXperiaTool.PSXperiaTool.startBuild(PSXperiaTool.java:61
)
at com.yifanlu.PSXperiaTool.Interface.GUI$12.run(GUI.java:693)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 8 more

I`m getting confused on "the modify your system's PATH" in command.

I`m running Win7 64bit
[Xperia Play Android Development] bubblegumballoon:
That usually happens when you dont have the android SDK installed, you also want to put aapk in your system path.
[Xperia Play Android Development] nscxp2005:
I don't have aapk, I have aapt.

Does that do the same thing?
[Xperia Play Android Development] bubblegumballoon:
I dont think it does, im not 100% sure. I know I used aapk though and it worked.
[Xperia Play Android Development] nscxp2005:
ok, thanks
[Xperia Play Android Development] woogers:
aapt works. I got through with it.

EDIT: On another note, something must be wrong with my jarsigner. My APKs wont install worth anything. I sent the APKs I made to Yifanlu, he sent one back signed, and it installed, but it crashes after running, so there's definitely something with my signing process. Now I'm working on getting the one he signed to work properly.
[Xperia Play Android Development] bubblegumballoon:
PSXPERIA video tutorial

http://www.youtube.com/watch?v=GaZuKZQoBwA
[Xperia Play Android Development] yifanlu:
I think I know the cause of the INSTALL_PARSE_FAILED_NO_CERTIFICATES error. It may be that your jarsigner is too new or something.

I've took someone's "invalid" apk and found it was signed with

Created-By: 1.7.0 (Oracle Corporation)

while mine is signed with

Created-By: 1.6.0_26 (Apple Inc.)

and the same file worked.

If you're getting an INSTALL_PARSE_FAILED_NO_CERTIFICATES error. Extract the generated APK, and open META-INF/MANIFEST.MF and post the first 10 lines or so from it. Thanks.

meanwhile, I'm installing java 7 to see what the problem is
[Xperia Play Android Development] nscxp2005:
Excellent tutorial bubblegumballon!

Thanks
[Xperia Play Android Development] JasonKnight:
No such option exists following these instructions.

W7-64bit Administrator, Android SDK installed, Java JDK installed.
[Xperia Play Android Development] Levistras:
OP should go collect the $400+ bounty we started for this.

This is awesome! And it looks like he didn't start because of the bounty :)

http://xdaforums.com/showthread.php?t=1097428
[Xperia Play Android Development] Nhialor:
Mate...it's there, in the picture, down the bottom...?
[Xperia Play Android Development] yifanlu:
Lol, I would love to, but I'm too busy trying to fix the bugs. And I don't even know how that works. Can someone with experience here about these group money collecting things tell me how this will work?

Also, I've realized that there are at least TWO versions of Crash Bandicoot Europe (ncea00344_1). So far, I don't think it works with release 1, which will crash on startup. You can check what version by going to assets/ZPAK/metadata.xml and look under "<data name="release_number" and see if it's value is 1 or 2.

If you restore to this package: http://xdaforums.com/showthread.php?t=1043630, you will get the Version 2 apk fyi. But I'm not 100% it's all the error yet, so don't go flashing your phones yet.

I've also updated the beta 2 jar with the latest git revision in case that fixes any bugs.
[Xperia Play Android Development] shotgunfool:
Just something else iv noticed aswell for all people who are crashing on the loading of the game, look at the power button when your loading the game, it flashes white i dont know if this has any significance to the problem?

Probably not but just thought id let you know
[Xperia Play Android Development] m3dteam:
yep, I got version 1, which explains the crash.

Say yifanlu, why don't you include appt and jarsigner in your tool so ppl don't have to download the whole internet^^

Anyway, I attached appt and jarsigner for windows, to anyone with problems, just extract them in the same folder as PSXperia, and that is it, you don't have to add or modify anything to your path
[Xperia Play Android Development] Laberkopf:
I've got also 1 but its the version included in that rom which i flashed o.O
[Xperia Play Android Development] yifanlu:
First of all, I'm not sure if I'm allowed to do that. I know that google and oracle won't sue me, but still...

Also, I'd have to include a windows, linux, and osx version and possibly multiple versions for different versions of the os.

For the REALLY advanced users, I'll let you borrow my secret weapon

http://www.mediafire.com/?ks6hxhd556e2tmx

Here is my custom libz.so that I used to decrypt the executable. What it does it write all input to libz's uncompress() to /sdcard/zlib.uncompressed.bin and the output to /sdcard/zlib.compressed.bin and the pointers to /sdcard/zlib.log

With it, you can see exactly where the emulator fails.

IF there is no entries or the zlib* files do not exist, that means the emulator is not even loaded, and it crashed before. This may be my wrapper crashing.

IF there is only ONE entry in zlib.log, and taking a look at uncompressed.bin, that means the emulator is loaded, but it crashed before it loaded the ROM.

IF there are more than one entry in zlib.log, that means your ISO/image is corrupted.

Remember to delete all the /sdcard/zlib* files before restarting the test because it doesn't do that automatically. Restore your original libz.so after you're done so you don't fill your sd card with junk data.
[Xperia Play Android Development] Laberkopf:
I'm trying this now

Edit:

Content of zlib.log:

Called uncompress at pointer: 0x2feb2008 to pointer: 0x2fc24000Called uncompress at pointer: 0x31e940 to pointer: 0x3076e000Called uncompress at pointer: 0x2f70b018 to pointer: 0x31e950
[Xperia Play Android Development] yifanlu:
Does the emulator crash? If it did, then you have a broken image. That, or you mixed the europe apk with the usa zpak (unlikely)
[Xperia Play Android Development] kingvillain:
OK I have been trying again with my game image, everything goes fine until the end, it says "Cannot build APK", in checking the output directory I do find a generated APK however it will not install on the phone, just says "not installed"

Here is the log:
[Xperia Play Android Development] shotgunfool:
Would try this but i dont have root so i cant move the libz file into the right location as i dont have r/w access in that folder =/
[Xperia Play Android Development] m3dteam:
you don't have jarsigner, go download it from post in page 25
[Xperia Play Android Development] Laberkopf:
It does crash.. but that iso also wont work well in fpse so i think i'll try another one
[Xperia Play Android Development] yifanlu:
From now on, all issues must be submitted to: https://github.com/yifanlu/PSXperia/issues

Even if you already reported it here. It's getting to messy and chaotic. I'm getting emails, PMs, replies, etc. There are also people who don't have access to the dev forums, and people from other places. Sorry for making you register for github, but it's more organized that way.

Again, even if you reported your issue in this thread, please post in github. And if the issue is already reported, comment with "me too" or whatever, so I can see many people are having the same issue.

Finally, be sure to post specs. OS, device version, android version, java version, etc. Also be specific. Don't just say "it crashes when loading".
[Xperia Play Android Development] m3dteam:
would any one be nice enough and upload crash bandicot version 2?

it will be useful only to ppl with xperia play, witch comes with crash bandicot.

otherwise, us early adopters will never get a chance to enjoy our ISOs
[Xperia Play Android Development] Laberkopf:
+1 person who wants this :)
[Xperia Play Android Development] kingvillain:
Thanks for the response, however I do have those files from the download and have placed them in this apps directory but still get the same issue:confused:
[Xperia Play Android Development] shotgunfool:
Have you added the jarsigner into your system PATH environment variables?
[Xperia Play Android Development] m3dteam:
you have windows, right?

if you could you do the following:

Start->run->type "cmd" and hit enter

in the black window, you will get C:\XXX

got to that XXX directory and put jarsigner there

go back to the black window and type jarsinger

and let me know what you get
[Xperia Play Android Development] kingvillain:
I am running Windows 7 64 ultimate.

The error I get following your instruction is "The program can`t start because jli.dll is missing from your computer. Try reinstalling the program to fix the problem".

I have googled the missing file and found it, don`t know where to put it though.
[Xperia Play Android Development] m3dteam:
Here you go, just put it in the same place as jarsigner.

Say, would you be kind enough attach crash apk?
[Xperia Play Android Development] Red_Kop:
After doing everything on the extract tab.

...and then the convert tab.

I get 'cannot build APK!' when converting.
[Xperia Play Android Development] m3dteam:
you have the same problem as the person above you, go download the attachment from my post in page 25 and the above page
[Xperia Play Android Development] kingvillain:
Yeah I managed to find it on google, sadly now it says

"Registry key `Software\Javasoft\Java Runtime Environment\CurrentVersion` has value `1.7`, but `1.6` is required" then goes on to say could not find java.dll (even though it is there) and could not find Java SE Runtime Environment (going to the Java site it says I am running the recommended 1.7).

Edit, I would provide my APK of Crash, but wouldn`t want to get into trouble here if it is wrong to do so.
[Xperia Play Android Development] Nhialor:
SUCCESS...!!!
[Xperia Play Android Development] m3dteam:
Nhialor, could you please tell us what you did to get it to work?

and if possible could you upload crash bandicot apk?

Thanks
[Xperia Play Android Development] Nhialor:
Used my own version of MediEvil (ripped iso) and used the tool to turn it into an apk, installed fine and runs perfectly. going to test tekken 3, crash team racing and i'll be back with some results then!
[Xperia Play Android Development] yifanlu:
That's the BAT file being stupid. Go to command prompt, "cd" to the folder where you placed the jar, and run. "java -jar PSXperiaTool.jar"

Also: Beta 2 jar updated to fix issue #2 (emulator crashes when converting on windows)
[Xperia Play Android Development] yifanlu:
I've realized that everyone's posting bugs and issues but nobody is posting what games work or don't work. So far:

Crash Bandicoot 2: Runs. Placed a level, doesn't seem to be any gliches

Crash Bandicoot 3: Runs. Seems to work fully

Crash Bash: Runs. Only tested until title screen

Crash Team Racing: Runs. A few seconds of glichy sounds on title screen. Aku-Aku's face animation doesn't work.

I'm in the process of testing more games, and I invite others to add to the list. Also, if anyone has any requests to what game to test, feel free to post it. I have a big library of PSX games, and if I have it, I'll rip it and try it. (Keep the issue reporting about the converter tool to github, this thread will be about after the conversion process).
[Xperia Play Android Development] Dousan:
It didn't, same fault again. I'm trying out the other solution with putting 'jarsigner' and 'aapt' in the same folder as psxperia-tool.

Thanks anyway for your help :)

Regards Dousan...
[Xperia Play Android Development] GetPatriotized:
Is it still in beta?
[Xperia Play Android Development] Nhialor:
MediEvil is flawless.

About to install Tekken 3...
[Xperia Play Android Development] evo6:
Hi,

Has anyone got tekken 3 to work? I just tried it and i got the black screen when the emulator started and then it just went back to the home screen.

Its the same issue which shotgunfool is having.
[Xperia Play Android Development] Nhialor:
Am playing Tekken 3 right now, seems to be working perfectly...!
[Xperia Play Android Development] yifanlu:
Please post a detailed account of your issue to github.
[Xperia Play Android Development] evo6:
hmmm not sure what im doing wrong then :(
[Xperia Play Android Development] Red_Kop:
Thanks, I did this and it got much further.

It got to 'Done Processing, Generating Output' then I got the same error.:confused:
[Xperia Play Android Development] kingvillain:
Still not having it, so I pretty much give up and will wait for an update.
[Xperia Play Android Development] m3dteam:
Can we use crash version 1? or are we, early adopters out of luck?

BTW, link in first post to jar is broken
[Xperia Play Android Development] m3dteam:
I don't think you will get in any trouble, this guy:

http://xdaforums.com/showthread.php?t=1036249&highlight=arabic

posted it a long time ago, too bad it was version 1. Also, every system image contain it, and ppl are sharing them
[Xperia Play Android Development] aDigitalPhantom:
i switched out jdk 1.7 for jdk 6 update 26 and my apks install now, but they hang at an updating screen on the phone

windows 7 x64 ultimate

jdk 6u26

if i need to add anything i can try.
[Xperia Play Android Development] German-Guy:
Download Link don´t work :( 404 error

Please fix it!

Can anyone upload the second Beta?
[Xperia Play Android Development] evo6:
What version of java are ment to be using to run the tool?
[Xperia Play Android Development] mac_d4di:
Yes please why link not working :(
[Xperia Play Android Development] Nhialor:
All 3 work perfectly. Medievil and tekken are my own ISO converted.
[Xperia Play Android Development] m3dteam:
what is your computer OS? is it windows?

Also, yifanlu please fix the 404 error
[Xperia Play Android Development] Blagus:
Here: https://github.com/downloads/yifanlu/PSXperia/psxperiatool-beta-2.zip (I think)
[Xperia Play Android Development] m3dteam:
It still crashes after starting. I guess ppl with crash version 1 are out of luck
[Xperia Play Android Development] Blagus:
I'm getting this error on Win7 x86:

java.io.FileNotFoundException: Cannot find data directory!
at com.yifanlu.PSXperiaTool.PSXperiaTool.checkData(PSXperiaTool.java:82)

at com.yifanlu.PSXperiaTool.PSXperiaTool.startBuild(PSXperiaTool.java:53
)
at com.yifanlu.PSXperiaTool.Interface.CommandLine.doConvertImage(Command
Line.java:158)
at com.yifanlu.PSXperiaTool.Interface.CommandLine.main(CommandLine.java:
57)
[Xperia Play Android Development] yifanlu:
Updated beta 2 jar.

Removed requirement for "jarsigner", jar signing is now done in code.

Removed requirement for "aapt" to be in the PATH variable, "aapt" is now copied from within the JAR. It chooses the right binary for your OS and extracts it.

This should hopefully allow most of you to actually BUILD a package.

Did use the extract tool to extract data from crash bandicoot apk? If so, did you choose that directory as data when converting?
[Xperia Play Android Development] shotgunfool:
Can someone with crash version 2 please upload it so everyone with crash version 1 can download it, your not going to get into trouble for it as its a free app that comes with the phone and you cant even pay for it if you wanted to

Example: http://xdaforums.com/showthread.php?t=1148548&highlight=madden

Please and thank you.
[Xperia Play Android Development] kingvillain:
Have you uploaded it? The link on the first page directs to a 404 not found.
[Xperia Play Android Development] yifanlu:
https://github.com/downloads/yifanlu/PSXperia/psxperiatool-beta-2.zip
[Xperia Play Android Development] Blagus:
It includes /data folder only.

Regarding my issue, I'm in psxtool folder all the time (c:\psx...\) Then unpack from C:\ to output, it makes c:\psx...\output folder. Error appears when trying to pack it with ISO located in c:\psx...\
[Xperia Play Android Development] kingvillain:
Thanks but that does not contain your app, it has a data folder with various other things inside.
[Xperia Play Android Development] Nhialor:
yes, it's windows 7 32 bit!
[Xperia Play Android Development] yifanlu:
Oops, I'm an idiot. Uploaded the RIGHT zip file now. https://github.com/downloads/yifanlu/PSXperia/psxperia-beta-2.zip
[Xperia Play Android Development] yifanlu:
I'm sorry I have to say this again, but it seems like not many people are reading it.

PLEASE, PLEASE post all your issues and bug reports regarding the converter at github. https://github.com/yifanlu/PSXperia/issues In a few hours, I will stop reading this thread. Also, include detailed information such as a copy of the converter output, android's logcat, etc. If your bug is reported already, make a comment with your system information and logs on the issue so I know multiple people are experiencing it.
[Xperia Play Android Development] Blagus:
Sorry, will ask on github.
[Xperia Play Android Development] yifanlu:
It's ok, and it's not just you but alot of people. I guess most people don't read back that far in the thread.
[Xperia Play Android Development] Blagus:
Copy-paste that big warning to the first post. Might give some results ;)

BTW, using GUI fixed my not-found issue.
[Xperia Play Android Development] Blagus:
Info for everyone: in my case, version 1 of Crash Bandicoot European version works OK. However, that's what it says in ZPAK - maybe the actual APK was updated to v2...
[Xperia Play Android Development] yifanlu:
I'm curious that maybe Sony included a newer emulator in the paid games. Can someone with a paid game check, in a paid psx game apk, "assets/*.zpak (extract this as a zip file) /metadata.xml" and look under "platform_version" and also "data name="release_number" and then at "assets/AndroidManifest.xml" under "android:versionName".

You can even try plugging the apk into the extractor, but I'm not sure it would work.
[Xperia Play Android Development] shotgunfool:
Enough said really?

yifanlu You are a LEGEND ;)
[Xperia Play Android Development] yifanlu:
I want to see more people post results. Now that the "it doesn't work" cries have died down (or at least I'm not seeing much of it on github which I should if there is), people should post what games work and how well. From the games I tried, I can say that even sony isn't perfect in making an emulator. In addition to the games I've listed before, I've tried

Castlevania

Gran Turismo 1

Both loads and plays at full speed, but there are a few hiccups, but nothing major.

Again, if there's any game you want me to test, just ask.

Please post you results and submit your issues. I want at least 20 people saying "it works for me" before I say it's stable enough to be "version 1.0".
[Xperia Play Android Development] shotgunfool:
You can add Fifa 98 Road to the world cup to that list
[Xperia Play Android Development] m3dteam:
I just wana say,

yifanlu you are a genius, I just bought syphon philter, used PSXperia on, and now I can run all games I have tyyyyyyyyyy

oh and I treid, Winning Eleven 98

ZPAC says it is version 1

crash bandicot apk = game crashes

syphon philter = games working
[Xperia Play Android Development] muhski:
maybe you should share the syphon-filter.apk and zpak with us ;-)
[Xperia Play Android Development] m3dteam:
if it came free with the phone, I would have. Also, even my own games need their license checking (it think it is syphone filter). so I can start playing my own games unless I have internet.
[Xperia Play Android Development] AndroHero:
Why dont you spend the few dollars and BUY it if you want it :rolleyes:
[Xperia Play Android Development] deepestblue:
Bad crash version!

Ok, for all those like myself stuck with the broken Crash Bandicoot app!

Simply remove the app - I used titanium backup! Then download and use the US Version (com.sony.playstation.ncua94900_1.apk) from this thread:

State of Development on R800x (ROM and Kernel List)

http://xdaforums.com/showthread.php?t=1201725

It's in the: All Original System APKs file

Once installed and opened it will download the US zpak :)

I then tested with Crash 3!

Just want to thank yifanlu for his excellent work!
[Xperia Play Android Development] illuminerdi:
Does yifanlu's app work with any psx apk or only crash?

I'm curious if the emulator in other games might fix issues some games have (FF7, for example). Someone should start a compatibility matrix on Gdocs or a wiki.

The psp scene had similar stories until the pops got better: they had to use certain versions of pops with certain games as the emulators had optimizations that broke some games and not others.
[Xperia Play Android Development] aDigitalPhantom:
com.sony.playstation.ncea00344_1.apk from that system image has a CRC32 of 3B6A23C1, so it wont work, i got the apk by downloading the system image and running unyaffs on it.
[Xperia Play Android Development] bubblegumballoon:
In case anybody missed it earlier here is a video tutorial I made to help people use psxperia :)

link

http://www.youtube.com/watch?v=GaZuKZQoBwA
[Xperia Play Android Development] shotgunfool:
So who is going to be the first person to try to play this on their phone?

;)

http://www.ageofgames.co.uk/products.php?2541
[Xperia Play Android Development] Nhialor:
For crash 3, Crash's shadow is just a square...is that the same for you?
[Xperia Play Android Development] m3dteam:
to anyone who want to move their saves to and from fpse, here is a tutorial:

http://www.epforums.org/showthread.php?50796-PSX-Raw-Converter-PSX-Game-Edit
[Xperia Play Android Development] Dyelon:
Does this require root?? I have verizon i cant do that
[Xperia Play Android Development] cloud1250000:
Awesome!

I've tested digimon world 2 and it works ^^

thanks!!!
[Xperia Play Android Development] kupo5131:
Damn, I'm one of the unlucky ones with an unrooted euro Play. Could someone be so kind as to upload the US Crash apk and zpac??? Plleeeaaaasssseeeee :D