Talk:GimConv: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 1: Line 1:
=gimconv.cfg custom changes made for rcomage=
=gimconv.cfg custom changes made for rcomage=
[[Rcomage]] uses a GimConv configuration file edited by Zinga Burga initially to improve interoperativity with rcoedit/rcomage for PSP, and later to add compatibility with PS3
[[Rcomage]] uses a GimConv configuration file edited by Zinga Burga to improve compatibility with rcoedit/rcomage and the GIM formats used in PSP


*changed:
*removed at help screen:
{{Boxcode|content=<syntaxhighlight lang="c">
{{Boxcode|content=<syntaxhighlight lang="c">
//----------------------------------------------------------------
//================================================================
//  default settings
//  gimconv configuration
//----------------------------------------------------------------
//================================================================
pixel_order = faster // default normal faster
 
limit_image_width = 512 // off $count
usage {
limit_image_height = 512 // off $count
puts "        -F              output in faster pixel storage format"
output_sequence = off // off on
puts "        -R              re-convert ( don't swap RGBA <-> ABGR )"
puts "        -viewer        start gimview.exe when process ends"
 
}
</syntaxhighlight>}}
</syntaxhighlight>}}


*added:
*added at help screen:
{{Boxcode|content=<syntaxhighlight lang="c">
{{Boxcode|content=<syntaxhighlight lang="c">
//================================================================
//================================================================
Line 27: Line 30:


}
}
</syntaxhighlight>}}


*changed default settings:
{{Boxcode|content=<syntaxhighlight lang="c">
//----------------------------------------------------------------
//  default settings
//----------------------------------------------------------------
pixel_order = faster // default normal faster
limit_image_width = 512 // off $count
limit_image_height = 512 // off $count
output_sequence = off // off on
</syntaxhighlight>}}


*removed default settings:
{{Boxcode|content=<syntaxhighlight lang="c">
//----------------------------------------------------------------
//  default settings
//----------------------------------------------------------------
//  PS3 OSD default settings
format_endian = big // -B
pixel_order = normal // -N
pixel_channel = default // -R
image_format = rgba8888 // --image_format rgba8888
</syntaxhighlight>}}
*added options:
{{Boxcode|content=<syntaxhighlight lang="c">
//--------------------------------------------------------
//--------------------------------------------------------
//  process option
//  process option
Line 55: Line 83:
</syntaxhighlight>}}
</syntaxhighlight>}}


*removed:
*removed options:
{{Boxcode|content=<syntaxhighlight lang="c">
{{Boxcode|content=<syntaxhighlight lang="c">
//================================================================
//  gimconv configuration
//================================================================
usage {
puts "        -F              output in faster pixel storage format"
puts "        -R              re-convert ( don't swap RGBA <-> ABGR )"
puts "        -viewer        start gimview.exe when process ends"
}
//----------------------------------------------------------------
//  default settings
//----------------------------------------------------------------
//  PS3 OSD default settings
format_endian = big // -B
pixel_order = normal // -N
pixel_channel = default // -R
image_format = rgba8888 // --image_format rgba8888
//--------------------------------------------------------
//--------------------------------------------------------
//  mode option
//  mode option

Revision as of 03:17, 12 April 2018

gimconv.cfg custom changes made for rcomage

Rcomage uses a GimConv configuration file edited by Zinga Burga to improve compatibility with rcoedit/rcomage and the GIM formats used in PSP

  • removed at help screen:
Code Sample
  • added at help screen:
Code Sample
  • changed default settings:
Code Sample
  • removed default settings:
Code Sample
  • added options:
Code Sample
  • removed options:
Code Sample

PS3 problems as a consequence of this custom configuration

  • image max sizes

The settings for limit_image_width and limit_image_height that was changed to 512 pixels for rcomage (but originally was 4096 pixels) causes a problem when converting images bigger than 512 because are going to be resized down to 512 (is the max width of a PSP scren because rcomage initially was intended for PSP)

The problem happens when extracting images with GIM to PNG conversion (in both, rcomage and rcomagegui)... all images will be checked for his size and biggers than 512 will be resized down preserving the aspect ratio (so the resulting image is not deformed, but the size and image quality is reduced in the extraction process)

Also happens in the PNG to GIM conversion, when trying to compile a .rco by using as source PNG images bigger than 512 the resulting GIM will contain the image resized to 512

  • Some PS3 examples of images bigger than 512 pixels:
    • explore_plugin_full.rco:
      • tex_playing.gim (30x900 pixels) http://imgur.com/2rjGdbe
      • tex_playing_shadow.gim (30x900 pixels)
      • tex_opt_obi.gim (660x6 pixels)
    • custom_render_plugin.rco
      • tex_ps3logo.gim (1200x128 pixels)
      • tex_scelogo.gim (1024x64 pixels)

Versions

  • GimConv 1.20e (GIM files made around 2006)
  • GimConv 1.20h (GIM files made with the released PS3 theme tools... and included in rcomage)

Other stuff

gis2png converter http://tizzyt-archive.blogspot.com.es/2013/10/gis2png.html