Sorry for coming up with an issue on a less popular game version.
I've tested the latest builds on BAT and all work fine.
On Ultrapack however I'm having a problem with all builds and the log doesn't really help me much there:
https://pastebin.com/raw/EjTDkTfiThe relevant part seems to be this:
getExport: _Java_com_maddox_il2_engine_CfgFlagsEngine_GetFlagStatus@16
getExport: _Java_com_maddox_il2_engine_CfgFlagsEngine_Set@20
getExport: _Java_com_maddox_il2_engine_CfgFlagsEngine_Set@20
getExport: _Java_com_maddox_il2_engine_CfgFlagsEngine_Set@20
getExport: _Java_com_maddox_il2_engine_CfgFlagsEngine_Set@20
getExport: _Java_com_maddox_il2_engine_Render_prepareStates@8
found export: _Java_com_maddox_il2_engine_Render_prepareStates@8
-----------------------------------------------------------
Assertion failed: *method.import_addr
File: /builds/vrresto/il2ge/core_wrapper/jni_wrapper/jni_wrapper.cpp:161
-----------------------------------------------------------
Aborted.
current thread: 0x548
waiting for backtrace thread to finish ...
target thread: 0x548
-----------------------------------------------------------
Error occurred on Tuesday, May 21, 2019 at 07:02:54.
Registers:
eax=00000000 ebx=00000000 ecx=04b4cf38 edx=03531dd4 esi=75c03950 edi=000007c0
eip=77e31f9c esp=0019f178 ebp=0019f1e8 iopl=0 nv up ei pl nz na po nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00200206
AddrPC Params
77E31F9C 00000180 000007C0 FFFFFFFF C:\Windows\SYSTEM32\ntdll.dll!ZwSignalAndWaitForSingleObject
5035447B 5035B820 0019F26F 00000001 E:\IL2\Ultrapack 3\il2ge.dll!abort [/builds/vrresto/il2ge/common/exception_handler.cpp @ 240]
50210FC5 5035E0A4 5035E034 000000A1 E:\IL2\Ultrapack 3\il2ge.dll!_assert [/builds/vrresto/il2ge/common/exception_handler.cpp @ 368]
50200DBC 0019F368 02470292 02470200 E:\IL2\Ultrapack 3\il2ge.dll!getExport [/builds/vrresto/il2ge/core_wrapper/jni_wrapper/jni_wrapper.cpp @ 161]
501F1C8C 02473714 0019F3F0 0019F3EC E:\IL2\Ultrapack 3\il2ge.dll!?? [/builds/vrresto/il2ge/core_wrapper/main/main.cpp @ 212]
029C9293 04BB8E10 04CCD928 04CB92B8
029C8F28 04BB8E10 04CB39C0 2063D370
6D4DB41C 0019F474 0019F604 0000000B E:\IL2\Ultrapack 3\bin\hotspot\jvm.dll!JVMCI_InstallStackOvrFlowExceptionFilter
From the log I understand that il2ge fails in this method:
void *getExport(const string &full_name)
{
assert(g_initialized);
cout<<"getExport: "<<full_name<<endl;
try
{
auto &method = g_exports.at(full_name);
cout<<"found export: "<<full_name<<endl;
assert(*method.import_addr);
return method.export_addr;
}
catch(...)
{
return nullptr;
}
}
In particular, it fails at "assert(*method.import_addr);" and apparently this happens while it's checking the address of the native method "_Java_com_maddox_il2_engine_Render_prepareStates" in the C++ mangled alias "_Java_com_maddox_il2_engine_Render_prepareStates@8".
That method exists, it's in il2_core.dll.
No idea how to proceed from here on...
Mike