Bf-109G10, Bf-109G14 with optional MG151/20 loadout
#16

I'm stuck, I compiled specifically targeting jvm 1.3, result was the same, game won't start.

Has anybody actually managed to change a java file compile it, hash it and use it in a mod in 4.08 version? I have il2fb.exe and files.sfs from the mod. I just put the hashed file in files folder from sound mod 0.92 in il-2 folder.

What am I doing wrong?

The thing I changed in the BF_109G10.java is
this (obviously decompiler had trouble decompiling):
Code:
static Class _mthclass$(String s)
    {
        return Class.forName(s);
        ClassNotFoundException classnotfoundexception;
        classnotfoundexception;
        throw new NoClassDefFoundError(classnotfoundexception.getMessage());
    }

to this:

Code:
static Class _mthclass$(String s){
        try{
            return Class.forName(s);
        } catch(ClassNotFoundException classnotfoundexception){
            throw new NoClassDefFoundError(classnotfoundexception.getMessage());
        }
    }

and the line mentioned in the previous post (default arnament).

P.S. I found this, and it looks like I did the correct procedure, but still no luck:

http://forum.index.hu/Article/jumpTree?a...&t=9012735

Can anybody translate to english (my russian is a bit rusty).
Reply
#17

15/JG52_Riddler Wrote:I'm stuck, I compiled specifically targeting jvm 1.3, result was the same, game won't start.

Has anybody actually managed to change a java file compile it, hash it and use it in a mod in 4.08 version? I have il2fb.exe and files.sfs from the mod. I just put the hashed file in files folder from sound mod 0.92 in il-2 folder.

What am I doing wrong?

The thing I changed in the BF_109G10.java is
this (obviously decompiler had trouble decompiling):
Code:
static Class _mthclass$(String s)
    {
        return Class.forName(s);
        ClassNotFoundException classnotfoundexception;
        classnotfoundexception;
        throw new NoClassDefFoundError(classnotfoundexception.getMessage());
    }

to this:

Code:
static Class _mthclass$(String s){
        try{
            return Class.forName(s);
        } catch(ClassNotFoundException classnotfoundexception){
            throw new NoClassDefFoundError(classnotfoundexception.getMessage());
        }
    }

and the line mentioned in the previous post (default arnament).

P.S. I found this, and it looks like I did the correct procedure, but still no luck:

http://forum.index.hu/Article/jumpTree?a...&t=9012735

Can anybody translate to english (my russian is a bit rusty).

Maybe you should look in Class.forName(s), check if it through a ClassNotFoundException...
If it didn't though this exception, catch(){} won't work. :roll:
Reply


Forum Jump:


Users browsing this thread: 8 Guest(s)