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 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 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 195: | Line 189: | ||
This group at top on the config file are default settings (for PS3) that overrides other default settings of an older version of GimComv (for PSP). They are overwriting default values because the same option is specifyed before in the file, so the last one overrrides the previous one with the same name (and also was added a new option named '''extend_edge''' that should be PS3 specific) | This group at top on the config file are default settings (for PS3) that overrides other default settings of an older version of GimComv (for PSP). They are overwriting default values because the same option is specifyed before in the file, so the last one overrrides the previous one with the same name (and also was added a new option named '''extend_edge''' that should be PS3 specific) | ||
{{Boxcode| | {{Boxcode|content=<syntaxhighlight lang="c"> | ||
//---------------------------------------------------------------- | //---------------------------------------------------------------- | ||
// default settings | // default settings | ||
Line 211: | Line 205: | ||
This other group seems to be options for GIM formats used in PS3 | This other group seems to be options for GIM formats used in PS3 | ||
{{Boxcode| | {{Boxcode|content=<syntaxhighlight lang="c"> | ||
//-------------------------------------------------------- | //-------------------------------------------------------- | ||
// PS3 OSD specific options | // PS3 OSD specific options | ||
Line 270: | Line 264: | ||
==GIM PS3 DXT5== | ==GIM PS3 DXT5== | ||
*Second most common GIM format used in PS3 | *Second most common GIM format used in PS3 | ||
{{Keyboard|content= | {{Keyboard|content='''GimConv.exe 4x2_CA5Exy_32bits.bmp -o 4x2_CA5Exy_32bits_ps3dxt5.gim -ps3dxt5'''}} | ||
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 | ||
Line 283: | Line 277: | ||
00000080 <span style="background:#CA5E24;">FF 00 49 92 24 49 92 24 E4 CA E2 CA 55 00 00 00</span> ÿ.I’$I’$äÊâÊU... | 00000080 <span style="background:#CA5E24;">FF 00 49 92 24 49 92 24 E4 CA E2 CA 55 00 00 00</span> ÿ.I’$I’$äÊâÊU... | ||
{{Keyboard|content= | {{Keyboard|content='''GimConv.exe 4x2_CA5Exy_32bits.bmp -o 4x2_CA5Exy_32bits_ps3dxt5.gis -ps3dxt5 -S'''}} | ||
.GIS 1.00 | .GIS 1.00 | ||
Line 305: | Line 299: | ||
} | } | ||
==GIM PS3 | ==GIM PS3 RGBA32== | ||
*First most common GIM format used in PS3 | *First most common GIM format used in PS3 | ||
{{Keyboard|content= | {{Keyboard|content='''GimConv.exe 4x2_CA5Exy_32bits.bmp -o 4x2_CA5Exy_32bits_ps3rgba8888.gim -ps3rgba8888'''}} | ||
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 | ||
Line 321: | Line 315: | ||
00000090 <span style="background:#CA5E24;">CA 5E 21 00 CA 5E 22 00 CA 5E 23 00 CA 5E 24 00</span> Ê^!.Ê^".Ê^#.Ê^$. | 00000090 <span style="background:#CA5E24;">CA 5E 21 00 CA 5E 22 00 CA 5E 23 00 CA 5E 24 00</span> Ê^!.Ê^".Ê^#.Ê^$. | ||
{{Keyboard|content= | {{Keyboard|content='''GimConv.exe 4x2_CA5Exy_32bits.bmp -o 4x2_CA5Exy_32bits_ps3rgba8888.gis -ps3rgba8888 -S'''}} | ||
.GIS 1.00 | .GIS 1.00 | ||
Line 344: | Line 338: | ||
} | } | ||
==GIM PS3 | ==GIM PS3 RGBA32 with fileinfo== | ||
*First most common GIM format used in PS3 '''with fileinfo !''' (colored in brown below) | *First most common GIM format used in PS3 '''with fileinfo !''' (colored in brown below) | ||
{{Keyboard|content= | {{Keyboard|content='''GimConv.exe 4x2_CA5Exy_32bits.bmp -o 4x2_CA5Exy_32bits_ps3rgba8888_footer.gim -ps3rgba8888 --update_fileinfo on'''}} | ||
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 | ||
Line 366: | Line 360: | ||
000000F0 <span style="background:#ccaa88;">43 6F 6E 76 20 31 2E 32 30 68 00 00</span> Conv 1.20h.. | 000000F0 <span style="background:#ccaa88;">43 6F 6E 76 20 31 2E 32 30 68 00 00</span> Conv 1.20h.. | ||
{{Keyboard|content= | {{Keyboard|content='''GimConv.exe 4x2_CA5Exy_32bits.bmp -o 4x2_CA5Exy_32bits_ps3rgba8888_footer.gis -ps3rgba8888 --update_fileinfo on -S'''}} | ||
.GIS 1.00 | .GIS 1.00 | ||
Line 397: | Line 391: | ||
==GIM PS3 | ==GIM PS3 RGBA32 with fileinfo and userdata== | ||
This is a test where has been removed all the paddings, by using an image named '''[[:Image:4x2_CA5Exy_32bits.bmp|NOPADD.BMP]]''' and a file named '''NOPADD.DAT''' containing the bytes 0x555345524441544141524541 ('''USERDATAAREA''') | This is a test where has been removed all the paddings, by using an image named '''[[:Image:4x2_CA5Exy_32bits.bmp|NOPADD.BMP]]''' and a file named '''NOPADD.DAT''' containing the bytes 0x555345524441544141524541 ('''USERDATAAREA''') | ||
{{Keyboard|content= | {{Keyboard|content='''GimConv.exe NOPADD.BMP -o NOPADD.gim -ps3rgba8888 --update_fileinfo on --update_userdata on'''}} | ||
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 | ||
Line 419: | Line 413: | ||
000000E0 38 00 47 69 6D 43 6F 6E 76 20 31 2E 32 30 68 00 8.GimConv 1.20h. | 000000E0 38 00 47 69 6D 43 6F 6E 76 20 31 2E 32 30 68 00 8.GimConv 1.20h. | ||
{{Keyboard|content= | {{Keyboard|content='''GimConv.exe NOPADD.BMP -o NOPADD.gis -ps3rgba8888 --update_fileinfo on --update_userdata on -S'''}} | ||
.GIS 1.00 | .GIS 1.00 | ||
Line 453: | Line 447: | ||
This is another test where has been added paddings, by using an image named '''[[:Image:4x2_CA5Exy_32bits.bmp|YESPADD.BMP]]''' and a file named '''YESPADD.DAT''' containing the bytes 0x55534552444154414152454158 ('''USERDATAAREAX''') | This is another test where has been added paddings, by using an image named '''[[:Image:4x2_CA5Exy_32bits.bmp|YESPADD.BMP]]''' and a file named '''YESPADD.DAT''' containing the bytes 0x55534552444154414152454158 ('''USERDATAAREAX''') | ||
{{Keyboard|content= | {{Keyboard|content='''GimConv.exe YESPADD.BMP -o YESPADD.gim -ps3rgba8888 --update_fileinfo on --update_userdata on'''}} | ||
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 | ||
Line 474: | Line 468: | ||
00000100 00 <span style="background:#aaaaaa;">00 00 00</span> .... | 00000100 00 <span style="background:#aaaaaa;">00 00 00</span> .... | ||
{{Keyboard|content= | {{Keyboard|content='''GimConv.exe YESPADD.BMP -o YESPADD.gis -ps3rgba8888 --update_fileinfo on --update_userdata on -S'''}} | ||
.GIS 1.00 | .GIS 1.00 | ||
Line 508: | Line 502: | ||
==GIM PS3 | ==GIM PS3 RGBA32 multiple images merged== | ||
It works ! better examples later | It works ! better examples later | ||
Line 523: | Line 517: | ||
save "./multiimage.gis" | save "./multiimage.gis" | ||
==GIM PS3 | ==GIM PS3 RGBA32 multiple frames merged== | ||
C:\Copy of GimConv 01>GimConv.exe NOPADD.BMP NOPADD.BMP NOPADD.BMP -o multiframe.gim -ps3rgba8888 --update_fileinfo on --update_userdata on --merge_mode frame | C:\Copy of GimConv 01>GimConv.exe NOPADD.BMP NOPADD.BMP NOPADD.BMP -o multiframe.gim -ps3rgba8888 --update_fileinfo on --update_userdata on --merge_mode frame | ||
load "NOPADD.BMP" | load "NOPADD.BMP" | ||
Line 543: | Line 537: | ||
The conversion from TM2 to an standard format as PNG or BMP is as easy as this: | The conversion from TM2 to an standard format as PNG or BMP is as easy as this: | ||
{{Keyboard|content= | {{Keyboard|content='''GimConv.exe IGR_BG.TM2 -o IGR_BG.PNG'''}} | ||
To create a TM2 mimicking the original settings from other TM2 (for replacing purposes) is not so easy because at the time of convrsion it seems are applyed some of the settings and options of GimConv.cfg | To create a TM2 mimicking the original settings from other TM2 (for replacing purposes) is not so easy because at the time of convrsion it seems are applyed some of the settings and options of GimConv.cfg | ||
Line 549: | Line 543: | ||
==AVI== | ==AVI== | ||
GimConv.exe can import AVI files that was created with compatible codecs (XVID works, IV41 doesnt), you can get a sample.avi here: http://techslides.com/sample-files-for-development | GimConv.exe can import AVI files that was created with compatible codecs (XVID works, IV41 doesnt), you can get a sample.avi here: http://techslides.com/sample-files-for-development | ||
{{Keyboard|content= | {{Keyboard|content='''GimConv.exe sample.avi -o sample.gim'''}} | ||
{{Keyboard|content= | {{Keyboard|content='''GimConv.exe sample.avi -o sample.gis -S'''}} | ||
==DDS== | ==DDS== | ||
Line 558: | Line 552: | ||
Some samples here: https://github.com/Jam3/parse-dds/tree/master/test/fixtures | Some samples here: https://github.com/Jam3/parse-dds/tree/master/test/fixtures | ||
{{Keyboard|content= | {{Keyboard|content='''GimConv.exe test-dxt5.dds -o test-dxt5.gim'''}} | ||
{{Keyboard|content= | {{Keyboard|content='''GimConv.exe test-dxt5.dds -o test-dxt5.gis -S'''}} | ||
*Notes: | *Notes: | ||
** | **Max number of mipmaps = 8 (otherway returns the error '''WARNING : too many image level count %s''' | ||
**Cubemaps not supported | **Cubemaps not supported | ||