--- Daodan/src/Daodan.c 2009/06/10 12:40:16 349 +++ Daodan/src/Daodan.c 2009/07/16 01:24:07 426 @@ -34,8 +34,9 @@ bool patch_cooldowntimer = true; bool patch_throwtest = false; bool patch_alttab = true; bool patch_particledisablebit = false; -bool patch_multibyte = true; +bool patch_multibyte = false; bool patch_cheattable = true; +bool patch_argb8888 = true; bool patch_safeprintf = true; bool patch_daodandisplayenum = true; @@ -127,7 +128,7 @@ bool DDrPatch_Init() DDrPatch_Int16 (OniExe + 0x001b184, 0x9090); // Multi-byte patch (multiple language support) - if (patch_multibyte) + if (!patch_multibyte) { DDrPatch_Byte (OniExe + 0x0002d8f8, 0xeb); DDrPatch_Byte (OniExe + 0x0002d9ad, 0xeb); @@ -154,6 +155,12 @@ bool DDrPatch_Init() DDrPatch_Int32 (OniExe + 0x000f617a, (int)&DDr_CheatTable[0].message_on); } + if (patch_argb8888) + { + DDrPatch_Byte (OniExe + 0x00135af0, 0x07); + DDrPatch_Byte (OniExe + 0x00135af4, 0x0B); + } + return true; } @@ -205,6 +212,8 @@ bool DDrIniCallback(char* section, bool patch_multibyte = !stricmp(value, "true"); else if (!stricmp(name, "cheattable")) patch_cheattable = !stricmp(value, "true"); + else if (!stricmp(name, "argb8888")) + patch_argb8888 = !stricmp(value, "true"); else if (!stricmp(name, "safeprintf")) patch_safeprintf = !stricmp(value, "true"); else if (!stricmp(name, "daodandisplayenum"))