Jump to content

Minecraft Forge Decompile Error


Bektor

Recommended Posts

Hello, everyone.

 

I have minecraft 1.5.1. I'm trying to install forge by using minecraftforge-src-1.5.1-7.7.0.609.

 

Here's my error, when I double-click install.cmd (I'm using "windows 7 x64" with "Java SE Runtime Environment 7u17" and "Java SE Development Kit 7u17"), I get the following output:

 

================ Forge ModLoader Setup Start ===================

MCP Detected already, not downloading

Setting up MCP

Restoring commands.py backup

patching file commands.py

Commands patch applied successfully

Copying FML conf

Creating re-packaged srg

Creating re-packaged exc

Creating re-packaged MCP patches

Downloaded argo-3.2-src.jar

Downloaded guava-14.0-rc3.jar

Downloaded asm-4.1.tar.gz

Downloaded asm-debug-all-4.1.jar

Downloaded bcprov-debug-jdk15on-148.jar

Downloaded bcprov-jdk15on-148-src.zip

Downloaded guava-14.0-rc3-sources.jar

File Exists: lwjgl.jar

File Exists: lwjgl_util.jar

File Exists: jinput.jar

File Exists: windows_natives.jar

File Exists: macosx_natives.jar

File Exists: linux_natives.jar

File Exists: minecraft.jar

File Exists: minecraft_server.jar

== MCP 7.44 (data: 7.44, client: 1.5.1, server: 1.5.1) ==

# found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, ast

yle, astyle config

> Creating Retroguard config files

!! Modified jar detected. Unpredictable results !!

== Decompiling client using fernflower ==

> Creating SRGs

> Applying Retroguard

> Compiling AccessTransformer

FATAL ERROR

Traceback (most recent call last):

  File "D:\User\Patrick\MCP\runtime\decompile.py", line 116, in decompile

    strip_comments=strip_comments, exc_update=exc_update)

  File "D:\User\Patrick\MCP\runtime\mcp.py", line 30, in decompile_side

    commands.applyrg(side)

  File "D:\User\Patrick\MCP\forge\fml\fml.py", line 272, in applyrg_shunt

    if not runcmd(self, cmd_compile.format(target=os.path.join(dir_trans, 'Acces

sTransformer.java')), echo=False):

  File "D:\User\Patrick\MCP\forge\fml\fml.py", line 383, in runcmd

    process = subprocess.Popen(forklist, stdout=subprocess.PIPE, stderr=subproce

ss.STDOUT, bufsize=-1)

  File "subprocess.pyc", line 679, in __init__

  File "subprocess.pyc", line 896, in _execute_child

WindowsError: [Error 193] %1 is not a valid Win32 application

Decompile Exception: 1

Drücken Sie eine beliebige Taste . . .

 

I'm have used a clean minecraft.jar.

 

mcp.log:

 

11:22:44 - == MCP 7.44 (data: 7.44, client: 1.5.1, server: 1.5.1) ==

11:22:44 - OS : win32

11:22:44 - # VERSION INFO

11:22:44 - python: 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]

11:22:44 - platform: Windows-7-6.1.7601-SP1

11:22:44 - # java: '"C:\Program Files (x86)\Java\jdk1.7.0_17\bin\java" -version'

11:22:44 - java version "1.7.0_17"

 

Java SE Runtime Environment (build 1.7.0_17-b02)

 

Java HotSpot Client VM (build 23.7-b01, mixed mode)

11:22:44 - # javac: '"C:\Program Files (x86)\Java\jdk1.7.0_17\bin\javac" -version'

11:22:44 - javac 1.7.0_17

11:22:44 - # javac runtime: '"C:\Program Files (x86)\Java\jdk1.7.0_17\bin\javac" -J-version'

11:22:44 - java version "1.7.0_17"

 

Java SE Runtime Environment (build 1.7.0_17-b02)

 

Java HotSpot Client VM (build 23.7-b01, mixed mode)

11:22:44 - # retroguard: 'runtime\bin\retroguard.jar --version'

11:22:45 - RetroGuard MCP v3.6.5

based on RetroGuard v2.3.1 by Retrologic Systems - www.retrologic.com

11:22:45 - # mcinjector: 'runtime\bin\mcinjector.jar --version'

11:22:45 - MCInjector v2.8 by Searge, LexManos, Fesh0r

11:22:45 - # patch: 'runtime\bin\applydiff.exe --version'

11:22:45 - patch 2.5.4

11:22:45 - # astyle: 'runtime\bin\astyle.exe --version'

11:22:45 - Artistic Style Version 2.02.1

11:22:45 - # jadretro: 'runtime\bin\jadretro.jar'

11:22:45 - Error: Unable to access jarfile runtime\bin\jadretro.jar

11:22:45 - # jad: 'runtime\bin\jad.exe'

11:22:45 - # fernflower: 'runtime\bin\fernflower.jar'

11:22:45 - Usage: java ConsoleDecompiler ( -<option>=<value>)* (<source>)+ <destination>

11:22:45 - # found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, astyle, astyle config

11:22:45 - Updates disabled

11:22:45 - > Creating Retroguard config files

11:22:45 - client md5: 5c1219d869b87d233de3033688ec7567

11:22:45 - == Decompiling client using fernflower ==

11:22:45 - > Creating SRGs

11:22:45 - > Applying Retroguard

11:22:45 - > Compiling AccessTransformer

11:22:45 - FATAL ERROR

Traceback (most recent call last):

  File "D:\User\Patrick\MCP\mcp\runtime\decompile.py", line 116, in decompile

    strip_comments=strip_comments, exc_update=exc_update)

  File "D:\User\Patrick\MCP\mcp\runtime\mcp.py", line 30, in decompile_side

    commands.applyrg(side)

  File "D:\User\Patrick\MCP\mcp\forge\fml\fml.py", line 272, in applyrg_shunt

    if not runcmd(self, cmd_compile.format(target=os.path.join(dir_trans, 'AccessTransformer.java')), echo=False):

  File "D:\User\Patrick\MCP\mcp\forge\fml\fml.py", line 383, in runcmd

    process = subprocess.Popen(forklist, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, bufsize=-1)

  File "subprocess.pyc", line 679, in __init__

  File "subprocess.pyc", line 896, in _execute_child

WindowsError: [Error 193] %1 is not a valid Win32 application

 

 

 

Please help!

 

Bektor

Developer of Primeval Forest.

Link to comment
Share on other sites

mcp.log:

 

11:22:44 - == MCP 7.44 (data: 7.44, client: 1.5.1, server: 1.5.1) ==

11:22:44 - OS : win32

11:22:44 - # VERSION INFO

11:22:44 - python: 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]

