The Dink Network

Packaging your D-mod for release

July 11th 2021, 08:57 AM
peasantmb.gif
yeoldetoast
Peasant They/Them Australia
LOOK UPON MY DEFORMED FACE! 
After a lively discussion in the new Libera IRC channel, everyone concluded that a barrier to developing Dink stuff at the moment is that the main audience is this rapidly dwindling forum of about 3 people. Imagine, however, if that were not the case and instead your game could be released independently on itch.io or sent directly to your friends and family to play. You may remember my "Dmod auto packager" I released in 2013 which does something like this, however it is no longer maintained and I suggest you don't use it. This guide will inform you how to do the same thing manually and tailor things to your liking. You can perform this packing on any system however the target audience must be using Windows in order to run it. Much like modding of the main game, standalone packaging isn't a topic I ever see discussed despite the overt obviousness of it, so if this is common knowledge then don't bother reading further.

First of all, you'll need to download Freedink.exe, as well as have a Dink data collection on hand (either original game or Freedink-data) as well as your d-mod of choice. Once you have located these, create a new location in which to place them all. For example if you were Sharp and wanting to package up Milderr you might ctrl+shift+n and create a folder called "The Story of Milder Flatstomp Part One". Inside this you would need to extract your Freedink.exe and related files it comes with, as well as placing your D-mod directory (in this case "milderr") as well as your Dink data. When it's done it should look like this:

The Story of Milder Flatstomp Part One
|-Freedink.exe
|-milderr
|-dink
|-freedink


If you attempt to open freedink.exe at this point, it should play the main game in full-screen mode. If it complains that it can't, check your paths again. Now you'll need to create your actual launcher which in this case will be a batch file. Alongside your existing files create a Windows batch file named something like "Start Game.bat" or whatever you feel like. Open it up in your text editor of choice and fill it in like so:

freedink.exe --refdir . -game milderr -w


The refdir tells Freedink where to look for Dink data which is in this case alongside the bat file, and the -game parameter tells it which mod to load. The -w switch tells it to run in windowed mode. You could create a second bat file that lacks this switch if you wanted to give users a choice. After saving it, run it and make sure it runs as expected. If it runs original Dink or does something else weird, check your specified paths and try again. If you're a rather prolific author and want to bundle more than one of your D-mods together, you can simply drop it alongside the existing one and create another bat file that opens that instead. For example Sharp could add Milderr 2 and Forest of Dangers and have a batch file for each one.

Once this is working, you may use an archiver such as WinRAR or 7zip to compress your standalone game ready for release. Due to the bulkiness that is Dink's data, you'll get a file that's around 20MB in size at minimum. If you really want to trim this down, you may go into your Dink data collection and perhaps attempt to delete unnecessary files such as MAP.DAT and other stuff like that you know won't be used. Be careful with this however, as many missing files will just cause the engine to give up, especially graphics. Happy packing!
July 12th 2021, 04:18 PM
spike.gif
Wait just a goddamn second. There's a new IRC channel? There's life on it?!
July 13th 2021, 01:00 AM
peasantmp.gif
Skurn
Peasant He/Him Equatorial Guinea duck bloop
can't flim flam the glim glam 
there is not.
July 13th 2021, 05:08 PM
pillbug.gif
Pillbug
Peasant He/Him United States
Love! True love! 
We talked for a bit in there, I've been trying to hang around in it like I used to a long time ago on the old one. You should join us.
July 13th 2021, 05:22 PM
custom_robj.png
Robj
Jester He/Him Australia
You feed the madness, and it feeds on you. 
Ive popped in a few times but no ones there.

July 13th 2021, 06:50 PM
pillbug.gif
Pillbug
Peasant He/Him United States
Love! True love! 
I haven't set up an actual account or anything so sometimes I disconnect without noticing, could just be bad timing
July 14th 2021, 02:00 AM
peasantmp.gif
Skurn
Peasant He/Him Equatorial Guinea duck bloop
can't flim flam the glim glam 
how about using the active chat option, instead

irc is 99% empty.
July 14th 2021, 10:52 AM
spike.gif
SlipDink
Peasant He/Him United States bloop rumble
2nd generation. No easy way to be free. 
What happened to using Discord?

Although I've only used it a handful of times, I have managed to connect to a few Dink folks there.
July 14th 2021, 11:43 AM
peasantmp.gif
Skurn
Peasant He/Him Equatorial Guinea duck bloop
can't flim flam the glim glam 
a single message. you're just as disinterested in the community as everyone else. redink1 shouldn't bother paying for this crap.
July 15th 2021, 04:44 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
I once did something like this to load my Frogger D-Mod on a single floppy disk to bring to school back in 1999.
July 19th 2021, 10:12 AM
pillbug.gif
Pillbug
Peasant He/Him United States
Love! True love! 
I miss bringing D-Mods to class
July 19th 2021, 03:55 PM
peasantmp.gif
Skurn
Peasant He/Him Equatorial Guinea duck bloop
can't flim flam the glim glam 
i brought shitty rpg maker games to class. i was the villain and my goal was to destroy the school.
July 20th 2021, 06:50 AM
custom_robj.png
Robj
Jester He/Him Australia
You feed the madness, and it feeds on you. 
I actually did the same back in the day.. packaging dmods this way and taking them to school.. interesting.
True story is, I actually made TGKA into a quest sized dmod, technically "finished" the demo that wasn't really a demo, and remembered letting people play it at school.
It's since been lost. It was pretty bad anyway. Like an extended version of the torturous demo that already exists.
July 20th 2021, 01:49 PM
peasantmp.gif
Skurn
Peasant He/Him Equatorial Guinea duck bloop
can't flim flam the glim glam 
damn, remake it.