--- Daodan/src/Daodan.c 2013/04/29 19:08:16 839 +++ Daodan/src/Daodan.c 2013/07/26 10:42:31 893 @@ -1,6 +1,7 @@ #include #include #include +#include #include "Daodan.h" #include "Daodan_Patch.h" @@ -10,6 +11,7 @@ #include "Daodan_Console.h" #include "Daodan_Config.h" #include "patches/Patches.h" +#include "_Version.h" #include "Oni.h" @@ -21,7 +23,15 @@ HMODULE DDrONiModule; void __cdecl DDrMain(int argc, char* argv[]) { - DDrStartupMessage("Daodan: Daodan attached!"); + time_t rawtime; + struct tm* timeinfo; + char buffer[80]; + time(&rawtime); + timeinfo = localtime(&rawtime); + strftime(buffer, 80, "Daodan: %Y-%m-%d %H:%M:%S", timeinfo); + + DDrStartupMessage("Daodan: Daodan v."DAODAN_VERSION_STRING" attached!"); + DDrStartupMessage(buffer); DDrConfig(argc, argv);