RCOmage psdevwiki MOD

PS3 [Research] RCOmage psdevwiki MOD v20180916

I took the explore_plugin_full.rco file from OFW, took into account the options you specified, the md5 match of the gim files is 100%. If there is a need to consider other packaging options besides the type of compression?
Can you post the new version of the scripts ? i want to see how you solved the problems in the bruteforce process, i guess now you are doing a GIM2GIM conversion and you are using the swiss file knife exe to crop the footer from the original GIM files before making the comparison, right ?

For the rco settings the zlib compression is optional but we always use it because doesnt causes any problem or lag in PS3 and the files are a bit smaller
 
Can you post the new version of the scripts ?
No need to convert GIM2GIM.
We take the values from 0x5c, 0x60, add them up, add 0x10 and get to the beginning of the additional information for those files where it is. For those files where it is not, the file size will be smaller.
rco of course differs in md5 for me, but I wonder if it is necessary to take into account other packing features if the problem with gim is solved?

Code:
@echo off
setlocal enabledelayedexpansion
set pt=Rcomage\
set col=!pt!nhcolor
set tl=0x44 0x02
set hdr=0x0C 0x04
set h1=0x5c 0x4
set h2=0x60 0x4
set h3=0x10

start !pt!Wbusy "rco unpack" "Running unpack rco"  /marquee

for %%i in (rcofile\*.rco) do (
if not exist %%~pi%%~ni md %%~pi%%~ni
if not exist %%~pi%%~ni\txt md %%~pi%%~ni\txt
if not exist %%~pi%%~ni\img md %%~pi%%~ni\img
set ld=%%~dpi%%~ni
set ln=%%~ni
set /a n1=0
for /f "usebackq" %%h in (`!pt!sfk hexdump -pure -nofile -rawname -offlen !hdr! %%i`) do set hc=%%h
if !hc!==00000000 set opt=none
if !hc!==00000010 set opt=zlib
if !hc!==00000020 set opt=rlz
echo !opt! > !ld!\!ln!-conf.txt
!pt!rcomage.exe dump %%i !ld!.xml --RESDIR !ld! --text txt --images img
if exist !ld!\!ln!-list.txt del /Q !ld!\!ln!-list.txt

for /f "tokens=*" %%m in ('CertUtil -hashfile %%i MD5') do (
set /a n1+=1 && if !n1!==2 set hash=%%m && set MD5=!hash: =!
)
echo %%i !MD5! > %%i.md5

for %%f in (!ld!\img\*.gim) do (
echo check %%f
set /a rez=0
for /f "usebackq" %%a in (`!pt!sfk hexdump -pure -nofile -rawname -offlen !tl! %%f`) do set np=%%a
if !np!==0000 set opt=-ps3rgba5650
if !np!==0001 set opt=-ps3rgba5551
if !np!==0002 set opt=-ps3rgba4444
if !np!==0003 set opt=-ps3rgba8888
if !np!==0004 set opt=-ps3index4
if !np!==0005 set opt=-ps3index8
if !np!==0006 set opt=-ps3index16
if !np!==0007 set opt=-ps3index32
if !np!==0008 set opt=-ps3dxt1
if !np!==0009 set opt=-ps3dxt3
if !np!==000A set opt=-ps3dxt5
if !np!==0108 set opt=-ps3dxt1ext
if !np!==0109 set opt=-ps3dxt3ext
if !np!==010A set opt=-ps3dxt5ext
for /f "usebackq" %%j in (`!pt!sfk hexdump -pure -nofile -rawname -offlen !h1! %%f`) do set hc1=%%j
for /f "usebackq" %%g in (`!pt!sfk hexdump -pure -nofile -rawname -offlen !h2! %%f`) do set hc2=%%g
set /a rez=0x!hc1!+0x!hc2!+!h3!
for %%l in ("%%f") do set size=%%~zl
IF !rez! LEQ !size! (
!pt!sfk partcopy %%f -quiet -allfrom -yes !rez! !ld!\%%~nf.vtxt
!pt!sfk rep !ld!\%%~nf.vtxt -bin /00/0D0A/ -yes -quiet
set /a c=0
for /f "UseBackQ Delims=" %%V IN (!ld!\%%~nf.vtxt) do (
set /a c+=1
if !c!==4 set "cver=%%V"
)
echo !cver!> !ld!\%%~nf.vtxt
)
echo %%~nf !opt!>> !ld!\!ln!-list.txt
GimConv\GimConv.exe %%f -o !ld!\img\%%~nf.png
)
)
rem del /Q /S rcofile\*.gim

echo Finished. |!col! 0A
!pt!Wbusy "rco unpack" "Done" /Stop /sound /timeout:1

Code:
@echo off
setlocal enabledelayedexpansion
set pt=Rcomage\
set col=!pt!nhcolor

if not exist new_rco md new_rco
set nr=new_rco

start !pt!Wbusy "rco pack" "Running pack rco"  /marquee
for %%i in (rcofile\*.rco) do (
set /a n1=0
set xm=%%~dpi%%~ni
set rco=!nr!\%%~ni.rco
set ln=%%~ni

for /f "tokens=1,2" %%a in (!xm!\!ln!-list.txt) do (
if exist !xm!\%%a.vtxt (
for /f "tokens=1,2" %%c in (!xm!\%%a.vtxt) do (
set g1=%%c
if !g1!==GimConv (set g2=%%d
set g2=!g2:~4,1!
set "op=--update_fileinfo on"
)
)
) else (
set g2=e
set "op="
)
GimConv\GimConv!g2! !xm!\img\%%a.png -o !xm!\img\%%a.gim %%b !op!
)
echo Wait - compile |!col! 0A

for /f "tokens=1" %%h in (!xm!\!ln!-conf.txt) do (
!pt!rcomage.exe compile !xm!.xml !rco! --pack-hdr %%h
)

for /f "tokens=*" %%m in ('CertUtil -hashfile !rco! MD5') do (
set /a n1+=1 && if !n1!==2 set hash=%%m && set MD5=!hash: =!
)
echo !rco! !MD5! > !rco!.md5
)
!pt!Wbusy "rco pack" "Done" /Stop /sound /timeout:1

