Sign in to follow this  
Mark

Linux custom Map

Recommended Posts

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 by Mark

Share this post


Link to post
Share on other sites

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

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 by Sklo:D

Share this post


Link to post
Share on other sites

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

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

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.

 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this