Jump to content

Don't Starve Mod Tools Github Repo


Cheerio

Recommended Posts

 Hi, guys, firstly,I would thank you for all that you've done here, that a really good work. Ok, so I'm trying to make a mod for don't starve (this is a stand-alone version), I'm running on mac os x (Mavericks with lastest updates).

My mod is about a simple custom hat, and i've got a problem when i want to compile my splitter project to get "build.bin" and "anim.bin" files (i've got my atlas-0.tex, my scml file, and my 4 swap_hat png files).

As I'm working on a mac, so i've got Xcode, the command line tools and Premake, i downloaded the mod tools above, on the repo, i'm not english but i think i followed all "read me" instructions properly and i can't get it working.

So everything is installed, i've got all my files to compile and as it said, I open my terminal, go into "/ds_mod_tools-master/src/":

I'm running "premake.sh" and it tell me "-bash: premake.sh: command not found"

If I'm running "sh premake.sh", it tell me "Target OS not specified. Assuming it's the host OS.

...wnloads/Modding/ds_mod_tools-master/src/premake4.lua:64: Unsupported os!"

If I'm running "sh premake.sh --os=osx" it tell me the same

if I'm running "sh premake.sh --platform=universal" it's the same again

and with both options os and platform, the same as well....

So something seems to be wrong (Mavericks not supported?) or maybe I just didn't understand how it was working.

If someone could give me a hand about this please, take the time to explain me how it's working, because here, I searched a lot but I don't have any solution....

 

Thanks


 Hi, guys, firstly,I would thank you for all that you've done here, that a really good work. Ok, so I'm trying to make a mod for don't starve (this is a stand-alone version), I'm running on mac os x (Mavericks with lastest updates).

My mod is about a simple custom hat, and i've got a problem when i want to compile my splitter project to get "build.bin" and "anim.bin" files (i've got my atlas-0.tex, my scml file, and my 4 swap_hat png files).

As I'm working on a mac, so i've got Xcode, the command line tools and Premake, i downloaded the mod tools above, on the repo, i'm not english but i think i followed all "read me" instructions properly and i can't get it working.

So everything is installed, i've got all my files to compile and as it said, I open my terminal, go into "/ds_mod_tools-master/src/":

I'm running "premake.sh" and it tell me "-bash: premake.sh: command not found"

If I'm running "sh premake.sh", it tell me "Target OS not specified. Assuming it's the host OS.

...wnloads/Modding/ds_mod_tools-master/src/premake4.lua:64: Unsupported os!"

If I'm running "sh premake.sh --os=osx" it tell me the same

if I'm running "sh premake.sh --platform=universal" it's the same again

and with both options os and platform, the same as well....

So something seems to be wrong (Mavericks not supported?) or maybe I just didn't understand how it was working.

If someone could give me a hand about this please, take the time to explain me how it's working, because here, I searched a lot but I don't have any solution....

 

Thanks

Link to comment
Share on other sites

Hey Guys ! Compiling .smcl files on a mac seems very exciting for me.

 

But I'm tackling to the exact same problem as you @Ninitage33 ...

 

I am on Yosemite, maybe it's in connection with that..So, @simplex , @Cheerio , you got some ideas ?

 

 

Thanks.

Link to comment
Share on other sites

Now, I moved a little forward:
I managed to run the premake4.lua file by change a value in his code : 

	return _OPTIONS.os == "linux" or _OPTIONS.os == "osx"

(line 123) to 

	return _OPTIONS.os == "linux" or _OPTIONS.os == "macosx"

- then running sudo premake4 --os=macosx  into the Terminal.
-while executing, it said me :
cp -rT "../pkg/cmn/mod_tools" "../build/osx/mod_tools"
cp: illegal option -- T
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory
-deducing that it was a typing error, I changed the value of cmd_template (on line 247) from cp -rT to cp -r  and reexecuted the script.
-all ran without noticeable problem, but when I look into the build folder : There's no proj folder, only osx and dont_starve folders.
 
I don't know if I've done the right thing by modifying the code - I just got some micro-notions in Term and lua - so... What do you think about our problem @Cheerio, and @simplex ?

 

 

Thanks.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...