ZyEl cubemain too big, parse using .import

This commit is contained in:
color.diff=auto 2021-03-27 03:51:38 -06:00
parent cca6cebffd
commit d64ae02201

View File

@ -63,7 +63,8 @@ class D2TxtParser {
} }
public function processCubeMain($file){ public function processCubeMain($file){
exec("sqlite3 ".DB_FILE." '.separator \"t\"' '.import ".TXT_PATH."$file cubemain'"); $path = dirname(getcwd()).DIRECTORY_SEPARATOR."bin".DIRECTORY_SEPARATOR;
exec($path."sqlite3.exe ".$path.DB_FILE." '.separator \"t\"' '.import ".TXT_PATH."$file cubemain'");
} }
} }
?> ?>