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 2: | Line 2: | ||
[[Rcomage]] uses a GimConv.cfg (configuration file) edited by Zinga Burga to improve compatibility with rcoedit/rcomage and the GIM formats used in PSP | [[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 [https:// | See: a comparison [https://i.imgur.com/0jIOifM.jpg GimConv.cfg official vs rcomage], and this [http://www.psx-place.com/threads/adding-rco-image-files.2867/#post-22246 talk] | ||
==Help screen== | ==Help screen== | ||
Line 8: | Line 8: | ||
*'''Removed at help screen:''' | *'''Removed at help screen:''' | ||
{{Boxcode| | {{Boxcode|content=<syntaxhighlight lang="c"> | ||
//================================================================ | //================================================================ | ||
// gimconv configuration | // gimconv configuration | ||
Line 22: | Line 22: | ||
*'''Added at help screen:''' | *'''Added at help screen:''' | ||
{{Boxcode| | {{Boxcode|content=<syntaxhighlight lang="c"> | ||
//================================================================ | //================================================================ | ||
// gimconv configuration | // gimconv configuration | ||
Line 50: | Line 50: | ||
*'''Changed default settings:''' | *'''Changed default settings:''' | ||
{{Boxcode| | {{Boxcode|content=<syntaxhighlight lang="c"> | ||
//---------------------------------------------------------------- | //---------------------------------------------------------------- | ||
// default settings | // default settings | ||
Line 61: | Line 61: | ||
*'''Removed default settings:''' | *'''Removed default settings:''' | ||
{{Boxcode| | {{Boxcode|content=<syntaxhighlight lang="c"> | ||
//---------------------------------------------------------------- | //---------------------------------------------------------------- | ||
// default settings | // default settings | ||
Line 74: | Line 74: | ||
===Default settings Talk=== | ===Default settings Talk=== | ||
*'''pixel_order''' | *'''pixel_order''' | ||
**Originally (in the GimConv.cfg released by sony, intended for PS3) it was set to '''normal''' (this matches with the GIM | **Originally (in the GimConv.cfg released by sony, intended for PS3) it was set to '''normal''' (this matches with the GIM format most used in PS3, and doesnt matches with the second most used GIM format in PS3 that needs to be '''default'''). For rcomage was changed to '''faster''' because all the GIM formats in PSP uses it | ||
** | **As you can see there is not a way to choose a default value for '''pixel_order''' that fits with the requirements of all known GIM formats, because one way or the other we are breaking some GIM files (either PSP or some for PS3), the solution to bypass this problem is to override this setting in every "option" you want to use (more info below) | ||
**In short... this change causes an small harm to PS3 GIM formats, but considering there is not really a single solution to fix this problem... is ok like this | **In short... this change causes an small harm to PS3 GIM formats, but considering there is not really a single solution to fix this problem... is ok like this | ||
Line 84: | Line 84: | ||
**As explained before... this problem can be bypassed by overriding this setting, either from command line or editing the file GimConv.cfg to create a custom option with the size values specific for PS3 | **As explained before... this problem can be bypassed by overriding this setting, either from command line or editing the file GimConv.cfg to create a custom option with the size values specific for PS3 | ||
**Some GIM examples from PS3 with images bigger than 512 pixels in '''explore_plugin_full.rco''': | **Some GIM examples from PS3 with images bigger than 512 pixels in '''explore_plugin_full.rco''': | ||
***'''tex_playing.gim''' (30x900 pixels) | ***'''tex_playing.gim''' (30x900 pixels) http://imgur.com/2rjGdbe | ||
***'''tex_playing_shadow.gim''' (30x900 pixels) | ***'''tex_playing_shadow.gim''' (30x900 pixels) | ||
***'''tex_opt_obi.gim''' (660x6 pixels) | ***'''tex_opt_obi.gim''' (660x6 pixels) | ||
**Some GIM examples from PS3 with images bigger than 512 pixels in '''custom_render_plugin.rco''': | **Some GIM examples from PS3 with images bigger than 512 pixels in '''custom_render_plugin.rco ''': | ||
***'''tex_ps3logo.gim''' (1200x128 pixels) | ***'''tex_ps3logo.gim''' (1200x128 pixels) | ||
***'''tex_scelogo.gim''' (1024x64 pixels) | ***'''tex_scelogo.gim''' (1024x64 pixels) | ||
*'''output_sequence''' | *'''output_sequence''' | ||
Line 106: | Line 100: | ||
*'''pixel_order''' | *'''pixel_order''' | ||
**Originally (in the GimConv.cfg released by sony, intended for PS3) this was added by sony as a "override default settings <abbr title="this is one of the cases where sony doesnt wants to modify his old code and instead they adds some kind of patch that overrides the old code">patch</abbr>" applyed over GimConv.cfg (a section named '''PS3 OSD default settings''') with the value '''pixel_order = normal'''. For rcomage it was removed (so by default it loads '''pixel_order = faster''' instead, that appears some lines before in GimConv.cfg) | **Originally (in the GimConv.cfg released by sony, intended for PS3) this was added by sony as a "override default settings <abbr title="this is one of the cases where sony doesnt wants to modify his old code and instead they adds some kind of patch that overrides the old code">patch</abbr>" applyed over GimConv.cfg (a section named '''PS3 OSD default settings''') with the value '''pixel_order = normal'''. For rcomage it was removed (so by default it loads '''pixel_order = faster''' instead, that appears some lines before in GimConv.cfg) | ||
**PSP needs to use "faster", and PS3 needs "normal", so again, this needs to be overrided inside the "options" specific for each GIM format... or with a long command line specifying this overrides | **PSP needs to use "faster" always, and PS3 needs "normal" and "default" (because in PS3 there are 2 different GIM formats), so again, this needs to be overrided inside the "options" specific for each GIM format... or with a long command line specifying this overrides | ||
*'''pixel_channel''' | *'''pixel_channel''' | ||
Line 119: | Line 113: | ||
==Options== | ==Options== | ||
*'''Added options:''' | *'''Added options:''' | ||
{{Boxcode| | {{Boxcode|content=<syntaxhighlight lang="c"> | ||
//-------------------------------------------------------- | //-------------------------------------------------------- | ||
// process option | // process option | ||
Line 147: | Line 141: | ||
*'''Removed options:''' | *'''Removed options:''' | ||
{{Boxcode| | {{Boxcode|content=<syntaxhighlight lang="c"> | ||
//-------------------------------------------------------- | //-------------------------------------------------------- | ||
// mode option | // mode option | ||
Line 189: | Line 183: | ||
*'''The other removed options''' | *'''The other removed options''' | ||
**Doesnt have much importance, could cause problems depending in what you have for default settings in the lines at top of GimView.cfg you should not use this options directly or individually | **Doesnt have much importance, could cause problems depending in what you have for default settings in the lines at top of GimView.cfg you should not use this options directly or individually | ||
=Examples= | =Examples= | ||
This is | This is an image created in photoshop with size 2x2 pixels, filled with color 0xC0FFEE (RGB), and saved as a [https://en.wikipedia.org/wiki/BMP_file_format BMP] 32 bits color depth | ||
The pixel color info is stored in the bytes colored (4x4 = 16 pixels in total, 4 bytes each) | |||
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | ||
00000000 42 4D | 00000000 42 4D 78 00 00 00 00 00 00 00 36 00 00 00 28 00 BMx.......6...(. | ||
00000010 00 00 04 00 00 00 | 00000010 00 00 04 00 00 00 04 00 00 00 01 00 20 00 00 00 ............ ... | ||
00000020 00 00 00 00 00 00 12 0B 00 00 12 0B 00 00 00 00 ................ | 00000020 00 00 00 00 00 00 12 0B 00 00 12 0B 00 00 00 00 ................ | ||
00000030 00 00 00 00 00 00 <span style="background:# | 00000030 00 00 00 00 00 00 <span style="background:#C0FFEE;">EE FF C0 00 EE FF C0 00 EE FF</span> ......îÿÀ.îÿÀ.îÿ | ||
00000040 <span style="background:# | 00000040 <span style="background:#C0FFEE;">C0 00 EE FF C0 00 EE FF C0 00 EE FF C0 00 EE FF</span> À.îÿÀ.îÿÀ.îÿÀ.îÿ | ||
00000050 <span style="background:# | 00000050 <span style="background:#C0FFEE;">C0 00 EE FF C0 00 EE FF C0 00 EE FF C0 00 EE FF</span> À.îÿÀ.îÿÀ.îÿÀ.îÿ | ||
00000060 <span style="background:#C0FFEE;">C0 00 EE FF C0 00 EE FF C0 00 EE FF C0 00 EE FF</span> À.îÿÀ.îÿÀ.îÿÀ.îÿ | |||
00000070 <span style="background:#C0FFEE;">C0 00 EE FF C0 00</span> 00 00 À.îÿÀ... | |||
00000060 | |||
00000070 | |||