10 lines
483 B
Plaintext
10 lines
483 B
Plaintext
void compile() {
|
|
print("compiling..");
|
|
copyFile(dataPath("") + "\\gameinfo.txt", filePath + "\\gameinfo.txt");
|
|
//String[] gameInfo = loadStrings(dataPath("") + "\\gameinfo.txt");
|
|
//saveStrings(filePath + "\\gameinfo.txt", gameInfo);
|
|
//println(gameInfo[1]);
|
|
String compile_s = dataPath("") + "\\studiomdl\\bin\\studiomdl.exe -game \"" + filePath + "\" \"" + filePath + "\\models\\pbr\\" + inputName + "\\" + inputName + ".qc\"";
|
|
print(compile_s);
|
|
launch(compile_s);
|
|
} |