11:22:44 - platform: Windows-7-6.1.7601-SP1

11:22:44 - # java: '"C:\Program Files (x86)\Java\jdk1.7.0_17\bin\java" -version'

11:22:44 - java version "1.7.0_17"

 

Java SE Runtime Environment (build 1.7.0_17-b02)

 

Java HotSpot Client VM (build 23.7-b01, mixed mode)

11:22:44 - # javac: '"C:\Program Files (x86)\Java\jdk1.7.0_17\bin\javac" -version'

11:22:44 - javac 1.7.0_17

11:22:44 - # javac runtime: '"C:\Program Files (x86)\Java\jdk1.7.0_17\bin\javac" -J-version'

11:22:44 - java version "1.7.0_17"

 

Java SE Runtime Environment (build 1.7.0_17-b02)

 

Java HotSpot Client VM (build 23.7-b01, mixed mode)

11:22:44 - # retroguard: 'runtime\bin\retroguard.jar --version'

11:22:45 - RetroGuard MCP v3.6.5

based on RetroGuard v2.3.1 by Retrologic Systems - www.retrologic.com

11:22:45 - # mcinjector: 'runtime\bin\mcinjector.jar --version'

11:22:45 - MCInjector v2.8 by Searge, LexManos, Fesh0r

11:22:45 - # patch: 'runtime\bin\applydiff.exe --version'

11:22:45 - patch 2.5.4

11:22:45 - # astyle: 'runtime\bin\astyle.exe --version'

11:22:45 - Artistic Style Version 2.02.1

11:22:45 - # jadretro: 'runtime\bin\jadretro.jar'

11:22:45 - Error: Unable to access jarfile runtime\bin\jadretro.jar

11:22:45 - # jad: 'runtime\bin\jad.exe'

11:22:45 - # fernflower: 'runtime\bin\fernflower.jar'

11:22:45 - Usage: java ConsoleDecompiler ( -<option>=<value>)* (<source>)+ <destination>

11:22:45 - # found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, astyle, astyle config

11:22:45 - Updates disabled

11:22:45 - > Creating Retroguard config files

11:22:45 - client md5: 5c1219d869b87d233de3033688ec7567

11:22:45 - == Decompiling client using fernflower ==

11:22:45 - > Creating SRGs

11:22:45 - > Applying Retroguard

11:22:45 - > Compiling AccessTransformer

11:22:45 - FATAL ERROR

