PS3 PNG to GIM

Now the challenge is to adjust its correct proportions.
Hint: you just need to change this values in the xml generated by rcomage when you extract the contents of custom_render_plugin.rco

sizeOverrideX="0x9c020100"
sizeOverrideY="0x9d020100"

The first one loads the contents of line 669 of the files: dev_flash/vsh/etc/layout_grid_table_****.txt
The second one loads the contents of line 670 of the files: dev_flash/vsh/etc/layout_grid_table_****.txt

Open the .txt files and take a look at the values stored in that lines ;)
kxTSvFH.jpg
 
Last edited:
Yeah, a lot of the time the button icons are in the rcos, only rarely read from imagefont.bin.

Personally I dont like the faded colours of the ps4 button icons, very cartoony. The vita icons are much nicer however, with shading to look like real buttons. Or you can find nicer button icons on google images.

I am working on some imagefont.bin mods too but on hold for now.

Original imagefont.bin icons from ps3
unknown.png


Upgraded icons from Vita added to ps3 imagefont.bin:
unknown-1.png


Original:
upload_2019-7-11_23-14-25-png.png


Upgraded from Vita:
upload_2019-7-11_23-14-53-png.png


:)

Can you share yhe new imagefont.bin?
 
Hint: you just need to change this values in the xml generated by rcomage when you extract the contents of custom_render_plugin.rco

sizeOverrideX="0x9c020100"
sizeOverrideY="0x9d020100"

The first one loads the contents of line 669 of the files: dev_flash/vsh/etc/layout_grid_table_****.txt
The second one loads the contents of line 670 of the files: dev_flash/vsh/etc/layout_grid_table_****.txt

Open the .txt files and take a look at the values stored in that lines ;)
kxTSvFH.jpg
I'm looking at the txt files and ...... Man ... How do you understand all this? .. I'm lost, I do not know what is what.lol
 
@DeViL303 ... This ginconv you sent me, it also converts other png images to gim? ... because I tried with others and it didn't work ... if it turns other images into gim ,what should I do to make it convert other images?
 
Hint: you just need to change this values in the xml generated by rcomage when you extract the contents of custom_render_plugin.rco

sizeOverrideX="0x9c020100"
sizeOverrideY="0x9d020100"

The first one loads the contents of line 669 of the files: dev_flash/vsh/etc/layout_grid_table_****.txt
The second one loads the contents of line 670 of the files: dev_flash/vsh/etc/layout_grid_table_****.txt

Open the .txt files and take a look at the values stored in that lines ;)
kxTSvFH.jpg

I'm looking at the txt files and ...... Man ... How do you understand all this? .. I'm lost, I do not know what is what.lol
In notepad++, open the files from path:
dev_flash/vsh/etc/layout_grid_table_****.txt

As you can see in the PS3 firmware there is a .txt file for every screen resolution. The values inside them are different for every screen resolution because every screen resolution uses different positions and sizes
Most probably you are using the PS3 with a TV at 1080p resolution, right ?
So open the file layout_grid_table_1080.txt in notepad++
At the left (out of the text document) you are going to see that notepadd+ displays a number that indicates the lines number... the first line of the .txt document is line 1... the second line is line 2... and so on
What you need to do is to take a look at the value in line 669 and 670

sizeOverrideX="0x9c020100"
sizeOverrideY="0x9d020100"

The first one loads the contents of line 669 of the files: dev_flash/vsh/etc/layout_grid_table_****.txt
The second one loads the contents of line 670 of the files: dev_flash/vsh/etc/layout_grid_table_****.txt
In few words...

sizeOverrideX= is loading line 669
sizeOverrideY= is loading line 670

The settings I gave you are different to the ones cypher and sandungas posted and that is why you got a different md5 I expect. I have tested mine and know they work. They probably both work.
The original gim's from custom_render_plugin.rco are made using dxt3

Is an special case they used that format, dxt3 is an intermediate quality that supports transparency in a decent way
They decided to choose dxt3 because probably it results in a smaller file size
But in this case... visually the image looks the same in dxt3, dxt5, rgba4444, or rgba8888

So is better to use dxt3... but i guess the others i mentioned could work
 
