Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How does ppsspp get the game icon and image
07-07-2013, 03:21 PM
Post: #1
How does ppsspp get the game icon and image
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

Using PPSSPP on Windows 7 x64 SP1
i7 4771 3.5Ghz,GTX750TI,16GB RAM

Batch iso <=> cso converter
http://forums.ppsspp.org/showthread.php?tid=5384
Save Game\States Manager
http://forums.ppsspp.org/showthread.php?tid=5516
Find all posts by this user
Quote this message in a reply
07-07-2013, 06:24 PM
Post: #2
RE: How does ppsspp get the game icon and image
Yeah same situation here
Find all posts by this user
Quote this message in a reply
07-07-2013, 08:37 PM
Post: #3
RE: How does ppsspp get the game icon and image
I found the problem...looks like ppsspp can't read interlaced png images.

Using PPSSPP on Windows 7 x64 SP1
i7 4771 3.5Ghz,GTX750TI,16GB RAM

Batch iso <=> cso converter
http://forums.ppsspp.org/showthread.php?tid=5384
Save Game\States Manager
http://forums.ppsspp.org/showthread.php?tid=5516
Find all posts by this user
Quote this message in a reply
07-09-2013, 02:34 PM
Post: #4
RE: How does ppsspp get the game icon and image
Is that solvable?
Find all posts by this user
Quote this message in a reply
07-09-2013, 04:38 PM (This post was last modified: 07-09-2013 04:40 PM by vsub_.)
Post: #5
RE: How does ppsspp get the game icon and image
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.

Using PPSSPP on Windows 7 x64 SP1
i7 4771 3.5Ghz,GTX750TI,16GB RAM

Batch iso <=> cso converter
http://forums.ppsspp.org/showthread.php?tid=5384
Save Game\States Manager
http://forums.ppsspp.org/showthread.php?tid=5516
Find all posts by this user
Quote this message in a reply
08-20-2013, 03:22 PM (This post was last modified: 08-20-2013 04:24 PM by ma_ko.)
Post: #6
RE: How does ppsspp get the game icon and image
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?
Find all posts by this user
Quote this message in a reply
08-20-2013, 04:02 PM
Post: #7
RE: How does ppsspp get the game icon and image
(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
Find all posts by this user
Quote this message in a reply
08-20-2013, 04:25 PM
Post: #8
RE: How does ppsspp get the game icon and image
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

Using PPSSPP on Windows 7 x64 SP1
i7 4771 3.5Ghz,GTX750TI,16GB RAM

Batch iso <=> cso converter
http://forums.ppsspp.org/showthread.php?tid=5384
Save Game\States Manager
http://forums.ppsspp.org/showthread.php?tid=5516
Find all posts by this user
Quote this message in a reply
08-20-2013, 05:02 PM
Post: #9
RE: How does ppsspp get the game icon and image
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.
Find all posts by this user
Quote this message in a reply
08-20-2013, 05:51 PM (This post was last modified: 08-20-2013 05:53 PM by vsub_.)
Post: #10
RE: How does ppsspp get the game icon and image
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)

Using PPSSPP on Windows 7 x64 SP1
i7 4771 3.5Ghz,GTX750TI,16GB RAM

Batch iso <=> cso converter
http://forums.ppsspp.org/showthread.php?tid=5384
Save Game\States Manager
http://forums.ppsspp.org/showthread.php?tid=5516
Find all posts by this user
Quote this message in a reply
08-20-2013, 07:24 PM
Post: #11
RE: How does ppsspp get the game icon and image
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
Find all posts by this user
Quote this message in a reply
08-23-2013, 06:28 AM
Post: #12
RE: How does ppsspp get the game icon and image
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?

Contact::::
I don't exist anymore, no use calling a dead person
Find all posts by this user
Quote this message in a reply
08-23-2013, 06:58 AM
Post: #13
RE: How does ppsspp get the game icon and image
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

Using PPSSPP on Windows 7 x64 SP1
i7 4771 3.5Ghz,GTX750TI,16GB RAM

Batch iso <=> cso converter
http://forums.ppsspp.org/showthread.php?tid=5384
Save Game\States Manager
http://forums.ppsspp.org/showthread.php?tid=5516
Find all posts by this user
Quote this message in a reply
08-24-2013, 12:55 PM
Post: #14
RE: How does ppsspp get the game icon and image
oh, i got it... so thats why some games become smaller after extracting the files 4m the image(iso/cso)

Contact::::
I don't exist anymore, no use calling a dead person
Find all posts by this user
Quote this message in a reply
08-24-2013, 01:20 PM (This post was last modified: 08-24-2013 01:21 PM by vsub_.)
Post: #15
RE: How does ppsspp get the game icon and image
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

Using PPSSPP on Windows 7 x64 SP1
i7 4771 3.5Ghz,GTX750TI,16GB RAM

Batch iso <=> cso converter
http://forums.ppsspp.org/showthread.php?tid=5384
Save Game\States Manager
http://forums.ppsspp.org/showthread.php?tid=5516
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: