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

rcotool -A opening_plugin.rco
if exist opening_plugin.bak del opening_plugin.bak
ren opening_plugin.rco opening_plugin.bak
copy us_opening_plugin us_opening_plugin.rco



rcotool -r us_opening_plugin.rco mdl_00
rcotool -r us_opening_plugin.rco tex_glow                     
rcotool -r us_opening_plugin.rco tex_glow_A
rcotool -r us_opening_plugin.rco tex_glow_alpha               
rcotool -r us_opening_plugin.rco tex_glow_A_alpha
rcotool -r us_opening_plugin.rco tex_glow_A_image             
rcotool -r us_opening_plugin.rco tex_glow_B_buttom
rcotool -r us_opening_plugin.rco tex_glow_B_buttom_alpha       
rcotool -r us_opening_plugin.rco tex_glow_B_buttom_image
rcotool -r us_opening_plugin.rco tex_glow_B_mid               
rcotool -r us_opening_plugin.rco tex_glow_B_mid_alpha
rcotool -r us_opening_plugin.rco tex_glow_B_mid_image          
rcotool -r us_opening_plugin.rco tex_glow_B_top
rcotool -r us_opening_plugin.rco tex_glow_B_top_alpha          
rcotool -r us_opening_plugin.rco tex_glow_B_top_image
rcotool -r us_opening_plugin.rco tex_glow_image                
rcotool -r us_opening_plugin.rco tex_logo
rcotool -r us_opening_plugin.rco tex_logo_alpha                
rcotool -r us_opening_plugin.rco tex_logo_image
rcotool -r us_opening_plugin.rco tex_psp_logo                  
rcotool -r us_opening_plugin.rco tex_psp_logo_alpha
rcotool -r us_opening_plugin.rco tex_psp_logo_image
rcotool -r us_opening_plugin.rco snd_opening

if exist *.tga del *.tga
if exist *.gmo del *.gmo
if exist *.gim del *.gim
if exist *.bmp del *.bmp
if exist *.vag del *.vag
if exist us_opening_plugin.rco ren us_opening_plugin.rco opening_plugin.rco
