--- Daodan/src/Daodan.c 2009/05/28 10:33:59 326 +++ Daodan/src/Daodan.c 2009/06/03 12:12:21 329 @@ -64,6 +64,24 @@ bool DDrPatch_Init() // Unlocks particle action disabling/enabling bits for all events. (Will be controlled by a command line switch when I figure out how to do that without Win32 hacks.) //DDrPatch_Int16 (OniExe + 0x001b184, 0x9090); + // Multi-byte patch (multiple language support) + DDrPatch_Byte (OniExe + 0x0002d8f8, 0xeb); + DDrPatch_Byte (OniExe + 0x0002d9ad, 0xeb); + DDrPatch_Byte (OniExe + 0x0002dbe2, 0xeb); + DDrPatch_Byte (OniExe + 0x0002dec3, 0xeb); + DDrPatch_Byte (OniExe + 0x0002e2ab, 0xeb); + DDrPatch_Byte (OniExe + 0x0002e2c4, 0xeb); + DDrPatch_Byte (OniExe + 0x0002e379, 0xeb); + DDrPatch_Byte (OniExe + 0x0002e48c, 0xeb); + DDrPatch_Byte (OniExe + 0x0002e4d0, 0xeb); + DDrPatch_Byte (OniExe + 0x0002e4f4, 0xeb); + DDrPatch_Byte (OniExe + 0x0002e646, 0xeb); + DDrPatch_Byte (OniExe + 0x0002e695, 0xeb); + DDrPatch_Byte (OniExe + 0x0002e944, 0xeb); + DDrPatch_Byte (OniExe + 0x0002e95d, 0xeb); + DDrPatch_Byte (OniExe + 0x0002e98e, 0xeb); + DDrPatch_Byte (OniExe + 0x0002e9dc, 0xeb); + return true; } @@ -83,10 +101,10 @@ void __cdecl DDrMain(int argc, char* arg DDrPatch_MakeJump(UUrMachineTime_Sixtieths, DDrMachineTime_Sixtieths); // Windowed mode - DDrPatch_MakeJump(ONrPlatform_Initialize, DDrPlatform_Initialize); - DDrPatch_MakeJump(gl_platform_initialize, daodangl_platform_initialize); +// DDrPatch_MakeJump(ONrPlatform_Initialize, DDrPlatform_Initialize); +// DDrPatch_MakeJump(gl_platform_initialize, daodangl_platform_initialize); - init_daodan_gl(); +// init_daodan_gl(); ONiMain(argc, argv); }