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

rcotool -A impose_plugin.rco
if exist impose_plugin.bak del impose_plugin.bak
ren impose_plugin.rco impose_plugin.bak
copy us_impose_plugin us_impose_plugin.rco

if not exist tex_square.* rcotool -D us_impose_plugin tex_speaker_lineout
if not exist tex_square_shadow.* rcotool -D us_impose_plugin tex_videoout


rcotool -r us_impose_plugin.rco tex_volume_dot
rcotool -r us_impose_plugin.rco tex_volume_bar
rcotool -r us_impose_plugin.rco tex_speaker_on
rcotool -r us_impose_plugin.rco tex_speaker_mute
rcotool -r us_impose_plugin.rco tex_avls
rcotool -r us_impose_plugin.rco tex_se_0
rcotool -r us_impose_plugin.rco tex_se_1
rcotool -r us_impose_plugin.rco tex_se_2
rcotool -r us_impose_plugin.rco tex_se_3
rcotool -r us_impose_plugin.rco tex_se_4
rcotool -r us_impose_plugin.rco tex_rmreg_bg
rcotool -r us_impose_plugin.rco tex_rmreg_text_1
rcotool -r us_impose_plugin.rco tex_rmreg_text_2
rcotool -r us_impose_plugin.rco tex_rmreg_text_3
rcotool -r us_impose_plugin.rco tex_rmreg_text_4
rcotool -r us_impose_plugin.rco tex_rmreg_text_5
rcotool -r us_impose_plugin.rco tex_rmreg_text_6
rcotool -r us_impose_plugin.rco tex_rmreg_text_7
rcotool -r us_impose_plugin.rco tex_rmreg_text_8
rcotool -r us_impose_plugin.rco tex_rmreg_text_9
rcotool -r us_impose_plugin.rco tex_rmreg_text_10
rcotool -r us_impose_plugin.rco tex_rmreg_text_11
rcotool -r us_impose_plugin.rco tex_rmreg_text_12
rcotool -r us_impose_plugin.rco tex_info_bg
rcotool -r us_impose_plugin.rco tex_info_text_1
rcotool -r us_impose_plugin.rco tex_info_text_2
rcotool -r us_impose_plugin.rco tex_info_text_3
rcotool -r us_impose_plugin.rco tex_info_text_4
rcotool -r us_impose_plugin.rco tex_info_text_5
rcotool -r us_impose_plugin.rco tex_info_text_6
rcotool -r us_impose_plugin.rco tex_info_text_7
rcotool -r us_impose_plugin.rco tex_info_text_8
rcotool -r us_impose_plugin.rco tex_info_text_9
rcotool -r us_impose_plugin.rco tex_info_text_10
rcotool -r us_impose_plugin.rco tex_info_text_11
rcotool -r us_impose_plugin.rco tex_info_text_12
rcotool -r us_impose_plugin.rco tex_battery_low
rcotool -r us_impose_plugin.rco tex_speaker_lineout
rcotool -r us_impose_plugin.rco tex_videoout

if exist *.bmp del *.bmp
if exist *.gim del *.gim
if exist us_impose_plugin.rco ren us_impose_plugin.rco impose_plugin.rco
