@littlebalup I think I got it. I force enabled condition_softemu (because I have BC console) and added following in sysmbol.h
Code:/* rebug */ #define EXPLORE_PLUGIN_REBUG_HASH 0xACF4AF2B000ECC91 #define EXPLORE_CATEGORY_GAME_REBUG_HASH 0x9CB3396E00056CE9 #define GAME_EXT_PLUGIN_REBUG_HASH 0xE274AF7B0001E5D3 #define dex_ps2_nonbw_offset 0xDDDC4 #define dex_ps2_nonbw_offset2 0x68264 #define dex_ps2_nonbw_offset3 0x172F0 #define dex_ps2tonet_patch 0xCA380 #define dex_ps2tonet_size_patch 0xCA374
in fact only 'REBUG' hashes are necessary:
Code:
/* rebug */
#define EXPLORE_PLUGIN_REBUG_HASH 0xACF4AF2B000ECC91
#define EXPLORE_CATEGORY_GAME_REBUG_HASH 0x9CB3396E00056CE9
#define GAME_EXT_PLUGIN_REBUG_HASH 0xE274AF7B0001E5D3
see modulespatch.c :
Code:
PatchTableEntry patch_table[] =
{
{ LIBFS_EXTERNAL_HASH, libfs_external_patches },
#ifdef DO_PATCH_PSP
{ PSP_EMULATOR_HASH, psp_emulator_patches },
{ EMULATOR_API_HASH, emulator_api_patches },
{ PEMUCORELIB_HASH, pemucorelib_patches },
{ LIBSYSUTIL_SAVEDATA_PSP_HASH, libsysutil_savedata_psp_patches },
#endif
#ifdef DO_PATCH_PS2
{ EXPLORE_PLUGIN_HASH, explore_plugin_patches },
{ EXPLORE_CATEGORY_GAME_HASH, explore_category_game_patches },
{ GAME_EXT_PLUGIN_HASH, game_ext_plugin_patches },
#endif
};
PatchTableEntry patch_table_rebug[] =
{
{ LIBFS_EXTERNAL_HASH, libfs_external_patches },
#ifdef DO_PATCH_PSP
{ PSP_EMULATOR_HASH, psp_emulator_patches },
{ EMULATOR_API_HASH, emulator_api_patches },
{ PEMUCORELIB_HASH, pemucorelib_patches },
{ LIBSYSUTIL_SAVEDATA_PSP_HASH, libsysutil_savedata_psp_patches },
#endif
#ifdef DO_PATCH_PS2
#ifdef EXPLORE_PLUGIN_REBUG_HASH
{ EXPLORE_PLUGIN_REBUG_HASH, rebug_explore_plugin_patches },
{ EXPLORE_CATEGORY_GAME_REBUG_HASH, rebug_explore_category_game_patches },
{ GAME_EXT_PLUGIN_REBUG_HASH, rebug_game_ext_plugin_patches },
#endif
#endif
};
and :
Code:
if(vsh_type != 0x666)
memcpy(patch_table, patch_table_rebug, sizeof(patch_table));
That piece of code should be improved.
Edit:
That should do the job without to add anything else to symbols.h :
Code:
PatchTableEntry patch_table_rebug[] =
{
{ LIBFS_EXTERNAL_HASH, libfs_external_patches },
#ifdef DO_PATCH_PSP
{ PSP_EMULATOR_HASH, psp_emulator_patches },
{ EMULATOR_API_HASH, emulator_api_patches },
{ PEMUCORELIB_HASH, pemucorelib_patches },
{ LIBSYSUTIL_SAVEDATA_PSP_HASH, libsysutil_savedata_psp_patches },
#endif
#ifdef DO_PATCH_PS2
#ifdef EXPLORE_PLUGIN_REBUG_HASH
{ EXPLORE_PLUGIN_REBUG_HASH, rebug_explore_plugin_patches },
{ EXPLORE_CATEGORY_GAME_REBUG_HASH, rebug_explore_category_game_patches },
{ GAME_EXT_PLUGIN_REBUG_HASH, rebug_game_ext_plugin_patches },
#else
{ EXPLORE_PLUGIN_HASH, explore_plugin_patches },
{ EXPLORE_CATEGORY_GAME_HASH, explore_category_game_patches },
{ GAME_EXT_PLUGIN_HASH, game_ext_plugin_patches },
#endif
#endif
};
Last edited: