26 |
|
|
27 |
|
#include <errno.h> |
28 |
|
#ifdef WIN32 |
29 |
< |
#include "Include\dirent.h" |
29 |
> |
// #include "Include\dirent.h" |
30 |
|
#include <windows.h> |
31 |
|
static const string Onisplit = "Onisplit.exe"; |
32 |
|
string import = "-import:nosep"; |
66 |
|
vector<ModPackage> packages; |
67 |
|
packages.reserve(65536); //comeon, we shouldn't need this much space...right?! |
68 |
|
fstream file; |
69 |
– |
#ifdef DEBUG |
70 |
– |
#ifdef WIN32 |
71 |
– |
string path = ".\\packages"; //only for my build. :P |
72 |
– |
_chdir(path.c_str()); |
69 |
|
|
74 |
– |
_chdir(".."); |
75 |
– |
cout << path; |
76 |
– |
#else |
77 |
– |
string path = "K:\\Oni\\edition\\install\\packages"; //change this, 'scen. |
78 |
– |
#endif |
79 |
– |
#else |
80 |
– |
string path = "."; |
81 |
– |
#endif |
70 |
|
|
71 |
|
string filename = "\0"; |
72 |
|
string MODINFO_CFG = "Mod_Info.cfg"; |