Résolu Probleme MCP
-
Salut à tous voilà mon problème dans la décompile :
== MCP 7.51 (data: 7.51, client: 1.5.2, server: 1.5.2) == # found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, ast yle, astyle config, scalac > Creating Retroguard config files !! Modified jar detected. Unpredictable results !! !! client already decompiled. Run cleanup before decompiling again !! !! Modified jar detected. Unpredictable results !! == Decompiling server using fernflower == > Creating SRGs > Applying Retroguard '"C:\Program Files\Java\jdk1.7.0_51\bin\java" -cp "runtime\bin\retroguard.jar;li b;lib\*;jars\minecraf…' failed : 1 == ERRORS FOUND == Unrecoverable error during obfuscation, see log file for details. RetroGuard error: COM.rl.obf.classfile.ClassFileException: ClassNotFound qv COM.rl.obf.classfile.ClassFileException: ClassNotFound qv at COM.rl.obf.Cl$ExtNameListUp.<init>(Cl.java:1540) at COM.rl.obf.Cl.getExtNameListUp(Cl.java:1511) at COM.rl.obf.Cl.resolveThis(Cl.java:903) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:853) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:865) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:846) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:865) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:865) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:865) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:846) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:846) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:865) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:865) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:865) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:839) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:865) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:846) at COM.rl.obf.Cl.resolveOptimally(Cl.java:646) at COM.rl.obf.ClassTree$6.classAction(ClassTree.java:687) at COM.rl.obf.ClassTree.walkTree(ClassTree.java:1488) at COM.rl.obf.ClassTree.walkTree(ClassTree.java:1480) at COM.rl.obf.ClassTree.walkTree(ClassTree.java:1471) at COM.rl.obf.ClassTree.walkTree(ClassTree.java:1471) at COM.rl.obf.ClassTree.walkTree(ClassTree.java:1471) at COM.rl.obf.ClassTree.walkTree(ClassTree.java:1452) at COM.rl.obf.ClassTree.resolveClasses(ClassTree.java:682) at COM.rl.obf.GuardDB.createMap(GuardDB.java:437) at COM.rl.obf.GuardDB.remapTo(GuardDB.java:464) at COM.rl.obf.RetroGuardImpl.run(RetroGuardImpl.java:182) at COM.rl.obf.RetroGuardImpl.obfuscate(RetroGuardImpl.java:131) at COM.rl.obf.RetroGuardImpl.obfuscate(RetroGuardImpl.java:113) at RetroGuard.main(RetroGuard.java:90) ================== Decompile failed Appuyez sur une touche pour continuer... ```</init>
-
En même temps c’est normal si ton minecraft.jar est modifié.
Il faut lancer le fichier install.bat des sources de forge :
http://adf.ly/673885/http://files.minecraftforge.net/minecraftforge/minecraftforge-src-1.5.2-7.8.1.738.zip -
ok merci ___
hum encore problème :== MCP 7.51 (data: 7.51, client: 1.5.2, server: 1.5.2) == # found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, ast yle, astyle config, scalac > Creating Retroguard config files == Decompiling client using fernflower == > Creating SRGs > Applying Retroguard > Applying MCInjector > Unpacking jar > Copying classes > Decompiling > Copying sources > Applying fernflower fixes > Applying patches > Cleaning comments - Done in 97.03 seconds == Reformating client == > Cleaning sources > Replacing OpenGL constants > Reformating sources - Done in 9.33 seconds == Updating client == > Adding javadoc > Renaming sources - Done in 9.47 seconds == Decompiling server using fernflower == > Creating SRGs > Applying Retroguard > Applying MCInjector > Unpacking jar > Copying classes > Decompiling > Copying sources > Applying fernflower fixes > Applying patches > Cleaning comments - Done in 89.13 seconds == Reformating server == > Cleaning sources > Reformating sources - Done in 6.11 seconds == Updating server == > Adding javadoc > Renaming sources - Done in 6.68 seconds == Recompiling client == > Cleaning bin > Recompiling '"scalac.bat" -encoding UTF-8 -deprecation -target:jvm-1.6 -classpath "lib;lib\* ;jars\bin\minecraft.j…' failed : 1 == ERRORS FOUND in SCALA CODE == error: error while loading <root>, error in opening zip file error: scala.reflect.internal.MissingRequirementError: object scala.runtime in c ompiler mirror not found. at scala.reflect.internal.MissingRequirementError$.signal(MissingRequire mentError.scala:16) at scala.reflect.internal.MissingRequirementError$.notFound(MissingRequi rementError.scala:17) at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.sca la:48) at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.sca la:40) at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.sca la:61) at scala.reflect.internal.Mirrors$RootsBase.getPackage(Mirrors.scala:172 ) at scala.reflect.internal.Mirrors$RootsBase.getRequiredPackage(Mirrors.s cala:175) at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackage$lz ycompute(Definitions.scala:183) at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackage(De finitions.scala:183) at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackageCla ss$lzycompute(Definitions.scala:184) at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackageCla ss(Definitions.scala:184) at scala.reflect.internal.Definitions$DefinitionsClass.AnnotationDefault Attr$lzycompute(Definitions.scala:1024) at scala.reflect.internal.Definitions$DefinitionsClass.AnnotationDefault Attr(Definitions.scala:1023) at scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreClas ses$lzycompute(Definitions.scala:1153) at scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreClas ses(Definitions.scala:1152) at scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresent InBytecode$lzycompute(Definitions.scala:1196) at scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresent InBytecode(Definitions.scala:1196) at scala.reflect.internal.Definitions$DefinitionsClass.init(Definitions. scala:1261) at scala.tools.nsc.Global$Run.<init>(Global.scala:1290) at scala.tools.nsc.Driver.doCompile(Driver.scala:32) at scala.tools.nsc.Main$.doCompile(Main.scala:79) at scala.tools.nsc.Driver.process(Driver.scala:54) at scala.tools.nsc.Driver.main(Driver.scala:67) at scala.tools.nsc.Main.main(Main.scala) ================================ Initial client recompile failed, correct source then run updatemd5 == Recompiling server == > Cleaning bin > Recompiling Server side recompiling might be skipped, this is normal, do not complain to FML /Forge team about server side. '"scalac.bat" -encoding UTF-8 -deprecation -target:jvm-1.6 -classpath "lib;lib\* ;jars\minecraft_serve...' failed : 1 == ERRORS FOUND in SCALA CODE == error: error while loading <root>, error in opening zip file error: scala.reflect.internal.MissingRequirementError: object scala.runtime in c ompiler mirror not found. at scala.reflect.internal.MissingRequirementError$.signal(MissingRequire mentError.scala:16) at scala.reflect.internal.MissingRequirementError$.notFound(MissingRequi rementError.scala:17) at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.sca la:48) at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.sca la:40) at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.sca la:61) at scala.reflect.internal.Mirrors$RootsBase.getPackage(Mirrors.scala:172 ) at scala.reflect.internal.Mirrors$RootsBase.getRequiredPackage(Mirrors.s cala:175) at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackage$lz ycompute(Definitions.scala:183) at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackage(De finitions.scala:183) at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackageCla ss$lzycompute(Definitions.scala:184) at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackageCla ss(Definitions.scala:184) at scala.reflect.internal.Definitions$DefinitionsClass.AnnotationDefault Attr$lzycompute(Definitions.scala:1024) at scala.reflect.internal.Definitions$DefinitionsClass.AnnotationDefault Attr(Definitions.scala:1023) at scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreClas ses$lzycompute(Definitions.scala:1153) at scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreClas ses(Definitions.scala:1152) at scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresent InBytecode$lzycompute(Definitions.scala:1196) at scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresent InBytecode(Definitions.scala:1196) at scala.reflect.internal.Definitions$DefinitionsClass.init(Definitions. scala:1261) at scala.tools.nsc.Global$Run.<init>(Global.scala:1290) at scala.tools.nsc.Driver.doCompile(Driver.scala:32) at scala.tools.nsc.Main$.doCompile(Main.scala:79) at scala.tools.nsc.Driver.process(Driver.scala:54) at scala.tools.nsc.Driver.main(Driver.scala:67) at scala.tools.nsc.Main.main(Main.scala) ================================ Initial server recompile failed, correct source then run updatemd5 Appuyez sur une touche pour continuer...
Et quand je l’ouvre avec eclipse il ne charge pas forge juste mcp c’est normal ?</init></root></init></root>
-
Tu as bien lancé le install.bat de forge ?
-
oui et après avoir fait une décompile il m’affiche ça
== MCP 7.51 (data: 7.51, client: 1.5.2, server: 1.5.2) == # found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, ast yle, astyle config, scalac > Creating Retroguard config files == Decompiling client using fernflower == > Creating SRGs > Applying Retroguard > Applying MCInjector > Unpacking jar > Copying classes > Decompiling > Copying sources > Applying fernflower fixes > Applying patches > Cleaning comments - Done in 99.70 seconds == Reformating client == > Cleaning sources > Replacing OpenGL constants > Reformating sources - Done in 11.04 seconds == Updating client == > Adding javadoc > Renaming sources - Done in 9.69 seconds !! Modified jar detected. Unpredictable results !! == Decompiling server using fernflower == > Creating SRGs > Applying Retroguard '"C:\Program Files\Java\jdk1.7.0_51\bin\java" -cp "runtime\bin\retroguard.jar;li b;lib\*;jars\minecraf…' failed : 1 == ERRORS FOUND == Unrecoverable error during obfuscation, see log file for details. RetroGuard error: COM.rl.obf.classfile.ClassFileException: ClassNotFound qv COM.rl.obf.classfile.ClassFileException: ClassNotFound qv at COM.rl.obf.Cl$ExtNameListUp.<init>(Cl.java:1540) at COM.rl.obf.Cl.getExtNameListUp(Cl.java:1511) at COM.rl.obf.Cl.resolveThis(Cl.java:903) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:853) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:865) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:846) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:865) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:865) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:865) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:846) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:846) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:865) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:865) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:865) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:839) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:865) at COM.rl.obf.Cl.resolveNameSpaceExcept(Cl.java:846) at COM.rl.obf.Cl.resolveOptimally(Cl.java:646) at COM.rl.obf.ClassTree$6.classAction(ClassTree.java:687) at COM.rl.obf.ClassTree.walkTree(ClassTree.java:1488) at COM.rl.obf.ClassTree.walkTree(ClassTree.java:1480) at COM.rl.obf.ClassTree.walkTree(ClassTree.java:1471) at COM.rl.obf.ClassTree.walkTree(ClassTree.java:1471) at COM.rl.obf.ClassTree.walkTree(ClassTree.java:1471) at COM.rl.obf.ClassTree.walkTree(ClassTree.java:1452) at COM.rl.obf.ClassTree.resolveClasses(ClassTree.java:682) at COM.rl.obf.GuardDB.createMap(GuardDB.java:437) at COM.rl.obf.GuardDB.remapTo(GuardDB.java:464) at COM.rl.obf.RetroGuardImpl.run(RetroGuardImpl.java:182) at COM.rl.obf.RetroGuardImpl.obfuscate(RetroGuardImpl.java:131) at COM.rl.obf.RetroGuardImpl.obfuscate(RetroGuardImpl.java:113) at RetroGuard.main(RetroGuard.java:90) ================== Decompile failed Appuyez sur une touche pour continuer... ```</init>
-
Tu as lu les tutoriels au moins ?
Avec forge, il ne faut pas utiliser recompile.bat, install.bat le fait déjà. -
oui mais quand je change les sources avec eclipse(pour les boutons ect)et que je fais la recompile et la reob il m’affiche plein d’erreur___
ça m’affiche sa :'"scalac.bat" -encoding UTF-8 -deprecation -target:jvm-1.6 -classpath "lib;lib\* ;jars\minecraft_serve…' failed : 1 == ERRORS FOUND in SCALA CODE == error: error while loading <root>, error in opening zip file error: scala.reflect.internal.MissingRequirementError: object scala.runtime in c ompiler mirror not found. at scala.reflect.internal.MissingRequirementError$.signal(MissingRequire mentError.scala:16) at scala.reflect.internal.MissingRequirementError$.notFound(MissingRequi rementError.scala:17) at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.sca la:48) at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.sca la:40) at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.sca la:61) at scala.reflect.internal.Mirrors$RootsBase.getPackage(Mirrors.scala:172 ) at scala.reflect.internal.Mirrors$RootsBase.getRequiredPackage(Mirrors.s cala:175) at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackage$lz ycompute(Definitions.scala:183) at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackage(De finitions.scala:183) at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackageCla ss$lzycompute(Definitions.scala:184) at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackageCla ss(Definitions.scala:184) at scala.reflect.internal.Definitions$DefinitionsClass.AnnotationDefault Attr$lzycompute(Definitions.scala:1024) at scala.reflect.internal.Definitions$DefinitionsClass.AnnotationDefault Attr(Definitions.scala:1023) at scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreClas ses$lzycompute(Definitions.scala:1153) at scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreClas ses(Definitions.scala:1152) at scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresent InBytecode$lzycompute(Definitions.scala:1196) at scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresent InBytecode(Definitions.scala:1196) at scala.reflect.internal.Definitions$DefinitionsClass.init(Definitions. scala:1261) at scala.tools.nsc.Global$Run.<init>(Global.scala:1290) at scala.tools.nsc.Driver.doCompile(Driver.scala:32) at scala.tools.nsc.Main$.doCompile(Main.scala:79) at scala.tools.nsc.Driver.process(Driver.scala:54) at scala.tools.nsc.Driver.main(Driver.scala:67) at scala.tools.nsc.Main.main(Main.scala) ================================ Initial server recompile failed, correct source then run updatemd5 Appuyez sur une touche pour continuer... ```</init></root>
-
Quels erreurs ?
-
'"scalac.bat" -encoding UTF-8 -deprecation -target:jvm-1.6 -classpath "lib;lib\* ;jars\minecraft_serve…' failed : 1 == ERRORS FOUND in SCALA CODE == error: error while loading <root>, error in opening zip file error: scala.reflect.internal.MissingRequirementError: object scala.runtime in c ompiler mirror not found. at scala.reflect.internal.MissingRequirementError$.signal(MissingRequire mentError.scala:16) at scala.reflect.internal.MissingRequirementError$.notFound(MissingRequi rementError.scala:17) at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.sca la:48) at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.sca la:40) at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.sca la:61) at scala.reflect.internal.Mirrors$RootsBase.getPackage(Mirrors.scala:172 ) at scala.reflect.internal.Mirrors$RootsBase.getRequiredPackage(Mirrors.s cala:175) at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackage$lz ycompute(Definitions.scala:183) at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackage(De finitions.scala:183) at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackageCla ss$lzycompute(Definitions.scala:184) at scala.reflect.internal.Definitions$DefinitionsClass.RuntimePackageCla ss(Definitions.scala:184) at scala.reflect.internal.Definitions$DefinitionsClass.AnnotationDefault Attr$lzycompute(Definitions.scala:1024) at scala.reflect.internal.Definitions$DefinitionsClass.AnnotationDefault Attr(Definitions.scala:1023) at scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreClas ses$lzycompute(Definitions.scala:1153) at scala.reflect.internal.Definitions$DefinitionsClass.syntheticCoreClas ses(Definitions.scala:1152) at scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresent InBytecode$lzycompute(Definitions.scala:1196) at scala.reflect.internal.Definitions$DefinitionsClass.symbolsNotPresent InBytecode(Definitions.scala:1196) at scala.reflect.internal.Definitions$DefinitionsClass.init(Definitions. scala:1261) at scala.tools.nsc.Global$Run.<init>(Global.scala:1290) at scala.tools.nsc.Driver.doCompile(Driver.scala:32) at scala.tools.nsc.Main$.doCompile(Main.scala:79) at scala.tools.nsc.Driver.process(Driver.scala:54) at scala.tools.nsc.Driver.main(Driver.scala:67) at scala.tools.nsc.Main.main(Main.scala) ================================ Initial server recompile failed, correct source then run updatemd5 Appuyez sur une touche pour continuer... ```</init></root>
-
Voilà pourquoi il ne faut pas installer scala, tu as que des erreurs du à scala.
-
mais je l’ai pas installer
Voilà ce qu’il me marque quand je fais le install.bat
error: error reading C:\Users\lucas\Desktop\Launcher Minecraft\Launcher 1.5.2\MC P\Forge\minecraftforge-src-1.5.2-7.8.1.738\forge\mcp\lib\scala-library.jar; erro r in opening zip file 1 error Decompile Exception: 1
-
http://files.minecraftforge.net/fmllibs/fml_libs_dev15.zip
à extraire dans forge/mcp/libLa 1.5.2 n’est plus supporté depuis longtemps, tu n’aurai pas autant de problème si tu utilisais les dernières versions.
-
ok merci
oui je sais mais c’est pour mes amis
-
sa marche mais quand je fais une recompile (quand je modifie GuiMainMenu.java sa marche pas,mais quand je modifie juste Minecraft.java sa marche)sa marche pas
> Cleaning bin > Recompiling '"scalac.bat" -encoding UTF-8 -deprecation -target:jvm-1.6 -classpath "lib;lib\* ;jars\bin\minecraft.j…' failed : 1 == ERRORS FOUND in SCALA CODE == error: IO error while decoding src\minecraft\net\minecraft\client\gui\GuiMainMen u.java with UTF-8 Please try specifying another one using the -encoding option one error found ================================ !! Can not find server sources, try decompiling !! Appuyez sur une touche pour continuer... == ERRORS FOUND in SCALA CODE == error: IO error while decoding src\minecraft\net\minecraft\client\gui\GuiMainMen u.java with UTF-8 Please try specifying another one using the -encoding option one error found ================================ !! Can not find server sources, try decompiling !! Appuyez sur une touche pour continuer...
-
Tu as des accents ou des caractères non supportés par l’UTF8 dans ta classe principale.
Passe ta workspace en UTF8 (window, preference, general, workspace et coche other puis UTF8). -
ok j’essaye sa et je te le dis
humm sa marche (mais je sais d’ou sa vien c’est des "§"pour mettre la couleur au texte qui prend pas en compte)
il y pas un moyen de prendre en compte le “§”
-
Ba normalement tu passe la workspace en UTF8, puis il faut réécrire les caractères, et enfin recompiler.
-
ok j’essaye ca
-
c’est bon sa marche merci !