@echo off
title Music_Main_Plugin Upgrader by SchmilK with thanks to nicinico
color 0A

rcotool -A music_main_plugin.rco
if exist music_main_plugin.bak del music_main_plugin.bak
ren music_main_plugin.rco music_main_plugin.bak
copy us_music_main_plugin us_music_main_plugin.rco

rcotool -r us_music_main_plugin.rco music_tex_0
rcotool -r us_music_main_plugin.rco music_tex_0_shadow
rcotool -r us_music_main_plugin.rco music_tex_1
rcotool -r us_music_main_plugin.rco music_tex_1_shadow
rcotool -r us_music_main_plugin.rco music_tex_2
rcotool -r us_music_main_plugin.rco music_tex_2_shadow
rcotool -r us_music_main_plugin.rco music_tex_3
rcotool -r us_music_main_plugin.rco music_tex_3_shadow
rcotool -r us_music_main_plugin.rco music_tex_4
rcotool -r us_music_main_plugin.rco music_tex_4_shadow
rcotool -r us_music_main_plugin.rco music_tex_5
rcotool -r us_music_main_plugin.rco music_tex_5_shadow
rcotool -r us_music_main_plugin.rco music_tex_6
rcotool -r us_music_main_plugin.rco music_tex_6_shadow
rcotool -r us_music_main_plugin.rco music_tex_7
rcotool -r us_music_main_plugin.rco music_tex_7_shadow
rcotool -r us_music_main_plugin.rco music_tex_8
rcotool -r us_music_main_plugin.rco music_tex_8_shadow
rcotool -r us_music_main_plugin.rco music_tex_9
rcotool -r us_music_main_plugin.rco music_tex_9_shadow
rcotool -r us_music_main_plugin.rco music_tex_atrac
rcotool -r us_music_main_plugin.rco music_tex_132k
rcotool -r us_music_main_plugin.rco music_tex_64k
rcotool -r us_music_main_plugin.rco music_tex_256k
rcotool -r us_music_main_plugin.rco music_tex_pcm
rcotool -r us_music_main_plugin.rco music_tex_pcm_1.4m
rcotool -r us_music_main_plugin.rco music_tex_mp3
rcotool -r us_music_main_plugin.rco music_tex_aac
rcotool -r us_music_main_plugin.rco music_tex_wma
rcotool -r us_music_main_plugin.rco music_tex_codec_shadow
rcotool -r us_music_main_plugin.rco music_tex_codec_music_mp3
rcotool -r us_music_main_plugin.rco music_tex_codec_music_aac
rcotool -r us_music_main_plugin.rco music_tex_codec_music_codec_shadow
rcotool -r us_music_main_plugin.rco music_tex_codec_video
rcotool -r us_music_main_plugin.rco music_tex_codec_photo
rcotool -r us_music_main_plugin.rco music_tex_codec_video_photo_shadow
rcotool -r us_music_main_plugin.rco music_tex_box
rcotool -r us_music_main_plugin.rco music_tex_box_shadow
rcotool -r us_music_main_plugin.rco music_tex_check
rcotool -r us_music_main_plugin.rco music_tex_check_shadow
rcotool -r us_music_main_plugin.rco music_tex_track
rcotool -r us_music_main_plugin.rco music_tex_track_back
rcotool -r us_music_main_plugin.rco music_tex_track_focus
rcotool -r us_music_main_plugin.rco music_tex_track_shadow
rcotool -r us_music_main_plugin.rco music_tex_item
rcotool -r us_music_main_plugin.rco music_tex_load
rcotool -r us_music_main_plugin.rco music_tex_load_focus
rcotool -r us_music_main_plugin.rco music_tex_load_shadow
rcotool -r us_music_main_plugin.rco music_tex_thumb_default
rcotool -r us_music_main_plugin.rco music_tex_load_channel
rcotool -r us_music_main_plugin.rco music_tex_load_channel_focus
rcotool -r us_music_main_plugin.rco music_tex_load_channel_shadow
rcotool -r us_music_main_plugin.rco music_tex_thumb_default_channel
rcotool -r us_music_main_plugin.rco music_tex_channel_guide
rcotool -r us_music_main_plugin.rco music_tex_channel_guide_focus
rcotool -r us_music_main_plugin.rco music_tex_channel_guide_shadow
rcotool -r us_music_main_plugin.rco music_tex_album_m3u
rcotool -r us_music_main_plugin.rco music_tex_album
rcotool -r us_music_main_plugin.rco music_tex_album_focus
rcotool -r us_music_main_plugin.rco music_tex_album_shadow
rcotool -r us_music_main_plugin.rco music_tex_album_music
rcotool -r us_music_main_plugin.rco music_tex_broken
rcotool -r us_music_main_plugin.rco music_tex_broken_focus
rcotool -r us_music_main_plugin.rco music_tex_broken_shadow
rcotool -r us_music_main_plugin.rco music_tex_unknown
rcotool -r us_music_main_plugin.rco music_tex_unknown_focus
rcotool -r us_music_main_plugin.rco music_tex_unknown_shadow
rcotool -r us_music_main_plugin.rco music_tex_image_focus
rcotool -r us_music_main_plugin.rco music_tex_image_shadow
rcotool -r us_music_main_plugin.rco music_tex_line
rcotool -r us_music_main_plugin.rco music_tex_line_shadow
rcotool -r us_music_main_plugin.rco music_tex_arrow
rcotool -r us_music_main_plugin.rco music_tex_arrow_shadow
rcotool -r us_music_main_plugin.rco music_tex_arrow_l
rcotool -r us_music_main_plugin.rco music_tex_arrow_l_shadow
rcotool -r us_music_main_plugin.rco music_tex_arrow_r
rcotool -r us_music_main_plugin.rco music_tex_arrow_r_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_a
rcotool -r us_music_main_plugin.rco music_tex_icon_a_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_b
rcotool -r us_music_main_plugin.rco music_tex_icon_b_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_repeat
rcotool -r us_music_main_plugin.rco music_tex_icon_repeat_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_shuf
rcotool -r us_music_main_plugin.rco music_tex_icon_shuf_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_prev_group
rcotool -r us_music_main_plugin.rco music_tex_icon_prev_group_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_prev_group_focus
rcotool -r us_music_main_plugin.rco music_tex_icon_next_group
rcotool -r us_music_main_plugin.rco music_tex_icon_next_group_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_next_group_focus
rcotool -r us_music_main_plugin.rco music_tex_icon_prev
rcotool -r us_music_main_plugin.rco music_tex_icon_prev_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_prev_focus
rcotool -r us_music_main_plugin.rco music_tex_icon_next
rcotool -r us_music_main_plugin.rco music_tex_icon_next_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_next_focus
rcotool -r us_music_main_plugin.rco music_tex_icon_search_b
rcotool -r us_music_main_plugin.rco music_tex_icon_search_b_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_search_b_focus
rcotool -r us_music_main_plugin.rco music_tex_icon_search_f
rcotool -r us_music_main_plugin.rco music_tex_icon_search_f_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_search_f_focus
rcotool -r us_music_main_plugin.rco music_tex_icon_search_b1
rcotool -r us_music_main_plugin.rco music_tex_icon_search_b1_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_search_b2
rcotool -r us_music_main_plugin.rco music_tex_icon_search_b2_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_search_b3
rcotool -r us_music_main_plugin.rco music_tex_icon_search_b3_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_search_f1
rcotool -r us_music_main_plugin.rco music_tex_icon_search_f1_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_search_f2
rcotool -r us_music_main_plugin.rco music_tex_icon_search_f2_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_search_f3
rcotool -r us_music_main_plugin.rco music_tex_icon_search_f3_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_play
rcotool -r us_music_main_plugin.rco music_tex_icon_play_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_play_focus
rcotool -r us_music_main_plugin.rco music_tex_icon_pause
rcotool -r us_music_main_plugin.rco music_tex_icon_pause_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_pause_focus
rcotool -r us_music_main_plugin.rco music_tex_icon_stop
rcotool -r us_music_main_plugin.rco music_tex_icon_stop_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_stop_focus
rcotool -r us_music_main_plugin.rco music_tex_icon_group
rcotool -r us_music_main_plugin.rco music_tex_icon_group_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_group_focus
rcotool -r us_music_main_plugin.rco music_tex_icon_ab
rcotool -r us_music_main_plugin.rco music_tex_icon_ab_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_ab_focus
rcotool -r us_music_main_plugin.rco music_tex_icon_pmode
rcotool -r us_music_main_plugin.rco music_tex_icon_pmode_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_pmode_focus
rcotool -r us_music_main_plugin.rco music_tex_icon_clear
rcotool -r us_music_main_plugin.rco music_tex_icon_clear_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_clear_focus
rcotool -r us_music_main_plugin.rco music_tex_icon_display
rcotool -r us_music_main_plugin.rco music_tex_icon_display_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_display_focus
rcotool -r us_music_main_plugin.rco music_tex_icon_help
rcotool -r us_music_main_plugin.rco music_tex_icon_help_shadow
rcotool -r us_music_main_plugin.rco music_tex_icon_help_focus
rcotool -r us_music_main_plugin.rco music_tex_bar_music
rcotool -r us_music_main_plugin.rco music_tex_bar_help
rcotool -r us_music_main_plugin.rco music_tex_help_psp
rcotool -r us_music_main_plugin.rco music_tex_help_psp_shadow
rcotool -r us_music_main_plugin.rco music_tex_help_guide_1
rcotool -r us_music_main_plugin.rco music_tex_help_guide_1_shadow
rcotool -r us_music_main_plugin.rco music_tex_help_guide_2
rcotool -r us_music_main_plugin.rco music_tex_help_guide_2_shadow
rcotool -r us_music_main_plugin.rco music_tex_help_guide_4
rcotool -r us_music_main_plugin.rco music_tex_help_guide_4_shadow
rcotool -r us_music_main_plugin.rco music_tex_help_guide_5
rcotool -r us_music_main_plugin.rco music_tex_help_guide_5_shadow
rcotool -r us_music_main_plugin.rco music_tex_help_guide_6
rcotool -r us_music_main_plugin.rco music_tex_help_guide_6_shadow
rcotool -r us_music_main_plugin.rco music_tex_help_guide_7
rcotool -r us_music_main_plugin.rco music_tex_help_guide_7_shadow
rcotool -r us_music_main_plugin.rco music_tex_help_guide_8
rcotool -r us_music_main_plugin.rco music_tex_help_guide_8_shadow
rcotool -r us_music_main_plugin.rco music_tex_help_guide_11
rcotool -r us_music_main_plugin.rco music_tex_help_guide_11_shadow
rcotool -r us_music_main_plugin.rco music_tex_bar_side_1
rcotool -r us_music_main_plugin.rco music_tex_bar_side_2
rcotool -r us_music_main_plugin.rco music_tex_visualplayer
rcotool -r us_music_main_plugin.rco music_tex_visualplayer_shadow
rcotool -r us_music_main_plugin.rco music_tex_visualplayer_focus
rcotool -r us_music_main_plugin.rco music_tex_vismenu_frame


if exist *.bmp del *.bmp
if exist *.gim del *.gim
if exist us_music_main_plugin.rco ren us_music_main_plugin.rco music_main_plugin.rco
