Skip to content

CFR unable to load classes #396

Closed

Description

@jredfox

it says unable to load classes with my minecraft mod deobed.

steps to reproduce:

  • use this jar in bytecode viewer cwc-b15-deob.jar.zip
  • deob minecraft.jar using recaf with this mapping joined.deob.srg
  • set the minecraft deob jar you just got and the forge deob jar forge-deob.jar.zip into a libs folder
  • set bytecode viewer libs folder to the folder you just created
  • decompile with cfr
  • output of source still says failed to load classes

what I had to do as a work around:

  • manual add the library minecraft.jar first then forge.jar next into a new jar. place my mod after the libs were done and then decompile that. I don't think this is the behavior you intend for using bytecode viewer to get good decompiled jars
  • after decompiling pull apart what classes needed to be decompiled and discard the rest

could probably also be reproduced with just a jar with class A that uses class B which doesn't exist because there is no way to tell bytecode viewer where your libs files are

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions