Bf-109G10, Bf-109G14 with optional MG151/20 loadout - Printable Version
+- All-Aircraft-Simulations (
https://allaircraftsimulations.com)
+-- Forum: IL2 MODS Download & Discussion (
https://allaircraftsimulations.com/forumdisplay.php?fid=267)
+--- Forum: IL-2 4.09m (
https://allaircraftsimulations.com/forumdisplay.php?fid=348)
+---- Forum: IL2 MODS Discussion Section 4.09m (
https://allaircraftsimulations.com/forumdisplay.php?fid=292)
+---- Thread: Bf-109G10, Bf-109G14 with optional MG151/20 loadout (
/showthread.php?tid=51206)
- 15/JG52_Riddler - 15.11.2007
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=71002421&t=9012735
Can anybody translate to english (my russian is a bit rusty).
- martyc89 - 15.11.2007
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=71002421&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: