working on cube 64

This commit is contained in:
ChrisMiuchiz 2019-09-11 21:45:36 -04:00
parent 710a699df9
commit a78fe0572e
1 changed files with 3 additions and 5 deletions

View File

@ -6,7 +6,7 @@
#include "crc.h" #include "crc.h"
#define CUBE_VERSION "1.0.0-0" #define CUBE_VERSION "1.0.0-0"
#define CUBE_CRC 0x6AFF99F7 #define CUBE_CRC 0xDC91320A
using namespace std; using namespace std;
@ -18,7 +18,6 @@ bool FileExists(const char* fileName) {
int main() int main()
{ {
vector <std::string> modDLLs; vector <std::string> modDLLs;
//Cube world is obviously required //Cube world is obviously required
if (!FileExists("Cube.exe")){ if (!FileExists("Cube.exe")){
printf("Cube World not found.\n"); printf("Cube World not found.\n");
@ -75,16 +74,15 @@ int main()
//Inject DLLs //Inject DLLs
vector <HANDLE> threads;
for (string S_DLLName : modDLLs){ for (string S_DLLName : modDLLs){
printf("Loading %s\n", S_DLLName.c_str()); printf("Loading %s\n", S_DLLName.c_str());
process.InjectDLL(S_DLLName); process.InjectDLL(S_DLLName);
} }
process.Run();
printf("\nAll available mods have been loaded.\n"); printf("\nAll available mods have been loaded.\n");
Sleep(1500); Sleep(1500);
process.Run();
Sleep(3000);
return 0; return 0;
} }