Prince of Persia Retro (iOS) background
Posted: February 18th, 2016, 3:14 pm
For a while (May 2010-Dec 2011), Apple allowed iOS users to use the free "Prince of Persia Retro" (old link, no longer a page there), until it was eventually replaced with the "Prince of Persia Classic" remaster.
This free Retro game featured a hand-drawn title screen background that I'm looking to obtain, just because it's nice to have. Some web pages, such as this one have images of the background, but always with text on it. (On that page, someone else commented "Do you also have a screenshot of the title-screen without the title text?".) Here's the background with the palace fully visible. I've been able to find various images that almost allowed me to assemble the full 1024x768 image without text - but not fully.
Therefore I looked into the actual game itself. The game package (Prince.of.Persia.Retro.1.0.2.ipa) is essentially a ZIP file. It includes Payload/pop1.app/mainMenuBackground_iPad.png, which is an Xcode CgBI file; Apple's proprietary extension to PNG. I've tried to uncrush/defry the PNG file, but so far without success. I found six programs that could potentially make the PNG file readable on non-iOS platforms. I've been able to test 4 out of 6 programs, and could use help with the last two.
[1] Tested
iPhone PNG Image Normalizer, ipin.py
Download: http://www.axelbrz.com.ar/ipin1.0.zip
Mirror: http://www.mexlinux.com/wp-content/uplo ... pin1.0.zip
Result: This program works for most PNG files, but not for the PNG file in question.
[2] Tested
pngdefry
Download: http://www.jongware.com/binaries/pngdefry.zip
Result: It does not work, it says it has seen the file, but not processed it.
[3] Tested
Download: https://web.archive.org/web/20110821204 ... fixpng.tgz
Mirror: http://www.ush.it/team/ascii/iphone-fixpng.tgz
Result: It does something, but the end result only includes the top portion of the image, and the image is bluish.
[4] Tested
Download ("Download ZIP"): https://github.com/hadess/fixpng-thumbnailer
Result: It does something, but the end result only includes the top portion of the image. The colors are correct though. It gives three ZLib errors.
[5] Not Tested Yet
Download ("Download ZIP"): https://github.com/MikeWeller/PNGDecrush
This is a .NET/C# program that I cannot test. The README.markdown says "Existing implementations are broken", so perhaps this is a good candidate to do the job.
[6] Not Tested Yet
It should be possible to run "xcrun -sdk iphoneos pngcrush -revert-iphone-optimizations". This requires XCode from the App Store, and requires the modified pngcruch binary that has been created by Apple and is provided with the iOS SDK.
Could anyone here test options [5] and/or [6]?
Even though the game is abandonware, I don't think I should provide a download link to the IPA file.
The links below are mirrors for just the 'crushed' PNG image.
http://www.filedropper.com/image_26
http://s000.tinyupload.com/index.php?fi ... 2313441746
http://www.speedyshare.com/vpPZQ/image.png
This free Retro game featured a hand-drawn title screen background that I'm looking to obtain, just because it's nice to have. Some web pages, such as this one have images of the background, but always with text on it. (On that page, someone else commented "Do you also have a screenshot of the title-screen without the title text?".) Here's the background with the palace fully visible. I've been able to find various images that almost allowed me to assemble the full 1024x768 image without text - but not fully.
Therefore I looked into the actual game itself. The game package (Prince.of.Persia.Retro.1.0.2.ipa) is essentially a ZIP file. It includes Payload/pop1.app/mainMenuBackground_iPad.png, which is an Xcode CgBI file; Apple's proprietary extension to PNG. I've tried to uncrush/defry the PNG file, but so far without success. I found six programs that could potentially make the PNG file readable on non-iOS platforms. I've been able to test 4 out of 6 programs, and could use help with the last two.
[1] Tested
iPhone PNG Image Normalizer, ipin.py
Download: http://www.axelbrz.com.ar/ipin1.0.zip
Mirror: http://www.mexlinux.com/wp-content/uplo ... pin1.0.zip
Result: This program works for most PNG files, but not for the PNG file in question.
[2] Tested
pngdefry
Download: http://www.jongware.com/binaries/pngdefry.zip
Result: It does not work, it says it has seen the file, but not processed it.
[3] Tested
Download: https://web.archive.org/web/20110821204 ... fixpng.tgz
Mirror: http://www.ush.it/team/ascii/iphone-fixpng.tgz
Result: It does something, but the end result only includes the top portion of the image, and the image is bluish.
[4] Tested
Download ("Download ZIP"): https://github.com/hadess/fixpng-thumbnailer
Result: It does something, but the end result only includes the top portion of the image. The colors are correct though. It gives three ZLib errors.
[5] Not Tested Yet
Download ("Download ZIP"): https://github.com/MikeWeller/PNGDecrush
This is a .NET/C# program that I cannot test. The README.markdown says "Existing implementations are broken", so perhaps this is a good candidate to do the job.
[6] Not Tested Yet
It should be possible to run "xcrun -sdk iphoneos pngcrush -revert-iphone-optimizations". This requires XCode from the App Store, and requires the modified pngcruch binary that has been created by Apple and is provided with the iOS SDK.
Could anyone here test options [5] and/or [6]?
Even though the game is abandonware, I don't think I should provide a download link to the IPA file.
The links below are mirrors for just the 'crushed' PNG image.
http://www.filedropper.com/image_26
http://s000.tinyupload.com/index.php?fi ... 2313441746
http://www.speedyshare.com/vpPZQ/image.png