0 || $total2da>0){ echo "Warning: There are files in the output folders that may get overwritten..PHP_EOL"; } echo " * Place your .mdl and .plt files in the /input folder. * Place parts_****.2da files from the hak you're currently using inside /input/2da_base. * Place parts_****.2da files from the hak you're merging inside /input/2da_add. * Press Enter to rename the models and create the new 2da files.\n\n\n"; echo " [Start = Enter] [Exit = x] : "; $key=ord(get_input()); while($key!=120) { if($key=="0") { echo "[ Ouput ]".PHP_EOL; /*-- Main Program Loop --*/ require("main.php"); } echo PHP_EOL." [Start = Enter] [Exit = x] : "; $key=ord(get_input(2)); } ?>