What's happend to the .c files?
I'm about to start creating a DMOD. Among the first thing is to copy some .c files from the Dink\Story dir, but every file is named .d instead of .c
Why???
Why???
What's happend to the .c files?
I ate them.
Nah, there should be a source file. At least, on the cd-rom there is one. Dunno where to find them if you haven't got the cd-rom...
I ate them.
Nah, there should be a source file. At least, on the cd-rom there is one. Dunno where to find them if you haven't got the cd-rom...
Hmm.. lots of vitamin.c in those files...
Look in the develop folder in the main ink Smallwood folder. There should be "source.zip". Unzip that. It has examples of .c scripts, but to start a dmod either get the skeleton from development link ( <-- ) or use "new" in windinkedit (easiest).
Look in the develop folder in the main ink Smallwood folder. There should be "source.zip". Unzip that. It has examples of .c scripts, but to start a dmod either get the skeleton from development link ( <-- ) or use "new" in windinkedit (easiest).
Hope they tasted good, binirit.
Thanks, I found the correct files in the "source.zip". But why are the files in the main game (and all of the DMODS) named .d instead of .c ?
Thanks, I found the correct files in the "source.zip". But why are the files in the main game (and all of the DMODS) named .d instead of .c ?
.c files are more readable and writeable, once they work well you compile them into .d files . They are more compact and run faster than .c, but are unreadable and hard to work with. Oh ya, when starting a dmod you don't need to copy much. Dink.exe looks first in your dmod folder for stuff, and if not found then gets them from the original dink. The skeleton has a copy of each thing you need to get started.
Oh, thanks alot, now its perfectely clear! I looked at some .d files and found them completely unreadable, just a lot of junk.
One last question though :
If I ever will be able to finnish my DMOD, do I need a special tool to compile the files into those smaller .d files?
One last question though :
If I ever will be able to finnish my DMOD, do I need a special tool to compile the files into those smaller .d files?
There is a compiler included, but the one built into windinkedit is better. Almost everything in WDE is better. A must have. And I e-mailed you a script that may help. good luck
They are more compact and run faster than .c, but are unreadable
Sorry to be picky, but no. They are indeed more compact, but they run SLOWER. (Not noticably of course, but they do). Also, they are somewhat humanly unreadable, but they are not unreadable.
Sorry to be picky, but no. They are indeed more compact, but they run SLOWER. (Not noticably of course, but they do). Also, they are somewhat humanly unreadable, but they are not unreadable.