Editing Talk:GimConv
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
= | =gimconv.cfg custom changes made for rcomage= | ||
[[Rcomage]] uses a GimConv | [[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: | |||
{{Boxcode|content=<syntaxhighlight lang="c"> | |||
* | |||
{{Boxcode| | |||
//================================================================ | //================================================================ | ||
// gimconv configuration | // 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 { | 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 " -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 " 4, 8 are indexed; 16, 16a, 16p, 32 are RGBA format" | ||
puts " - | puts "" | ||
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 60: | Line 45: | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
* | *added: | ||
{{Boxcode|content=<syntaxhighlight lang="c"> | |||
{{Boxcode| | |||
//-------------------------------------------------------- | //-------------------------------------------------------- | ||
// process option | // process option | ||
Line 146: | Line 73: | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
* | *removed: | ||
{{Boxcode| | {{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 | |||
//-------------------------------------------------------- | //-------------------------------------------------------- | ||
// mode option | // mode option | ||
Line 175: | Line 110: | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
== | ==PS3 problems as a consequence of this custom configuration== | ||
*'''image max sizes''' | |||
The default 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 processing images with GimConv because are resized to this max when the image is bigger | |||
The problem happens when making a standard extraction of images with conversion to PNG (in both, rcomage and rcomagegui)... all images will be checked for his size and biggers than 512 will be resized to 512 | |||
Also happens when trying to compile a .rco by using as source PNG images bigger than 512... in the PNG--->GIM conversion process the images bigger than 512 will be resized to 512 | |||
Some examples of images bigger than 512 pixels inside explore_plugin_full.rco are: '''tex_playing.gim''' (30x900 pixels) http://imgur.com/2rjGdbe, '''tex_playing_shadow.gim''' (30x900 pixels), '''tex_opt_obi.gim''' (660x6 pixels) | |||
= gimconv settings = | |||
<sandungas> the problem about some images for ps3 rco's in gim dxt5 format ---> http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=350611#pid350611 | |||
<sandungas> damn, this is completly solved by changing a setting in the .cfg of gimconvert | |||
<sandungas> it seems ps3 uses different types of .gim inside the rco's | |||
<sandungas> and rcomage doesnt manages that differences :/ | |||
<sandungas> look, there is some problem when rebilding gim's | |||
<sandungas> http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=352551#pid352551 | |||
<sandungas> all the messages from this "mugi" are about ps3 |