The Dink Network

Re: I can't believe it...

December 28th 2007, 09:56 AM
knightgl.gif
CastMan
Peasant He/Him Brazil
Some day I'll finish my mod... Some day... 

I can't believe that I'm asking this, but... How do I compile my mod??

My demo is in a folder and I want to make it a mod file ( like the ones that we download here ), how can I do this??

I've looked a lot of tutorials and etc, but I can't find it!! Someone help me, please!
December 28th 2007, 10:38 AM
pillbug.gif
pillbug
Peasant He/Him United States
Love! True love! 
Right click on your folder, highlight SEND TO, and click compressed/zipped folder. Upload it, and Im pretty sure the staff members are the ones that make it a dmod file. Thats what i did, hope I could help.
December 28th 2007, 11:55 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
DFArc can package:

Edit -> Options -> check the "Show developer buttons" box.

Now there should be an "Edit" button and a "Package" button. Select the D-Mod you want to package, and click the "Package" button. You'll need to write a dmod.diz file, but that's just a text file with an alternative suffix.
December 28th 2007, 11:59 AM
slimeb.gif
DaVince
Peasant He/Him Netherlands
Olde Time Dinkere 
Compile? You probably just mean making it a .dmod package. Magicman said how, pillbug mentioned the REALLY ANCIENT way to make a zip instead of a dmod file.
December 31st 2007, 08:03 AM
pillbug.gif
dinkinfreak
Peasant He/Him Greece
Real lurkers don't appear on the lurkers list. 
1)In the develop\ folder, there's a compile.exe and a compall.bat.
2)Preferably cut these two and paste them on a new folder,
3)then copy your .c scripts on the new folder,
4)Run the compall.bat,
5)get their .d compiled counterparts,
6)and you're done!
December 31st 2007, 11:22 AM
slimeb.gif
DaVince
Peasant He/Him Netherlands
Olde Time Dinkere 
Yeah, that's how you compile .c files, but he meant packing the Dmod into a dmod file, not compiling your .c scripts.
January 1st 2008, 09:25 AM
wizardb.gif
Phoenix
Peasant He/Him Norway
Back from the ashes 
Besides, they are not "compiled" anyway, they are just compressed, and if you know the algorithm used, you can easily turn them back into plain text files.
January 1st 2008, 11:33 AM
pillbug.gif
dinkinfreak
Peasant He/Him Greece
Real lurkers don't appear on the lurkers list. 
Well, since the app is called "compile.exe", you can expect from the others in the DN to call this 'compiling'.

Anyway, what you said is a good idea for a dev file.
January 1st 2008, 12:48 PM
wizard.gif
Chrispy
Peasant He/Him Canada
I'm a man, but I can change, if I have to.I guess. 
The funny thing is, compile.exe makes the files slightly slower in the game, and they don't compress as well as the original .c file. (aka, .c-->.d-->.7z is bigger than .c-->.7z)
January 1st 2008, 03:06 PM
pillbug.gif
dinkinfreak
Peasant He/Him Greece
Real lurkers don't appear on the lurkers list. 
Well, since they already are compressed, this is obvious.
January 2nd 2008, 12:42 AM
wizardb.gif
Phoenix
Peasant He/Him Norway
Back from the ashes 
No, see, what he means is that if you don't compress your plain text files, the final 7z file will be smaller than if you did compress them. Not that scripts are that big anyway. And you know, until somebody (I think it was Gary Hertel) figured out the secret behind the Dink compilation, people thought their scripts were safe, so Seth succeeded with the "compilation" idea for long enough.
January 2nd 2008, 03:48 AM
sob_scorpy.gif
DinkDude95
Peasant He/Him Australia
The guy with the cute D-Mod. 
What's the secret?
January 2nd 2008, 05:12 AM
pillbug.gif
dinkinfreak
Peasant He/Him Greece
Real lurkers don't appear on the lurkers list. 
What secret?
January 2nd 2008, 07:44 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
The secret is to get the Dink Engine source code and look at how compile.c (or whatever it's called) works.
January 2nd 2008, 09:59 AM
slimeb.gif
DaVince
Peasant He/Him Netherlands
Olde Time Dinkere 
The "secret" of how the files are "compiled" and can thus "reverse engineer" it. You know, like knowing the workings of any file (like ogg, or png...) and thus being able to work with it, uncompress it or whatever the file format uses.
January 2nd 2008, 11:36 AM
pillbug.gif
dinkinfreak
Peasant He/Him Greece
Real lurkers don't appear on the lurkers list. 
Started working on it.
January 2nd 2008, 01:28 PM
slimeb.gif
DaVince
Peasant He/Him Netherlands
Olde Time Dinkere 
Working on what? The specifications and differences between c and d files are already available...
January 2nd 2008, 01:48 PM
pillbug.gif
dinkinfreak
Peasant He/Him Greece
Real lurkers don't appear on the lurkers list. 
Where?
January 2nd 2008, 03:57 PM
wizardb.gif
Phoenix
Peasant He/Him Norway
Back from the ashes 
In the Dink Smallwood source code.
January 3rd 2008, 04:06 AM
pillbug.gif
dinkinfreak
Peasant He/Him Greece
Real lurkers don't appear on the lurkers list. 
Didn't DaVince mean that someboby posted them on the DN?

January 3rd 2008, 07:31 AM
slimeb.gif
DaVince
Peasant He/Him Netherlands
Olde Time Dinkere 
Nope, it's right there in the source code.