Talk:GimConv

From PS3 Developer wiki
Revision as of 17:15, 12 April 2018 by Sandungas (talk | contribs)
Jump to navigation Jump to search

GimConv.cfg modifications made for rcomage

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

See: a comparison GimConv.cfg official vs rcomage, and this talk

Help screen

  • Removed at help screen:
Code Sample
  • Added at help screen:
Code Sample

Help screen Talk

The help screen is just informative, is posted here just to complete the list of changes accuratelly, and because is related with some of the other changes made to the file

  • The added -F (to use pixel_order = faster) is because PSP GIM format uses it
  • The removed -X and the added -R are related with the order of how RGBA channels are stored in the GIM, it seems -X was useful for PSP (and -R was not useful for PSP)
  • The removed -viewer is because is intended to trigger an official ginviewer.exe that has never been published or leaked (the program doesnt exists, so the option -viewer is pointless)
  • The added -bpp<n> are the custom RGBA based GIM formats used on PSP, this list includes some formats that was not used oficially by sony (but works on PSP)
  • The added -ps3 loads a custom option that was intended for PS3 GIM files, but is wrong (more info about this problem below)

Default settings

  • Changed default settings:
Code Sample
  • Removed default settings:
Code Sample

Default settings Talk

  • image size restrictions

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

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

This settings allows to use the value off (to disable the image size restrictions ?) but when using it returns a WARNING : too large image size <width>x<height> (even with tiny images), it looks like it has a problem when geting the size so is not a good idea to disable this size restriction, instead is better to use the value 4096 that works fine and is what sony was using originally for PS3

  • 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)

Options

  • Added options:
Code Sample
  • Removed options:
Code Sample

Options Talk