Posted March 8, 2016 (edited) I am on Linux Mint, and used the Map Generator 2.8 to make a map, copied the relevent files to the new copy of Creative and changed the sql insert files and am now having trouble rebuilding the database. I run from terminal rebuild-dbs and it has no idea what that command is (yes, I am in the folder). I try ./rebuild-dbs and same issue. Try and run the rebuild-dbs.bat and get the following errors: ./rebuild-dbs.bat: line 1: @ECHO: command not found ./rebuild-dbs.bat: line 2: ECHO: command not found ./rebuild-dbs.bat: line 3: ECHO: command not found ./rebuild-dbs.bat: line 4: ECHO: command not found ./rebuild-dbs.bat: line 5: ECHO: command not found ./rebuild-dbs.bat: line 6: $'\r': command not found ./rebuild-dbs.bat: line 7: $'SETLOCAL\r': command not found ./rebuild-dbs.bat: line 8: SET: command not found ./rebuild-dbs.bat: line 9: SET: command not found ./rebuild-dbs.bat: line 10: SET: command not found ./rebuild-dbs.bat: line 11: syntax error near unexpected token `(' '/rebuild-dbs.bat: line 11: `FOR %%G IN (%*) DO ( So...what do I do? Do I have to install MySQL? Edited March 8, 2016 by Mark Share this post Link to post Share on other sites
Posted March 8, 2016 Quite poseibly there is not a file to run on linux, .bat is for windows, u need .sh i believe. Share this post Link to post Share on other sites
Posted March 8, 2016 (edited) yup. You can't run this .bat file on linux, the commands in it are windows only. You need a .sh file doing the same things, just in the way linux does it. Edited March 8, 2016 by Sklo:D Share this post Link to post Share on other sites
Posted March 8, 2016 One option is to run the database scripts on a Windows machine, then copy the new .db files to the sqlite folder on your CentOS box. Share this post Link to post Share on other sites
Posted March 9, 2016 So tired of this Windows only crap. He should have just stuck with pure java and released the game without Steam. Share this post Link to post Share on other sites
Posted March 11, 2016 I don't see how the SQLite scripts have anything to do with operating system. If you're such a die-hard Linux user it should be trivial to write your own shell script to replace the batch file. 1 Share this post Link to post Share on other sites