echo.
echo Finished. |!col! 0A
bddata_tex_album_default.gim 7d467cb53f90b03485c8ee94ec3cc08d
bddata_tex_default.gim da2764c9c09d83f52d086cbdf0f64ac4
bgdl_tex_error.gim ffec2acf20907fa0db892d4368bf32db
bgdl_tex_pause.gim 62862f8ac6b16240a3f42fd931d869af
bgdl_tex_preinstall.gim 4b8355e18fa07bf4ba4947a492ffaa7e
bgdl_tex_timelimit.gim 9c6c62474b104da52f20ecbe8b612afa
friend_tex_load.gim 338db40ae8f1a81daea99906244c369d
friend_tex_load_shadow.gim 6a26908ede1cc9d5040250cfd98291a5
game_tex_default.gim a5b04ebbfe90297903d503690ac53e9c
game_tex_default_ps2.gim 91cb17ea803c15d30ae1c49f20f7fcf4
game_tex_default_ps3.gim a5b04ebbfe90297903d503690ac53e9c
game_tex_disc_broken.gim a2d7d89215d171cefd08cbe7a93e0634
game_tex_disc_unknown.gim e7dcafd21b8ebfd8e9d5f8ad99a34b83
game_tex_load.gim 160a38a87d518f4d61020e6c0458a824
game_tex_load_shadow.gim 1f5d2940c5a22d15b38ac64f11183abf
item_tex_atrac_audio.gim 15e70085e9da70d0fc8aa8d192f4b88d
item_tex_cam_facebook.gim 90ac985673a12585cfb3b392c1bd7764
item_tex_cam_icon.gim 6d4917c717a5eb8a3092276e3dc5fa4a
item_tex_CardBallon.gim 7b26be77758b3a100163eeb6aef17b51
item_tex_cf_icon.gim e0596d86bc6cec21665a12df352c1fd1
item_tex_ChatRoom.gim 1ed3295bbc7d8fe34dda0d4ec5d9ff01
item_tex_ChatRoomText.gim 38beb58124d709745542a2572b6da51a
item_tex_digital_camera.gim e8cab095f7b2cfc6b2a7069c72ed96ae
item_tex_disc_bd.gim 96ee1086f8393ab5f318525a37bd2388
item_tex_disc_bd_contents.gim bb20497036c94b728f67f993ab4965a0
item_tex_disc_cd_ps2.gim 88a33a14a498a3af2e954e435f311426
item_tex_disc_dvd.gim 89e5c726075c86cecbfd3774e33c68de
item_tex_disc_icon.gim 56ea24fb43c7d5ae94dc370e71efa6df
item_tex_disc_install.gim d23038a4b86f6d419a11a3b5a6d2ab6f
item_tex_disc_ps1.gim e06f4cbd07b81151d664343f3c025bb4
item_tex_disc_sacd.gim fefe99816bc4c87cf2095907165c27e0
item_tex_dlna_base.gim f1cfa98aa1c72ccd9de5b19bf1839dbc
item_tex_dlna_default.gim dc0f1d1cc2ddc6219317f0e2875b1f51
item_tex_FriendCardLROUND.gim e499fb88d489df1ad6241f7217d7521c
item_tex_FriendCardLSQUARE.gim 54dbf27e9d0fb7a0512a3b787b3bd5a8
item_tex_FriendCardR.gim 93232f046143331f5e7817459610ff65
item_tex_minisformat.gim fcccceac1499ce3ab83509f700220cfb
item_tex_ms_icon.gim 53e20e8fd1b89b5e9d45553f44c02e52
item_tex_neogeoformat.gim 1874bee745767494f99eebdfe66feada
item_tex_NewAvc.gim 1ed3295bbc7d8fe34dda0d4ec5d9ff01
item_tex_NewFriend.gim 969c788f72dd499979480e542ca1694d
item_tex_NewUser.gim 1c4241481516d5aa84e1a4839e8ced7f
item_tex_online_storage.gim aad85bc0e4ab8856dabd0e1698e70cd9
item_tex_pceformat.gim 19afbeeca78f6ad90ba9c3174538b622
item_tex_plain_folder.gim e4fda78024fd6d515eb7399b7255c66a
item_tex_Players.gim 69606a889a7cb385bba3fad64d8018cf
item_tex_Profile_Game.gim 785360aa16c4a11f8a6ef044096f5c94
item_tex_Profile_Highlight.gim 8a27e730ce7c9de51b89c2daa376e616
item_tex_Profile_LevelIcon.gim 52bdb37c60f04ac0795cb00468b0340f
item_tex_Profile_Onlines.gim e5f827eeb7f4e4a2514fa98ef8b88633
item_tex_ps12util.gim a7f7b8111c669a3f466ed954a06c7643
item_tex_ps1format.gim e075222470380d18203d159305bf200b
item_tex_ps1game_folder.gim f16e70489163030c01fb87dfea18f893
item_tex_ps1game_plain_folder.gim 2c43648ee3ea93a4a6b14eb73dcfd7fa
item_tex_ps2format.gim b240edf3e0820a8b6758f516f3fbc852
item_tex_ps2game_folder.gim ffaacba156b460a9fe7b1409982c9843
item_tex_ps3format.gim 704edb8dffb208dc38a25ab0ef5c5f6d
item_tex_ps3game_folder.gim f66902ef41b63004a35574b432852e36
item_tex_ps3logo.gim c57a2f4380457287135d9e1a4aa8ddc3
item_tex_ps3sd_folder.gim 69f88589aa308d2a6457e9af0c484128
item_tex_ps3util.gim 19f5649d77f92290ffecef0bdcf40b07
item_tex_ps4format.gim a1cd0055852cebc3f1a6e5c69a274c58
item_tex_pspemuformat.gim d7c3c3a0b4a2e9b550011e5a6bf4a4f0
item_tex_pspformat.gim 462de3742de18e0d86239cbd2592fd68
item_tex_pspgame_folder.gim 92b10f15762147e07d990911816ec16d
item_tex_psp_icon.gim 27dd6ce956ff9387b2361b3f25e1feeb
item_tex_psp_ms_icon.gim 0f04fc87a0f047deb29f11ccab5911c4
item_tex_ps_store.gim 80d8a36f781b02b0d1424caede234216
item_tex_sd_icon.gim c9784ebb121a36aedd837a08263edb91
item_tex_themeps3format.gim 93a8c4219f93cda3eb6fb2528f400eb4
item_tex_trophy.gim c7c6365fe38cb8d49e2d8050c026ae7a
item_tex_usb_connection.gim a592c4509eb47798d259ff86e4c3ce87
item_tex_vitaformat.gim a4f755eb6eaa9f267401262fafe6172b
item_tex_walkman.gim ded065b75d5087e32b9e72989211063d
music_tex_aac.gim 2104562a3d8a1b83199ad48b5b333c08
music_tex_album_default.gim eb075c7820f8ee4146cc36bbf612e329
music_tex_album_pic.gim 42ae0d02837bc761d1b9e7ba539b0613
music_tex_atrac.gim a7826903b5c52abda3a1dfad9548a09e
music_tex_cdda.gim 215b98f0435e6982df4bc680476f3ecc
music_tex_default.gim 2e7d24e7f856f2a25db09d3e3e3af02c
music_tex_dsf.gim 0818b7cfba405973c154a5e0c2e72e2f
music_tex_load.gim 8acd6ed7aeaa47c50b6d6d5c55d211ca
music_tex_load_shadow.gim d4291c1cca49a5269f251b8871488d5a
music_tex_m3u.gim 1787d4cf7d510c454b76a00da5dca7d9
music_tex_mp3.gim 2f7fb2d412c6b2070b4eca9129173d32
music_tex_pcm.gim be00d958c28a477b78d70f8aa05d339d
music_tex_sacd.gim fa42f41e0997d045a0463d9c5c04fc24
music_tex_wav.gim f51c66123f3e929ce6d1b5747554be0e
music_tex_wma.gim 4022518e5f1889d7f211bacba458c025
photo_tex_album_default.gim 73d905234e71027f4af0d932fcae1447
photo_tex_album_pic.gim 6567f63ad10a10d860e175be34da0ae0
photo_tex_default.gim e36af1b93edacd0d5b82ba2b8d8642ee
photo_tex_load.gim a5d903263543d8a44c7eb58d80570a8c
photo_tex_load_shadow.gim 39133351aae03d7e904a3994c3da7f88
ps3sd_tex_default.gim d203b318e78ccf9f266449ae0642e54c
ps3sd_tex_lock.gim 8e974b1251ff858b3c7d10c05e6fdf54
tex_1repeat_status.gim 6a30c4730ad4650d123b35c10b8106ad
tex_3D.gim e8002481876affde2b6688e715c7bac4
tex_aa_plane.gim 5b43e3f7d1580183aa7f78430539e916
tex_album_icon.gim 309050b758f622b51fc6517feb074f26
tex_arrow_anim.gim c98987696f68da5955d01237d5f2b8f5
tex_Avatar_Default.gim 9b783ad5bc53c390f9441f2038aad3d1
tex_avc.gim b520ed31e0aa9694fb9bc048636d4066
tex_bg_icon.gim 715122eb9477cf36f930e10af1f74bfe
tex_broken_icon.gim eaac8f40e6a69d294d2efafed9ef1c93
tex_button.gim 43aed4e6ac39c5bfa1b5bef1ccfd56fd
tex_button_focus.gim 0f743ef2549fdc57fba1c123fd018f09
tex_button_shadow.gim 04eef0afbb958739df54bb694000c180
tex_cannot_check.gim 2e10a9c913cf26eaf401eda3847367bc
tex_cannot_check_shadow.gim 1b5ea6061ea00a555150f377e56c6a5a
tex_check_ws.gim bbdb375f3099f6f95f391139cd314248
tex_cp_focus.gim 5b82aad6503f51546844c4e4a8ee6dc3
tex_cp_next.gim 979df78b85414616d733411b04023651
tex_cp_panel.gim c010ed5ed65f9424c26f6c4bb8a474e7
tex_cp_pause.gim 8cf8eadbc0556239ffdbf89b9676b66a
tex_cp_prev.gim 0d7fcf978caf58c9c97a5e4d475aabe2
tex_cp_repeat.gim 6fd35b2c2536a2de33b5e182ece9d591
tex_cp_shuffle.gim e54fd8b06455c5521889b19bc9131db3
tex_cp_stop.gim d2d093729b0003639a9f776669383e5e
tex_cp_volume.gim ca04a1ca0d06b0e626a9b9159a0fe51c
tex_divx.gim 7fb4608c91d62ecf04c38413dc315be3
tex_dl_dst_game.gim 775af81fb8e54bcdfabfaae6340330e4
tex_dl_dst_music.gim ac5efa8abe71f1843999ccf84d4d4efe
tex_dl_dst_photo.gim cb6bfa1398ebbd6d77bde23c00fb495c
tex_dl_dst_video.gim 01ecf571ab716dcd07e51b761cbf4aeb
tex_file_icon.gim e4443456bce50c10d97af259394bc545
tex_game.gim 5acac6f47a4ae0c397439de7d42a46cd
tex_game_shadow.gim 830e80868a4c65f4eae77f3c26249516
tex_go_bubu.gim 72c25584c5e631e40cd62421c8c2b6b1
tex_go_custom.gim a100e5c31348da8b51978c1ab096d4b6
tex_go_download.gim f7e61c39f23ec1d5612f82eee9529509
tex_go_game.gim df25cec6c357a2b6ac0db94b1fa5e344
tex_go_store.gim 790324e1bed9bc6315590914203842b0
tex_go_video.gim 252ffecabe3738e830931f31a07b33d9
tex_go_web.gim 6ecfa06ee0150e922a53b211274c8db3
tex_indi_AFK.gim f44c5327c0995ce8690c4d6b2a692fb1
tex_indi_Game.gim e400167013c58a803a101dc177f43262
tex_indi_Me.gim 6e5f288ae82a5071a4de3d5e11032fe4
tex_indi_Message.gim 4580d81d9c8d9620b130255f22a87ab8
tex_indi_NewRoom.gim f1ccb5ce9c8a5a593ed867ca275cf351
tex_indi_None.gim 6b46699c5620a995218da0de49f5d2c1
tex_indi_Sign_in.gim ec14b12557d5fab0860a3c92972f4115
tex_indi_Sign_out.gim fc5af9f2ae33cb1ab825c6800ca7159f
tex_infobar_aad_new.gim c1ecf08b4aab22a52b508e4b7aca4ec7
tex_infobar_aad_new_shadow.gim 52600eb49b0e95bac6448c5f723e9d07
tex_infobar_atrac_audio.gim 248469c50350d5e85631b08fcdcb4410
tex_infobar_atrac_audio_shadow.gim d1ea2dd46d5dc693d30c4d22b9d6e281
tex_infobar_cf.gim 6ac68c59716fd9a9baee21f247327799
tex_infobar_cf_shadow.gim daf3526ce4c5450f056ebef1c54eff71
tex_infobar_digital_camera.gim d0bb1292192f0a125b59255500e20f1f
tex_infobar_digital_camera_shadow.gim fc7dc8f40979a5e57903d1baf51910ef
tex_infobar_ms.gim 706c6b3d73ec2754f7663cd1321bac51
tex_infobar_ms_shadow.gim c227a093be0bdb538f3955e00181e730
tex_infobar_psp.gim b304497e3776a3a1d540f2ec1fd5d6ca
tex_infobar_psp_ms.gim caa6054db764e834f972e4b9e5c264fd
tex_infobar_psp_ms_shadow.gim 48cb0c08125f51efdca9fe5fc472a3f0
tex_infobar_psp_shadow.gim e6a5bbe63a3faf9517d6e87f19a661c0
tex_infobar_sd.gim 6e230f8f63a65e109cde9eb90a0ec7d0
tex_infobar_sd_shadow.gim 93ce517ea4b0ad65a5c8768f32f28251
tex_infobar_usb_device.gim dc4c33d85b35fa5d2ac4e9444bfa1910
tex_infobar_usb_device_shadow.gim eea064f12989f9a6468c102c0ffb0d16
tex_loading_icon.gim 4b69adaacfd74c4d1adc995250cd7a1e
tex_lock_icon.gim 6484eecfd7dfaa06d3b71cd32ef1183f
tex_Message_Parts_Clip.gim 7082a2eebec2c8d59f74481be5bd5468
tex_Message_Parts_Pin.gim 2a3f2de9e7497ce94b603c6b19072c40
tex_Message_Read.gim 411dd6491ee494a445030d0752f1e138
tex_Message_Sent.gim 944314dee2ea78b07d4264843c2a1933
tex_Message_Unread.gim 4f78bca5d0bde9338752293334edcd61
tex_mjpg.gim 66460c0774f2c1dacb08d1022217aa25
tex_mpg1.gim 0c39e881a8ab18c827e83fac0c593d85
tex_mpg2.gim 5cf3576dd2d67a22ffaabb4a00ae4901
tex_mpg4.gim 20ce3e22d250af61f90b956ef5324ba5
tex_multiangle.gim 720939eb16413f916fc9ccdd12ae1bdc
tex_music.gim 6408887761fef4334d6bb2b63067b197
tex_music_shadow.gim d78f2e6b783de6fa4862246abc306f86
tex_new_ws.gim 5b2695d9a58112480488373dc3a629f8
tex_next_status.gim c8c70b15bd5cad155f208e4be57bb4ce
tex_opt_obi.gim a66293ace3ca5f9e19665fbda9432761
tex_original.gim b37ef669643b3ba06a44d93bb0e2d45c
tex_pause_status.gim 7fb6418564340dab06bc0f602cc3b288
tex_photo.gim e59b52c4e198291177df25b812a0fa2f
tex_photo_shadow.gim f388f347890cdd541398d3e6e70cac37
tex_playing.gim 85deb25b347e39baa66fd9a940f7c625
tex_playing_shadow.gim 04fdf3dc5d06d36f2643210a8e8c5019
tex_playlist.gim c5f8c9bc922dee8fb059484c3b18048c
tex_playlist_arrow.gim dee77448c451cffb267b532db1bc094a
tex_play_status.gim 32ae1299011d1089dc5adf7abfccd12f
tex_prev_status.gim 27ffad8ee6819ef89f494eced42b0812
tex_psn.gim a185644a62e21fdd0f00e26a1fc49b3f
tex_psplus_icon.gim 33551303e20230debe5058d134a8816b
tex_ps_plus_invitation.gim e6b60db96fb9d78e0e9c576f830de42d
tex_repeat_status.gim 1d0646fcb7ed8b92dbfd5cf6c8fb7cab
tex_sb_base.gim e6e12a8fe741274153eb16ac5196c6f5
tex_sb_base_s.gim 5f5d874e29820f2fb1797f61acd55de1
tex_sb_slider.gim 4ddfac2812b0a70d5885b03e83495fbc
tex_searchb_status.gim e92aba34261014505035c3837aba769d
tex_searchf_status.gim de5dd54fbd3c8a22c2d2994a76f918e7
tex_shuffle_status.gim fd238f8a0a35155542b7b58b62449cd0
tex_Signing_In.gim c3566c0a780c49c5ce545d28ac1a9465
tex_Sign_In.gim 3d982b20569ab35abe164fb0f815fb6b
tex_Sign_Up.gim 28bb9a03d873354f0fa220a7a43e28ae
tex_speech_balloon.gim 2f7008ad2b8eda8aff7e5a4142917f71
tex_stop_status.gim eddd7c58cc6f3a4a6dc947c32eebc16f
tex_track_0.gim 1113077a318d8f3b94dcd85af62bcdc5
tex_track_1.gim d975aaf377c11a5675e9616736b74f64
tex_track_2.gim 6997f1fd338e8be73557657d5926f812
tex_track_3.gim 98f727303c60ca15f05f8f225a3f3810
tex_track_4.gim 8315249172f947e0797525fa79acfeba
tex_track_5.gim 3109cbd005c978ce2df971417245e665
tex_track_6.gim ab256a3e652db0ccb5893eec8b4eeb0c
tex_track_7.gim f499f7d80d1adfef2c719dcfedc51e93
tex_track_8.gim 7188fd6d092c754e58aa8774968b35d9
tex_track_9.gim 7d439d4567b93e5997bc60ce89819725
tex_track_base.gim a607fdbc5796467fb9fbcca565893b5b
tex_unknown_icon.gim 7f23e81483c8b10af8b2eb914069111e
tex_urgent_ws.gim 3b924cdce9d414756171ebc5a69bf7c9
tex_video.gim 4e9781de4279c7db1613a2ddfa9cafb9
tex_video_shadow.gim 0726e9b9d1c0050ae0c2ce75940c30a9
tex_welcome_focus.gim 6bf99e150c7f6b13e583af8890b66db7
tex_wmv.gim ef98e109b32c7de146996e09b274c41c
trophy128_tex_grade_bronze.gim bbfd7f38058aa6f99df7ffe2117867e6
trophy128_tex_grade_gold.gim e2074d430bdc179731d6bc9657a7529f
trophy128_tex_grade_hidden.gim cc07e9ab73fd0b89bdaa7673630705d2
trophy128_tex_grade_lock.gim 8551bfb6d740436022b38c5aa8f2a9bd
trophy128_tex_grade_platinum.gim 39ac101b31e37f5ede4e2c041cc7f4ef
trophy128_tex_grade_silver.gim 48aaba85fb63884ad7505632754434a1
trophy_tex_addon.gim 440c24013cf3df460c388dc2e60fe7a0
trophy_tex_capsule.gim b5da5aa41f8494887fffe6b0fdf6e458
trophy_tex_default.gim 68a3b44969d2f8a0eae0320feccc145f
trophy_tex_default2.gim 6f1e119d909ab4b5705f95270741cc68
trophy_tex_default3.gim b212df015b24ed5f11d86de0fa8aa541
trophy_tex_grade_bronze.gim 6605afef1c98d9f95053c090286d9be4
trophy_tex_grade_gold.gim 17eb9d712274e2d478368eb7ac7ba7c9
trophy_tex_grade_hidden.gim dafffa9404f2e29953450fd85ac0a1fd
trophy_tex_grade_platinum.gim 18e95c0bf1cc740ba923eede4e257e29
trophy_tex_grade_silver.gim fc90f9835a750b0855c06b3a1937432a
user_tex_load.gim 68e0c2823156be66ba16ef3eb272dbcb
user_tex_load_shadow.gim 4872fdf253641d8053efdfd132285c89
user_tex_login.gim 95eb82d134db1695463fc862e52132b3
video_tex_album_default.gim 18fc4f2a894049f4193716e31b39a2a5
video_tex_default.gim 76f189b1c8b7aa3fab215c6f135587c9
video_tex_load.gim 948a7e98d803ef12766d027dcb41e82e
video_tex_load_shadow.gim 01f9591a885d066ee7583f13e15e478c
video_tex_lock.gim d2cc6984d159bc9f6febd537d256175f
video_tex_rental.gim 833b462e3fdea0b6e13cc92528698596

