Le code entier :
--- Rapid Flash par zouzzz ---System.usbDiskModeActivate()background = Image.load("background.png")cool = Sound.load("cool.wav")function delay(seconds) time=seconds*60 for i=1, time do screen.waitVblankStart() endend function cp(src, dest) io.input(src) io.output(dest) local size = 2^13 while true do local block = io.read(size) if not block then break end io.write(block) end io.input():close() io.output():close()end screen:blit(0, 0, background, 0, 0, background:width(), background:height(), false)System.Unassign("flash0:" )System.Assign("flash0:", "lflash0:0,0", "flashfat0:")-- dumpsrc = "flash0:/vsh/resource/sysconf_plugin.rco"dest = "ms0:/dump/sysconf_plugin.rco" cp(src, dest)screen:print(00,20,"Sauvegarde du fichier actuel dans dossier Dump",Color.new(200,0,0))screen.flip()delay(1)--flashSystem.writeFile("ms0:/topmenu_plugin.rco","flash0:/vsh/resource/sysconf_plugin.rco","yes")screen:blit(0, 0, background, 0, 0, background:width(), background:height(), false)screen:print(00,40,"Flash OK!",Color.new(200,0,0))screen. flip()delay(1)screen:blit(0, 0, background, 0, 0, background:width(), background:height(), false)screen:print(00,50,"Fermeture de l'application en cours...",Color.new(200,0,0))cool:play()screen.flip()delay(1)System.Quit()
A vérifier... je ne promets rien.