forums.PPSSPP.org
How does ppsspp get the game icon and image - Printable Version

+- forums.PPSSPP.org (https://forums.ppsspp.org)
+-- Forum: PPSSPP - Playstation Portable Simulator Suitable for Playing Portably (/forumdisplay.php?fid=1)
+--- Forum: Builds, releases and ports (/forumdisplay.php?fid=4)
+--- Thread: How does ppsspp get the game icon and image (/showthread.php?tid=4677)



How does ppsspp get the game icon and image - vsub_ - 07-07-2013 03:21 PM

Does he just load both images from exact place or he read from somewhere what to load.
I'm asking because on Fate Unlimited Codes I don't get image in Recent or when I browse to the game when I use the new gui.

It shows the big image when I use the new gui or press Esc while ingame but the mini image is not visible.

In recent it stays as empty space on which I can click to run the game.
When I browse the iso,I can see the image(ICON0.PNG...I can open it)that is supposed to be in recent


RE: How does ppsspp get the game icon and image - livisor - 07-07-2013 06:24 PM

Yeah same situation here


RE: How does ppsspp get the game icon and image - vsub_ - 07-07-2013 08:37 PM

I found the problem...looks like ppsspp can't read interlaced png images.


RE: How does ppsspp get the game icon and image - livisor - 07-09-2013 02:34 PM

Is that solvable?


RE: How does ppsspp get the game icon and image - vsub_ - 07-09-2013 04:38 PM

Either the devs add support for it or you edit the image with UMDGen.
I fix the problem by editing the image

The game have some kind of lba protection(it look for the files at certain sectors of the image)so if the lba is wrong,the game won't run(black screen)

The moment you replace the image,the lba becomes totally wrong(the image have false lba which means,the image total size it's bigger than all of the files and by replacing the png,that wrong lba get automatically fixed which will lead to black screen)

So to fix that do the following:
1.Open the image with UMDGen
2.File=>File List=>Export
3.Extract the ICON0.PNG
4.Open it with your image viewer and save it as normal PNG image(not interlaced...usually the images are saved as not interlaced and there is an option to save as interlaced if you want(if there is no option,they will be saves as not interlaced)...also make sure that the size is not bigger than the original file(even by byte)

To be sure that the image will work(if you don't have a way to find if the image is saved as interlaced or not...I have Irfan View and XnView,both of them can tell you(Windows Picture and Fax Viewer don't save as interlaced,you just have to be sure that the size is not bigger than the original)you can create a dummy PSP game with UMDGen which contains one folder named PSP_GAME and inside place the image.
Save the iso and try with the NewUI to see if the image is visible.If it is,use that png for the steps below

5.Drag-drop the new image(png) and replace the old one(you will see below that the size of the image become smaller by ~40mb)
6.File=>File List=>Import=>Choose the file you exported=>Yes.
7.Save the image.

That's all.


RE: How does ppsspp get the game icon and image - ma_ko - 08-20-2013 03:22 PM

Hi, I have the same problem here. I followed your instructions vsub_: deleted interlace (in GIMP), and put that deinterlaced .png to game image. It worked but... the game doesn't start. After launching it, I have black screen ;'( The image which is not working is smaller by 40MB from the original. The original image works almost perfectly (still little slow on my Xperia Play though - is there any more to set than options in the emulator - something like editing a file or sth?) but it doesn't have a game icon ;(

Ok I've read the part about lba protection, so it means that it won't work?


RE: How does ppsspp get the game icon and image - Chriss - 08-20-2013 04:02 PM

(08-20-2013 03:22 PM)ma_ko Wrote:  Hi, I have the same problem here. I followed your instructions: deleted interlace in GIMP, and put that deinterlaced .png to game image. It worked but... the game doesn't start. After launching it, I have black screen ;'( The image which is not working is smaller by 40MB from the original. The original image works almost perfectly (still little slow on my Xperia Play though - is there any more to set than options in the emulator - something like editing a file or sth?) but it doesn't have a game icon ;(

Read the post above you Dodgy


RE: How does ppsspp get the game icon and image - vsub_ - 08-20-2013 04:25 PM

Yes,as I said,the game is searching for the files at certain sectors and if you don't do what I said,the game will try to load files from wrong sectors which will lead to black screen


RE: How does ppsspp get the game icon and image - ma_ko - 08-20-2013 05:02 PM

Yes, I know I followed the same steps as your guide (apart from that my noninterlaced file was lighter by 5KB - is that the cause?) but it still doesnt work... That's why Im asking.


Sorry, English is not my native.


RE: How does ppsspp get the game icon and image - vsub_ - 08-20-2013 05:51 PM

If you really did everything correctly,there is no way the image will be with 40mb less(uncompressed)...it will be the same size(maybe few kb difference but 40mb is impossible)

You create the list BEFORE replacing the image right?

My image is 704 MB (738 394 112 bytes)


RE: How does ppsspp get the game icon and image - ma_ko - 08-20-2013 07:24 PM

Thank you, it works now. Apparently I forgot to import my list before saving. Now it works flawlessly Smile Sorry for causing such a ruckus


RE: How does ppsspp get the game icon and image - arg274 - 08-23-2013 06:28 AM

thnx,i had this issue with a game named 'impossible mission'.anyway what would happen if i add some null bytes (00) to the non-interlaced png using hxd to make both the png s even?would i get that stupid LBA error?


RE: How does ppsspp get the game icon and image - vsub_ - 08-23-2013 06:58 AM

The png is not causing the change to the lba.
UMDGen is changing the order no matter what change you do the to files...even if you extract the file and place the same file inside again(replacing the same file)

It's like this:
A correct lba would be one file take the space from 0 to 10000 for example and the next file take the space from 10000 to 50000
A false lba would be one file take space from 0 to 10000 and the next file from 15000 to 55000 leaving from 10000 to 15000 as empty space

Once UMDGen do any change the files,all those empty spaces are removed and the file that is placed at 15000 will be moved to 10000 and when the game tries to read a file at 15000,the game won't find it which will most likely result in freeze\black screen or crash


RE: How does ppsspp get the game icon and image - arg274 - 08-24-2013 12:55 PM

oh, i got it... so thats why some games become smaller after extracting the files 4m the image(iso/cso)


RE: How does ppsspp get the game icon and image - vsub_ - 08-24-2013 01:20 PM

Yes,if the image have false lba or dummy files,when you compress the image,the space that the false lba or dummy files take is reduced to 0

CSO compress the game data and deduce the space the false lba and dummy files take to 0
If you have image that is 700mb,have 200mb empty space(from false lba)and 100mb dummy files(when a game is using the false lba method,usually there are no dummy files in such image),when you compress the image,the image size will be less than 400mb because the game files are also compressed
If the image don't have dummy files nor false lba,I hardly doubt the size will become less than 400mb(unless it contains easy to compress files)

Some games use false lba\dummy files just to make the reading process easier(when you play from the UMD)

There is also Install data that is almost never needed to play the game and that install data may take a lot of space too