new-list.md5 the same

if you need more information, then here is a simple bat:
Code:
@echo off
setlocal enabledelayedexpansion
set col=nhcolor
set h1=0x5c 0x4
set h2=0x60 0x4
set h3=0x10
for %%A in (*.gim) do (
for /f "usebackq" %%B in (`!pt!sfk hexdump -pure -nofile -rawname -offlen !h1! %%A`) do set hc1=%%B
for /f "usebackq" %%B in (`!pt!sfk hexdump -pure -nofile -rawname -offlen !h2! %%A`) do set hc2=%%B
set /a rez=0x!hc1!+0x!hc2!+!h3!
for %%i in ("%%A") do set size=%%~zi
IF !rez! LEQ !size! (
sfk partcopy %%A -quiet -allfrom -yes !rez! %%~nA.txt
sfk rep -quiet %%~nA.txt -bin /00/0D0A/ -yes
set /a c=0
set /a n+=1
echo !n!. %%~nxA
for /f "usebackq delims=" %%V in (%%~nA.txt) do (
set /a c+=1
if !c!==1 echo Source File: %%V|!col! 0A
if !c!==2 echo NameDefault: %%V|!col! 0A
if !c!==3 echo DateAndTime: %%V|!col! 0A
if !c!==4 set "cver=%%V" & echo Version GIM: %%V|!col! 0A
)
)
echo !cver! > %%~nA.txt
)
pause
 
