Specify full relative assembly path
This commit is contained in:
parent
bb8d41c06d
commit
505d4b12dd
Binary file not shown.
@ -8,7 +8,7 @@ typedef void (*unityplayer_callback_t)(HMODULE unityModule);
|
||||
|
||||
struct game_data {
|
||||
const char *base_module_name;
|
||||
const char *assembly_name;
|
||||
const char *assembly_path;
|
||||
const char *txs_section_name;
|
||||
const char *tvm_section_name;
|
||||
|
||||
|
@ -4,14 +4,14 @@
|
||||
#include <game.h>
|
||||
|
||||
const char *HI3_BASE_MODULE_NAME = "BH3Base.dll";
|
||||
const char *HI3_ASSEMBLY_NAME = "UserAssembly.dll";
|
||||
const char *HI3_ASSEMBLY_PATH = "BH3_Data\\Native\\UserAssembly.dll";
|
||||
const char *HI3_TXS_SECTION_NAME = ".bh3";
|
||||
const char *HI3_TVM_SECTION_NAME = ".tvm0";
|
||||
|
||||
|
||||
void hi3_fill_data(struct game_data *buf) {
|
||||
buf->base_module_name = HI3_BASE_MODULE_NAME;
|
||||
buf->assembly_name = HI3_ASSEMBLY_NAME;
|
||||
buf->assembly_path = HI3_ASSEMBLY_PATH;
|
||||
buf->txs_section_name = HI3_TXS_SECTION_NAME;
|
||||
buf->tvm_section_name = HI3_TVM_SECTION_NAME;
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <game.h>
|
||||
|
||||
const char *HSR_BASE_MODULE_NAME = "StarRailBase.dll";
|
||||
const char *HSR_ASSEMBLY_NAME = "GameAssembly.dll";
|
||||
const char *HSR_ASSEMBLY_PATH = "GameAssembly.dll";
|
||||
const char *HSR_TXS_SECTION_NAME = ".ace";
|
||||
const char *HSR_TVM_SECTION_NAME = ".tvm0";
|
||||
|
||||
@ -89,7 +89,7 @@ void hsr_fill_data(struct game_data *buf) {
|
||||
}
|
||||
|
||||
buf->base_module_name = HSR_BASE_MODULE_NAME;
|
||||
buf->assembly_name = HSR_ASSEMBLY_NAME;
|
||||
buf->assembly_path = HSR_ASSEMBLY_PATH;
|
||||
buf->txs_section_name = HSR_TXS_SECTION_NAME;
|
||||
buf->tvm_section_name = HSR_TVM_SECTION_NAME;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user