@DeViL303 ... This ginconv you sent me, it also converts other png images to gim? ... because I tried with others and it didn't work ... if it turns other images into gim ,what should I do to make it convert other images?
Yes it will covert any image you want. Just type in the command into cmd prompt like we have been trying to tell you for 3 pages.. :)
 
Okay, I promise this was the last time I asked that.:tranquillity:

I'll try break it down even more but I'm really starting to think you are not even attempting to do this as you have not said what the problem is specifically with using gimconv, Like what error are you getting or any other info?


Basic steps to convert an image with gimconv.exe
  1. Just put your pngs into the folder that you put gimconv into For example = C:/gimconv/myimage.png
  2. Make sure no files are selected/highlighted
  3. Hold shift and then right click on an empty part of the explorer window
  4. Select open command window here:

upload_2019-9-27_15-28-1.png


5. Now type in this or select all the text here and copy it, I'm not explaining how to do that - paste it into the command window by right clicking and selecting "Paste":
Code:
gimconv.exe myimage.png -o myimage.gim --format_style psp --format_endian big --image_format dxt5

upload_2019-9-27_15-46-50.png



6. It should look like this:

upload_2019-9-27_15-30-44.png


7. Press enter. That is it. If you want to convert images with different names just type in a different name.



If you had followed my link in post #9 on page one days ago, you would have read about this. You can use the other commands that sandungas and cypher posted too for more compression if you think you need it.
 
Last edited:
I'll try break it down even more but I'm really starting to think you are not even attempting to do this as you have not said what the problem is specifically with using gimconv, Like what error are you getting or any other info?


Basic steps to convert an image with gimconv.exe
  1. Just put your pngs into the folder that you put gimconv into For example = C:/gimconv/myimage.png
  2. Make sure no files are selected/highlighted
  3. Hold shift and then right click on an empty part of the explorer window
  4. Select open command window here:

View attachment 20287

5. Now type in this or select all the text here and copy it, I'm not explaining how to do that - paste it into the command window by right clicking and selecting "Paste":
Code:
gimconv.exe myimage.png -o myimage.gim --format_style psp --format_endian big --image_format dxt5

View attachment 20289


6. It should look like this:

View attachment 20288

7. Press enter. That is it. If you want to convert images with different names just type in a different name.



If you had followed my link in post #9 on page one days ago, you would have read about this. You can use the other commands that sandungas and cypher posted too for more compression if you think you need it.
Thanks..but I already knew all this ... the problem was that it was giving error ... but I already solved the problem, was the name of the image, I was using this:
Ex tex_ps3logo.png ... and I simply resolved by erasing the "png" image like this:
tex_ps3logo, just like that the program recognized.
Now it converts the image to gim, but it is showing "ERROR: unsupported format" ...
20190927_121721.jpg
 
Last edited:
Thanks..but I already knew all this ... the problem was that it was giving error ... but I already solved the problem, was the name of the image, I was using this:
Ex tex_ps3logo.png ... and I simply resolved by erasing the "png" image like this:
tex_ps3logo, just like that the program recognized.
Now it converts the image to gim, but it is showing "ERROR: unsupported format" ...
View attachment 20291
Well this is first time you have mentioned any of that as far as i can see.. lol.

Have you tried what i said? I have used that method for years.

Also no idea why you would need to delete the file extension of a png to make it work.. i have never needed to do that. Sounds like your PC has some issues maybe, :)
 
Last edited:
Well this is first time you have mentioned any of that as far as i can see.. lol.

Have you tried what i said? I have used that method for years.

Also no idea why you would need to delete the file extension of a png to make it work.. i have never needed to do that. Sounds like your PC has some issues maybe, :)
But it converts the image ... I just don't know if it's safe to use it since it appeared this "ERROR".
I tested with a png image of explore_plugin_full.rco
 
Well this is first time you have mentioned any of that as far as i can see.. lol.

Have you tried what i said? I have used that method for years.

Also no idea why you would need to delete the file extension of a png to make it work.. i have never needed to do that. Sounds like your PC has some issues maybe, :)
I made your method ... is it all right now?
20190927_131041.jpg
 
Yes, that should work fine, try the gim, ignore that error about image order.

I think if you try different version of gimconv you will be able to use the other commands, not sure.
 
Really someone could make a little GUI for gimconv, probably only take an hour or something. Really simple, just input and output boxes and tick boxes for every available setting and a convert button.
 

Similar threads

Back
Top