Traceback (most recent call last):

  File "D:\User\Patrick\MCP\mcp\runtime\decompile.py", line 116, in decompile

    strip_comments=strip_comments, exc_update=exc_update)

  File "D:\User\Patrick\MCP\mcp\runtime\mcp.py", line 30, in decompile_side

    commands.applyrg(side)

  File "D:\User\Patrick\MCP\mcp\forge\fml\fml.py", line 272, in applyrg_shunt

    if not runcmd(self, cmd_compile.format(target=os.path.join(dir_trans, 'AccessTransformer.java')), echo=False):

  File "D:\User\Patrick\MCP\mcp\forge\fml\fml.py", line 383, in runcmd

    process = subprocess.Popen(forklist, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, bufsize=-1)

  File "subprocess.pyc", line 679, in __init__

  File "subprocess.pyc", line 896, in _execute_child

WindowsError: [Error 193] %1 is not a valid Win32 application

 

Developer of Primeval Forest.

Link to comment
Share on other sites

In fml.py, line 383 should look like:

    forklist = cmdsplit(command)
    process = subprocess.Popen(forklist, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, bufsize=-1)

Make it this:

    forklist = cmdsplit(command)
    print(command)
    pprint(forklist)
    process = subprocess.Popen(forklist, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, bufsize=-1)

And post what it prints out there.

Something is causing a %1 or some BS. Though it shouldnt

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Then it doesn't work.  :(

 

Then this error message appears.

 

================ Forge ModLoader Setup Start ===================

MCP Detected already, not downloading

Setting up MCP

Restoring commands.py backup

patching file commands.py

Commands patch applied successfully

Copying FML conf

Creating re-packaged srg

Creating re-packaged exc

Creating re-packaged MCP patches

File Exists: lwjgl.jar

File Exists: lwjgl_util.jar

File Exists: jinput.jar

File Exists: windows_natives.jar

File Exists: macosx_natives.jar

File Exists: linux_natives.jar

File Exists: minecraft.jar

File Exists: minecraft_server.jar

== MCP 7.44 (data: 7.44, client: 1.5.1, server: 1.5.1) ==

# found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, ast

yle, astyle config

> Creating Retroguard config files

== Decompiling client using fernflower ==

> Creating SRGs

> Applying Retroguard

> Compiling AccessTransformer

""C:\Program Files (x86)\Java\jdk1.7.0_17\bin\javac"" -Xlint:-options -deprecati

on -g -source 1.6 -target 1.6 -classpath ".;D:\User\Patrick\MCP\mcp\lib\*;D:\Use

r\Patrick\MCP\mcp\forge\fml\bin" -sourcepath "D:\User\Patrick\MCP\mcp\forge\fml\

common" -d "D:\User\Patrick\MCP\mcp\forge\fml\bin" "D:\User\Patrick\MCP\mcp\forg

e\fml\common\cpw\mods\fml\common\asm\transformers\AccessTransformer.java"

['C:\\Program',

'Files',

'(x86)\\Java\\jdk1.7.0_17\\bin\\javac',

'-Xlint:-options',

'-deprecation',

'-g',

'-source',

'1.6',

'-target',

'1.6',

'-classpath',

'.;D:\\User\\Patrick\\MCP\\mcp\\lib\\*;D:\\User\\Patrick\\MCP\\mcp\\forge\\fml\

\bin',

'-sourcepath',

'D:\\User\\Patrick\\MCP\\mcp\\forge\\fml\\common',

'-d',

'D:\\User\\Patrick\\MCP\\mcp\\forge\\fml\\bin',

'D:\\User\\Patrick\\MCP\\mcp\\forge\\fml\\common\\cpw\\mods\\fml\\common\\asm\\

transformers\\AccessTransformer.java']

FATAL ERROR

Traceback (most recent call last):

  File "D:\User\Patrick\MCP\mcp\runtime\decompile.py", line 116, in decompile

    strip_comments=strip_comments, exc_update=exc_update)

  File "D:\User\Patrick\MCP\mcp\runtime\mcp.py", line 30, in decompile_side

    commands.applyrg(side)

  File "D:\User\Patrick\MCP\mcp\forge\fml\fml.py", line 272, in applyrg_shunt

    if not runcmd(self, cmd_compile.format(target=os.path.join(dir_trans, 'Acces

sTransformer.java')), echo=False):

  File "D:\User\Patrick\MCP\mcp\forge\fml\fml.py", line 385, in runcmd

    process = subprocess.Popen(forklist, stdout=subprocess.PIPE, stderr=subproce

ss.STDOUT, bufsize=-1)

  File "subprocess.pyc", line 679, in __init__

  File "subprocess.pyc", line 896, in _execute_child

WindowsError: [Error 193] %1 ist keine zulõssige Win32-Anwendung

Decompile Exception: 1

Drücken Sie eine beliebige Taste . . .

 

Developer of Primeval Forest.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.