Last edited:
No need to convert GIM2GIM.
What i explained about the dxt format being lossy is not an invention, wikipedia mentions it very explicitelly
https://en.wikipedia.org/wiki/S3_Texture_Compression
wikipedia said:
S3 Texture Compression (S3TC) (sometimes also called DXTn, DXTC, or BCn) is a group of related lossy texture compression algorithms
Gimconv.exe (used by rcomage) is performing that algorithm that recalculates the pixel data, but the resulting pixel data depends of the original pixel data. If the original pixel data is very simple (lets say, a little white arrow with a palete of only 5 colors) then it could happen that the pixel data is not modifyed in the GIM --> PNG ---> GIM conversion process with dxt settings

For an example everyone can try... take any image in good quality you have at hand (something with good definition or many colors, like a rainbow) and use gimconv.exe directly to convert it several times using dxt settings PNG ---> GIM ---> PNG ---> GIM ---> PNG ---> GIM ---> PNG ---> etc... (you can make a .bat to automate it) and then open the PNG images in a viewer and do a huge zoom in them to to compare how the pixels "degrades" in every dxt conversion (you are looking at the algorithm in action)

So... this presents 2 problems for your tool:
1) If you extract the dxt files as PNG and then you use them to convert them again to dxt in a later step the quality of that image decreases a bit, this doesnt matters if the user is going to replace it by a custom image... but think in it this way.. the original image in sony studios (in .tga) is the only with highest quality, but when they converted it to GIM using dxt format they degraded his quality a bit (first dxt conversion), if we extract it and convert again to GIM with the same settings (second dxt conversion) we are degrading it a bit again

2) It breaks the bruteforce procedures intended to identify the GIM settings... when i figured this procedures i hitted with 2 big problems... one was the footer i mentioned (fixed in your second version of the script), and the other was the lossy dxt conversions

Btw, the idea to solve this annoyances in the bruteforce process caused by the dxt lossy image formats by doing GIM---> GIM conversions directly (to preserve the pixel data) was zinga burga (who made rcomage), is a trick he was using to identify GIM settings ;)
That thread have a lot of info related to all this btw

http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=437695#pid437695
ZiNgA BuRgA said:
Note that GIM «> PNG conversion can be lossy. If you're trying to guess settings, it's better to use GimConv to convert GIM to GIM with your settings (eg "gimconv in.gim -o out.gim [settings]")
sandungas said:
Nice trick, i didnt imagined it and i was using a GIM--»PNG--»GIM conversion that works pretty fine if the original GIM was made by using format --image_format rgba8888
From 245 images that are inside explore_plugin_full.rco from PS3 4.70 firmware, around 200 passed this test (exact MD5 hash after rebuilding GIM--»PNG--»GIM)
The others are the problematic ones and as yoou say it seems related with the DXT conversions that are lossy, it seems is not posible to create a DXT exactly like the original
But by making a GIM--»GIM conversion the DXT is not modifyed, this allows for a perfect match after rebuilding, nice method, better than what i was doing

Im not trying to be a party breaker, but it could happen that your scripts works fine in some specific GIM files but eventually you will find others where it cant find the GIM settings
Right now the better way to check it is by making another bat to run all actions in all the GIM files from inside all the RCO files from 4.89... thats a good stress test


*The rco comparisons (original VS rebuilt) are not handy, because rcomage generates areas of paddings with variable sizes (a bit random, not following the rules of the original), is mentioned somewhere in the other forum or the rcomage readme.txt
 
Last edited:
What i explained about the dxt format being lossy is not an invention, wikipedia mentions it very explicitelly
https://en.wikipedia.org/wiki/S3_Texture_Compression

ok, let convert gim2gim.
What options for manual conversion of gim2gim, gim2png, png2gim need to be made to suit you? For example, let's take the files from explore_plugin_full.rco:
  • item_tex_cam_icon.gim, MD5: 41e46ea32523c7bf2fb59835f82d8a5d
  • item_tex_CardBallon.gim, MD5: 353aa0fe16a477d59912f1306e351fdd
Note: if you convert gim2gim without options, it reverses the bytes
 
Last edited:
Not sure what you mean but item_tex_cam_icon.gim should match with gimconv.exe option -ps3rgba8888 (lossless, highest quality available) and item_tex_CardBallon.gim with -ps3dxt5 (lossy)

If you mean the order of preference i would use in the bruteforce procedures... yeah thats the first 2 i would try... and after them you need to try with dx3 and dxt1 (in that order)
And if you want to optimize the times required to do the GIM bruteforce you should do the comparison after every "crafted" GIM
Lets say... in stadistics 90% of the GIM files inside the RCO files of the PS3 firmware are made with -ps3rgba8888 so try it first and incase of success "break" the "for" loop to dont check the other formats

If you run gimconv.exe without any option is going to use the endianess for PSP
All this options specific for PS3 was added by me in the gimconv.cfg file, and i added some more specific for PSP too because in my rcomage mod i kept the support both RCO formats... the most notable difference in between them is the endianess
 
Last edited:
Not sure what you mean but item_tex_cam_icon.gim should match with gimconv.exe option -ps3rgba8888 (lossless, highest quality available) and item_tex_CardBallon.gim with -ps3dxt5 (lossy)
Code:
GimConv.exe item_tex_cam_icon.gim -o item_tex_cam_icon2.gim -ps3rgba8888 --update_fileinfo on
GimConv.exe item_tex_cam_icon2.gim -o item_tex_cam_icon2.png -ps3rgba8888 --update_fileinfo on
GimConv.exe item_tex_cam_icon2.png -o item_tex_cam_icon3.gim -ps3rgba8888 --update_fileinfo on

result:
  • item_tex_cam_icon.gim 41e46ea32523c7bf2fb59835f82d8a5d
  • item_tex_cam_icon2.gim 41e46ea32523c7bf2fb59835f82d8a5d
  • item_tex_cam_icon3.gim cd415dc7b9cd592c7a485878d4acd0ba

The fact is that a simple conversion by such commands will not give the same md5. After converting to png and then back to gim, we will still get the differences in positions 0x17, 0x6ad7, and of course at the end of the file (since the converter already puts new data). So what result do we want to get?
 
I took the explore_plugin_full.rco file from OFW, took into account the options you specified, the md5 match of the gim files is 100%. If there is a need to consider other packaging options besides the type of compression?

Seems to me if you already have 100% matching md5s on all gims so it does not get much better than that. Nice work. Really not sure why @sandumgas is talking about problems, annoyances, party breaker etc. I guess you need to confirm it will work on all OFW gims really, even if some CUSTOM rco could cause issues that is not such a big deal if all OFW gims are ok.
 
