Change download location for FML libraries to files.minecraftforge.net, add an encoding param to the javac command line to force utf 8
This commit is contained in:
parent
74d6437856
commit
befe8f5f47
2 changed files with 3 additions and 3 deletions
|
@ -150,6 +150,6 @@ CmdRGReobf = %s -cp "{classpath}" RetroGuard -notch {conffile}
|
||||||
CmdJadretro = %s -jar %s {targetdir}
|
CmdJadretro = %s -jar %s {targetdir}
|
||||||
CmdFernflower = %s -jar %s -din=0 -rbr=0 -dgs=1 -asc=1 -log=WARN {indir} {outdir}
|
CmdFernflower = %s -jar %s -din=0 -rbr=0 -dgs=1 -asc=1 -log=WARN {indir} {outdir}
|
||||||
CmdExceptor = %s -jar %s {input} {output} {conf} {log}
|
CmdExceptor = %s -jar %s {input} {output} {conf} {log}
|
||||||
CmdRecomp = %s -Xlint:-options -deprecation -g -source 1.6 -target 1.6 -classpath "{classpath}" -sourcepath {sourcepath} -d {outpath} {pkgs}
|
CmdRecomp = %s -encoding UTF-8 -Xlint:-options -deprecation -g -source 1.6 -target 1.6 -classpath "{classpath}" -sourcepath {sourcepath} -d {outpath} {pkgs}
|
||||||
CmdStartSrv = %s -Xincgc -Xms1024M -Xmx1024M -cp "{classpath}" net.minecraft.server.MinecraftServer
|
CmdStartSrv = %s -Xincgc -Xms1024M -Xmx1024M -cp "{classpath}" net.minecraft.server.MinecraftServer
|
||||||
CmdStartClt = %s -Xincgc -Xms1024M -Xmx1024M -cp "{classpath}" -Djava.library.path={natives} Start
|
CmdStartClt = %s -Xincgc -Xms1024M -Xmx1024M -cp "{classpath}" -Djava.library.path={natives} Start
|
||||||
|
|
|
@ -31,10 +31,10 @@ def download_deps(mcp_path):
|
||||||
|
|
||||||
if not os.path.isfile(target):
|
if not os.path.isfile(target):
|
||||||
try:
|
try:
|
||||||
urllib.urlretrieve('http://cloud.github.com/downloads/cpw/FML/' + lib, target)
|
urllib.urlretrieve('http://files.minecraftforge.net/fmllibs/' + lib, target)
|
||||||
print 'Downloaded %s successfully' % lib
|
print 'Downloaded %s successfully' % lib
|
||||||
except:
|
except:
|
||||||
print 'Download %s failed, download manually from http://cloud.github.com/downloads/cpw/FML/%s and place in MCP/lib' % (lib, lib)
|
print 'Download %s failed, download manually from http://files.minecraftforge.net/fmllibs/%s or http://files.minecraftforge.net/fmllibs/fml_libs_dev.zip and place in MCP/lib' % (lib, lib)
|
||||||
ret = False
|
ret = False
|
||||||
|
|
||||||
return ret
|
return ret
|
||||||
|
|
Loading…
Reference in a new issue