Modifier le en_US.lang



  • Voilà alors aujourd'hui j'ai voulus changer les noms des CD's dans le en_US.lang mais quand je change comme ça , ça me fait une erreur :

    java.lang.SecurityException: SHA1 digest error for assets/minecraft/lang/en_US.lang
    
    at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)
    at java.util.jar.JarVerifier.processEntry(Unknown Source)
    at java.util.jar.JarVerifier.update(Unknown Source)
    at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)
    at java.io.FilterInputStream.read(Unknown Source)
    at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
    at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
    at sun.nio.cs.StreamDecoder.read(Unknown Source)
    at java.io.InputStreamReader.read(Unknown Source)
    at java.io.BufferedReader.fill(Unknown Source)
    at java.io.BufferedReader.readLine(Unknown Source)
    at java.io.BufferedReader.readLine(Unknown Source)
    at org.apache.commons.io.IOUtils.readLines(IOUtils.java:1033)
    at org.apache.commons.io.IOUtils.readLines(IOUtils.java:987)
    at net.minecraft.client.resources.Locale.func_135021_a(SourceFile:76)
    at net.minecraft.client.resources.Locale.func_135028_a(SourceFile:71)
    at net.minecraft.client.resources.Locale.func_135022_a(SourceFile:35)
    at net.minecraft.client.resources.LanguageManager.func_110549_a(LanguageManager.java:87)
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SourceFile:104)
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SourceFile:92)
    at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:568)
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:234)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815)
    at net.minecraft.client.main.Main.main(SourceFile:103)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    –-------------------------------------------------------------------------------------
    
    -- Head --
    Stacktrace:
    at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)
    at java.util.jar.JarVerifier.processEntry(Unknown Source)
    at java.util.jar.JarVerifier.update(Unknown Source)
    at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)
    at java.io.FilterInputStream.read(Unknown Source)
    at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
    at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
    at sun.nio.cs.StreamDecoder.read(Unknown Source)
    at java.io.InputStreamReader.read(Unknown Source)
    at java.io.BufferedReader.fill(Unknown Source)
    at java.io.BufferedReader.readLine(Unknown Source)
    at java.io.BufferedReader.readLine(Unknown Source)
    at org.apache.commons.io.IOUtils.readLines(IOUtils.java:1033)
    at org.apache.commons.io.IOUtils.readLines(IOUtils.java:987)
    at net.minecraft.client.resources.Locale.func_135021_a(SourceFile:76)
    at net.minecraft.client.resources.Locale.func_135028_a(SourceFile:71)
    at net.minecraft.client.resources.Locale.func_135022_a(SourceFile:35)
    at net.minecraft.client.resources.LanguageManager.func_110549_a(LanguageManager.java:87)
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110544_b(SourceFile:104)
    at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110541_a(SourceFile:92)
    at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:568)
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:234)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)
    
    

    Comment pourrai-je faire pour modifier les noms des CD ? Est ce que par exemple si je créer un mod et que j'ajoute : LanguageRegistry ( Je crois que c'est encore comme ça maintenant ou c'est un truc comme ça ) et c'est que le LanguageRegistry prendra le dessus du fichier en_US ?


  • Administrateurs

    Il ne faut jamais modifier les fichiers de minecraft.
    Créé ton propre fichier de lang dans le dossier forge/src/main/resources/assets/modid/lang/



  • Merci mais je pensais que c'était que les class qui ne fallait pas modifier, au moins la je suis sur que c'est tout les fichiers