Seems to me if you already have 100% matching md5s on all gims so it does not get much better than that. Nice work. Really not sure why @sandumgas is talking about problems, annoyances, party breaker etc. I guess you need to confirm it will work on all OFW gims really, even if some CUSTOM rco could cause issues that is not such a big deal if all OFW gims are ok.
It looks like I jumped to conclusions, because if you do not delete the original gim files, then the converter does not overwrite them. Although, to be honest, I had one goal - to correctly display on PS3. After the envelope using bat scripts, there are no display problems. I just wanted to take into account all the possible problems that I may not be aware of.
By the way, the additional information specified by the --update_fileinfo on option is generally not needed at all, it is already outside the image itself. In any case, with a new generation, there will already be a new date and time. I don't see any reason to cut this part from the original and replace it.
 
Last edited:
I see, yeah the date and time does not matter. It's more about the image data being accurate really. I have found before that using the wrong settings will load up ok and look ok, but loading can be slower, especially on ingame XMB.
 
Code:
GimConv.exe item_tex_cam_icon.gim -o item_tex_cam_icon2.gim -ps3rgba8888 --update_fileinfo on
GimConv.exe item_tex_cam_icon2.gim -o item_tex_cam_icon2.png -ps3rgba8888 --update_fileinfo on
GimConv.exe item_tex_cam_icon2.png -o item_tex_cam_icon3.gim -ps3rgba8888 --update_fileinfo on

result:
  • item_tex_cam_icon.gim 41e46ea32523c7bf2fb59835f82d8a5d
  • item_tex_cam_icon2.gim 41e46ea32523c7bf2fb59835f82d8a5d
  • item_tex_cam_icon3.gim cd415dc7b9cd592c7a485878d4acd0ba

The fact is that a simple conversion by such commands will not give the same md5. After converting to png and then back to gim, we will still get the differences in positions 0x17, 0x6ad7, and of course at the end of the file (since the converter already puts new data). So what result do we want to get?
You are not having a perfect match because the original file contains the info footer but i already told the solution, you can either choose one of this options:
1) Delete the footer in the original GIM and fix the header... then do a GIM to GIM conversion without the "update_fileinfo" option
2) Do the GIM to GIM conversion with the "update_fileinfo" option... then update the info in the custom GIM with the fileinfo from the original

Option 1 is easyer, without this you are not going to get a perfect MD5 match
 
Im going to try to explain it in a different way, the option "update_fileinfo" adds a footer at the most bottom of the GIM file with info from YOUR pc

Some of the official GIM files was made this way, and contains info from the sony developers team (user nick, date, original file name and extension, etc...), as example this is how it looks the footer of item_tex_cam_icon.gim
Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00006AE0  53 70 61 6E 61 2E 74 67 61 00 73 30 30 30 39 33  Spana.tga.s00093
00006AF0  37 00 53 75 6E 20 41 70 72 20 32 33 20 31 38 3A  7.Sun Apr 23 18:
00006B00  33 39 3A 34 38 20 32 30 30 36 00 47 69 6D 43 6F  39:48 2006.GimCo
00006B10  6E 76 20 31 2E 32 30 65 00 00 00 00              nv 1.20e....

If your goal is to get a perfect MD5 match you need to delete that in the original GIM... or create a GIM without it and "copypaste" the original footer on your custom GIM

In other words... the file item_tex_cam_icon3.gim cd415dc7b9cd592c7a485878d4acd0ba doesnt matches because contains info from YOUR pc (because you used the option "update_fileinfo" in the PNG->GIM conversion)

-----------------------------
item_tex_CardBallon.gim doesnt have a footer, so doesnt have this problem... but is dxt based, so the PNG->GIM conversion probably is not going to result in a GIM identical to the original
 
GimConv.exe item_tex_cam_icon.gim -o item_tex_cam_icon2.gim -ps3rgba8888 --update_fileinfo on
In this command the "update_fileinfo" option is preserving the footer i mentioned EXCEPT the gimconv.exe version, the original GIM was made with GimConv 1.20e (note the "e" version is very old, never was leaked, we dont have that specific version of gimconv.exe)

Im going to quote myself, is explained here https://www.psx-place.com/threads/research-rcomage-psdevwiki-mod.17958/#post-123800
Code:
gimconv.exe original.gim -o try2.gim -ps3rgba8888 --update_fileinfo on
This command is a variant of the previous, is used to identify GIM files that have an additional area at bottom named "fileinfo". This area contains info about who/when/how the GIM file was created, by using this command the fileinfo area from the "original.gim" is preserved and added to the output "try2.gim" allowing to create a GIM that matches exactly with the original (see *Notes* below)
At the end of the fileinfo area there is a text string with the name and version of the tool that generated the GIM (the tool name is always "GimConv", and the version uses to be "1.20e" but not always), this string inside the fileinfo area is updated when you do a GIM-to-GIM conversion
The problem is the only public GimConv.exe available is "GimConv 1.20h", so if the original RCO was made by "GimConv 1.20e" and you make a GIM-to-GIM conversion by using "GimConv 1.20h" the hash comparison (original GIM vs rebuild GIM) will not match because 1 byte of difference (e VS h)
This is why i included some patched versions of gimconv.exe that are able to generate a fileinfo identical to the original, are for general purpose and could be included in the bruteforce steps
In this case... you should use the Gimconv.exe i released that have a patch to generate the string "GimConv 1.20e" (to match the original GIM)

But you can use sfk.exe to "fix" it (instead of using my Gimconv.exe patched versions)

GimConv.exe item_tex_cam_icon2.gim -o item_tex_cam_icon2.png -ps3rgba8888 --update_fileinfo on
Here the option "update_fileinfo" is not doing anything because ithe PNG format doesnt stores the fileinfo
And the option "ps3rgba8888" is not doing anything either, the GIM to PNG conversions doesnt requires any special option

GimConv.exe item_tex_cam_icon2.png -o item_tex_cam_icon3.gim -ps3rgba8888 --update_fileinfo on
Here you are generating a new fileinfo with info from your PC, so the resulting GIM doesnt matches with the original GIM
 
Last edited:
No need to convert GIM2GIM.
We take the values from 0x5c, 0x60, add them up, add 0x10 and get to the beginning of the additional information for those files where it is. For those files where it is not, the file size will be smaller.
rco of course differs in md5 for me, but I wonder if it is necessary to take into account other packing features if the problem with gim is solved?

Code:
@echo off
setlocal enabledelayedexpansion
set pt=Rcomage\
set col=!pt!nhcolor
set tl=0x44 0x02
set hdr=0x0C 0x04
set h1=0x5c 0x4
set h2=0x60 0x4
set h3=0x10

start !pt!Wbusy "rco unpack" "Running unpack rco"  /marquee

for %%i in (rcofile\*.rco) do (
if not exist %%~pi%%~ni md %%~pi%%~ni
if not exist %%~pi%%~ni\txt md %%~pi%%~ni\txt
if not exist %%~pi%%~ni\img md %%~pi%%~ni\img
set ld=%%~dpi%%~ni
set ln=%%~ni
set /a n1=0
for /f "usebackq" %%h in (`!pt!sfk hexdump -pure -nofile -rawname -offlen !hdr! %%i`) do set hc=%%h
if !hc!==00000000 set opt=none
if !hc!==00000010 set opt=zlib
if !hc!==00000020 set opt=rlz
echo !opt! > !ld!\!ln!-conf.txt
!pt!rcomage.exe dump %%i !ld!.xml --RESDIR !ld! --text txt --images img
if exist !ld!\!ln!-list.txt del /Q !ld!\!ln!-list.txt

for /f "tokens=*" %%m in ('CertUtil -hashfile %%i MD5') do (
set /a n1+=1 && if !n1!==2 set hash=%%m && set MD5=!hash: =!
)
echo %%i !MD5! > %%i.md5

for %%f in (!ld!\img\*.gim) do (
echo check %%f
set /a rez=0
for /f "usebackq" %%a in (`!pt!sfk hexdump -pure -nofile -rawname -offlen !tl! %%f`) do set np=%%a
if !np!==0000 set opt=-ps3rgba5650
if !np!==0001 set opt=-ps3rgba5551
if !np!==0002 set opt=-ps3rgba4444
if !np!==0003 set opt=-ps3rgba8888
if !np!==0004 set opt=-ps3index4
if !np!==0005 set opt=-ps3index8
if !np!==0006 set opt=-ps3index16
if !np!==0007 set opt=-ps3index32
if !np!==0008 set opt=-ps3dxt1
if !np!==0009 set opt=-ps3dxt3
if !np!==000A set opt=-ps3dxt5
if !np!==0108 set opt=-ps3dxt1ext
if !np!==0109 set opt=-ps3dxt3ext
if !np!==010A set opt=-ps3dxt5ext
for /f "usebackq" %%j in (`!pt!sfk hexdump -pure -nofile -rawname -offlen !h1! %%f`) do set hc1=%%j
for /f "usebackq" %%g in (`!pt!sfk hexdump -pure -nofile -rawname -offlen !h2! %%f`) do set hc2=%%g
set /a rez=0x!hc1!+0x!hc2!+!h3!
for %%l in ("%%f") do set size=%%~zl
IF !rez! LEQ !size! (
!pt!sfk partcopy %%f -quiet -allfrom -yes !rez! !ld!\%%~nf.vtxt
!pt!sfk rep !ld!\%%~nf.vtxt -bin /00/0D0A/ -yes -quiet
set /a c=0
for /f "UseBackQ Delims=" %%V IN (!ld!\%%~nf.vtxt) do (
set /a c+=1
if !c!==4 set "cver=%%V"
)
echo !cver!> !ld!\%%~nf.vtxt
)
echo %%~nf !opt!>> !ld!\!ln!-list.txt
GimConv\GimConv.exe %%f -o !ld!\img\%%~nf.png
)
)
rem del /Q /S rcofile\*.gim

