yifanlu / PSXperia

This tool will take a PSX image that you legally own and convert it to be playable on the Xperia Play with the emulator extracted from the packaged game "Crash Bandicoot."
http://yifan.lu/p/psxperia
81 stars 25 forks source link

"Done Processing, Generating output" #89

Open pocketsuke opened 2 years ago

pocketsuke commented 2 years ago

Running this stops at "Done Processing, Generating output"

Two files plus a folder are in the output folder. data (folder) - contains the game data com.sony.playstation.NCXA00000_1.apk com.sony.playstation.NCXA00000_1.apk.unsigned

Neither of these apk files work on the xperia play installer and fail to install.

The log is as follows [I] PSXperiaTool initialized, outputting to: C:\Users\TNP\Desktop\psxperia.\output [I] Starting build with PSXPeria Converter version 2.0 Beta [I] Checking to make sure all files are there. [I] Using data from Crash Bandicoot USA Version 1.0.3, CRC32: 76C201D8 [D] Done checking data. [I] Creating temporary directory. [D] Created temporary directory at, ..psxperia.590 [I] Copying icon if needed. [I] Replacing strings. [D] Replacing strings in XML data. [D] Writing to temporary file: ..psxperia.590\assets\AndroidManifest.xml.tmp [D] Successfully cleaned up and done with string replacement. [D] Writing to temporary file: ..psxperia.590\assets\ZPAK\metadata.xml.tmp [D] Successfully cleaned up and done with string replacement. [D] Writing to temporary file: ..psxperia.590\res\values\strings.xml.tmp [D] Successfully cleaned up and done with string replacement. [D] Writing to temporary file: ..psxperia.590\ZPAK\metadata.xml.tmp [D] Successfully cleaned up and done with string replacement. [D] Done with string replacement. [D] Done replacing strings. [I] Patching game. [I] Making a copy of game. [D] Done patching game. [I] Generating PSImage. [I] Beginning PSImage compression. [I] Generating image TOC. [D] Done generating PSImage [D] Deleting temporary patched game. [I] Generating ZPAK. [I] Generating zpak file from directory ..psxperia.590\ZPAK with compression = false [D] Done with ZPAK creation. [D] Done generating ZPAK at ..psxperia.590\NCXA00000_1.zpak [I] Generating default ZPAK. [I] Generating zpak file from directory ..psxperia.590\assets\ZPAK with compression = true [D] Done with ZPAK creation. [D] Done generating default ZPAK at ..psxperia.590\assets\NCXA00000_1.zpak [I] Done processing, generating output. [D] Moving files around. [D] Running command: [.\aapt-windows.exe package -f -F C:\Users\TNP\Desktop\psxperia.\output\com.sony.playstation.NCXA00000_1.apk.unsigned -S ..psxperia.590\res -M ..psxperia.590\assets\AndroidManifest.xml -I .\android-framework.jar ..psxperia.590] [I] Signing apk C:\Users\TNP\Desktop\psxperia.\output\com.sony.playstation.NCXA00000_1.apk.unsigned to C:\Users\TNP\Desktop\psxperia.\output\com.sony.playstation.NCXA00000_1.apk

matsa73 commented 1 year ago

You should download Java SE Development Kit 8u341 insted of later versions. PSXperia tool cannot signed your apk file because of it uses classes for Base 64 encoding and decoding from another place in later java builds.

https://www.oracle.com/java/technologies/downloads/#java8-windows - offsite https://www.techspot.com/downloads/5198-java-jre.html - you can download java 8 from here without registration in oracl and compare checksum of exe file from offsite

From Powershell in Win11: PS C:\Users\UserName> Get-fileHash C:\Users\UserName\Downloads\jdk-8u341-windows-x64.exe