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

rcotool -A system_plugin.rco
if exist system_plugin.bak del system_plugin.bak
ren system_plugin.rco system_plugin.bak
copy us_system_plugin us_system_plugin.rco

rcotool -r us_system_plugin.rco tex_3x3_focus
rcotool -r us_system_plugin.rco tex_3x3_shadow
rcotool -r us_system_plugin.rco tex_arrow_down
rcotool -r us_system_plugin.rco tex_arrow_down_shadow
rcotool -r us_system_plugin.rco tex_arrow_left
rcotool -r us_system_plugin.rco tex_arrow_left_shadow
rcotool -r us_system_plugin.rco tex_arrow_right
rcotool -r us_system_plugin.rco tex_arrow_right_shadow
rcotool -r us_system_plugin.rco tex_arrow_up
rcotool -r us_system_plugin.rco tex_arrow_up_shadow
rcotool -r us_system_plugin.rco tex_default_game_icon
rcotool -r us_system_plugin.rco tex_default_music_icon
rcotool -r us_system_plugin.rco tex_default_progress_base
rcotool -r us_system_plugin.rco tex_default_progress_base_shadow
rcotool -r us_system_plugin.rco tex_default_progress_slider
rcotool -r us_system_plugin.rco tex_default_scroll_arrow_down
rcotool -r us_system_plugin.rco tex_default_scroll_arrow_down_shadow
rcotool -r us_system_plugin.rco tex_default_scroll_arrow_up
rcotool -r us_system_plugin.rco tex_default_scroll_arrow_up_shadow
rcotool -r us_system_plugin.rco tex_default_scroll_base
rcotool -r us_system_plugin.rco tex_default_scroll_base_shadow
rcotool -r us_system_plugin.rco tex_default_scroll_slider
rcotool -r us_system_plugin.rco tex_default_spin_arrow_down
rcotool -r us_system_plugin.rco tex_default_spin_arrow_down_shadow
rcotool -r us_system_plugin.rco tex_default_spin_arrow_up
rcotool -r us_system_plugin.rco tex_default_spin_arrow_up_shadow
rcotool -r us_system_plugin.rco tex_default_text_focus
rcotool -r us_system_plugin.rco tex_default_video_icon
rcotool -r us_system_plugin.rco tex_line
rcotool -r us_system_plugin.rco tex_line_shadow
rcotool -r us_system_plugin.rco tex_optionmenu_base
rcotool -r us_system_plugin.rco tex_playing
rcotool -r us_system_plugin.rco tex_playing_shadow
rcotool -r us_system_plugin.rco tex_temporary_icon
rcotool -r us_system_plugin.rco snd_cursor
rcotool -r us_system_plugin.rco snd_decide
rcotool -r us_system_plugin.rco snd_cancel
rcotool -r us_system_plugin.rco snd_category_decide
rcotool -r us_system_plugin.rco snd_option
rcotool -r us_system_plugin.rco snd_error
rcotool -r us_system_plugin.rco snd_system_ok
rcotool -r us_system_plugin.rco snd_system_ng

if exist *.bmp del *.bmp
if exist *.gim del *.gim
if exist *.vag del *.vag
if exist us_system_plugin.rco ren us_system_plugin.rco system_plugin.rco