echo Finished. |!col! 0A
!pt!Wbusy "rco unpack" "Done" /Stop /sound /timeout:1

Code:
@echo off
setlocal enabledelayedexpansion
set pt=Rcomage\
set col=!pt!nhcolor

if not exist new_rco md new_rco
set nr=new_rco

start !pt!Wbusy "rco pack" "Running pack rco"  /marquee
for %%i in (rcofile\*.rco) do (
set /a n1=0
set xm=%%~dpi%%~ni
set rco=!nr!\%%~ni.rco
set ln=%%~ni

for /f "tokens=1,2" %%a in (!xm!\!ln!-list.txt) do (
if exist !xm!\%%a.vtxt (
for /f "tokens=1,2" %%c in (!xm!\%%a.vtxt) do (
set g1=%%c
if !g1!==GimConv (set g2=%%d
set g2=!g2:~4,1!
set "op=--update_fileinfo on"
)
)
) else (
set g2=e
set "op="
)
GimConv\GimConv!g2! !xm!\img\%%a.png -o !xm!\img\%%a.gim %%b !op!
)
echo Wait - compile |!col! 0A

for /f "tokens=1" %%h in (!xm!\!ln!-conf.txt) do (
!pt!rcomage.exe compile !xm!.xml !rco! --pack-hdr %%h
)

for /f "tokens=*" %%m in ('CertUtil -hashfile !rco! MD5') do (
set /a n1+=1 && if !n1!==2 set hash=%%m && set MD5=!hash: =!
)
echo !rco! !MD5! > !rco!.md5
)
!pt!Wbusy "rco pack" "Done" /Stop /sound /timeout:1

