The Dink Network

What's happend to the .c files?

March 21st 2003, 02:07 PM
old.gif
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???
March 21st 2003, 04:58 PM
fish.gif
binirit
Peasant She/Her
 
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...
March 21st 2003, 05:07 PM
pq_frog.gif
Ric
Peasant They/Them Canada
 
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).
March 21st 2003, 05:20 PM
old.gif
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 ?
March 21st 2003, 05:34 PM
pq_frog.gif
Ric
Peasant They/Them Canada
 
.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.
March 21st 2003, 05:58 PM
old.gif
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?
March 21st 2003, 06:06 PM
pq_frog.gif
Ric
Peasant They/Them Canada
 
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
March 21st 2003, 06:14 PM
old.gif
Thanks, I'll check it out tomorrow.
March 22nd 2003, 02:25 AM
wizardb.gif
Phoenix
Peasant He/Him Norway
Back from the ashes 
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.
March 22nd 2003, 04:36 AM
duck.gif
Tal
Noble He/Him United States
Super Sexy Tal Pal 
Well obviously; the game reads them!

And to Ric, that vitamin.c joke actually made me giggle a bit... hehe.