Talk:GimConv: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
Line 4: Line 4:
*changed:
*changed:
{{Boxcode|content=<syntaxhighlight lang="c">
{{Boxcode|content=<syntaxhighlight lang="c">
//================================================================
//  gimconv configuration
//================================================================
// configuration modified by ZiNgA BuRgA for use with Rcomage
// modifying this script may cause Rcomage not to function properly
// when performing GIM conversions (though I expect you know this
// already if you're looking at this file)
usage {
puts "usage:"
puts "        gimconv <input files> [options]"
puts ""
puts "options:"
puts "        -o <filename>  specify output file name"
puts "        -s <w,h>        resize image data"
puts "        -P              resize image data to a power of two"
puts "        -N              output in normal (not faster) pixel storage format"
puts "        -X              swap RGBA <-> ABGR"
puts "        -ps3            output ps3 style GIM"
puts "        -bpp<n>        color output bit depth; n is: 4, 8, 16, 16p, 16a or 32"
puts "                        4, 8 are indexed; 16, 16a, 16p, 32 are RGBA format"
puts ""
puts "        -S              output text format"
puts "        -interact      input additional options"
puts "        -pictures      merge files as pictures"
puts "        -frames        merge files as frames"
puts "        -levels        merge files as levels"
puts "        -prompt        prompt always"
puts "        -warning        prompt on warning"
puts "        -error          prompt on error"
//----------------------------------------------------------------
//----------------------------------------------------------------
//  default settings
//  default settings
Line 47: Line 15:
*added:
*added:
{{Boxcode|content=<syntaxhighlight lang="c">
{{Boxcode|content=<syntaxhighlight lang="c">
//================================================================
//  gimconv configuration
//================================================================
usage {
puts "        -bpp<n>        color output bit depth; n is: 4, 8, 16, 16p, 16a or 32"
puts "                        4, 8 are indexed; 16, 16a, 16p, 32 are RGBA format"
puts "        -ps3            output ps3 style GIM"
puts "        -X              swap RGBA <-> ABGR"
}
//--------------------------------------------------------
//--------------------------------------------------------
//  process option
//  process option
Line 75: Line 57:
*removed:
*removed:
{{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
//  default settings

Revision as of 19:12, 5 April 2018

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

  • changed:
Code Sample
  • added:
Code Sample
  • removed:
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