echo.
echo Finished. |!col! 0A
bddata_tex_album_default.gim 7d467cb53f90b03485c8ee94ec3cc08d
bddata_tex_default.gim da2764c9c09d83f52d086cbdf0f64ac4
bgdl_tex_error.gim ffec2acf20907fa0db892d4368bf32db
bgdl_tex_pause.gim 62862f8ac6b16240a3f42fd931d869af
bgdl_tex_preinstall.gim 4b8355e18fa07bf4ba4947a492ffaa7e
bgdl_tex_timelimit.gim 9c6c62474b104da52f20ecbe8b612afa
friend_tex_load.gim 338db40ae8f1a81daea99906244c369d
friend_tex_load_shadow.gim 6a26908ede1cc9d5040250cfd98291a5
game_tex_default.gim a5b04ebbfe90297903d503690ac53e9c
game_tex_default_ps2.gim 91cb17ea803c15d30ae1c49f20f7fcf4
game_tex_default_ps3.gim a5b04ebbfe90297903d503690ac53e9c
game_tex_disc_broken.gim a2d7d89215d171cefd08cbe7a93e0634
game_tex_disc_unknown.gim e7dcafd21b8ebfd8e9d5f8ad99a34b83
game_tex_load.gim 160a38a87d518f4d61020e6c0458a824
game_tex_load_shadow.gim 1f5d2940c5a22d15b38ac64f11183abf
item_tex_atrac_audio.gim 15e70085e9da70d0fc8aa8d192f4b88d
item_tex_cam_facebook.gim 90ac985673a12585cfb3b392c1bd7764
item_tex_cam_icon.gim 6d4917c717a5eb8a3092276e3dc5fa4a
item_tex_CardBallon.gim 7b26be77758b3a100163eeb6aef17b51
item_tex_cf_icon.gim e0596d86bc6cec21665a12df352c1fd1
item_tex_ChatRoom.gim 1ed3295bbc7d8fe34dda0d4ec5d9ff01
item_tex_ChatRoomText.gim 38beb58124d709745542a2572b6da51a
item_tex_digital_camera.gim e8cab095f7b2cfc6b2a7069c72ed96ae
item_tex_disc_bd.gim 96ee1086f8393ab5f318525a37bd2388
item_tex_disc_bd_contents.gim bb20497036c94b728f67f993ab4965a0
item_tex_disc_cd_ps2.gim 88a33a14a498a3af2e954e435f311426
item_tex_disc_dvd.gim 89e5c726075c86cecbfd3774e33c68de
item_tex_disc_icon.gim 56ea24fb43c7d5ae94dc370e71efa6df
item_tex_disc_install.gim d23038a4b86f6d419a11a3b5a6d2ab6f
item_tex_disc_ps1.gim e06f4cbd07b81151d664343f3c025bb4
item_tex_disc_sacd.gim fefe99816bc4c87cf2095907165c27e0
item_tex_dlna_base.gim f1cfa98aa1c72ccd9de5b19bf1839dbc
item_tex_dlna_default.gim dc0f1d1cc2ddc6219317f0e2875b1f51
item_tex_FriendCardLROUND.gim e499fb88d489df1ad6241f7217d7521c
item_tex_FriendCardLSQUARE.gim 54dbf27e9d0fb7a0512a3b787b3bd5a8
item_tex_FriendCardR.gim 93232f046143331f5e7817459610ff65
item_tex_minisformat.gim fcccceac1499ce3ab83509f700220cfb
item_tex_ms_icon.gim 53e20e8fd1b89b5e9d45553f44c02e52
item_tex_neogeoformat.gim 1874bee745767494f99eebdfe66feada
item_tex_NewAvc.gim 1ed3295bbc7d8fe34dda0d4ec5d9ff01
item_tex_NewFriend.gim 969c788f72dd499979480e542ca1694d
item_tex_NewUser.gim 1c4241481516d5aa84e1a4839e8ced7f
item_tex_online_storage.gim aad85bc0e4ab8856dabd0e1698e70cd9
item_tex_pceformat.gim 19afbeeca78f6ad90ba9c3174538b622
item_tex_plain_folder.gim e4fda78024fd6d515eb7399b7255c66a
item_tex_Players.gim 69606a889a7cb385bba3fad64d8018cf
item_tex_Profile_Game.gim 785360aa16c4a11f8a6ef044096f5c94
item_tex_Profile_Highlight.gim 8a27e730ce7c9de51b89c2daa376e616
item_tex_Profile_LevelIcon.gim 52bdb37c60f04ac0795cb00468b0340f
item_tex_Profile_Onlines.gim e5f827eeb7f4e4a2514fa98ef8b88633
item_tex_ps12util.gim a7f7b8111c669a3f466ed954a06c7643
item_tex_ps1format.gim e075222470380d18203d159305bf200b
item_tex_ps1game_folder.gim f16e70489163030c01fb87dfea18f893
item_tex_ps1game_plain_folder.gim 2c43648ee3ea93a4a6b14eb73dcfd7fa
item_tex_ps2format.gim b240edf3e0820a8b6758f516f3fbc852
item_tex_ps2game_folder.gim ffaacba156b460a9fe7b1409982c9843
item_tex_ps3format.gim 704edb8dffb208dc38a25ab0ef5c5f6d
item_tex_ps3game_folder.gim f66902ef41b63004a35574b432852e36
item_tex_ps3logo.gim c57a2f4380457287135d9e1a4aa8ddc3
item_tex_ps3sd_folder.gim 69f88589aa308d2a6457e9af0c484128
item_tex_ps3util.gim 19f5649d77f92290ffecef0bdcf40b07
item_tex_ps4format.gim a1cd0055852cebc3f1a6e5c69a274c58
item_tex_pspemuformat.gim d7c3c3a0b4a2e9b550011e5a6bf4a4f0
item_tex_pspformat.gim 462de3742de18e0d86239cbd2592fd68
item_tex_pspgame_folder.gim 92b10f15762147e07d990911816ec16d
item_tex_psp_icon.gim 27dd6ce956ff9387b2361b3f25e1feeb
item_tex_psp_ms_icon.gim 0f04fc87a0f047deb29f11ccab5911c4
item_tex_ps_store.gim 80d8a36f781b02b0d1424caede234216
item_tex_sd_icon.gim c9784ebb121a36aedd837a08263edb91
item_tex_themeps3format.gim 93a8c4219f93cda3eb6fb2528f400eb4
item_tex_trophy.gim c7c6365fe38cb8d49e2d8050c026ae7a
item_tex_usb_connection.gim a592c4509eb47798d259ff86e4c3ce87
item_tex_vitaformat.gim a4f755eb6eaa9f267401262fafe6172b
item_tex_walkman.gim ded065b75d5087e32b9e72989211063d
music_tex_aac.gim 2104562a3d8a1b83199ad48b5b333c08
music_tex_album_default.gim eb075c7820f8ee4146cc36bbf612e329
music_tex_album_pic.gim 42ae0d02837bc761d1b9e7ba539b0613
music_tex_atrac.gim a7826903b5c52abda3a1dfad9548a09e
music_tex_cdda.gim 215b98f0435e6982df4bc680476f3ecc
music_tex_default.gim 2e7d24e7f856f2a25db09d3e3e3af02c
music_tex_dsf.gim 0818b7cfba405973c154a5e0c2e72e2f
music_tex_load.gim 8acd6ed7aeaa47c50b6d6d5c55d211ca
music_tex_load_shadow.gim d4291c1cca49a5269f251b8871488d5a
music_tex_m3u.gim 1787d4cf7d510c454b76a00da5dca7d9
music_tex_mp3.gim 2f7fb2d412c6b2070b4eca9129173d32
music_tex_pcm.gim be00d958c28a477b78d70f8aa05d339d
music_tex_sacd.gim fa42f41e0997d045a0463d9c5c04fc24
music_tex_wav.gim f51c66123f3e929ce6d1b5747554be0e
music_tex_wma.gim 4022518e5f1889d7f211bacba458c025
photo_tex_album_default.gim 73d905234e71027f4af0d932fcae1447
photo_tex_album_pic.gim 6567f63ad10a10d860e175be34da0ae0
photo_tex_default.gim e36af1b93edacd0d5b82ba2b8d8642ee
photo_tex_load.gim a5d903263543d8a44c7eb58d80570a8c
photo_tex_load_shadow.gim 39133351aae03d7e904a3994c3da7f88
ps3sd_tex_default.gim d203b318e78ccf9f266449ae0642e54c
ps3sd_tex_lock.gim 8e974b1251ff858b3c7d10c05e6fdf54
tex_1repeat_status.gim 6a30c4730ad4650d123b35c10b8106ad
tex_3D.gim e8002481876affde2b6688e715c7bac4
tex_aa_plane.gim 5b43e3f7d1580183aa7f78430539e916
tex_album_icon.gim 309050b758f622b51fc6517feb074f26
tex_arrow_anim.gim c98987696f68da5955d01237d5f2b8f5
tex_Avatar_Default.gim 9b783ad5bc53c390f9441f2038aad3d1
tex_avc.gim b520ed31e0aa9694fb9bc048636d4066
tex_bg_icon.gim 715122eb9477cf36f930e10af1f74bfe
tex_broken_icon.gim eaac8f40e6a69d294d2efafed9ef1c93
tex_button.gim 43aed4e6ac39c5bfa1b5bef1ccfd56fd
tex_button_focus.gim 0f743ef2549fdc57fba1c123fd018f09
tex_button_shadow.gim 04eef0afbb958739df54bb694000c180
tex_cannot_check.gim 2e10a9c913cf26eaf401eda3847367bc
tex_cannot_check_shadow.gim 1b5ea6061ea00a555150f377e56c6a5a
tex_check_ws.gim bbdb375f3099f6f95f391139cd314248
tex_cp_focus.gim 5b82aad6503f51546844c4e4a8ee6dc3
tex_cp_next.gim 979df78b85414616d733411b04023651
tex_cp_panel.gim c010ed5ed65f9424c26f6c4bb8a474e7
tex_cp_pause.gim 8cf8eadbc0556239ffdbf89b9676b66a
tex_cp_prev.gim 0d7fcf978caf58c9c97a5e4d475aabe2
tex_cp_repeat.gim 6fd35b2c2536a2de33b5e182ece9d591
tex_cp_shuffle.gim e54fd8b06455c5521889b19bc9131db3
tex_cp_stop.gim d2d093729b0003639a9f776669383e5e
tex_cp_volume.gim ca04a1ca0d06b0e626a9b9159a0fe51c
tex_divx.gim 7fb4608c91d62ecf04c38413dc315be3
tex_dl_dst_game.gim 775af81fb8e54bcdfabfaae6340330e4
tex_dl_dst_music.gim ac5efa8abe71f1843999ccf84d4d4efe
tex_dl_dst_photo.gim cb6bfa1398ebbd6d77bde23c00fb495c
tex_dl_dst_video.gim 01ecf571ab716dcd07e51b761cbf4aeb
tex_file_icon.gim e4443456bce50c10d97af259394bc545
tex_game.gim 5acac6f47a4ae0c397439de7d42a46cd
tex_game_shadow.gim 830e80868a4c65f4eae77f3c26249516
tex_go_bubu.gim 72c25584c5e631e40cd62421c8c2b6b1
tex_go_custom.gim a100e5c31348da8b51978c1ab096d4b6
tex_go_download.gim f7e61c39f23ec1d5612f82eee9529509
tex_go_game.gim df25cec6c357a2b6ac0db94b1fa5e344
tex_go_store.gim 790324e1bed9bc6315590914203842b0
tex_go_video.gim 252ffecabe3738e830931f31a07b33d9
tex_go_web.gim 6ecfa06ee0150e922a53b211274c8db3
tex_indi_AFK.gim f44c5327c0995ce8690c4d6b2a692fb1
tex_indi_Game.gim e400167013c58a803a101dc177f43262
tex_indi_Me.gim 6e5f288ae82a5071a4de3d5e11032fe4
tex_indi_Message.gim 4580d81d9c8d9620b130255f22a87ab8
tex_indi_NewRoom.gim f1ccb5ce9c8a5a593ed867ca275cf351
tex_indi_None.gim 6b46699c5620a995218da0de49f5d2c1
tex_indi_Sign_in.gim ec14b12557d5fab0860a3c92972f4115
tex_indi_Sign_out.gim fc5af9f2ae33cb1ab825c6800ca7159f
tex_infobar_aad_new.gim c1ecf08b4aab22a52b508e4b7aca4ec7
tex_infobar_aad_new_shadow.gim 52600eb49b0e95bac6448c5f723e9d07
tex_infobar_atrac_audio.gim 248469c50350d5e85631b08fcdcb4410
tex_infobar_atrac_audio_shadow.gim d1ea2dd46d5dc693d30c4d22b9d6e281
tex_infobar_cf.gim 6ac68c59716fd9a9baee21f247327799
tex_infobar_cf_shadow.gim daf3526ce4c5450f056ebef1c54eff71
tex_infobar_digital_camera.gim d0bb1292192f0a125b59255500e20f1f
tex_infobar_digital_camera_shadow.gim fc7dc8f40979a5e57903d1baf51910ef
tex_infobar_ms.gim 706c6b3d73ec2754f7663cd1321bac51
tex_infobar_ms_shadow.gim c227a093be0bdb538f3955e00181e730
tex_infobar_psp.gim b304497e3776a3a1d540f2ec1fd5d6ca
tex_infobar_psp_ms.gim caa6054db764e834f972e4b9e5c264fd
tex_infobar_psp_ms_shadow.gim 48cb0c08125f51efdca9fe5fc472a3f0
tex_infobar_psp_shadow.gim e6a5bbe63a3faf9517d6e87f19a661c0
tex_infobar_sd.gim 6e230f8f63a65e109cde9eb90a0ec7d0
tex_infobar_sd_shadow.gim 93ce517ea4b0ad65a5c8768f32f28251
tex_infobar_usb_device.gim dc4c33d85b35fa5d2ac4e9444bfa1910
tex_infobar_usb_device_shadow.gim eea064f12989f9a6468c102c0ffb0d16
tex_loading_icon.gim 4b69adaacfd74c4d1adc995250cd7a1e
tex_lock_icon.gim 6484eecfd7dfaa06d3b71cd32ef1183f
tex_Message_Parts_Clip.gim 7082a2eebec2c8d59f74481be5bd5468
tex_Message_Parts_Pin.gim 2a3f2de9e7497ce94b603c6b19072c40
tex_Message_Read.gim 411dd6491ee494a445030d0752f1e138
tex_Message_Sent.gim 944314dee2ea78b07d4264843c2a1933
tex_Message_Unread.gim 4f78bca5d0bde9338752293334edcd61
tex_mjpg.gim 66460c0774f2c1dacb08d1022217aa25
tex_mpg1.gim 0c39e881a8ab18c827e83fac0c593d85
tex_mpg2.gim 5cf3576dd2d67a22ffaabb4a00ae4901
tex_mpg4.gim 20ce3e22d250af61f90b956ef5324ba5
tex_multiangle.gim 720939eb16413f916fc9ccdd12ae1bdc
tex_music.gim 6408887761fef4334d6bb2b63067b197
tex_music_shadow.gim d78f2e6b783de6fa4862246abc306f86
tex_new_ws.gim 5b2695d9a58112480488373dc3a629f8
tex_next_status.gim c8c70b15bd5cad155f208e4be57bb4ce
tex_opt_obi.gim a66293ace3ca5f9e19665fbda9432761
tex_original.gim b37ef669643b3ba06a44d93bb0e2d45c
tex_pause_status.gim 7fb6418564340dab06bc0f602cc3b288
tex_photo.gim e59b52c4e198291177df25b812a0fa2f
tex_photo_shadow.gim f388f347890cdd541398d3e6e70cac37
tex_playing.gim 85deb25b347e39baa66fd9a940f7c625
tex_playing_shadow.gim 04fdf3dc5d06d36f2643210a8e8c5019
tex_playlist.gim c5f8c9bc922dee8fb059484c3b18048c
tex_playlist_arrow.gim dee77448c451cffb267b532db1bc094a
tex_play_status.gim 32ae1299011d1089dc5adf7abfccd12f
tex_prev_status.gim 27ffad8ee6819ef89f494eced42b0812
tex_psn.gim a185644a62e21fdd0f00e26a1fc49b3f
tex_psplus_icon.gim 33551303e20230debe5058d134a8816b
tex_ps_plus_invitation.gim e6b60db96fb9d78e0e9c576f830de42d
tex_repeat_status.gim 1d0646fcb7ed8b92dbfd5cf6c8fb7cab
tex_sb_base.gim e6e12a8fe741274153eb16ac5196c6f5
tex_sb_base_s.gim 5f5d874e29820f2fb1797f61acd55de1
tex_sb_slider.gim 4ddfac2812b0a70d5885b03e83495fbc
tex_searchb_status.gim e92aba34261014505035c3837aba769d
tex_searchf_status.gim de5dd54fbd3c8a22c2d2994a76f918e7
tex_shuffle_status.gim fd238f8a0a35155542b7b58b62449cd0
tex_Signing_In.gim c3566c0a780c49c5ce545d28ac1a9465
tex_Sign_In.gim 3d982b20569ab35abe164fb0f815fb6b
tex_Sign_Up.gim 28bb9a03d873354f0fa220a7a43e28ae
tex_speech_balloon.gim 2f7008ad2b8eda8aff7e5a4142917f71
tex_stop_status.gim eddd7c58cc6f3a4a6dc947c32eebc16f
tex_track_0.gim 1113077a318d8f3b94dcd85af62bcdc5
tex_track_1.gim d975aaf377c11a5675e9616736b74f64
tex_track_2.gim 6997f1fd338e8be73557657d5926f812
tex_track_3.gim 98f727303c60ca15f05f8f225a3f3810
tex_track_4.gim 8315249172f947e0797525fa79acfeba
tex_track_5.gim 3109cbd005c978ce2df971417245e665
tex_track_6.gim ab256a3e652db0ccb5893eec8b4eeb0c
tex_track_7.gim f499f7d80d1adfef2c719dcfedc51e93
tex_track_8.gim 7188fd6d092c754e58aa8774968b35d9
tex_track_9.gim 7d439d4567b93e5997bc60ce89819725
tex_track_base.gim a607fdbc5796467fb9fbcca565893b5b
tex_unknown_icon.gim 7f23e81483c8b10af8b2eb914069111e
tex_urgent_ws.gim 3b924cdce9d414756171ebc5a69bf7c9
tex_video.gim 4e9781de4279c7db1613a2ddfa9cafb9
tex_video_shadow.gim 0726e9b9d1c0050ae0c2ce75940c30a9
tex_welcome_focus.gim 6bf99e150c7f6b13e583af8890b66db7
tex_wmv.gim ef98e109b32c7de146996e09b274c41c
trophy128_tex_grade_bronze.gim bbfd7f38058aa6f99df7ffe2117867e6
trophy128_tex_grade_gold.gim e2074d430bdc179731d6bc9657a7529f
trophy128_tex_grade_hidden.gim cc07e9ab73fd0b89bdaa7673630705d2
trophy128_tex_grade_lock.gim 8551bfb6d740436022b38c5aa8f2a9bd
trophy128_tex_grade_platinum.gim 39ac101b31e37f5ede4e2c041cc7f4ef
trophy128_tex_grade_silver.gim 48aaba85fb63884ad7505632754434a1
trophy_tex_addon.gim 440c24013cf3df460c388dc2e60fe7a0
trophy_tex_capsule.gim b5da5aa41f8494887fffe6b0fdf6e458
trophy_tex_default.gim 68a3b44969d2f8a0eae0320feccc145f
trophy_tex_default2.gim 6f1e119d909ab4b5705f95270741cc68
trophy_tex_default3.gim b212df015b24ed5f11d86de0fa8aa541
trophy_tex_grade_bronze.gim 6605afef1c98d9f95053c090286d9be4
trophy_tex_grade_gold.gim 17eb9d712274e2d478368eb7ac7ba7c9
trophy_tex_grade_hidden.gim dafffa9404f2e29953450fd85ac0a1fd
trophy_tex_grade_platinum.gim 18e95c0bf1cc740ba923eede4e257e29
trophy_tex_grade_silver.gim fc90f9835a750b0855c06b3a1937432a
user_tex_load.gim 68e0c2823156be66ba16ef3eb272dbcb
user_tex_load_shadow.gim 4872fdf253641d8053efdfd132285c89
user_tex_login.gim 95eb82d134db1695463fc862e52132b3
video_tex_album_default.gim 18fc4f2a894049f4193716e31b39a2a5
video_tex_default.gim 76f189b1c8b7aa3fab215c6f135587c9
video_tex_load.gim 948a7e98d803ef12766d027dcb41e82e
video_tex_load_shadow.gim 01f9591a885d066ee7583f13e15e478c
video_tex_lock.gim d2cc6984d159bc9f6febd537d256175f
video_tex_rental.gim 833b462e3fdea0b6e13cc92528698596

