Problème téléchargement de fichier

adrien1975 - 22 déc. 2012 à 20:35
cs_Julien39 Messages postés 6414 Date d'inscription mardi 8 mars 2005 Statut Modérateur Dernière intervention 29 juillet 2020 - 2 janv. 2013 à 08:52
Bonjour,

Voila j'ai créer un petit logiciel pour télécharger mais il y a un problème il m'affiche ça :

Téléchargement de https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/bin/natives/jinput-dx8.dll dans C:\Users\Adrien\AppData\Roaming\.minecraft\bin\natives\jinput-dx8.dll
java.io.FileNotFoundException: C:\Users\Adrien\AppData\Roaming\.minecraft\bin\natives\jinput-dx8.dll (Le chemin d'accès spécifié est introuvable)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at fr.adrien11997755.stylecraft.Updater.download(Updater.java:717)
at fr.adrien11997755.stylecraft.Updater.Download(Updater.java:25)
at fr.adrien11997755.stylecraft.Updater.main(Updater.java:19)
Exception in thread "main" java.lang.NullPointerException
at fr.adrien11997755.stylecraft.Updater.download(Updater.java:739)
at fr.adrien11997755.stylecraft.Updater.Download(Updater.java:25)
at fr.adrien11997755.stylecraft.Updater.main(Updater.java:19)



Voilà mon code :

package fr.adrien11997755.stylecraft;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;

public class Updater {

private static String getMinecraftDir = System.getenv("APPDATA") + "/.minecraft/";

public static void main(String[] args)
{
Updater updater = new Updater();
updater.Download();
}

public void Download()
{
new UpdaterFrame();
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/bin/natives/jinput-dx8.dll", new File(getMinecraftDir + "bin/natives/jinput-dx8.dll"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/bin/natives/jinput-dx8_64.dll", new File(getMinecraftDir + "bin/natives/jinput-dx8_64.dll"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/bin/natives/jinput-raw.dll", new File(getMinecraftDir + "bin/natives/jinput-raw.dll"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/bin/natives/jinput-raw_64.dll", new File(getMinecraftDir + "bin/natives/jinput-raw_64.dll"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/bin/natives/lwjgl.dll", new File(getMinecraftDir + "bin/natives/lwjgl.dll"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/bin/natives/lwjgl64.dll", new File(getMinecraftDir + "bin/natives/lwjgl64.dll"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/bin/natives/OpenAL32.dll", new File(getMinecraftDir + "bin/natives/OpenAL32.dll"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/bin/natives/OpenAL64.dll", new File(getMinecraftDir + "bin/natives/OpenAL64.dll"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/bin/jinput.jar", new File(getMinecraftDir + "bin/jinput.jar"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/bin/lwjgl.jar", new File(getMinecraftDir + "bin/lwjgl.jar"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/bin/lwjgl_util.jar", new File(getMinecraftDir + "bin/lwjgl_util.jar"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/bin/minecraft.jar", new File(getMinecraftDir + "bin/minecraft.jar"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/bin/version", new File(getMinecraftDir + "bin/version"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/bin/Version.txt", new File(getMinecraftDir + "bin/Version.txt"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/bin/WorldEdit.jar", new File(getMinecraftDir + "bin/WorldEdit.jar"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/buildcraft/config/AdditionalPipes.cfg", new File(getMinecraftDir + "buildcraft/config/AdditionalPipes.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/buildcraft/config/buildcraft.cfg", new File(getMinecraftDir + "buildcraft/config/buildcraft.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/railcraft/language.cfg", new File(getMinecraftDir + "config/railcraft/language.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/railcraft/liquid_filters.cfg", new File(getMinecraftDir + "config/railcraft/liquid_filters.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/railcraft/modules.cfg", new File(getMinecraftDir + "config/railcraft/modules.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/railcraft/railcraft.cfg", new File(getMinecraftDir + "config/railcraft/railcraft.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/ccSensors.config", new File(getMinecraftDir + "config/ccSensors.config"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/CCTurtle.cfg", new File(getMinecraftDir + "config/CCTurtle.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/ComputerCraft.cfg", new File(getMinecraftDir + "config/ComputerCraft.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/CraftingTableIII.cfg", new File(getMinecraftDir + "config/CraftingTableIII.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/EnderStorage.cfg", new File(getMinecraftDir + "config/EnderStorage.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/forgeChunkLoading.cfg", new File(getMinecraftDir + "config/forgeChunkLoading.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/IC2.cfg", new File(getMinecraftDir + "config/IC2.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/IC2.lang", new File(getMinecraftDir + "config/IC2.lang"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/IC2AdvancedMachine.cfg", new File(getMinecraftDir + "config/IC2AdvancedMachine.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/IC2ChargingBench.cfg", new File(getMinecraftDir + "config/IC2ChargingBench.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/IC2CompactSolars.cfg", new File(getMinecraftDir + "config/IC2CompactSolars.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/IC2NuclearControl.cfg", new File(getMinecraftDir + "config/IC2NuclearControl.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/IC2NuclearControl.lang", new File(getMinecraftDir + "config/IC2NuclearControl.lang"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/immibis.cfg", new File(getMinecraftDir + "config/immibis.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/InvTweaks.cfg", new File(getMinecraftDir + "config/InvTweaks.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/InvTweaksRules.txt", new File(getMinecraftDir + "config/InvTweaksRules.txt"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/InvTweaksTree.txt", new File(getMinecraftDir + "config/InvTweaksTree.txt"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/IronChest.cfg", new File(getMinecraftDir + "config/IronChest.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/mod_CCTurtle.cfg", new File(getMinecraftDir + "config/mod_CCTurtle.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/mod_ComputerCraft.cfg", new File(getMinecraftDir + "config/mod_ComputerCraft.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/mod_InvTweaks.cfg.bak", new File(getMinecraftDir + "config/mod_InvTweaks.cfg.bak"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/mod_MinecraftForge.cfg", new File(getMinecraftDir + "config/mod_MinecraftForge.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/mod_ReiMinimap.cfg.bak", new File(getMinecraftDir + "config/mod_ReiMinimap.cfg.bak"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/mod_SpiderQueen.cfg", new File(getMinecraftDir + "config/mod_SpiderQueen.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/mod_Uranium.cfg.bak", new File(getMinecraftDir + "config/mod_Uranium.cfg.bak"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/mod_YAH.cfg", new File(getMinecraftDir + "config/mod_YAH.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/ModLoader.cfg", new File(getMinecraftDir + "config/ModLoader.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/ModularForceFieldSystem.cfg", new File(getMinecraftDir + "config/ModularForceFieldSystem.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/NEI.cfg", new File(getMinecraftDir + "config/NEI.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/NEISubset.cfg", new File(getMinecraftDir + "config/NEISubset.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/NetherOres.cfg", new File(getMinecraftDir + "config/NetherOres.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/PowerConverters.cfg", new File(getMinecraftDir + "config/PowerConverters.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/config/WirelessRedstone.cfg", new File(getMinecraftDir + "config/WirelessRedstone.cfg"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/lib/argo-2.25.jar", new File(getMinecraftDir + "lib/argo-2.25.jar"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/lib/asm-all-4.0.jar", new File(getMinecraftDir + "lib/asm-all-4.0.jar"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/lib/guava-12.0.1.jar", new File(getMinecraftDir + "lib/guava-12.0.1.jar"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/matmos_expansions_r7/DO_NOT_RENAME_THAT_FOLDER", new File(getMinecraftDir + "matmos_expansions_r7/DO_NOT_RENAME_THAT_FOLDER"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/matmos_expansions_r7/earthlies_database.xrl", new File(getMinecraftDir + "matmos_expansions_r7/earthlies_database.xrl"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/matmos_expansions_r7/interactions_environments.xrl", new File(getMinecraftDir + "matmos_expansions_r7/interactions_environments.xrl"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/matmos_expansions_r7/interactions_extras.xrl", new File(getMinecraftDir + "matmos_expansions_r7/interactions_extras.xrl"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/matmos_internal/storage/earthlies_database.xrl.xmlo", new File(getMinecraftDir + "matmos_internal/storage/earthlies_database.xrl.xmlo"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/matmos_internal/storage/interactions_environments.xrl.xmlo", new File(getMinecraftDir + "matmos_internal/storage/interactions_environments.xrl.xmlo"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/matmos_internal/storage/interactions_extras.xrl", new File(getMinecraftDir + "matmos_internal/storage/interactions_extras.xrl.xmlo"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ccSensors/api/sensorsAPI.lua", new File(getMinecraftDir + "mods/ccSensors/api/sensorsAPI.lua"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ccSensors/api/sensorsData.lua", new File(getMinecraftDir + "mods/ccSensors/api/sensorsData.lua"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ccSensors/api/sensorsUI.lua", new File(getMinecraftDir + "mods/ccSensors/api/sensorsUI.lua"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ccSensors/help/help.txt", new File(getMinecraftDir + "mods/ccSensors/help/help.txt"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ccSensors/help/sensorsCards.txt", new File(getMinecraftDir + "mods/ccSensors/help/sensorsCards.txt"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ccSensors/lua/console", new File(getMinecraftDir + "mods/ccSensors/lua/console"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ccSensors/lua/console_OLD", new File(getMinecraftDir + "mods/ccSensors/lua/console_OLD"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ccSensors/lua/dash_bcengine", new File(getMinecraftDir + "mods/ccSensors/lua/dash_bcengine"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ccSensors/lua/dash_multiEngine", new File(getMinecraftDir + "mods/ccSensors/lua/dash_multiEngine"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ccSensors/lua/dash_reactor", new File(getMinecraftDir + "mods/ccSensors/lua/dash_reactor"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ccSensors/lua/getProbes", new File(getMinecraftDir + "mods/ccSensors/lua/getProbes"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ccSensors/lua/getReading", new File(getMinecraftDir + "mods/ccSensors/lua/getReading"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ccSensors/lua/getSensors", new File(getMinecraftDir + "mods/ccSensors/lua/getSensors"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ccSensors/lua/getTargets", new File(getMinecraftDir + "mods/ccSensors/lua/getTargets"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ccSensors/lua/test4", new File(getMinecraftDir + "mods/ccSensors/lua/test4"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ccSensors/help.txt", new File(getMinecraftDir + "mods/ccSensors/help.txt"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/rei_minimap/keyconfig.txt", new File(getMinecraftDir + "mods/rei_minimap/keyconfig.txt"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/%5B1.2.5%5DReiMinimap_v3.2_04.zip", new File(getMinecraftDir + "mods"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/AdvancedMachines_4.0_client.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/buildcraft-client-A-core-2.2.14.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/buildcraft-client-B-builders-2.2.14.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/buildcraft-client-B-energy-2.2.14.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/buildcraft-client-B-factory-2.2.14.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/buildcraft-client-B-transport-2.2.14.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/buildcraft-client-DA-additionalpipes-2.1.3.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ccSensors-client-MC125-B017pr1.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ComputerCraft1.41.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/ComputerCraft1.42.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/EE2ClientV1.4.6.5.jar", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/EnderStorage-Client%201.1.3.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/IC2NuclearControl_client_v1.1.10b.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/immibis-core_49.1.1_for_1.2.5-client.jar", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/industrialcraft-2-client_1.103.jar", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/InvTweaks-1.41b-1.2.4.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/MAtmos_packaged.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/mffs_rev7_for_1.2.5-client.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/mod_chargingbench-client-1.95b-1.2.5-r1.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/mod_compactsolars-client-2.3.2.10.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/mod_ironchests-client-3.8.0.40.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/NEI_RailCraftPlugin%201.2.2.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/NEI_RedPowerPlugin%201.2.2.3.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/NetherOres_Client_1.2.1.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/PowerConverters_Client_1.3.4.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/Railcraft_Client_5.4.7b.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/RedPowerControl-2.0pr5b2.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/RedPowerCore-2.0pr5b2.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/RedPowerLighting-2.0pr5b2.zip", new File(getMinecraftDir + "mods/"));
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/mods/weaponmod/weaponmod.properties", new File(getMinecraftDir + "mods/weaponmod/weaponmod.properties"));
downloadsuite();

}

public void downloadsuite()
{
vd("mods/RedPowerLogic-2.0pr5b2.zip");
vd("mods/RedPowerMachine-2.0pr5b2.zip");
vd("mods/RedPowerWiring-2.0pr5b2.zip");
vd("mods/RedPowerWorld-2.0pr5b2.zip");
vd("mods/tubestuff_49.1.2_for_1.2.5-client.jar");
vd("mods/uranium.properties");
vd("mods/WeaponMod.zip");
vd("mods/WR-CBE Addons-Client 1.2.2.3.zip");
vd("mods/WR-CBE Core-Client 1.2.2.3.zip");
vd("mods/WR-CBE RedPower-Client 1.2.2.1.zip");
vd("mods/zdimensional-anchor_rev3.2_for_1.2.5-client.jar");
vd("redpower/redpower.cfg");
vd("redpower/redpower.lang");
vd("resources/mod/sound/mob/ant1.ogg");
vd("resources/mod/sound/mob/ant2.ogg");
vd("resources/mod/sound/mob/ant3.ogg");
vd("resources/mod/sound/mob/ant4.ogg");
vd("resources/mod/sound/mob/antdeath.ogg");
vd("resources/mod/sound/mod/anthurt.ogg");
vd("resources/mod/sound/random/hhurt.ogg");
vd("resources/mod/sound/random/hurt.ogg");
vd("resources/mod/sound/bee1.wav");
vd("resources/mod/sound/bee2.wav");
vd("resources/mod/sound/bee3.wav");
vd("resources/mod/sound/bee4.wav");
vd("resources/mod/sound/beedeath.wav");
vd("resources/mod/sound/beehurt.wav");
vd("resources/mod/sound/FMan1.wav");
vd("resources/mod/sound/FMan2.wav");
vd("resources/mod/sound/FMan3.wav");
vd("resources/mod/sound/FMan4.wav");
vd("resources/mod/sound/FMandie.wav");
vd("resources/mod/sound/FManhurt.wav");
vd("resources/mod/sound/Octoball.wav");
vd("resources/mod/sound/Octohurt.wav");
vd("resources/mod/sound/Octoidle.wav");
vd("resources/mod/sound/Pumpkindie.wav");
vd("resources/mod/sound/Pumpkinhurt.wav");
vd("resources/mod/sound/Pumpkindle1.wav");
vd("resources/mod/sound/Pumpkindle2.wav");
vd("resources/mod/sound/Pumpkindle3.wav");
vd("resources/mod/sound/Vine.wav");
vd("resources/music/calm1.ogg");
vd("resources/music/calm2.ogg");
vd("resources/music/calm3.ogg");
vd("resources/newmusic/ha1.ogg");
vd("resources/newmusic/ha2.ogg");
vd("resources/newmusic/ha3.ogg");
vd("resources/newmusic/ha4.ogg");
vd("resources/newmusic/nuance1.ogg");
vd("resources/newmusic/nuance2.ogg");
vd("resources/newmusic/piano1.ogg");
vd("resources/newmusic/piano2.ogg");
vd("resources/newmusic/piano3.ogg");
vd("resources/newsound/");
vd("resources/pe/humble.png");
vd("resources/sound/step/grass1.ogg");
vd("resources/sound/step/grass2.ogg");
vd("resources/sound/step/grass3.ogg");
vd("resources/sound/step/grass4.ogg");
vd("resources/sound/step/gravel1.ogg");
vd("resources/sound/step/gravel2.ogg");
vd("resources/sound/step/gravel3.ogg");
vd("resources/sound/step/gravel4.ogg");
vd("resources/sound/step/stone1.ogg");
vd("resources/sound/step/stone2.ogg");
vd("resources/sound/step/stone3.ogg");
vd("resources/sound/step/stone4.ogg");
vd("resources/sound/step/wood1.ogg");
vd("resources/sound/step/wood2.ogg");
vd("resources/sound/step/wood3.ogg");
vd("resources/sound/step/wood4.ogg");
vd("resources/sound3/ambient/cave/cave1.ogg");
vd("resources/sound3/ambient/cave/cave2.ogg");
vd("resources/sound3/ambient/cave/cave3.ogg");
vd("resources/sound3/ambient/cave/cave4.ogg");
vd("resources/sound3/ambient/cave/cave5.ogg");
vd("resources/sound3/ambient/cave/cave6.ogg");
vd("resources/sound3/ambient/cave/cave7.ogg");
vd("resources/sound3/ambient/cave/cave8.ogg");
vd("resources/sound3/ambient/cave/cave9.ogg");
vd("resources/sound3/ambient/cave/cave10.ogg");
vd("resources/sound3/ambient/cave/cave11.ogg");
vd("resources/sound3/ambient/cave/cave12.ogg");
vd("resources/sound3/ambient/cave/cave13.ogg");
vd("resources/sound3/ambient/weather/rain1.ogg");
vd("resources/sound3/ambient/weather/rain2.ogg");
vd("resources/sound3/ambient/weather/rain3.ogg");
vd("resources/sound3/ambient/weather/rain4.ogg");
vd("resources/sound3/ambient/weather/thunder1.ogg");
vd("resources/sound3/ambient/weather/thunder2.ogg");
vd("resources/sound3/ambient/weather/thunder3.ogg");
vd("resources/sound3/damage/fallbig.ogg");
vd("resources/sound3/damage/fallsmall.ogg");
vd("resources/sound3/damage/hit1.ogg");
vd("resources/sound3/damage/hit2.ogg");
vd("resources/sound3/damage/hit3.ogg");
vd("resources/sound3/dig/cloth1.ogg");
vd("resources/sound3/dig/cloth2.ogg");
vd("resources/sound3/dig/cloth3.ogg");
vd("resources/sound3/dig/cloth4.ogg");
vd("resources/sound3/dig/grass1.ogg");
vd("resources/sound3/dig/grass2.ogg");
vd("resources/sound3/dig/grass3.ogg");
vd("resources/sound3/dig/grass4.ogg");
vd("resources/sound3/dig/gravel1.ogg");
vd("resources/sound3/dig/gravel2.ogg");
vd("resources/sound3/dig/gravel3.ogg");
vd("resources/sound3/dig/gravel4.ogg");
vd("resources/sound3/dig/sand1.ogg");
vd("resources/sound3/dig/sand2.ogg");
vd("resources/sound3/dig/sand3.ogg");
vd("resources/sound3/dig/sand4.ogg");
vd("resources/sound3/dig/snow1.ogg");
vd("resources/sound3/dig/snow2.ogg");
vd("resources/sound3/dig/snow3.ogg");
vd("resources/sound3/dig/snow4.ogg");
vd("resources/sound3/dig/stone1.ogg");
vd("resources/sound3/dig/stone2.ogg");
vd("resources/sound3/dig/stone3.ogg");
vd("resources/sound3/dig/stone4.ogg");
vd("resources/sound3/dig/wood1.ogg");
vd("resources/sound3/dig/wood2.ogg");
vd("resources/sound3/dig/wood3.ogg");
vd("resources/sound3/dig/wood4.ogg");
vd("resources/sound3/fire/fire.ogg");
vd("resources/sound3/fire/ignite.ogg");
vd("resources/sound3/fireworks/blast_far1.ogg");
vd("resources/sound3/fireworks/blast1.ogg");
vd("resources/sound3/fireworks/largeBlast_far1.ogg");
vd("resources/sound3/fireworks/largeBlast1.ogg");
vd("resources/sound3/fireworks/launch1.ogg");
vd("resources/sound3/fireworks/twinkle_far1.ogg");
vd("resources/sound3/fireworks/twinkle1.ogg");
vd("resources/sound3/liquid/lava.ogg");
vd("resources/sound3/liquid/lavapop.ogg");
vd("resources/sound3/liquid/splash.ogg");
vd("resources/sound3/liquid/splash2.ogg");
vd("resources/sound3/liquid/swim1.ogg");
vd("resources/sound3/liquid/swim2.ogg");
vd("resources/sound3/liquid/swim3.ogg");
vd("resources/sound3/liquid/swim4.ogg");
vd("resources/sound3/liquid/water.ogg");
vd("resources/sound3/minecart/base.ogg");
vd("resources/sound3/minecart/inside.ogg");
vd("resources/sound3/mob/bat/death.ogg");
vd("resources/sound3/mob/bat/hurt1.ogg");
vd("resources/sound3/mob/bat/hurt2.ogg");
vd("resources/sound3/mob/bat/hurt3.ogg");
vd("resources/sound3/mob/bat/hurt4.ogg");
vd("resources/sound3/mob/bat/idle1.ogg");
vd("resources/sound3/mob/bat/idle2.ogg");
vd("resources/sound3/mob/bat/idle3.ogg");
vd("resources/sound3/mob/bat/idle4.ogg");
vd("resources/sound3/mob/bat/loop.ogg");
vd("resources/sound3/mob/bat/takeoff.ogg");
vd("resources/sound3/mob/blaze/breathe1.ogg");
vd("resources/sound3/mob/blaze/breathe2.ogg");
vd("resources/sound3/mob/blaze/breathe3.ogg");
vd("resources/sound3/mob/blaze/breathe4.ogg");
vd("resources/sound3/mob/blaze/death.ogg");
vd("resources/sound3/mob/blaze/hit1.ogg");
vd("resources/sound3/mob/blaze/hit2.ogg");
vd("resources/sound3/mob/blaze/hit3.ogg");
vd("resources/sound3/mob/blaze/hit4.ogg");
vd("resources/sound3/mob/cat/hiss1.ogg");
vd("resources/sound3/mob/cat/hiss2.ogg");
vd("resources/sound3/mob/cat/hiss3.ogg");
vd("resources/sound3/mob/cat/hitt1.ogg");
vd("resources/sound3/mob/cat/hitt2.ogg");
vd("resources/sound3/mob/cat/hitt3.ogg");
vd("resources/sound3/mob/cat/meow1.ogg");
vd("resources/sound3/mob/cat/meow2.ogg");
vd("resources/sound3/mob/cat/meow3.ogg");
vd("resources/sound3/mob/cat/meow4.ogg");
vd("resources/sound3/mob/cat/purr1.ogg");
vd("resources/sound3/mob/cat/purr2.ogg");
vd("resources/sound3/mob/cat/purr3.ogg");
vd("resources/sound3/mob/cat/purreow1.ogg");
vd("resources/sound3/mob/cat/purreow2.ogg");
vd("resources/sound3/mob/chicken/hurt1.ogg");
vd("resources/sound3/mob/chicken/hurt2.ogg");
vd("resources/sound3/mob/chicken/plop.ogg");
vd("resources/sound3/mob/chicken/say1.ogg");
vd("resources/sound3/mob/chicken/say2.ogg");
vd("resources/sound3/mob/chicken/say3.ogg");
vd("resources/sound3/mob/chicken/step1.ogg");
vd("resources/sound3/mob/chicken/step2.ogg");
vd("resources/sound3/mob/cow/hurt1.ogg");
vd("resources/sound3/mob/cow/hurt2.ogg");
vd("resources/sound3/mob/cow/hurt3.ogg");
vd("resources/sound3/mob/cow/say1.ogg");
vd("resources/sound3/mob/cow/say2.ogg");
vd("resources/sound3/mob/cow/say3.ogg");
vd("resources/sound3/mob/cow/say4.ogg");
vd("resources/sound3/mob/cow/step1.ogg");
vd("resources/sound3/mob/cow/step2.ogg");
vd("resources/sound3/mob/cow/step3.ogg");
vd("resources/sound3/mob/cow/step4.ogg");
vd("recources/sound3/mob/creeper/death.ogg");
vd("recources/sound3/mob/creeper/say1.ogg");
vd("recources/sound3/mob/creeper/say2.ogg");
vd("recources/sound3/mob/creeper/say3.ogg");
vd("recources/sound3/mob/creeper/say4.ogg");
vd("recources/sound3/mob/enderdragon/end.ogg");
vd("recources/sound3/mob/enderdragon/growl1.ogg");
vd("recources/sound3/mob/enderdragon/growl2.ogg");
vd("recources/sound3/mob/enderdragon/growl3.ogg");
vd("recources/sound3/mob/enderdragon/growl4.ogg");
vd("recources/sound3/mob/enderdragon/hit1.ogg");
vd("recources/sound3/mob/enderdragon/hit2.ogg");
vd("recources/sound3/mob/enderdragon/hit3.ogg");
vd("recources/sound3/mob/enderdragon/hit4.ogg");
vd("recources/sound3/mob/enderdragon/wrings1.ogg");
vd("recources/sound3/mob/enderdragon/wrings2.ogg");
vd("recources/sound3/mob/enderdragon/wrings3.ogg");
vd("recources/sound3/mob/enderdragon/wrings4.ogg");
vd("recources/sound3/mob/enderdragon/wrings5.ogg");
vd("recources/sound3/mob/enderdragon/wrings6.ogg");
vd("recources/sound3/mob/endermen/death.ogg");
vd("recources/sound3/mob/endermen/hit1.ogg");
vd("recources/sound3/mob/endermen/hit2.ogg");
vd("recources/sound3/mob/endermen/hit3.ogg");
vd("recources/sound3/mob/endermen/hit4.ogg");
vd("recources/sound3/mob/endermen/idle1.ogg");
vd("recources/sound3/mob/endermen/idle2.ogg");
vd("recources/sound3/mob/endermen/idle3.ogg");
vd("recources/sound3/mob/endermen/idle4.ogg");
vd("recources/sound3/mob/endermen/idle5.ogg");
vd("recources/sound3/mob/endermen/portal1.ogg");
vd("recources/sound3/mob/endermen/portal2.ogg");
vd("recources/sound3/mob/endermen/scream1.ogg");
vd("recources/sound3/mob/endermen/scream2.ogg");
vd("recources/sound3/mob/endermen/scream3.ogg");
vd("recources/sound3/mob/endermen/scream4.ogg");
vd("recources/sound3/mob/endermen/stare.ogg");
vd("recources/sound3/mob/ghast/affectionate scream.ogg");
vd("recources/sound3/mob/ghast/charge.ogg");
vd("recources/sound3/mob/ghast/death.ogg");
vd("recources/sound3/mob/ghast/fireball4.ogg");
vd("recources/sound3/mob/ghast/moan1.ogg");
vd("recources/sound3/mob/ghast/moan2.ogg");
vd("recources/sound3/mob/ghast/moan3.ogg");
vd("recources/sound3/mob/ghast/moan4.ogg");
vd("recources/sound3/mob/ghast/moan5.ogg");
vd("recources/sound3/mob/ghast/moan6.ogg");
vd("recources/sound3/mob/ghast/moan7.ogg");
vd("recources/sound3/mob/ghast/scream1.ogg");
vd("recources/sound3/mob/ghast/scream2.ogg");
vd("recources/sound3/mob/ghast/scream3.ogg");
vd("recources/sound3/mob/ghast/scream4.ogg");
vd("recources/sound3/mob/ghast/scream5.ogg");
vd("recources/sound3/mob/irongolem/death.ogg");
vd("recources/sound3/mob/irongolem/hit1.ogg");
vd("recources/sound3/mob/irongolem/hit2.ogg");
vd("recources/sound3/mob/irongolem/hit3.ogg");
vd("recources/sound3/mob/irongolem/hit4.ogg");
vd("recources/sound3/mob/irongolem/throw.ogg");
vd("recources/sound3/mob/irongolem/walk1.ogg");
vd("recources/sound3/mob/irongolem/walk2.ogg");
vd("recources/sound3/mob/irongolem/walk3.ogg");
vd("recources/sound3/mob/irongolem/walk4.ogg");
vd("recources/sound3/mob/magmacube/big.ogg");
vd("recources/sound3/mob/magmacube/big2.ogg");
vd("recources/sound3/mob/magmacube/big3.ogg");
vd("recources/sound3/mob/magmacube/big4.ogg");
vd("recources/sound3/mob/magmacube/jump1.ogg");
vd("recources/sound3/mob/magmacube/jump2.ogg");
vd("recources/sound3/mob/magmacube/jump3.ogg");
vd("recources/sound3/mob/magmacube/jump4.ogg");
vd("recources/sound3/mob/magmacube/small1.ogg");
vd("recources/sound3/mob/magmacube/small2.ogg");
vd("recources/sound3/mob/magmacube/small3.ogg");
vd("recources/sound3/mob/magmacube/small4.ogg");
vd("recources/sound3/mob/magmacube/small5.ogg");
vd("recources/sound3/mob/pig/death.ogg");
vd("recources/sound3/mob/pig/say1.ogg");
vd("recources/sound3/mob/pig/say2.ogg");
vd("recources/sound3/mob/pig/say3.ogg");
vd("recources/sound3/mob/pig/step1.ogg");
vd("recources/sound3/mob/pig/step2.ogg");
vd("recources/sound3/mob/pig/step3.ogg");
vd("recources/sound3/mob/pig/step4.ogg");
vd("recources/sound3/mob/pig/step5.ogg");
vd("recources/sound3/mob/sheep/say1.ogg");
vd("recources/sound3/mob/sheep/say2.ogg");
vd("recources/sound3/mob/sheep/say3.ogg");
vd("recources/sound3/mob/sheep/shear.ogg");
vd("recources/sound3/mob/sheep/step1.ogg");
vd("recources/sound3/mob/sheep/step2.ogg");
vd("recources/sound3/mob/sheep/step3.ogg");
vd("recources/sound3/mob/sheep/step4.ogg");
vd("recources/sound3/mob/sheep/step5.ogg");
vd("recources/sound3/mob/silverfish/hit1.ogg");
vd("recources/sound3/mob/silverfish/hit2.ogg");
vd("recources/sound3/mob/silverfish/hit3.ogg");
vd("recources/sound3/mob/silverfish/kill.ogg");
vd("recources/sound3/mob/silverfish/say1.ogg");
vd("recources/sound3/mob/silverfish/say2.ogg");
vd("recources/sound3/mob/silverfish/say3.ogg");
vd("recources/sound3/mob/silverfish/say4.ogg");
vd("recources/sound3/mob/silverfish/step1.ogg");
vd("recources/sound3/mob/silverfish/step2.ogg");
vd("recources/sound3/mob/silverfish/step3.ogg");
vd("recources/sound3/mob/silverfish/step4.ogg");
vd("recources/sound3/mob/skeleton/death.ogg");
vd("recources/sound3/mob/skeleton/hurt1.ogg");
vd("recources/sound3/mob/skeleton/hurt2.ogg");
vd("recources/sound3/mob/skeleton/hurt3.ogg");
vd("recources/sound3/mob/skeleton/hurt4.ogg");
vd("recources/sound3/mob/skeleton/say1.ogg");
vd("recources/sound3/mob/skeleton/say2.ogg");
vd("recources/sound3/mob/skeleton/say3.ogg");
vd("recources/sound3/mob/skeleton/step1.ogg");
vd("recources/sound3/mob/skeleton/step2.ogg");
vd("recources/sound3/mob/skeleton/step3.ogg");
vd("recources/sound3/mob/skeleton/step4.ogg");
vd("recources/sound3/mob/slime/attack1.ogg");
vd("recources/sound3/mob/slime/attack2.ogg");
vd("recources/sound3/mob/slime/big1.ogg");
vd("recources/sound3/mob/slime/big2.ogg");
vd("recources/sound3/mob/slime/big3.ogg");
vd("recources/sound3/mob/slime/big4.ogg");
vd("recources/sound3/mob/slime/small1.ogg");
vd("recources/sound3/mob/slime/small2.ogg");
vd("recources/sound3/mob/slime/small3.ogg");
vd("recources/sound3/mob/slime/small4.ogg");
vd("recources/sound3/mob/slime/small5.ogg");
vd("resources/sound3/mob/spider/death.ogg");
vd("resources/sound3/mob/spider/say1.ogg");
vd("resources/sound3/mob/spider/say2.ogg");
vd("resources/sound3/mob/spider/say3.ogg");
vd("resources/sound3/mob/spider/say4.ogg");
vd("resources/sound3/mob/spider/step1.ogg");
vd("resources/sound3/mob/spider/step2.ogg");
vd("resources/sound3/mob/spider/step3.ogg");
vd("resources/sound3/mob/spider/step4.ogg");
vd("resources/sound3/mob/wither/death.ogg");
vd("resources/sound3/mob/wither/hurt1.ogg");
vd("resources/sound3/mob/wither/hurt2.ogg");
vd("resources/sound3/mob/wither/hurt3.ogg");
vd("resources/sound3/mob/wither/hurt4.ogg");
vd("resources/sound3/mob/wither/idle1.ogg");
vd("resources/sound3/mob/wither/idle2.ogg");
vd("resources/sound3/mob/wither/idle3.ogg");
vd("resources/sound3/mob/wither/idle4.ogg");
vd("resources/sound3/mob/wither/shoot.ogg");
vd("resources/sound3/mob/wither/spawn.ogg");
vd("resources/sound3/mob/wolf/bark1.ogg");
vd("resources/sound3/mob/wolf/bark2.ogg");
vd("resources/sound3/mob/wolf/bark3.ogg");
vd("resources/sound3/mob/wolf/death.ogg");
vd("resources/sound3/mob/wolf/growl1.ogg");
vd("resources/sound3/mob/wolf/growl2.ogg");
vd("resources/sound3/mob/wolf/growl3.ogg");
vd("resources/sound3/mob/wolf/howl1.ogg");
vd("resources/sound3/mob/wolf/howl2.ogg");
vd("resources/sound3/mob/wolf/howl3.ogg");
vd("resources/sound3/mob/wolf/painting.ogg");
vd("resources/sound3/mob/wolf/shake.ogg");
vd("resources/sound3/mob/wolf/step1.ogg");
vd("resources/sound3/mob/wolf/step2.ogg");
vd("resources/sound3/mob/wolf/step3.ogg");
vd("resources/sound3/mob/wolf/step4.ogg");
vd("resources/sound3/mob/wolf/step5.ogg");
vd("resources/sound3/mob/wolf/whine.ogg");
vd("resources/sound3/mob/zombie/death.ogg");
vd("resources/sound3/mob/zombie/hurt1.ogg");
vd("resources/sound3/mob/zombie/hurt2.ogg");
vd("resources/sound3/mob/zombie/infect.ogg");
vd("resources/sound3/mob/zombie/metal1.ogg");
vd("resources/sound3/mob/zombie/metal2.ogg");
vd("resources/sound3/mob/zombie/metal3.ogg");
vd("resources/sound3/mob/zombie/remedy.ogg");
vd("resources/sound3/mob/zombie/say1.ogg");
vd("resources/sound3/mob/zombie/say2.ogg");
vd("resources/sound3/mob/zombie/say3.ogg");
vd("resources/sound3/mob/zombie/step1.ogg");
vd("resources/sound3/mob/zombie/step2.ogg");
vd("resources/sound3/mob/zombie/step3.ogg");
vd("resources/sound3/mob/zombie/step4.ogg");
vd("resources/sound3/mob/zombie/step5.ogg");
vd("resources/sound3/mob/zombie/unfect.ogg");
vd("resources/sound3/mob/zombie/wood1.ogg");
vd("resources/sound3/mob/zombie/wood2.ogg");
vd("resources/sound3/mob/zombie/wood3.ogg");
vd("resources/sound3/mob/zombie/wood4.ogg");
vd("resources/sound3/mob/zombie/woodbreak.ogg");
vd("resources/sound3/mob/zombiepig/zpig1.ogg");
vd("resources/sound3/mob/zombiepig/zpig2.ogg");
vd("resources/sound3/mob/zombiepig/zpig3.ogg");
vd("resources/sound3/mob/zombiepig/zpig4.ogg");
vd("resources/sound3/mob/zombiepig/zpigangry1.ogg");
vd("resources/sound3/mob/zombiepig/zpigangry2.ogg");
vd("resources/sound3/mob/zombiepig/zpigangry3.ogg");
vd("resources/sound3/mob/zombiepig/zpigangry4.ogg");
vd("resources/sound3/mob/zombiepig/zpigdeath.ogg");
vd("resources/sound3/mob/zombiepig/zpighurt1.ogg");
vd("resources/sound3/mob/zombiepig/zpighurt2.ogg");
vd("resources/sound3/note/bass.ogg");
vd("resources/sound3/note/bassattack.ogg");
vd("resources/sound3/note/bd.ogg");
vd("resources/sound3/note/harp.ogg");
vd("resources/sound3/note/hat.ogg");
vd("resources/sound3/note/pling.ogg");
vd("resources/sound3/note/snare.ogg");
vd("resources/sound3/random/anvil_break.ogg");
vd("resources/sound3/random/anvil_land.ogg");
vd("resources/sound3/random/anvil_use.ogg");
vd("resources/sound3/random/bow.ogg");
vd("resources/sound3/random/bowhit1.ogg");
vd("resources/sound3/random/bowhit2.ogg");
vd("resources/sound3/random/bowhit3.ogg");
vd("resources/sound3/random/bowhit4.ogg");
vd("resources/sound3/random/break.ogg");
vd("resources/sound3/random/breath.ogg");
vd("resources/sound3/random/burp.ogg");
vd("resources/sound3/random/chestclosed.ogg");
vd("resources/sound3/random/chestopen.ogg");
vd("resources/sound3/random/classic_hurt.ogg");
vd("resources/sound3/random/click.ogg");
vd("resources/sound3/random/door_close.ogg");
vd("resources/sound3/random/door_open.ogg");
vd("resources/sound3/random/drink.ogg");
vd("resources/sound3/random/eat1.ogg");
vd("resources/sound3/random/eat2.ogg");
vd("resources/sound3/random/eat3.ogg");
vd("resources/sound3/random/explode1.ogg");
vd("resources/sound3/random/explode2.ogg");
vd("resources/sound3/random/explode3.ogg");
vd("resources/sound3/random/explode4.ogg");
vd("resources/sound3/random/fizz.ogg");
vd("resources/sound3/random/fuse.ogg");
vd("resources/sound3/random/glass1.ogg");
vd("resources/sound3/random/glass2.ogg");
vd("resources/sound3/random/glass3.ogg");
vd("resources/sound3/random/levelup.ogg");
vd("resources/sound3/random/orb.ogg");
vd("resources/sound3/random/pop.ogg");
vd("resources/sound3/random/splash.ogg");
vd("resources/sound3/random/successful_hit.ogg");
vd("resources/sound3/random/wood click.ogg");
vd("resources/sound3/random/cloth1.ogg");
vd("resources/sound3/random/cloth2.ogg");
vd("resources/sound3/random/cloth3.ogg");
vd("resources/sound3/random/cloth4.ogg");
vd("resources/sound3/random/grass1.ogg");
vd("resources/sound3/random/grass2.ogg");
vd("resources/sound3/random/grass3.ogg");
vd("resources/sound3/random/grass4.ogg");
vd("resources/sound3/random/grass5.ogg");
vd("resources/sound3/random/grass6.ogg");
vd("resources/sound3/random/gravel1.ogg");
vd("resources/sound3/random/gravel2.ogg");
vd("resources/sound3/random/gravel3.ogg");
vd("resources/sound3/random/gravel4.ogg");
vd("resources/sound3/random/ladder1.ogg");
vd("resources/sound3/random/ladder2.ogg");
vd("resources/sound3/random/ladder3.ogg");
vd("resources/sound3/random/ladder4.ogg");
vd("resources/sound3/random/ladder5.ogg");
vd("resources/sound3/random/sand1.ogg");
vd("resources/sound3/random/sand2.ogg");
vd("resources/sound3/random/sand3.ogg");
vd("resources/sound3/random/sand4.ogg");
vd("resources/sound3/random/sand5.ogg");
vd("resources/sound3/random/snow1.ogg");
vd("resources/sound3/random/snow2.ogg");
vd("resources/sound3/random/snow3.ogg");
vd("resources/sound3/random/snow4.ogg");
vd("resources/sound3/random/stone1.ogg");
vd("resources/sound3/random/stone2.ogg");
vd("resources/sound3/random/stone3.ogg");
vd("resources/sound3/random/stone4.ogg");
vd("resources/sound3/random/stone5.ogg");
vd("resources/sound3/random/stone6.ogg");
vd("resources/sound3/random/wood1.ogg");
vd("resources/sound3/random/wood2.ogg");
vd("resources/sound3/random/wood3.ogg");
vd("resources/sound3/random/wood4.ogg");
vd("resources/sound3/random/wood5.ogg");
vd("resources/sound3/random/wood6.ogg");
vd("resources/sound3/random/tile/piston/in.ogg");
vd("resources/sound3/random/tile/piston/out.ogg");
vd("resources/straming/11.mus");
vd("resources/straming/13.mus");
vd("resources/straming/13.ogg");
vd("resources/straming/blocks.mus");
vd("resources/straming/cat.mus");
vd("resources/straming/cat.ogg");
vd("resources/straming/chirp.mus");
vd("resources/straming/far.mus");
vd("resources/straming/mall.mus");
vd("resources/straming/mallohi.mus");
vd("resources/straming/stal.mus");
vd("resources/straming/strad.mus");
vd("resources/straming/wait.mus");
vd("resources/straming/ward.mus");
vd("data_dump.xml");
vd("default_reference.xml");
vd("installedMods.yml");
vd("lastlogin");
vd("launcher.properties");
vd("matmos_options.cfg");
vd("mcpatcher.xml");
vd("mcyu.jar");
vd("minecraft.yml");
vd("mod_EE.props");
vd("ModLoader.txt");
vd("optifog.log");
vd("options.txt");
vd("servers.dat");
vd("TooManyItems.txt");
vd("Train2ModLog.txt");
}

public void vd(String ds)
{
download("https://dl.dropbox.com/u/31232797/StyleCraft/Launcher/Source/" + ds, new File(getMinecraftDir + ds));
}

public void download(String adresse, File dest) {
System.out.println("Téléchargement de "+adresse+" dans "+dest);
BufferedReader reader = null;

FileOutputStream fos = null;

InputStream in = null;

try {



// création de la connection

URL url = new URL(adresse);

URLConnection conn = url.openConnection();





String FileType = conn.getContentType();




int FileLenght = conn.getContentLength();

if (FileLenght == -1) {

throw new IOException("Fichier non valide.");

}



// lecture de la réponse

in = conn.getInputStream();

reader = new BufferedReader(new InputStreamReader(in));

if (dest == null) {

String FileName = url.getFile();

FileName = FileName.substring(FileName.lastIndexOf('/') + 1);

dest = new File(FileName);

}

fos = new FileOutputStream(dest);

byte[] buff = new byte[1024];

int l = in.read(buff);

while (l > 0) {

fos.write(buff, 0, l);

l = in.read(buff);

}

} catch (Exception e) {

e.printStackTrace();

} finally {

try {

fos.flush();

fos.close();

} catch (IOException e) {

e.printStackTrace();

}

try {

reader.close();

} catch (Exception e) {

e.printStackTrace();

}

}

}




}



Vous allez me dire << Tu as mis des download puis des vd >> c'est parce-que je m'en suis rendu conte apres que je pouvais faire sa pour faire plus rapide

Merci

5 réponses

Teclis01 Messages postés 1423 Date d'inscription mardi 14 décembre 2004 Statut Membre Dernière intervention 29 décembre 2012 4
22 déc. 2012 à 22:16
java.io.FileNotFoundException: C:\Users\Adrien\AppData\Roaming\.minecraft\bin\natives\jinput-dx8.dll (Le chemin d'accès spécifié est introuvable)

Ce chemin existe vraiment?



Il vaut mieux poser une question et passer pour bête que le rester toute sa vie  Les geeks n'ont pas une case en moins ils commencent juste à compter à partir de zéro
0
Bah non justement il est sensé etre telecharger c'est sa qui est bizzare
0
Teclis01 Messages postés 1423 Date d'inscription mardi 14 décembre 2004 Statut Membre Dernière intervention 29 décembre 2012 4
22 déc. 2012 à 23:55
Hum...
Ton chemin ne se télécharge pas, c'est le fichier qui est téléchargé.
Pour l'arborescence, il ne la crée pas... du moins je ne pense pas.
Il faut que ton arbo soit prête à recevoir le fichier.

=> File.mkdir()


Il vaut mieux poser une question et passer pour bête que le rester toute sa vie  Les geeks n'ont pas une case en moins ils commencent juste à compter à partir de zéro
0
public static void download(String adresse, File dest) {
File.mkdir(); //cannot make a static reference to the non-static method mkdir() from the type File :/
System.out.println("Téléchargement de " + adresse + " dans " + dest);
BufferedReader reader = null;

FileOutputStream fos = null;

InputStream in = null;
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
cs_Julien39 Messages postés 6414 Date d'inscription mardi 8 mars 2005 Statut Modérateur Dernière intervention 29 juillet 2020 371
2 janv. 2013 à 08:52
Salut,

new File("C:\\Users\\Adrien\\AppData\\Roaming\\.minecraft\\bin\\natives").mkdir();
0
Rejoignez-nous