new-list.md5 the same

if you need more information, then here is a simple bat:
Code:
@echo off
setlocal enabledelayedexpansion
set col=nhcolor
set h1=0x5c 0x4
set h2=0x60 0x4
set h3=0x10
for %%A in (*.gim) do (
for /f "usebackq" %%B in (`!pt!sfk hexdump -pure -nofile -rawname -offlen !h1! %%A`) do set hc1=%%B
for /f "usebackq" %%B in (`!pt!sfk hexdump -pure -nofile -rawname -offlen !h2! %%A`) do set hc2=%%B
set /a rez=0x!hc1!+0x!hc2!+!h3!
for %%i in ("%%A") do set size=%%~zi
IF !rez! LEQ !size! (
sfk partcopy %%A -quiet -allfrom -yes !rez! %%~nA.txt
sfk rep -quiet %%~nA.txt -bin /00/0D0A/ -yes
set /a c=0
set /a n+=1
echo !n!. %%~nxA
for /f "usebackq delims=" %%V in (%%~nA.txt) do (
set /a c+=1
if !c!==1 echo Source File: %%V|!col! 0A
if !c!==2 echo NameDefault: %%V|!col! 0A
if !c!==3 echo DateAndTime: %%V|!col! 0A
if !c!==4 set "cver=%%V" & echo Version GIM: %%V|!col! 0A
)
)
echo !cver! > %%~nA.txt
)
pause


Can a batch decompile and compile be made?

So we just select the rcos we want, drag and drop in the program and it extracts them in their respective folders, then we can drag and drop the folders back to the program to generate the new rcos ?
 
@sandungas I'm trying to change the SONY logo to the PlayStation logo on the initial screen setup, but my logo is stretched as it is displayed at 480p. Do you know how can i get the right aspect ratio?

I attached the original sony logo and my new image, i just replaced the logo,
 

Attachments

  • tex_sony_logo_original.png
    tex_sony_logo_original.png
    4.7 KB · Views: 52
  • tex_sony_logo_new.png
    tex_sony_logo_new.png
    4.9 KB · Views: 50
@sandungas I'm trying to change the SONY logo to the PlayStation logo on the initial screen setup, but my logo is stretched as it is displayed at 480p. Do you know how can i get the right aspect ratio?

I attached the original sony logo and my new image, i just replaced the logo,

As @sandungas is absent, let's summon the best GUI developer/Graphics artist @Berion can you help me?
 
On RPCS3 It looks okay

edit: i edited the xRegistry to charge the value of the setup screen and It shows with the right aspect ratio as It renders at 1080p (Just to keep the FTP access) when the system is really restored the screen renders at 480p (4:3) , this is the problem i don't know how to scale the logo to that resolution and format
J3Lo1dD.png
 
Last edited:
Why? Original (?) Sony logo is on the same bitmap size and it is displaying fine, right?

The sony logo displays right only when outputing on 16:3 resolutions that are not the case when you reset the system, it starts at 480p (4:3) so my Sony logo gets distorced

Unfortunatelly i don't have a capture card to show you how it looks like
 

Similar threads

Back
Top